*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.btn:focus-visible,
.nav-link:focus-visible,
.util-btn:focus-visible,
.filter-check:focus-within {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.container { width: min(100% - 3rem, var(--container-max)); max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-pad) 0; }
.section--muted { background: var(--color-bg-muted); }

h1 { font-size: var(--font-size-h1); font-weight: var(--font-weight-h1); line-height: 1.15; letter-spacing: var(--letter-spacing-h1); text-wrap: balance; }
h2 { font-size: var(--font-size-h2); font-weight: 600; line-height: 1.2; text-wrap: balance; }
.page-head h1 { text-wrap: balance; }
.label { font-size: var(--font-size-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); margin-bottom: 1rem; display: block; }
.text-muted { color: var(--color-text-secondary); }
.text-inverse { color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-size: var(--btn-font-size); font-weight: 500;
  border-radius: var(--radius-btn);
  transition: var(--transition);
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--secondary { background: transparent; color: var(--color-primary); border: var(--border-btn-secondary); }
.link-arrow { color: var(--color-primary); font-weight: 500; font-size: 0.875rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); border-bottom: var(--header-border); }
.topbar { background: var(--topbar-bg); color: var(--topbar-text); font-size: 0.75rem; padding: 0.5rem 0; }
.topbar .container { display: flex; justify-content: flex-end; gap: 1.5rem; }
.topbar a { color: var(--topbar-link); }
.navbar { padding: var(--navbar-pad) 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.navbar__nav { display: flex; gap: 0.25rem; }
.nav-link { padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500; border-radius: var(--radius-nav); transition: var(--transition); }
.nav-link:hover, .nav-link.is-active { color: var(--color-primary); background: var(--nav-hover-bg); }
.navbar__utils { display: flex; align-items: center; gap: 0.5rem; }
.util-btn { padding: 0.35rem 0.6rem; font-size: 0.8rem; border-radius: var(--radius-nav); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 0.25rem; }
.burger span { width: 22px; height: 2px; background: currentColor; }

.hero { padding: var(--hero-pad-y) 0; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.hero__subtitle { margin-top: 1rem; color: var(--color-text-secondary); font-size: var(--hero-subtitle-size); }
.hero__actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.hero__media { border-radius: var(--radius-hero-media); overflow: hidden; aspect-ratio: 16/10; background: var(--color-accent-bg); box-shadow: var(--shadow-hero); }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media--video { position: relative; background-color: #061d3d; }
.hero__media--video video {
  filter: var(--photo-grade);
}
.hero__media--video::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(6, 29, 61, 0.34) 0%, rgba(6, 29, 61, 0.12) 45%, transparent 70%),
    linear-gradient(to top, rgba(6, 29, 61, 0.32), transparent 42%);
}
@media (prefers-reduced-motion: reduce) {
  .hero__media--video video { filter: var(--photo-grade-soft); }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  min-width: 0;
  overflow: visible;
}

.hero-slogan-bar {
  border-left: 3px solid var(--color-primary);
  padding-left: 1.35rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

h1.hero-slogan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12em;
  margin: 0;
  padding: 0;
  border: none;
  max-width: 100%;
  width: 100%;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.hero-slogan__word {
  display: block;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: clamp(1.5rem, 2.8vw + 1rem, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.08;
  color: var(--color-primary-dark);
  font-feature-settings: 'liga' 1, 'kern' 1;
}
.hero-slogan__punct {
  color: var(--color-primary);
  font-weight: 600;
  margin-left: 0.02em;
}

.home-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.home-catalog .card__media { aspect-ratio: 4 / 3; min-height: 0; }
.home-catalog .card__title { font-size: 1rem; line-height: 1.35; }
.card {
  background: var(--card-bg); border: var(--card-border);
  border-radius: var(--radius-card); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: var(--card-hover-transform); }
.card--horizontal { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.card__media {
  background: var(--color-accent-bg); min-height: 140px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.card__media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media .catalog-card__img--in-card { width: 100%; height: 100%; min-height: 100%; }
.card--horizontal .card__media { flex: 0 0 min(42%, 420px); aspect-ratio: 16 / 10; min-height: 0; }
.card:not(.card--horizontal) .card__media { aspect-ratio: 4 / 3; }
.card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.card__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; }
.home-catalog__all { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.5rem; border: var(--border-catalog-all); border-radius: var(--radius-card); min-height: 120px; transition: var(--transition); }
.home-catalog__all:hover { background: var(--color-primary); color: #fff; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.stat-item__value { font-size: clamp(1.5rem, 2vw + 1rem, 2rem); font-weight: 700; color: var(--color-primary); line-height: 1.15; }
.stat-item__label { font-size: 0.8125rem; color: var(--color-text-secondary); margin-top: 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }

.home-services-list { margin-top: 0; }

.home-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-items: stretch;
  border: 1px solid var(--color-border);
  background: var(--color-border);
  overflow: hidden;
}
.home-split__panel {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: none;
  overflow: hidden;
  min-height: 100%;
  min-width: 0;
}
.home-split__panel--catalog { border-top: 3px solid var(--color-primary); }
.home-split__panel--services { border-top: 3px solid #1e4976; }

.home-split__media {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 148px;
  overflow: hidden;
  background: #0a2438;
}
.home-split__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.home-split__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(6, 29, 61, 0.22) 0%, transparent 42%),
    linear-gradient(180deg, rgba(6, 29, 61, 0.05) 0%, rgba(6, 29, 61, 0.48) 100%);
}
.home-split__panel--services .home-split__media::after {
  background:
    linear-gradient(245deg, rgba(20, 28, 36, 0.28) 0%, transparent 45%),
    linear-gradient(180deg, rgba(12, 16, 22, 0.08) 0%, rgba(12, 16, 22, 0.55) 100%);
}
.home-split__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: var(--photo-grade-soft);
}

/* Editorial photos: one industrial grade (home / news / about / services) */
.about-intro__media > img,
.news-item__thumb > img,
.news-article__hero > img,
.news-article__shot > img,
.service-hero__media > img,
.about-photos img,
.photo-band img,
.media-band video {
  filter: var(--photo-grade);
}
.about-intro__media,
.news-item__thumb,
.news-article__hero,
.news-article__shot,
.service-hero__media {
  position: relative;
}
.about-intro__media::after,
.news-item__thumb::after,
.news-article__hero::after,
.news-article__shot::after,
.service-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--photo-wash);
}
.home-split__media--catalog .home-split__photo {
  object-position: 42% 48%;
}
.home-split__media--services .home-split__photo {
  object-position: 58% 52%;
}
.home-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Photo zoom on hover — photos only (not technical drawings on product/catalog cards) */
.home-split__media,
.about-intro__media,
.card__media,
.news-item__thumb,
.home-news-strip__thumb,
.news-article__hero,
.news-article__shot,
.services-index__media,
.cover-ph--photo {
  overflow: hidden;
}
.home-split__photo,
.about-intro__media > img,
.card__media > img,
.news-item__thumb > img,
.news-article__hero > img,
.news-article__shot > img,
.services-index__media > img,
.cover-ph__photo,
img.team-card__photo:not(.team-card__photo--empty) {
  transform: scale(1.04);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.home-split__panel:hover .home-split__photo,
.about-intro__media:hover > img,
a:hover .about-intro__media > img,
.card:hover .card__media > img,
.news-item:hover .news-item__thumb > img,
.news-article__hero:hover > img,
.news-article__shot:hover > img,
.services-index__media:hover > img,
a:hover .cover-ph--photo .cover-ph__photo,
.cover-ph--photo:hover .cover-ph__photo,
.team-card:hover img.team-card__photo:not(.team-card__photo--empty) {
  transform: scale(1.08);
}
/* Lottie cards: zoom poster only, not the SVG animation layer */
.catalog-card:hover .catalog-card__img--lottie:not(.catalog-card__img--has-poster) .catalog-card__lottie svg {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .home-split__photo,
  .about-intro__media > img,
  .card__media > img,
  .news-item__thumb > img,
  .news-article__hero > img,
  .news-article__shot > img,
  .services-index__media > img,
  .cover-ph__photo,
  img.team-card__photo:not(.team-card__photo--empty),
  .home-split__panel:hover .home-split__photo,
  .about-intro__media:hover > img,
  .card:hover .card__media > img,
  .news-item:hover .news-item__thumb > img,
  .news-article__hero:hover > img,
  .news-article__shot:hover > img,
  .services-index__media:hover > img,
  a:hover .cover-ph--photo .cover-ph__photo,
  .cover-ph--photo:hover .cover-ph__photo,
  .team-card:hover img.team-card__photo:not(.team-card__photo--empty) {
    transform: none;
    transition: none;
  }
}
.home-split__media .cover-ph {
  min-height: 100%;
  height: 100%;
  border-radius: 0;
}
.home-split__media .cover-ph__title {
  font-size: clamp(0.75rem, 1.1vw, 0.875rem);
  max-width: 16rem;
}

.home-split__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.35rem;
}
.home-split__title {
  margin-top: 0.35rem;
  font-size: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
  line-height: 1.3;
  text-wrap: balance;
}
.home-split__links {
  list-style: none;
  margin: 1.15rem 0 1.25rem;
  flex: 1;
  border-top: 1px solid var(--color-border);
}
.home-split__link {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  transition: var(--transition);
}
.home-split__link:hover {
  color: var(--color-primary);
  background: var(--color-bg-muted);
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.home-split__link-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}
.home-split__link-text {
  font-size: 0.875rem;
  line-height: 1.45;
}
.home-split__link-arrow {
  font-size: 1rem;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
}
.home-split__link:hover .home-split__link-arrow {
  opacity: 1;
  transform: none;
}
.home-split__cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.home-about-intro { margin-bottom: 2.5rem; align-items: center; }
@media (min-width: 901px) {
  .about-intro--reverse .about-intro__media { order: 1; }
  .about-intro--reverse .about-intro__text { order: 2; }
}
@media (max-width: 900px) {
  .about-intro--reverse .about-intro__media,
  .about-intro--reverse .about-intro__text { order: unset; }
}
.about-intro__text { min-width: 0; }
.hero__subtitle { margin-top: 1.25rem; max-width: 36rem; }
.home-about__title { margin-bottom: 1rem; }
.home-about__lead {
  max-width: 520px; margin-bottom: 1rem; line-height: 1.65;
  color: var(--color-text-secondary); font-size: 0.9375rem;
}
.home-stat-grid { margin-top: 0.5rem; }
.home-quality-lead {
  margin-top: 1.75rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* Home news — dense live timeline strip (photo → continuous line → titles) */
.home-news-strip {
  --news-cols: 6;
  --news-gap: 0.85rem;
  --news-rail-gap: 0.75rem;
  --news-thumb-h: 118px;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
.home-news-strip__head {
  display: grid;
  grid-template-columns: repeat(var(--news-cols), minmax(0, 1fr));
  column-gap: var(--news-gap);
  align-items: end;
  margin-bottom: 0.85rem;
}
.home-news-strip__heading {
  grid-column: 1 / -2;
  min-width: 0;
}
.home-news-strip__heading h2 {
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.2rem);
  margin: 0.25rem 0 0;
  line-height: 1.25;
  text-wrap: balance;
}
/* ← → and «Все новости» above the last column on the right */
.home-news-strip__actions {
  grid-column: -2 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.35rem;
}
.home-news-strip__nav { display: flex; gap: 0.3rem; }
.home-news-strip__all {
  white-space: nowrap;
  font-size: 0.8125rem;
}
.home-news-strip__btn {
  width: 1.85rem;
  height: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.home-news-strip__btn:hover:not(:disabled) {
  border-color: var(--color-primary);
  background: var(--color-bg-muted);
}
.home-news-strip__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.home-news-strip__btn:disabled { opacity: 0.35; cursor: default; }

.home-news-strip__viewport { position: relative; }
.home-news-strip__track {
  display: grid;
  grid-template-columns: repeat(var(--news-cols), minmax(0, 1fr));
  column-gap: var(--news-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  outline: none;
}
.home-news-strip__slide {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}
.home-news-strip__track:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}
.home-news-strip__item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}
.home-news-strip__item:hover,
.home-news-strip__item:focus-visible { color: var(--color-primary); }
.home-news-strip__item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.home-news-strip__thumb {
  width: 100%;
  height: var(--news-thumb-h);
  aspect-ratio: auto;
  margin-bottom: calc(var(--news-rail-gap) * 2 + 2px);
  overflow: hidden;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  position: relative;
}
.home-news-strip__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-news-strip__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--photo-wash);
}
.home-news-strip__thumb > img {
  filter: var(--photo-grade);
  transform: scale(1.04);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.home-news-strip__item:hover .home-news-strip__thumb > img { transform: scale(1.08); }

/* One continuous line; top is set in JS from thumb bottom */
.home-news-strip__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-border);
  pointer-events: none;
  z-index: 2;
  top: 0;
}
.home-news-strip__dot {
  position: absolute;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 2px #fff;
  z-index: 3;
  top: 0;
  pointer-events: none;
}
.home-news-strip__date {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin: 0 0 0.25rem;
}
.home-news-strip__title {
  margin: 0;
  font-size: clamp(0.7rem, 0.12vw + 0.66rem, 0.8125rem);
  font-weight: 600;
  line-height: 1.3;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  text-wrap: balance;
  color: inherit;
}
.home-news-strip__item:hover .home-news-strip__title,
.home-news-strip__item:focus-visible .home-news-strip__title {
  color: var(--color-primary);
}
@media (min-width: 1101px) {
  .home-news-strip {
    --news-cols: 6;
    --news-thumb-h: 118px;
  }
}
@media (max-width: 1100px) and (min-width: 801px) {
  .home-news-strip {
    --news-cols: 4;
    --news-gap: 0.75rem;
    --news-thumb-h: 110px;
  }
}
@media (min-width: 901px) {
  .home-news-strip { padding-top: 2.35rem; padding-bottom: 2.35rem; }
}
@media (max-width: 800px) {
  .home-news-strip {
    --news-gap: 0.75rem;
    --news-thumb-h: 100px;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
  .home-news-strip__head {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .home-news-strip__heading { grid-column: 1; }
  .home-news-strip__actions {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .home-news-strip__track {
    display: flex;
    gap: var(--news-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }
  .home-news-strip__slide {
    flex: 0 0 min(42vw, 156px);
    scroll-snap-align: start;
  }
}
@media (max-width: 640px) {
  .home-news-strip__nav { display: none; }
  .home-news-strip__title { font-size: 0.6875rem; }
  .home-news-strip__slide { flex-basis: min(46vw, 148px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-news-strip__thumb > img,
  .home-news-strip__item:hover .home-news-strip__thumb > img {
    transform: none;
    transition: none;
  }
}

.footer-tagline { margin-top: 1rem; font-size: 0.8125rem; line-height: 1.6; color: rgba(255,255,255,0.75); }

.section-overlay { position: relative; color: #fff; overflow: hidden; }
.section-overlay__bg { position: absolute; inset: 0; background: var(--overlay-bg); }
.section-overlay .container { position: relative; z-index: 1; }
.feature-row { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.15); gap: 1rem; }

.site-footer__cta { background: var(--color-primary); color: #fff; padding: 4rem 0; }
.site-footer__bottom { padding: 1rem 0; font-size: 0.8rem; color: var(--color-text-secondary); border-top: 1px solid var(--color-border); }

.variant-bar { background: #111; color: #fff; text-align: center; padding: 0.6rem 1rem; font-size: 0.8rem; }
.variant-bar a { color: #7dd3fc; margin: 0 0.35rem; }
.variant-bar strong { color: #fff; }

.reveal { opacity: 1; transform: none; transition: opacity 0.6s, transform 0.6s; }
/* Keep first paint readable: only gently fade-in, never fully hide content */
html.js .reveal:not(.is-visible) { opacity: 0.35; transform: translateY(12px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal:not(.is-visible),
.page-head .reveal:not(.is-visible) { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  html.js .reveal:not(.is-visible),
  html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__media--video video { display: none; }
  .hero__media--video {
    background-image: var(--hero-poster);
    background-size: cover;
    background-position: center;
    filter: var(--photo-grade);
  }
}
[x-cloak] { display: none !important; }

@media (max-width: 900px) {
  .hero__grid, .home-catalog { grid-template-columns: 1fr; }
  .hero__grid { gap: 1.75rem; }
  .hero__media,
  .hero__media--video {
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }
  .card--horizontal { flex-direction: column; grid-row: span 1; }
  .navbar__nav { display: none; }
  .burger { display: flex; }
  .home-split { grid-template-columns: 1fr; }
  .home-split__media { aspect-ratio: 16 / 8; min-height: 140px; }
  .home-split__body { padding: 1.25rem 1rem 1rem; }
  .home-split__title { font-size: 1.0625rem; }
  .home-split__link {
    grid-template-columns: 2rem 1fr auto;
    padding: 0.75rem 0;
  }
  .home-split__link-text { font-size: 0.875rem; }
}
@media (max-width: 640px) {
  .topbar .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1rem;
  }
  .navbar__logo-img { height: 40px; }
  .hero { padding: 1.5rem 0 2rem; }
  .hero .container { width: min(100% - 1.5rem, var(--container-max)); padding: 0 0.75rem; }
  .hero__copy { width: 100%; max-width: 100%; overflow: visible; }
  .hero__subtitle { margin-top: 0.75rem; }
  .hero__actions { margin-top: 1.15rem; gap: 0.65rem; }
  .hero-slogan-bar { padding-left: 0.85rem; }
  .hero-slogan__word { font-size: clamp(1.125rem, 4.6vw + 0.65rem, 1.5rem); letter-spacing: 0.02em; }
  .hero__media,
  .hero__media--video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0 !important;
  }
  .hero__media video { object-fit: cover; }
  .catalog-card__body { padding: 1rem 1.15rem 1.15rem; }
  .catalog-card h2 { font-size: 1rem; line-height: 1.35; }
  .catalog-card__img { aspect-ratio: 4 / 3; }
  .home-split__media { aspect-ratio: 16 / 9; min-height: 120px; }
  .home-split__link-arrow { display: none; }
}


/* Вариант 2: Строгий корпоратив */
:root {
  --font-family: 'Inter', sans-serif;
  --color-primary: #0a2d5c;
  --color-primary-dark: #061d3d;
  --color-accent-bg: #f4f6f8;
  --color-bg: #ffffff;
  --color-bg-muted: #f8f9fb;
  --color-text: #1a1a1a;
  --color-text-secondary: #5c6670;
  --color-border: #d8dde3;
  --container-max: 1280px;
  --font-size-base: clamp(0.9375rem, 0.2vw + 0.9rem, 1.0625rem);
  --font-size-h1: clamp(1.75rem, 1.5vw + 1.25rem, 2.75rem);
  --font-size-h2: clamp(1.375rem, 0.6vw + 1.1rem, 1.75rem);
  --font-size-label: 0.6875rem;
  --font-weight-h1: 700;
  --letter-spacing-h1: 0.01em;
  --hero-subtitle-size: 1rem;
  --section-pad: 4.5rem;
  --hero-pad-y: 3rem;
  --btn-pad-y: 0.75rem;
  --btn-pad-x: 1.5rem;
  --btn-font-size: 0.8125rem;
  --radius-btn: 2px;
  --radius-card: 4px;
  --radius-hero-media: 4px;
  --radius-nav: 2px;
  --border-btn-secondary: 1px solid var(--color-primary);
  --header-bg: #fff;
  --header-border: 1px solid var(--color-border);
  --topbar-bg: #0a2d5c;
  --topbar-text: #fff;
  --topbar-link: rgba(255,255,255,0.7);
  --navbar-pad: 0.5rem;
  --nav-hover-bg: transparent;
  --card-bg: #fff;
  --card-border: 1px solid var(--color-border);
  --card-hover-transform: none;
  --shadow-card-hover: none;
  --shadow-hero: none;
  --border-catalog-all: 1px solid var(--color-border);
  --overlay-bg: #0a2d5c;
  --transition: 0.15s ease;
  /* Shared industrial grade: cool, heavy — matches services photography */
  --photo-grade: contrast(1.12) saturate(0.62) brightness(0.88);
  --photo-grade-soft: contrast(1.08) saturate(0.72) brightness(0.9);
  --photo-wash: linear-gradient(180deg, rgba(6, 29, 61, 0.06) 0%, rgba(6, 29, 61, 0.28) 100%);
}

body { letter-spacing: 0.01em; }
.nav-link { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.06em; font-weight: 600; }
.nav-link:hover, .nav-link.is-active { background: transparent; border-bottom: 2px solid var(--color-primary); border-radius: 0; }
.btn { text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; border-radius: 2px; }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn:hover { transform: none; }
.card { box-shadow: none; }
.card:hover { border-color: var(--color-primary); }
.card__title { font-size: 1rem; font-weight: 600; }
.stat-item__value { font-size: 1.75rem; font-weight: 700; }
.hero__grid { gap: 3rem; }
.section { border-bottom: 1px solid var(--color-border); }
.section:last-of-type { border-bottom: none; }
.label::before { content: '— '; }
.home-catalog__all { background: var(--color-bg-muted); font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; }
.home-catalog__all:hover { background: var(--color-primary); border-color: var(--color-primary); }
.feature-row { font-size: 0.9375rem; }
.site-header { box-shadow: none; }

/* ——— Страницы и компоненты (финальный превью) ——— */

.preview-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 0.75rem; }
.preview-nav a { color: #7dd3fc; }
.preview-nav a.is-current { color: #fff; text-decoration: underline; }

.ph {
  background: repeating-linear-gradient(-45deg, #f4f6f8, #f4f6f8 10px, #e9edf1 10px, #e9edf1 20px);
  border: 1px solid var(--color-border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--color-text-secondary); padding: 1.25rem;
}
.ph__label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--color-primary); margin-bottom: 0.35rem; }
.ph__hint { font-size: 0.75rem; max-width: 260px; line-height: 1.45; }
.ph__ratio { font-size: 0.625rem; opacity: 0.55; margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ph--wide { min-height: 280px; }
.ph--tall { min-height: 320px; }
.ph--square { aspect-ratio: 1; min-height: auto; }
.ph--product { aspect-ratio: 4/3; min-height: auto; }
.ph--hero { min-height: 100%; aspect-ratio: 16/10; }

.page-head { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--color-border); }
.page-head h1 { margin-top: 0.75rem; }
.page-head__lead {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-text);
  text-wrap: pretty;
}

.services-index {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}
.services-index__media {
  position: sticky;
  top: 6rem;
  overflow: hidden;
  background: #0a2438;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 5;
  max-height: min(70vh, 560px);
}
.services-index__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
  display: block;
}
.services-index__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(6, 29, 61, 0.18) 0%, transparent 40%),
    linear-gradient(180deg, transparent 45%, rgba(6, 29, 61, 0.45) 100%);
}
.services-index__body { min-width: 0; }
.services-index__list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}
.services-index__item {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--color-border);
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
.services-index__item:hover {
  color: var(--color-primary);
  background: var(--color-bg-muted);
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.services-index__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  padding-top: 0.2rem;
}
.services-index__content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.services-index__title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}
.services-index__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}
.services-index__item:hover .services-index__desc {
  color: var(--color-text-secondary);
}
.services-index__arrow {
  font-size: 1.125rem;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
  padding-top: 0.15rem;
}
.services-index__item:hover .services-index__arrow {
  opacity: 1;
  transform: none;
}
.services-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 1.75rem;
  border: 1px solid var(--color-border);
  background: #fff;
}
.services-cta__copy {
  max-width: 36rem;
  min-width: 0;
}
.services-cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.125rem, 0.4vw + 1rem, 1.35rem);
  line-height: 1.3;
  text-wrap: balance;
}
.services-cta p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .services-index {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-index__media {
    position: relative;
    top: auto;
    aspect-ratio: 16 / 9;
    max-height: none;
  }
  .services-index__item:hover {
    margin: 0 -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
@media (max-width: 600px) {
  .services-cta { padding: 1.25rem; }
  .services-cta .btn { width: 100%; justify-content: center; }
  .services-index__arrow { display: none; }
}
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; font-size: 0.75rem; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.04em; }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs__sep { opacity: 0.4; }

/* Global trail (was in cms-catalog.css — needed on about/cabinet/etc.) */
.breadcrumb { padding: 0.75rem 0; font-size: 0.8125rem; border-bottom: 1px solid var(--color-border); }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb__item:not(:last-child)::after { content: '/'; margin-left: 0.35rem; color: var(--color-text-secondary); }
.breadcrumb a { color: var(--color-text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span[aria-current="page"] { color: var(--color-text); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head .label { margin-bottom: 0; }
.home-catalog-layout { display: flex; flex-direction: column; gap: 1rem; }
.home-catalog-products { margin-top: 0; padding-top: 0; border-top: none; }

/* Explicit --cols avoids grey “holes” from incomplete auto-fit rows */
.features-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.features-grid--caps .feature-box {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.feature-box--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-primary);
  color: #fff;
}
.feature-box--cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 22rem;
}
.feature-box--cta .btn {
  margin-top: 0.25rem;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.feature-box--cta .btn:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
@media (max-width: 1100px) and (min-width: 901px) {
  .features-grid--caps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-box--cta { grid-column: 1 / -1 !important; }
}
.features-grid--metrics {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.features-grid--metrics[style*="--cols"] {
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
@media (max-width: 900px) {
  .features-grid--metrics[style*="--cols"] {
    grid-template-columns: 1fr;
  }
}
/* Metrics row: column count from --cols (set in Twig), quality row full width */
.features-grid--about-metrics {
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
@media (max-width: 900px) {
  .features-grid--about-metrics {
    grid-template-columns: 1fr;
  }
}
.features-grid--about-metrics .feature-box {
  padding: 1.75rem 1.5rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.features-grid--about-metrics .feature-box h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
  margin-bottom: 0;
}
.features-grid--about-metrics .feature-box p {
  margin: 0;
  flex: 1;
}
.feature-box--quality { grid-column: 1 / -1; }
.feature-box--quality p { margin: 0; font-size: 1.0625rem; line-height: 1.65; }
.feature-box { background: #fff; padding: 1.5rem; min-height: 100%; }
.feature-box h3 { font-size: clamp(1.125rem, 0.5vw + 1rem, 1.5rem); font-weight: 700; color: var(--color-primary); margin-bottom: 0.5rem; line-height: 1.25; }
.feature-box p { font-size: 0.9375rem; color: var(--color-text-secondary); line-height: 1.55; }
.feature-box .link-arrow { margin-top: auto; padding-top: 0.75rem; }
.about-services-lead::first-letter { text-transform: uppercase; }

.photo-band { position: relative; min-height: 420px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.photo-band .ph { position: absolute; inset: 0; border: none; min-height: 100%; }
.photo-band__content { position: relative; z-index: 1; padding: 3rem 0; width: 100%; background: linear-gradient(to top, rgba(10,45,92,0.92) 0%, rgba(10,45,92,0.4) 60%, transparent 100%); }
.photo-band h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }

.media-band {
  position: relative; overflow: hidden; border-radius: var(--radius-hero-media);
  background: var(--color-primary-dark);
}
.media-band video {
  width: 100%; height: auto; max-height: min(70vh, 640px);
  object-fit: contain; display: block; vertical-align: middle;
  background: linear-gradient(180deg, #061d3d 0%, #0a2d5c 100%);
}
.media-band__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: 2rem 2.25rem; color: #fff;
  background: linear-gradient(to top, rgba(10,45,92,0.92) 0%, rgba(10,45,92,0.35) 55%, transparent 100%);
}
.media-band__overlay h2 { font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem); margin: 0; }

.products-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.product-card { border: 1px solid var(--color-border); transition: var(--transition); display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--color-primary); }
.product-card__body { padding: 1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card__title { font-size: 0.875rem; font-weight: 600; line-height: 1.35; flex: 1; text-align: center; text-wrap: balance; }
.product-card__meta { font-size: 0.75rem; color: var(--color-text-secondary); margin-top: 0.5rem; }

.services-list { border-top: 1px solid var(--color-border); }
.service-item { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--color-border); transition: var(--transition); }
.service-item:hover { background: var(--color-bg-muted); margin: 0 -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; }
.service-item__num { font-size: 0.75rem; font-weight: 700; color: var(--color-primary); }
.service-item h3 { font-size: 1rem; font-weight: 600; }
.service-item__arrow { color: var(--color-primary); font-size: 1.25rem; }
.service-item--job {
  grid-template-columns: 1fr;
  gap: 0.35rem;
  align-items: start;
  cursor: default;
}
.service-item--job:hover { background: transparent; margin: 0; padding-left: 0; padding-right: 0; }
.service-item__body { margin-top: 0.15rem; font-size: 0.9375rem; }

/* Unified service page */
.service-hero__intro { align-items: stretch; gap: 2.5rem; }
.service-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.service-hero__lead {
  margin: 0;
  font-size: clamp(1.25rem, 0.6vw + 1.1rem, 1.65rem);
  line-height: 1.35;
  text-wrap: balance;
}
.service-hero__media {
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-muted);
}
.service-hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-hero .features-grid--metrics {
  margin: 0;
}
.service-hero .features-grid--metrics .feature-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1rem;
}
.service-hero .features-grid--metrics .feature-box h3 {
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.125rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
  margin-bottom: 0;
}
.service-hero .features-grid--metrics .feature-box p {
  margin: 0;
  flex: 1;
}
.service-section__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.25rem, 0.5vw + 1.1rem, 1.5rem);
  line-height: 1.3;
}
.service-docs .label { display: block; margin-bottom: 0.5rem; }
.service-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.service-step {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--color-border);
}
.service-step__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  padding-top: 0.2rem;
}
.service-step__body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.service-step__list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.service-step__list li + li { margin-top: 0.25rem; }

/* Documentation filters — inactive muted, active filled (was invisible before) */
.docs-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.docs-filter__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text-secondary);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.docs-filter__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.docs-filter__btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.docs-filter__btn.is-active .docs-filter__count {
  color: rgba(255, 255, 255, 0.8);
}
.docs-filter__count {
  font-weight: 500;
  color: var(--color-text-secondary);
}
.doc-item__missing {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
}
@media (max-width: 900px) {
  .service-hero__intro { gap: 1.5rem; }
  .service-hero__media { aspect-ratio: 16 / 10; }
}

.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 1rem; }
.partner-logo { border: 1px solid var(--color-border); min-height: 72px; display: flex; align-items: center; justify-content: center; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-secondary); background: #fff; }

.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 2rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--color-border);
  align-items: center; text-decoration: none; color: inherit;
  transition: var(--transition);
}
.news-item:first-child { border-top: 1px solid var(--color-border); }
.news-item:hover { color: var(--color-primary); }
.news-item:hover h3 { color: var(--color-primary); }
.news-item__content { min-width: 0; }
.news-item__date { font-size: 0.75rem; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.news-item h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.35; }
.news-item p { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.55; margin: 0; }
.news-item__thumb {
  width: 200px; height: 120px; flex-shrink: 0; overflow: hidden;
  background: var(--color-bg-muted); border: 1px solid var(--color-border);
}
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-item img, .news-item .cover-ph { width: 200px; height: 120px; object-fit: cover; flex-shrink: 0; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  min-width: 0;
  width: 100%;
}
/* Keep two equal columns across desktop so 2 categories fill the page width.
   Extra categories wrap to the next row instead of leaving a third empty track. */
.catalog-card {
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.catalog-card:hover { border-color: var(--color-primary); }
.catalog-card__img {
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
  background: var(--color-accent-bg);
}
.catalog-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}
.catalog-card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.catalog-download { margin-top: 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--color-bg-muted); }

.layout-sidebar { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.filter-panel { border: 1px solid var(--color-border); padding: 1.25rem; position: sticky; top: 6rem; }
.filter-panel h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.filter-group { margin-bottom: 1.25rem; }
.filter-group label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; padding: 0.35rem 0; cursor: pointer; }
.filter-group input { accent-color: var(--color-primary); }

.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2.5rem; align-items: start; }
.product-gallery__main {
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
  min-height: 200px;
  max-height: min(70vh, 560px);
  padding: 0.75rem;
  box-sizing: border-box;
}
.product-gallery__slide {
  width: 100%;
  min-width: 0;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery__slide img {
  box-sizing: border-box;
  /* auto + max-* keeps aspect; width:100% + max-height crops/zooms drawings */
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(70vh, 520px);
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  transform: none !important;
}
.product-gallery__lottie { width: 100%; min-height: 280px; aspect-ratio: 4 / 3; background: #fff; }
.product-gallery__thumb-label { font-size: 0.75rem; font-weight: 600; color: var(--color-primary); }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.product-gallery__thumbs .ph { min-height: 72px; padding: 0.5rem; cursor: pointer; }
.product-gallery__thumbs .ph.is-active { border-color: var(--color-primary); outline: 2px solid var(--color-primary); outline-offset: -2px; }
.product-info { border: 1px solid var(--color-border); padding: 1.5rem; }
.product-info__row { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
.product-info__row:last-of-type { border-bottom: none; }
.product-info__label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-secondary); margin-bottom: 0.25rem; }
.product-info__value { font-size: 1rem; font-weight: 600; }
.product-info__desc { font-size: 0.875rem; line-height: 1.6; color: var(--color-text-secondary); margin: 1rem 0 1.25rem; }

.spec-table { border: 1px solid var(--color-border); }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--color-border); font-size: 0.875rem; }
.spec-row:last-child { border-bottom: none; }
.spec-row:nth-child(even) { background: var(--color-bg-muted); }
.spec-row strong { font-weight: 600; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.docs-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.docs-toolbar .docs-filter { margin-bottom: 0; }
.docs-search { display: block; width: 100%; max-width: 28rem; }
.docs-search__input {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--color-border);
  background: #fff;
  font: inherit;
  font-size: 0.875rem;
  color: var(--color-text);
  box-sizing: border-box;
}
.docs-search__input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.docs-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--color-border); background: #fff; }
.doc-item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  background: #fff;
}
.doc-item:last-child { border-bottom: none; }
.doc-item:hover { background: var(--color-bg-muted); }
.doc-item__badge {
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.doc-item__main {
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
}
.doc-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}
.doc-item__type {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}
.doc-item__code {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.doc-item__size {
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
}
.doc-item__title {
  display: block;
  line-height: 1.35;
  word-break: break-word;
  font-size: 0.9375rem;
  font-weight: 600;
}
.doc-item__kind {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  line-height: 1.3;
}
.doc-item__toolbar {
  min-width: 0;
  padding: 0;
  background: transparent;
  border-left: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
}
.doc-item__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.4rem;
  width: auto;
  min-width: 0;
}
.doc-item__actions .btn {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  justify-content: center;
  padding: 0.4rem 0.65rem;
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
}
.docs-more {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.docs-more__btn { min-width: 12rem; }
.docs-more__rest {
  margin-left: 0.35rem;
  font-weight: 500;
  opacity: 0.75;
}
.docs-count,
.docs-empty {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
}
.docs-empty { text-align: center; }

.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.support-card { background: #fff; border: 1px solid var(--color-border); padding: 1.5rem; }
.support-card__city { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; color: var(--color-text-secondary); }
.support-card__list { display: grid; gap: 1rem; margin: 0; }
.support-card__list dt { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-secondary); margin-bottom: 0.25rem; }
.support-card__list dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; }
.support-card__list a { color: var(--color-primary); }

.contacts-section { padding-top: 2rem; }
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  border: 1px solid var(--color-border);
  margin-bottom: 3rem;
  background: #fff;
}
.contacts-layout__info {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  border-right: 1px solid var(--color-border);
}
.contacts-details { margin: 0; display: grid; gap: 1.35rem; }
.contacts-details__item { margin: 0; }
.contacts-details dt { margin-bottom: 0.4rem; }
.contacts-details dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text);
}
.contacts-details a { color: var(--color-primary); }
.contacts-layout__routes {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.contacts-layout__routes .btn { width: 100%; text-align: center; }
.contacts-layout__map {
  position: relative;
  min-height: 420px;
  background: var(--color-bg-muted);
}
.contacts-layout__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contacts-form-block {
  max-width: 720px;
  padding-top: 0.5rem;
}
.contacts-form-block h2 { margin-bottom: 1.25rem; }
.contacts-form { margin-top: 0; }
.form-message { color: #a61b1b; font-size: 0.875rem; margin: 0 0 0.75rem; }

.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-intro__media { min-height: 0; }
.about-intro p { color: var(--color-text-secondary); line-height: 1.65; margin-bottom: 1rem; font-size: 0.9375rem; }
.about-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 1rem; }
.cert-card { border: 1px solid var(--color-border); aspect-ratio: 3/4; }

.footer-main { background: var(--color-primary-dark); color: rgba(255,255,255,0.85); padding: 3rem 0; font-size: 0.875rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { font-size: 0.9375rem; letter-spacing: 0.05em; color: #fff; }
.footer-heading { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.8125rem; }
.footer-links a:hover { color: #fff; }
.site-footer__bottom { background: #051525; color: rgba(255,255,255,0.45); border-top: none; padding: 1rem 0; font-size: 0.75rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__sep { margin: 0 0.35em; opacity: 0.7; }

/* mobile-nav — см. css/nav.css */

@media (max-width: 900px) {
  .features-grid, .features-grid--about-metrics, .features-grid--caps, .products-row, .partners-grid, .catalog-grid, .about-photos, .cert-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-box--cta { grid-column: auto !important; }
  .news-item { grid-template-columns: 1fr; align-items: start; }
  .news-item__thumb { width: 100%; max-width: 320px; height: auto; aspect-ratio: 5 / 3; }
  .news-item__thumb img, .news-item .cover-ph { width: 100%; height: 100%; max-width: none; }
  .layout-sidebar, .product-layout, .about-intro { grid-template-columns: minmax(0, 1fr); }
  .contacts-layout { grid-template-columns: 1fr; }
  .contacts-layout__info { border-right: none; border-bottom: 1px solid var(--color-border); }
  .contacts-layout__map { min-height: 300px; }
  .contacts-layout__routes .btn { width: auto; }
  .filter-panel { position: static; }
  .products-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .products-row { grid-template-columns: 1fr; }
}

.navbar__logo { display:flex; align-items:center; }
.navbar__logo-img { height: 34px; width: auto; display:block; }
.footer-logo-img { height: 28px; width: auto; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; color: var(--color-text-secondary); }
.form-field input, .form-field select, .form-field textarea {
  padding: 0.65rem 0.85rem; border: 1px solid var(--color-border); border-radius: 2px;
  font: inherit; font-size: 0.875rem; background: #fff;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.vacancies-hint { display: block; }
.vacancy-card {
  border: 1px solid var(--color-border); padding: 1.25rem 1.5rem;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: default;
}
.vacancy-card:hover, .vacancy-card:focus-within, .vacancy-card.is-expanded {
  border-color: var(--color-primary);
  background: var(--color-bg-muted);
}
.vacancy-card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.75rem; }
.vacancy-card__facts {
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-bottom: 0.75rem;
}
.vacancy-card__facts > div { min-width: 140px; }
.vacancy-card__facts dt {
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600; color: var(--color-text-secondary); margin-bottom: 0.2rem;
}
.vacancy-card__facts dd { font-size: 0.875rem; font-weight: 500; margin: 0; }
.vacancy-card__summary {
  font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.55; margin: 0;
}
.vacancy-card__toggle { margin-top: 1rem; }
.vacancy-card__details {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.vacancy-card__details-inner { overflow: hidden; }
.vacancy-card.is-expanded .vacancy-card__details {
  grid-template-rows: 1fr;
}
.vacancy-card.is-expanded .vacancy-card__toggle {
  background: var(--color-primary); color: #fff; border-color: var(--color-primary);
}
.vacancy-card__section { margin-top: 1.25rem; margin-bottom: 0; }
.vacancy-card__section-title {
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600; color: var(--color-primary); margin-bottom: 0.5rem;
}
.vacancy-card__list { list-style: none; margin: 0; padding: 0; }
.vacancy-card__list li {
  font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.55;
  padding: 0.3rem 0 0.3rem 0.75rem; border-left: 2px solid var(--color-border); margin-bottom: 0.35rem;
}
.vacancy-card__apply { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); }
.vacancy-form { display: grid; gap: 0.85rem; max-width: 480px; }
.vacancy-form .form-field input,
.vacancy-form .form-field textarea { width: 100%; }
.vacancy-form__hint { font-size: 0.8125rem; color: var(--color-text-secondary); margin: 0; }
.vacancy-form__success { font-size: 0.875rem; color: var(--color-primary); font-weight: 600; }
.vacancy-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  width: 100%;
  color: #fff !important;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vacancies-list { display: flex; flex-direction: column; gap: 1rem; }

@media (hover: none) {
  .vacancies-hint::after { content: ' · нажмите «Подробнее»'; }
}

.search-box { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.search-box input { flex: 1; padding: 0.75rem 1rem; border: 1px solid var(--color-border); font: inherit; font-size: 0.9375rem; }
.search-box .btn { flex-shrink: 0; }
.search-results__count { font-size: 0.8125rem; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1.25rem; }
.search-result { padding: 1.25rem 0; border-bottom: 1px solid var(--color-border); }
.search-result:first-child { border-top: 1px solid var(--color-border); }
.search-result h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.search-result h3 a:hover { color: var(--color-primary); }
.search-result p { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.55; }
.search-result__type { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-primary); margin-bottom: 0.35rem; }

.error-page { text-align: center; padding: 4rem 0 6rem; }
.error-page__code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; color: var(--color-primary); line-height: 1; margin-bottom: 1rem; }
.error-page h1 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.error-page p { color: var(--color-text-secondary); max-width: 420px; margin: 0 auto 2rem; line-height: 1.6; }

.prose { max-width: 720px; line-height: 1.65; color: var(--color-text); font-size: 0.9875rem; }
.prose h2 { color: var(--color-text); font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.prose h3 { color: var(--color-text); font-size: 1.0625rem; margin: 1.5rem 0 0.5rem; }
.prose p { margin-bottom: 1rem; text-wrap: pretty; }
.prose strong, .prose b { color: var(--color-text); font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose a { color: var(--color-primary); text-decoration: underline; }

/* ——— Single news article: one reading column ——— */
.news-article {
  background: #fff;
  padding: 2rem 0 3.5rem;
}
.news-article__col {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.news-article__head {
  margin-bottom: 1.5rem;
}
.news-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}
.news-article__meta time {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.news-article__meta a {
  color: var(--color-text-secondary);
  text-decoration: none;
}
.news-article__meta a:hover { color: var(--color-primary); }
.news-article__head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 1vw + 1.25rem, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-wrap: balance;
}
.news-article__hero {
  margin: 0 0 1.75rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-muted);
  aspect-ratio: 16 / 9;
}
.news-article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.news-article__body.prose {
  max-width: none;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
}
.news-article__body.prose > *:first-child { margin-top: 0; }
.news-article__body.prose > *:last-child { margin-bottom: 0; }
.news-article__body.prose p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}
.news-article__body.prose strong,
.news-article__body.prose b {
  color: var(--color-text);
  font-weight: 700;
}
.news-article__body.prose h1,
.news-article__body.prose h2,
.news-article__body.prose h3 {
  color: var(--color-primary-dark);
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
  text-wrap: balance;
}
.news-article__body.prose h1 { font-size: 1.25rem; }
.news-article__body.prose h2 { font-size: 1.125rem; }
.news-article__body.prose h3 { font-size: 1.0625rem; }
.news-article__body.prose ul,
.news-article__body.prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}
.news-article__body.prose li { margin-bottom: 0.4rem; }
.news-article__body.prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.news-article__body.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
}
.news-article__body.prose th,
.news-article__body.prose td {
  border: 1px solid var(--color-border);
  padding: 0.6rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.news-article__body.prose th {
  background: var(--color-bg-muted);
  font-weight: 600;
}
.news-article__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.news-article__shot {
  margin: 0;
  border: 1px solid var(--color-border);
  background: var(--color-bg-muted);
  overflow: hidden;
}
.news-article__shot img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.news-article__shot figcaption {
  padding: 0.45rem 0.65rem;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}
.news-article__foot {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}
@media (max-width: 700px) {
  .news-article { padding: 1.25rem 0 2.5rem; }
  .news-article__gallery { grid-template-columns: 1fr; }
}

.tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--color-border); margin-bottom: 2rem; }
.tabs__item { padding: 0.75rem 1.25rem; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; color: var(--color-text-secondary); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tabs__item.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

.page-head__lead {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Training-center mark (no duplicate Ascold logo — already in navbar) */
.page-head--edu {
  padding: 2rem 0 1.75rem;
}
.edu-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  margin: 0;
  padding: 0;
  max-width: 44rem;
}
.edu-brand__mark {
  width: 3.75rem;
  height: 3.75rem;
  flex: 0 0 auto;
  display: block;
  margin-top: 0.15rem;
}
.edu-brand__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.edu-brand__title {
  margin: 0;
  font-size: clamp(1.5rem, 1.2vw + 1.15rem, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--color-primary);
  line-height: 1.2;
  text-wrap: balance;
}
.edu-brand__motto {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.3;
}
.edu-brand__motto span {
  display: inline-flex;
  align-items: center;
}
.edu-brand__motto span + span::before {
  content: "";
  display: inline-block;
  width: 0.28rem;
  height: 0.28rem;
  margin: 0 0.65rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
  flex: 0 0 auto;
}
.edu-brand__lead {
  margin: 0.15rem 0 0;
  max-width: 38rem;
  font-size: clamp(0.9375rem, 0.35vw + 0.9rem, 1.0625rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text);
  text-wrap: pretty;
}
@media (max-width: 720px) {
  .edu-brand {
    gap: 0.85rem;
  }
  .edu-brand__mark {
    width: 3rem;
    height: 3rem;
    margin-top: 0.1rem;
  }
  .edu-brand__motto {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }
  .edu-brand__motto span + span::before {
    margin: 0 0.45rem;
  }
}

.edu-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start;
}
.edu-subnav {
  position: sticky; top: 5.5rem;
  border: 1px solid var(--color-border); background: #fff;
}
.edu-subnav__label {
  padding: 0.85rem 1rem; font-size: 0.625rem; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 700; color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border); background: var(--color-bg-muted);
}
.edu-subnav__item {
  display: block; width: 100%; text-align: left;
  padding: 0.65rem 1rem; font-size: 0.8125rem; line-height: 1.35;
  color: var(--color-text-secondary); border: none; background: none;
  border-left: 2px solid transparent; cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.edu-subnav__item:hover {
  color: var(--color-primary); background: var(--color-bg-muted);
}
.edu-subnav__item.is-active {
  color: var(--color-primary); font-weight: 600;
  border-left-color: var(--color-primary); background: var(--color-bg-muted);
}
.edu-panels { min-width: 0; }
.edu-panel { display: none; }
.edu-panel.is-active { display: block; }
.edu-panel__title {
  font-size: 1.125rem; font-weight: 600; margin-bottom: 0.85rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border); text-wrap: balance;
  color: var(--color-text);
}

.edu-about { max-width: 46rem; }
.edu-about__intro {
  margin: 0 0 1.35rem;
  color: var(--color-text);
  font-size: clamp(0.9875rem, 0.3vw + 0.94rem, 1.0625rem);
  line-height: 1.65;
}
.edu-about__intro p {
  margin: 0 0 0.85rem;
  text-wrap: pretty;
}
.edu-about__intro p:last-child { margin-bottom: 0; }
.edu-facts--about {
  border-top: 1px solid var(--color-border);
}
.edu-facts--about .edu-facts__def {
  color: var(--color-text);
  font-size: 0.9875rem;
  font-weight: 500;
}
.edu-facts--about .edu-facts__def a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.edu-facts--about .edu-facts__def a:hover {
  text-decoration: underline;
}

.edu-staff__intro {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 40rem;
  color: var(--color-text);
}

.edu-leadership {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}
.edu-leadership__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
  text-wrap: balance;
}

.edu-facts {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}
.edu-facts__row {
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
  gap: 0.75rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}
.edu-facts__term {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
  text-wrap: balance;
}
.edu-facts__def {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}
.edu-facts__def p { margin: 0 0 0.5rem; }
.edu-facts__def p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .edu-facts__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
.edu-staff {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}
.edu-staff__row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: stretch;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}
.edu-staff__photo {
  overflow: hidden;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  aspect-ratio: 3 / 4;
}
.edu-staff__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.02);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.edu-staff__row:hover .edu-staff__photo img {
  transform: scale(1.06);
}
.edu-staff__photo-empty {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(160deg, var(--color-bg-muted), #e8ecf1);
}
.edu-staff__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0.15rem 0;
}
.edu-staff__body .label { margin-bottom: 0.5rem; }
.edu-staff__name {
  margin: 0 0 0.35rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  text-wrap: balance;
}
.edu-staff__role {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
  max-width: 36rem;
  text-wrap: pretty;
}
.edu-staff__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
}
.edu-staff__contacts a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.edu-staff__contacts a:hover {
  border-bottom-color: var(--color-primary);
}
@media (prefers-reduced-motion: reduce) {
  .edu-staff__photo img,
  .edu-staff__row:hover .edu-staff__photo img {
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .edu-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .edu-subnav {
    position: static;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    max-height: none;
  }
  .edu-subnav__label { display: block; }
  .edu-subnav__item {
    flex: none;
    width: 100%;
    white-space: normal;
    text-align: left;
    border-left: 2px solid transparent;
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
  }
  .edu-subnav__item:last-child { border-bottom: none; }
  .edu-subnav__item.is-active {
    border-left-color: var(--color-primary);
    border-bottom-color: var(--color-border);
  }
  .edu-staff__row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 560px) {
  .edu-staff__row {
    grid-template-columns: 1fr;
  }
  .edu-staff__photo {
    max-width: 200px;
  }
}

.cart-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.cart-table th, .cart-table td { padding: 1rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.cart-table th { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-secondary); font-weight: 600; }
.cart-item__name { font-weight: 600; }
.cart-item__meta { font-size: 0.8125rem; color: var(--color-text-secondary); margin-top: 0.25rem; }
.cart-summary { margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--color-border); background: var(--color-bg-muted); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }

.cart-toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 9999;
  transform: translateX(-50%) translateY(120%);
  max-width: min(92vw, 420px); padding: 0.875rem 1.25rem;
  background: var(--color-primary-dark); color: #fff;
  font-size: 0.875rem; line-height: 1.45; border-radius: 4px;
  box-shadow: 0 8px 24px rgba(10, 45, 92, 0.25);
  transition: transform 0.28s ease, opacity 0.28s ease; opacity: 0;
  pointer-events: none;
}
.cart-toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

.btn-add-order.is-in-cart {
  background: var(--color-bg-muted); border-color: var(--color-primary);
  color: var(--color-primary);
}

.cart-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--color-border);
  background: #fff;
}
.cart-item__thumb {
  width: 88px; height: 88px; border: 1px solid var(--color-border);
  background: var(--color-bg-muted); overflow: hidden; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cart-item__thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cart-item__thumb-ph { font-size: 0.6875rem; color: var(--color-text-secondary); text-align: center; padding: 0.5rem; }
.cart-item__body { min-width: 0; }
.cart-item__body h3 { font-size: 1rem; font-weight: 600; margin: 0 0 0.4rem; line-height: 1.35; }
.cart-item__exec {
  margin: 0 0 0.3rem;
  font-size: 0.8125rem;
  color: var(--color-text);
}
.cart-item__exec span {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
}
.cart-item__options {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}
.cart-item__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0.75rem;
}
.cart-qty {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
}
.cart-qty__controls {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  background: #fff;
}
.cart-qty__btn {
  width: 2.5rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--color-primary);
  background: var(--color-bg-muted);
  border: 0;
}
.cart-qty__btn:hover { background: #e8edf3; }
.cart-qty input {
  width: 3.25rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.25rem;
  border: 0;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  font: inherit;
  font-size: 0.9375rem;
  text-align: center;
  -moz-appearance: textfield;
}
.cart-qty input::-webkit-outer-spin-button,
.cart-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item__remove {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.cart-page-head { margin-bottom: 0.5rem; }
.cart-page-lead { font-size: 0.9375rem; color: var(--color-text-secondary); margin-top: 0.35rem; }
.cart-empty {
  margin-top: 1.5rem;
  padding: 2.5rem 1.5rem; border: 1px dashed var(--color-border); background: var(--color-bg-muted);
  text-align: center; color: var(--color-text-secondary);
}
.cart-empty p { margin-bottom: 1rem; }
.cart-summary-box {
  margin-top: 1.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--color-border);
  background: var(--color-bg-muted); display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.cart-summary-box__total { margin: 0; font-size: 0.9375rem; }
.cart-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0;
}
.cart-footer-actions .btn {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
}

/* Product multi — execution variants */
.variant-block { margin-top: 2rem; }
.variant-block h2 { margin-bottom: 1rem; }
.variant-list {
  border: 1px solid var(--color-border);
  background: #fff;
}
.variant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.variant-row:last-child { border-bottom: 0; }
.variant-row:nth-child(even) { background: var(--color-bg-muted); }
.variant-row__id {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.variant-row__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0;
}
.variant-row__specs > div { min-width: 5.5rem; }
.variant-row__specs dt {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  margin: 0 0 0.15rem;
}
.variant-row__specs dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.variant-row__btn {
  min-width: 8.5rem;
  min-height: 2.5rem;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item__actions {
    grid-column: 1 / -1;
    justify-content: space-between;
    width: 100%;
  }
  .variant-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .variant-row__btn { width: 100%; }
  .doc-item {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.55rem 0.65rem;
    padding: 0.75rem;
  }
  .doc-item__toolbar {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding: 0.65rem 0 0;
    width: 100%;
    justify-content: stretch;
  }
  .doc-item__actions {
    flex-direction: row;
    gap: 0.45rem;
    width: 100%;
  }
  .doc-item__actions .btn {
    flex: 1 1 0;
    width: auto;
    padding: 0.55rem 0.5rem;
    font-size: 0.6875rem;
    white-space: nowrap;
  }
}

.sitemap-group { margin-bottom: 2.5rem; }
.sitemap-group h2 { font-size: 1.125rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-border); }
.sitemap-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.5rem 1.5rem; }
.sitemap-list a { font-size: 0.875rem; color: var(--color-primary); }
.sitemap-list a:hover { text-decoration: underline; }

.order-steps { display: flex; gap: 0; margin-bottom: 2rem; border: 1px solid var(--color-border); }
.order-step { flex: 1; padding: 0.875rem 1rem; text-align: center; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; color: var(--color-text-secondary); border-right: 1px solid var(--color-border); }
.order-step:last-child { border-right: none; }
.order-step.is-active { background: var(--color-primary); color: #fff; }

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .media-band { aspect-ratio: 16 / 10; max-height: none; }
  .media-band__overlay { padding: 1.25rem 1rem; }
}

@media (min-width: 1600px) {
  :root {
    --container-max: 1440px;
    --section-pad: 5rem;
    --hero-subtitle-size: 1.125rem;
  }
  .feature-box p { font-size: 1rem; }
  .nav-link { font-size: 0.8125rem; }
}

@media (min-width: 1920px) {
  :root { --container-max: 1520px; }
}

/* Touch targets — coarse pointer (phones, tablets) */
@media (pointer: coarse) {
  .btn,
  .util-btn,
  .home-split__cta,
  .catalog-toolbar .btn,
  .search-box .btn {
    min-height: 44px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
  .burger {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }
  .home-split__link {
    min-height: 44px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
  .filter-check {
    min-height: 44px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }
  .nav-dropdown__link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

.btn:active,
.util-btn:active {
  opacity: 0.92;
}

/* ---- Layout utilities (replace inline style="" for CSP) ---- */
.u-mt-05 { margin-top: 0.5rem; }
.u-mt-075 { margin-top: 0.75rem; }
.u-mt-1 { margin-top: 1rem; }
.u-mt-125 { margin-top: 1.25rem; }
.u-mt-15 { margin-top: 1.5rem; }
.u-mt-2 { margin-top: 2rem; }
.u-mt-25 { margin-top: 2.5rem; }
.u-mt-3 { margin-top: 3rem; }
.u-mb-075 { margin-bottom: 0.75rem; }
.u-mb-125 { margin-bottom: 1.25rem; }
.u-mb-15 { margin-bottom: 1.5rem; }
.u-max-w-480 { max-width: 480px; }
.u-max-w-560 { max-width: 560px; }
.u-max-w-640 { max-width: 640px; }
.u-max-w-720 { max-width: 720px; }
.u-section-pt { padding-top: 2rem; }
.u-btn-stack {
  width: 100%;
  justify-content: center;
  margin-top: 0.75rem;
}
.u-text-sm { font-size: 0.875rem; }
.u-text-err { color: #c00; font-size: 0.875rem; }
.u-flex-wrap { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.u-flex-wrap-sm { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.u-flex-gap-mt { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.u-flex-gap-mt-15 { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.u-flex-gap-mt-2 { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.u-form-row { display: flex; gap: 0.5rem; max-width: 640px; margin-bottom: 2rem; }
.u-form-row--search { display: flex; gap: 0.5rem; margin-top: 2rem; }
.u-form-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
}
.u-form-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
.u-form-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.u-check-row { display: flex; align-items: center; gap: 0.5rem; }
.u-overflow-x { overflow-x: auto; }
.u-display-contents { display: contents; }
.u-block { display: block; }
.u-cursor-default { cursor: default; }
.u-page-lead { margin-top: 0.75rem; max-width: 640px; }
.u-page-lead--720 { margin-top: 0.75rem; max-width: 720px; }
.u-prose-block { max-width: 720px; margin-bottom: 2rem; }
.u-prose-mt { margin-top: 2rem; max-width: 720px; }
.u-support-title { margin-bottom: 1.5rem; max-width: 720px; }
.u-order-form { max-width: 720px; }
.u-contacts-narrow { max-width: 560px; margin-bottom: 2rem; }
.u-contacts-narrow--480 { margin-top: 2.5rem; max-width: 480px; }
.u-muted-zero { margin: 0; }
.u-label-block { display: block; margin: 3rem 0 0.75rem; }
.u-debug-fields {
  z-index: 99999;
  text-align: right;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 200px;
  padding: 8px;
  background: #000;
  opacity: 0.9;
  color: #fff;
  border-top-right-radius: 15px;
  font-size: 12px;
}
.cabinet-org-tree__row[data-org-depth="0"] { --org-depth: 0; }
.cabinet-org-tree__row[data-org-depth="1"] { --org-depth: 1; }
.cabinet-org-tree__row[data-org-depth="2"] { --org-depth: 2; }
.cabinet-org-tree__row[data-org-depth="3"] { --org-depth: 3; }
.cabinet-org-tree__row[data-org-depth="4"] { --org-depth: 4; }
.cabinet-org-tree__row[data-org-depth="5"] { --org-depth: 5; }
.cabinet-org-tree__row[data-org-depth="6"] { --org-depth: 6; }
.cabinet-org-tree__row[data-org-depth="7"] { --org-depth: 7; }
.cabinet-org-tree__row[data-org-depth="8"] { --org-depth: 8; }
.features-grid--cols-2 { --cols: 2; }
.features-grid--cols-3 { --cols: 3; }
.features-grid--cols-4 { --cols: 4; }
.features-grid--cols-5 { --cols: 5; }
.features-grid--cols-6 { --cols: 6; }
.features-grid__cta-span-1 { grid-column: span 1; }
.features-grid__cta-span-2 { grid-column: span 2; }
.features-grid__cta-span-3 { grid-column: span 3; }
.features-grid__cta-span-4 { grid-column: span 4; }
.home-news-strip--cols-1 { --news-cols: 1; }
.home-news-strip--cols-2 { --news-cols: 2; }
.home-news-strip--cols-3 { --news-cols: 3; }
.home-news-strip--cols-4 { --news-cols: 4; }
.home-news-strip--cols-5 { --news-cols: 5; }
.home-news-strip--cols-6 { --news-cols: 6; }
