/* ELEМERT homepage — premium industrial UI */
:root {
  --em-blue: #004b93;
  --em-blue-deep: #00366d;
  --em-blue-soft: #e8eef6;
  --em-ink: #16191f;
  --em-text: #3a4049;
  --em-muted: #6b7280;
  --em-line: #e4e8ee;
  --em-bg: #f6f7f9;
  --em-white: #ffffff;
  --em-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --em-max: 1220px;
  --em-header: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body.em-home,
body.em-inner {
  margin: 0;
  background: var(--em-white);
  color: var(--em-ink);
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.em-home.em-nav-open,
body.em-inner.em-nav-open {
  overflow: hidden;
}
.em-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(17, 21, 28, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--em-ease);
}
body.em-nav-open .em-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.em-wrap {
  width: min(var(--em-max), calc(100% - 48px));
  margin: 0 auto;
}

.em-skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 10001;
  background: var(--em-blue);
  color: #fff;
  padding: 8px 14px;
}
.em-skip:focus {
  left: 8px;
}

/* Header */
.em-header {
  position: sticky;
  top: 0;
  z-index: 101;
  height: var(--em-header);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s var(--em-ease), box-shadow 0.25s var(--em-ease);
}
.em-header.is-scrolled {
  border-bottom-color: var(--em-line);
  box-shadow: 0 1px 0 rgba(22, 25, 31, 0.04);
}
.em-header__inner {
  height: var(--em-header);
  display: flex;
  align-items: center;
  gap: 28px;
}
.em-logo img {
  width: 148px;
  height: 40px;
  object-fit: contain;
}
.em-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  flex: 1;
}
.em-nav > a,
.em-drop > summary {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  color: var(--em-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 4px;
  list-style: none;
  cursor: pointer;
  background: none;
  border: 0;
  transition: color 0.2s var(--em-ease), background 0.2s var(--em-ease);
}
.em-nav a[aria-current="page"] {
  color: var(--em-blue);
}
.em-nav > a:hover,
.em-drop[open] > summary,
.em-nav > a:focus-visible,
.em-drop > summary:focus-visible {
  color: var(--em-blue);
  background: var(--em-blue-soft);
  outline: none;
}
.em-drop {
  position: relative;
}
.em-drop > summary::-webkit-details-marker {
  display: none;
}
.em-drop > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.em-drop__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--em-line);
  box-shadow: 0 16px 40px rgba(22, 25, 31, 0.08);
  z-index: 90;
}
.em-drop[open] .em-drop__menu {
  display: block;
}
.em-drop__menu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--em-text);
  border-radius: 4px;
  transition: background 0.2s var(--em-ease), color 0.2s var(--em-ease);
}
.em-drop__menu a:hover,
.em-drop__menu a:focus-visible {
  background: var(--em-blue-soft);
  color: var(--em-blue);
  outline: none;
}
.em-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.em-header__quick {
  display: none;
  align-items: center;
  gap: 8px;
}
.em-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d5dce6;
  border-radius: 4px;
  background: #fff;
  color: var(--em-ink);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s var(--em-ease), color 0.2s var(--em-ease), background 0.2s var(--em-ease);
}
.em-icon-btn svg {
  display: block;
  flex-shrink: 0;
}
.em-icon-btn:hover,
.em-icon-btn:focus-visible {
  border-color: var(--em-blue);
  color: var(--em-blue);
  outline: none;
}
.em-icon-btn--tg {
  color: var(--em-blue);
}
.em-icon-btn--tg:hover,
.em-icon-btn--tg:focus-visible {
  background: var(--em-blue-soft);
}
.em-phone {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--em-ink);
  white-space: nowrap;
  transition: color 0.2s var(--em-ease);
}
.em-phone:hover,
.em-phone:focus-visible {
  color: var(--em-blue);
  outline: none;
}
.em-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s var(--em-ease), color 0.25s var(--em-ease), border-color 0.25s var(--em-ease), transform 0.25s var(--em-ease);
}
.em-btn:focus-visible {
  outline: 2px solid var(--em-blue);
  outline-offset: 2px;
}
.em-btn--primary {
  background: var(--em-blue);
  color: #fff;
}
.em-btn--primary:hover {
  background: var(--em-blue-deep);
}
.em-btn--ghost {
  background: transparent;
  color: var(--em-ink);
  border-color: #cfd6e0;
}
.em-btn--ghost:hover {
  border-color: var(--em-blue);
  color: var(--em-blue);
}
.em-btn--light {
  background: #fff;
  color: var(--em-blue);
}
.em-btn--light:hover {
  background: var(--em-blue-soft);
}
.em-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #d5dce6;
  border-radius: 4px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s var(--em-ease), background 0.2s var(--em-ease);
}
.em-burger span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 2.5px auto;
  border-radius: 1px;
  background: var(--em-ink);
  transition: transform 0.25s var(--em-ease), opacity 0.2s;
}
.em-nav-open .em-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.em-nav-open .em-burger span:nth-child(2) {
  opacity: 0;
}
.em-nav-open .em-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.em-drawer {
  display: none;
}

/* Hero */
.em-hero {
  position: relative;
  padding: 56px 0 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f3f6fa 0%, #ffffff 72%);
}
.em-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 75, 147, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 75, 147, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  pointer-events: none;
}
.em-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.em-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--em-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.em-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--em-blue);
}
.em-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--em-ink);
}
.em-hero h1 span {
  display: block;
  color: var(--em-blue);
}
.em-lead {
  max-width: 34em;
  margin: 0 0 32px;
  font-size: 18px;
  color: var(--em-text);
}
.em-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.em-hero__visual {
  position: relative;
}
.em-hero__stage {
  position: relative;
  aspect-ratio: 3 / 2;
  background: linear-gradient(180deg, #f3f6fa 0%, #eef1f5 100%);
  border: 1px solid var(--em-line);
  overflow: hidden;
}
.em-hero__stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 20px;
  animation: emRise 0.9s var(--em-ease) both;
}
.em-hero__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--em-text);
}
.em-hero__chip {
  position: absolute;
  right: -12px;
  top: 28px;
  width: 148px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--em-line);
  box-shadow: 0 10px 30px rgba(22, 25, 31, 0.06);
  animation: emRise 1s 0.15s var(--em-ease) both;
}
.em-hero__chip img {
  width: 100%;
  height: 88px;
  object-fit: contain;
  background: var(--em-bg);
}
.em-hero__chip b {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
}

@keyframes emRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.em-hero__copy > * {
  animation: emRise 0.7s var(--em-ease) both;
}
.em-hero__copy .em-kicker { animation-delay: 0.05s; }
.em-hero__copy h1 { animation-delay: 0.12s; }
.em-hero__copy .em-lead { animation-delay: 0.2s; }
.em-hero__copy .em-hero__cta { animation-delay: 0.28s; }

/* Stats */
.em-stats {
  border-top: 1px solid var(--em-line);
  border-bottom: 1px solid var(--em-line);
  background: #fff;
}
.em-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.em-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--em-line);
}
.em-stat:last-child {
  border-right: 0;
}
.em-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--em-blue);
}
.em-stat span {
  color: var(--em-text);
  font-size: 14px;
}

/* Sections */
.em-section {
  padding: 88px 0;
}
.em-section--muted {
  background: var(--em-bg);
}
.em-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}
.em-section h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.em-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--em-blue);
}
.em-link::after {
  content: "→";
  transition: transform 0.25s var(--em-ease);
}
.em-link:hover::after {
  transform: translateX(4px);
}

.em-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.em-cats a {
  padding: 8px 14px;
  border: 1px solid var(--em-line);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--em-text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.em-cats a:hover,
.em-cats a:focus-visible {
  border-color: var(--em-blue);
  color: var(--em-blue);
  outline: none;
}

.em-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.em-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--em-line);
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  transition: border-color 0.25s var(--em-ease), transform 0.25s var(--em-ease);
}
.em-card:hover,
.em-card:focus-visible {
  border-color: #b8c7d9;
  transform: translateY(-2px);
  outline: none;
}
.em-card__media {
  overflow: hidden;
  background: #eef1f5;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
}
.em-products .em-card__media {
  height: 240px;
  aspect-ratio: auto;
  background: #fff;
}
.em-card--wide .em-card__media {
  aspect-ratio: 16 / 11;
  min-height: 280px;
}
.em-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.4s var(--em-ease);
}
.em-products .em-card__media img {
  padding: 24px;
}
.em-card:hover img {
  transform: scale(1.04);
}
.em-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 24px;
  flex: 1;
}
.em-products .em-card__body {
  min-height: 196px;
  padding: 24px;
}
.em-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-blue);
}
.em-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.em-products .em-card h3 {
  min-height: 2.5em;
}
.em-card p {
  margin: 0;
  color: var(--em-text);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
.em-products .em-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(3 * 1.55em);
}
.em-card .em-link {
  margin-top: auto;
  padding-top: 12px;
}

/* About */
.em-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.em-about p {
  color: var(--em-text);
  font-size: 17px;
}
.em-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.em-feature {
  padding: 16px 18px;
  border: 1px solid var(--em-line);
  background: #fff;
}
.em-feature b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.em-feature span {
  font-size: 13px;
  color: var(--em-muted);
}
.em-about__media {
  position: relative;
}
.em-about__media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border: 1px solid var(--em-line);
}
.em-about__note {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: 240px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--em-line);
  font-size: 14px;
}

/* Industries */
.em-industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.em-ind {
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--em-line);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s var(--em-ease);
}
.em-ind:hover {
  border-color: var(--em-blue);
}
.em-ind span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--em-blue);
}
.em-ind h3 {
  margin: 16px 0 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* News */
.em-news {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}
.em-news__main {
  display: grid;
  grid-template-rows: 1fr auto;
  border: 1px solid var(--em-line);
  background: #fff;
  overflow: hidden;
  min-height: 420px;
}
.em-news__main .em-card__media img {
  object-fit: cover;
  padding: 0;
}
.em-news__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.em-news-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--em-line);
  background: #fff;
  align-items: center;
  transition: border-color 0.25s var(--em-ease);
}
.em-news-item:hover {
  border-color: #b8c7d9;
}
.em-news-item img {
  width: 132px;
  height: 92px;
  object-fit: cover;
}
.em-news-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
.em-news-item time,
.em-card time {
  font-size: 12px;
  color: var(--em-muted);
}

/* CTA */
.em-cta {
  background: var(--em-blue);
  color: #fff;
  padding: 72px 0;
}
.em-cta .em-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.em-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  color: #fff;
}
.em-cta p {
  margin: 0;
  max-width: 36em;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

/* Footer */
.em-footer {
  background: #11151c;
  color: #c9ced6;
  padding: 56px 0 0;
}
.em-footer a:hover,
.em-footer a:focus-visible {
  color: #fff;
  outline: none;
}
.em-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.em-footer .em-logo img {
  filter: brightness(0) invert(1);
}
.em-footer p {
  margin: 16px 0 0;
  font-size: 14px;
  max-width: 28em;
  color: #9aa1ab;
}
.em-footer h3 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.em-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.em-footer li + li {
  margin-top: 10px;
}
.em-footer li a {
  font-size: 14px;
}
.em-footer address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
}
.em-footer address a {
  display: block;
  color: #fff;
  font-weight: 600;
}
.em-footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #8b929c;
}

/* ——— Premium modals (callback + product) ——— */
#callback-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(22, 25, 31, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#callback-modal.is-open {
  display: flex;
  animation: emOverlayIn 0.28s var(--em-ease);
}
#callback-modal[hidden] {
  display: none !important;
}
#callback-modal .callback-dialog {
  background: var(--em-white);
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  padding: 32px 32px 28px;
  position: relative;
  color: var(--em-text);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 32px 80px rgba(16, 36, 64, 0.22),
    0 8px 24px rgba(16, 36, 64, 0.1);
  animation: emModalIn 0.34s var(--em-ease);
}
#callback-modal h2 {
  margin: 0 0 20px;
  padding-right: 36px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--em-ink);
}
#callback-modal label {
  display: block;
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--em-muted);
}
#callback-modal input,
#callback-modal textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--em-line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--em-ink);
  background: var(--em-white);
  transition: border-color 0.2s var(--em-ease), box-shadow 0.2s var(--em-ease);
}
#callback-modal input:focus,
#callback-modal textarea:focus {
  outline: none;
  border-color: #9eb8d4;
  box-shadow: 0 0 0 3px rgba(0, 75, 147, 0.12);
}
#callback-modal textarea {
  min-height: 96px;
  resize: vertical;
}
#callback-modal .callback-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#callback-modal .callback-actions button,
#callback-modal .callback-actions a.btn {
  cursor: pointer;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s var(--em-ease), transform 0.15s var(--em-ease);
}
#callback-modal .callback-actions button:hover,
#callback-modal .callback-actions a.btn:hover {
  transform: translateY(-1px);
}
#callback-modal .callback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--em-line);
  border-radius: 50%;
  background: var(--em-bg);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--em-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s var(--em-ease), background 0.2s var(--em-ease), border-color 0.2s var(--em-ease);
}
#callback-modal .callback-close:hover {
  color: var(--em-ink);
  background: var(--em-white);
  border-color: #c5ceda;
}
#callback-modal .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
#callback-status {
  margin-top: 12px;
  font-size: 14px;
  color: var(--em-muted);
}
body.em-home #callback-modal .callback-actions button,
body.em-home #callback-modal .callback-actions a.btn,
body.em-inner #callback-modal .callback-actions button,
body.em-inner #callback-modal .callback-actions a.btn {
  background: var(--em-blue);
  color: #fff;
  border: 0;
}
body.em-home #callback-modal .callback-actions a.btn,
body.em-inner #callback-modal .callback-actions a.btn {
  background: var(--em-bg);
  color: var(--em-ink);
  border: 1px solid var(--em-line);
}
body.em-home #callback-modal .callback-actions a.btn:hover,
body.em-inner #callback-modal .callback-actions a.btn:hover {
  background: var(--em-blue-soft);
  border-color: #b8c7d9;
}

@media (max-width: 1120px) {
  .em-phone {
    display: none;
  }
}

@media (max-width: 1100px) {
  .em-news,
  .em-about,
  .em-hero__grid,
  .em-cta .em-wrap,
  .em-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .em-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .em-hero__chip {
    display: none;
  }
  .em-cta .em-wrap,
  .em-about {
    display: grid;
  }
  .em-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .em-header__inner {
    gap: 10px;
  }
  .em-logo img {
    width: 128px;
    height: 34px;
  }
  .em-nav,
  .em-phone {
    display: none;
  }
  .em-header__actions {
    gap: 6px;
  }
  .em-header__actions .em-btn {
    display: none;
  }
  .em-header__quick {
    display: flex;
    gap: 6px;
  }
  .em-icon-btn svg {
    width: 20px;
    height: 20px;
  }
  .em-icon-btn:active,
  .em-burger:active {
    background: var(--em-blue-soft);
    border-color: #b8c7d9;
  }
  .em-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-direction: column;
  }
  .em-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--em-header);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: calc(100dvh - var(--em-header));
    background: #fff;
    padding: 8px 24px calc(24px + env(safe-area-inset-bottom));
    transform: translateX(100%);
    transition: transform 0.32s var(--em-ease);
    z-index: 100;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .em-nav-open .em-drawer {
    transform: translateX(0);
  }
  .em-drawer > a,
  .em-drawer summary {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--em-line);
    font-weight: 500;
    font-size: 16px;
    color: var(--em-ink);
  }
  .em-drawer details {
    border-bottom: 1px solid var(--em-line);
  }
  .em-drawer details summary {
    list-style: none;
    cursor: pointer;
  }
  .em-drawer details summary::-webkit-details-marker {
    display: none;
  }
  .em-drawer__sub {
    padding: 0 0 8px 12px;
  }
  .em-drawer__sub a {
    display: block;
    padding: 10px 0;
    border-bottom: 0;
    font-weight: 400;
    font-size: 15px;
    color: var(--em-text);
  }
  .em-drawer__sub a:last-child {
    padding-bottom: 4px;
  }
  .em-drawer__cta {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
  }
  .em-drawer__cta .em-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .em-wrap {
    width: min(var(--em-max), calc(100% - 32px));
  }
  .em-hero {
    padding: 28px 0 8px;
  }
  .em-hero__grid,
  .em-stats__grid,
  .em-about,
  .em-features,
  .em-industries,
  .em-news,
  .em-news-item,
  .em-footer__grid,
  .em-products {
    grid-template-columns: 1fr;
  }
  .em-products .em-card__body {
    min-height: 0;
  }
  .em-products .em-card p {
    min-height: 0;
    -webkit-line-clamp: unset;
    display: block;
  }
  .em-products .em-card h3 {
    min-height: 0;
  }
  .em-stat {
    border-right: 0;
    border-bottom: 1px solid var(--em-line);
    padding: 20px 0;
  }
  .em-section {
    padding: 56px 0;
  }
  .em-section__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .em-hero__stage {
    aspect-ratio: 3 / 2;
  }
  .em-hero__stage img {
    padding: 12px;
  }
  .em-about__media img {
    height: 280px;
  }
  .em-card--wide .em-card__media {
    min-height: 200px;
  }
  .em-news-item img {
    width: 100%;
    height: 160px;
  }
}

/* Inner pages */
body:not(.em-home) .visible-lg.visible-md.title-v1,
body:not(.em-home) #headerfixed,
body:not(.em-home) #mobileheader,
body:not(.em-home) #mobilemenu,
body:not(.em-home) header.header_1,
body:not(.em-home) footer#footer,
body:not(.em-home) .inline-search-block,
body:not(.em-home) .ajax_basket,
body:not(.em-home) #panel {
  display: none !important;
}

body.em-inner .body,
body.em-inner .main {
  background: #fff !important;
  padding: 0;
}
body.em-inner .page-top,
body.em-inner .maxwidth-theme,
body.em-inner .container {
  max-width: var(--em-max);
  width: min(var(--em-max), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Bitrix shell: remove nested gutters so content matches homepage .em-wrap */
body.em-inner .main > .container:has(.right_block .em-company, .right_block .em-page) > .row {
  margin-left: 0;
  margin-right: 0;
}
body.em-inner .main > .container:has(.right_block .em-company, .right_block .em-page) .maxwidth-theme,
body.em-inner .main > .container:has(.right_block .em-company, .right_block .em-page) .content-md,
body.em-inner .main > .container:has(.right_block .em-company, .right_block .em-page) .content-md[class*="col-"],
body.em-inner .main > .container:has(.right_block .em-company, .right_block .em-page) .right_block {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.em-inner .page-top {
  padding-top: 40px;
}
body.em-inner .breadcrumb,
body.em-inner nav.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  list-style: none;
  margin: 0 0 20px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--em-text);
  background: var(--em-bg);
  border: 1px solid var(--em-line);
}
body.em-inner .breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}
body.em-inner .breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #8b95a5;
  font-size: 14px;
  font-weight: 400;
}
body.em-inner .breadcrumb a {
  color: var(--em-blue);
  text-decoration: none;
  transition: color 0.2s var(--em-ease);
}
body.em-inner .breadcrumb a:hover {
  color: var(--em-blue-deep);
  text-decoration: underline;
}
body.em-inner .breadcrumb li.active,
body.em-inner .breadcrumb li.active > span,
body.em-inner .breadcrumb li.active span[itemprop="name"] {
  color: var(--em-ink);
  font-weight: 600;
}
body.em-inner nav.breadcrumb a {
  color: var(--em-blue);
  text-decoration: none;
  font-weight: 600;
}
body.em-inner nav.breadcrumb a:hover {
  color: var(--em-blue-deep);
  text-decoration: underline;
}
body.em-inner main.em-page > nav.breadcrumb,
body.em-inner .em-page > nav.breadcrumb,
body.em-inner .em-company > nav.breadcrumb,
body.em-inner .em-article > nav.breadcrumb,
body.em-inner .detail.news > nav.breadcrumb {
  margin-bottom: 28px;
}
body.em-inner:has(.em-company > nav.breadcrumb) .page-top,
body.em-inner:has(article.em-page > nav.breadcrumb) .page-top,
body.em-inner:has(.em-article > nav.breadcrumb) .page-top,
body.em-inner:has(.detail.news > nav.breadcrumb) .page-top,
body.em-inner:has(.content-md > nav.breadcrumb) .page-top,
body.em-inner:has(.right_block > nav.breadcrumb) .page-top,
body.em-inner:has(.em-news-page) .page-top {
  display: none !important;
}
body.em-inner:has(.em-news-page) #pagetitle,
body.em-inner:has(.detail.news) #pagetitle {
  display: none !important;
}
body.em-inner .em-company,
body.em-inner article.em-page,
body.em-inner .detail.news {
  padding-top: 40px;
}
body.em-inner article.em-page.em-news-page {
  padding-bottom: 72px;
}
@media (max-width: 600px) {
  body.em-inner .breadcrumb,
  body.em-inner nav.breadcrumb {
    padding: 12px 14px;
    font-size: 14px;
    gap: 4px 8px;
  }
}
body.em-inner #pagetitle,
body.em-inner .page-top-main h1,
body.em-inner .em-page h1 {
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--em-ink);
}
body.em-inner .right_block,
body.em-inner .content-md,
body.em-inner .em-page {
  padding-bottom: 72px;
  color: var(--em-text);
  font-size: 17px;
}
body.em-inner .right_block a,
body.em-inner .content-md a,
body.em-inner .em-page a,
body.em-inner .detail a {
  color: var(--em-blue);
}
body.em-inner .em-header a,
body.em-inner .em-footer a,
body.em-inner .em-nav a,
body.em-inner .em-drop__menu a,
body.em-inner .em-drawer a {
  color: inherit;
}
body.em-inner .right_block h2,
body.em-inner .em-page h2,
body.em-inner .detail h2 {
  margin: 36px 0 16px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--em-ink);
}
body.em-inner .right_block h3,
body.em-inner .em-page h3 {
  margin: 28px 0 12px;
  font-size: 22px;
  font-weight: 600;
  color: var(--em-ink);
}
body.em-inner .right_block p,
body.em-inner .em-page p {
  max-width: 46em;
}
body.em-inner table.table-info,
body.em-inner .contacts table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
}
body.em-inner table.table-info th,
body.em-inner table.table-info td {
  border-bottom: 1px solid var(--em-line);
  padding: 14px 12px 14px 0;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
body.em-inner table.table-info th {
  width: 34%;
  color: var(--em-muted);
  font-weight: 500;
}
body.em-inner .nth-col3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body.em-inner .col3 {
  border: 1px solid var(--em-line);
  padding: 24px;
  background: #fff;
}
body.em-inner .col3 img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--em-bg);
  margin-bottom: 12px;
}
body.em-inner .link_zip {
  display: inline-flex;
  font-weight: 600;
}

/* Catalogs download page */
body.em-inner .em-catalogs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
}
body.em-inner .em-catalog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--em-line);
  overflow: hidden;
  transition: border-color 0.25s var(--em-ease), transform 0.25s var(--em-ease), box-shadow 0.25s var(--em-ease);
}
body.em-inner .em-catalog-card:hover {
  border-color: #b8c7d9;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(16, 36, 64, 0.08);
}
body.em-inner .em-catalog-card__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  padding: 32px 36px;
  background: linear-gradient(180deg, #f3f6fa 0%, #eef1f5 100%);
}
body.em-inner .em-catalog-card__cover img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid rgba(16, 36, 64, 0.08);
  box-shadow: 0 14px 36px rgba(16, 36, 64, 0.14);
}
body.em-inner .em-catalog-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 28px;
  flex: 1;
}
body.em-inner .em-catalog-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
body.em-inner .em-catalog-card p {
  margin: 0;
  max-width: none;
  color: var(--em-text);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
body.em-inner .em-catalog-card .em-btn {
  margin-top: 12px;
  width: 100%;
}

/* Standalone inner pages (catalog, contacts, etc.) */
body.em-inner > main.em-page,
body.em-inner .em-page.em-products-page,
body.em-inner .main > .em-page.em-products-page,
body.em-inner .em-page.em-contacts {
  max-width: var(--em-max);
  width: min(var(--em-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 72px;
}
body.em-inner .em-products-page > h1 {
  max-width: 20em;
}
body.em-inner .em-products-page__note {
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--em-line);
  max-width: none;
  font-size: 15px;
  color: var(--em-muted);
}
body.em-inner .em-products-page__note a {
  font-weight: 600;
}
body.em-inner .em-products-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}
body.em-inner .em-products-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.em-inner .em-products-grid--3,
body.em-inner .em-catalog-grid.em-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.em-inner .em-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--em-line);
  overflow: hidden;
  height: 100%;
  transition: border-color 0.25s var(--em-ease), transform 0.25s var(--em-ease), box-shadow 0.25s var(--em-ease);
}
body.em-inner .em-product-card:hover {
  border-color: #b8c7d9;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(16, 36, 64, 0.08);
}
body.em-inner .em-product-card__media {
  overflow: hidden;
  height: 260px;
  background: linear-gradient(180deg, #f3f6fa 0%, #eef1f5 100%);
  flex-shrink: 0;
}
body.em-inner .em-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 28px 32px;
  box-sizing: border-box;
  transition: transform 0.4s var(--em-ease);
}
body.em-inner .em-product-card:hover .em-product-card__media img {
  transform: scale(1.03);
}
body.em-inner .em-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 28px;
  flex: 1;
}
body.em-inner .em-product-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--em-ink);
}
body.em-inner .em-product-card p {
  margin: 0;
  max-width: none;
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: var(--em-text);
}
body.em-inner .em-product-card .em-btn {
  margin-top: 12px;
  width: 100%;
}
body.em-inner .em-catalog-grid .em-card {
  text-decoration: none;
  color: inherit;
}
body.em-inner .em-catalog-grid .em-card .em-link {
  margin-top: auto;
  padding-top: 8px;
}

/* Product detail modals (Bootstrap) */
@keyframes emOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes emModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
body.em-inner .modal-backdrop.in {
  background: rgba(22, 25, 31, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1 !important;
}
body.em-inner .modal.fade.in .modal-dialog {
  animation: emModalIn 0.34s var(--em-ease);
}
body.em-inner .modal-dialog {
  width: min(94vw, 1040px);
  margin: 32px auto;
}
body.em-inner .modal-content {
  position: relative;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: var(--em-white);
  box-shadow:
    0 32px 80px rgba(16, 36, 64, 0.24),
    0 8px 24px rgba(16, 36, 64, 0.1);
}
body.em-inner .modal-header {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  z-index: 6;
  border: none;
  padding: 0;
  background: transparent;
  min-height: 0;
}
body.em-inner .modal-header .close {
  opacity: 1;
  float: none;
  width: 44px;
  height: 44px;
  margin: 14px;
  padding: 0;
  border: 1px solid var(--em-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  text-shadow: none;
  color: var(--em-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s var(--em-ease), background 0.2s var(--em-ease), border-color 0.2s var(--em-ease);
}
body.em-inner .modal-header .close:hover {
  color: var(--em-ink);
  background: var(--em-white);
  border-color: #c5ceda;
}
body.em-inner .modal-body {
  padding: 28px 32px 32px;
  max-height: none;
  overflow: visible;
  font-size: 15px;
  line-height: 1.65;
  color: var(--em-text);
}
body.em-inner .modal-body > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin: 0;
}
body.em-inner .modal-body > .row::before,
body.em-inner .modal-body > .row::after {
  display: none;
  content: none;
}
body.em-inner .modal-body .col-md-6 {
  width: 100%;
  float: none;
  padding: 0;
  min-width: 0;
}
body.em-inner .modal-body .col-md-6:first-child {
  position: sticky;
  top: 0;
}
body.em-inner .modal-body .col-md-6:last-child {
  max-height: min(62vh, 560px);
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #c5ceda transparent;
}
body.em-inner .modal-body .col-md-6:last-child::-webkit-scrollbar {
  width: 6px;
}
body.em-inner .modal-body .col-md-6:last-child::-webkit-scrollbar-thumb {
  background: #c5ceda;
  border-radius: 999px;
}
body.em-inner .modal-body h4 {
  margin: 0 0 18px;
  padding-right: 48px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--em-ink);
  text-transform: none;
}
body.em-inner .modal-body p {
  margin: 0 0 14px;
}
body.em-inner .modal-body ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}
body.em-inner .modal-body li {
  margin-bottom: 8px;
}
body.em-inner .modal-body strong {
  color: var(--em-ink);
  font-weight: 600;
}
body.em-inner .modal-body .img-responsive {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(42vh, 420px);
  object-fit: contain;
  border-radius: 12px;
  background: var(--em-bg);
  border: 1px solid var(--em-line);
}
body.em-inner .modal .carousel {
  border-radius: 12px;
  overflow: hidden;
  background: var(--em-bg);
  border: 1px solid var(--em-line);
}
body.em-inner .modal .carousel-inner > .item > img {
  width: 100%;
  max-height: min(42vh, 420px);
  object-fit: contain;
  margin: 0 auto;
}
body.em-inner .modal .carousel-indicators {
  bottom: 10px;
  margin-bottom: 0;
}
body.em-inner .modal .carousel-indicators li {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
body.em-inner .modal .carousel-indicators .active {
  width: 8px;
  height: 8px;
  background: var(--em-blue);
}
body.em-inner .modal .carousel-control {
  width: 44px;
  height: 44px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--em-line);
  border-radius: 50%;
  opacity: 1;
  text-shadow: none;
  transition: background 0.2s var(--em-ease), border-color 0.2s var(--em-ease);
}
body.em-inner .modal .carousel-control:hover {
  background: var(--em-white);
  border-color: #c5ceda;
}
body.em-inner .modal .carousel-control.left {
  left: 12px;
  background-image: none;
}
body.em-inner .modal .carousel-control.right {
  right: 12px;
  background-image: none;
}
body.em-inner .modal .carousel-control .glyphicon {
  display: none;
}
body.em-inner .modal .carousel-control::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--em-blue);
  border-right: 2px solid var(--em-blue);
}
body.em-inner .modal .carousel-control.left::after {
  transform: rotate(-135deg) translate(1px, 0);
}
body.em-inner .modal .carousel-control.right::after {
  transform: rotate(45deg) translate(-1px, 0);
}
body.em-inner .modal .thumbnail-gallery {
  display: flex;
  gap: 10px;
  margin-top: 12px !important;
}
body.em-inner .modal .thumbnail-gallery .img-thumbnail {
  flex: 1;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 4px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--em-bg);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s var(--em-ease), border-color 0.2s var(--em-ease), transform 0.15s var(--em-ease);
}
body.em-inner .modal .thumbnail-gallery .img-thumbnail:hover {
  opacity: 1;
  border-color: #b8c7d9;
  transform: translateY(-1px);
}
body.em-inner.em-product-modal-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  body.em-inner .modal-dialog {
    margin: 12px auto;
  }
  body.em-inner .modal-body {
    padding: 20px 18px 24px;
  }
  body.em-inner .modal-body > .row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.em-inner .modal-body .col-md-6:first-child {
    position: static;
  }
  body.em-inner .modal-body .col-md-6:last-child {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  body.em-inner .modal-body h4 {
    padding-right: 40px;
    font-size: 20px;
  }
  #callback-modal .callback-dialog {
    padding: 24px 20px 22px;
    border-radius: 14px;
  }
}

body.em-inner .item-views.news .item,
body.em-inner .item-views.list .item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--em-line);
  padding: 16px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.25s var(--em-ease);
}
body.em-inner .item-views.news .item:hover,
body.em-inner .item-views.list .item:hover {
  border-color: #b8c7d9;
}
body.em-inner .item-views .item img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}
body.em-inner .item-views .title a {
  font-size: 20px;
  font-weight: 600;
  color: var(--em-ink) !important;
}
body.em-inner .head-block.top {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border: 0;
}
body.em-inner .contacts-page-map-overlay::before,
body.em-inner .contacts-page-map-overlay::after,
body.em-inner .bx-google-map,
body.em-inner .bx-yandex-view-layout {
  display: none !important;
}
body.em-inner:has(.em-page) #pagetitle,
body.em-inner:has(.em-company) #pagetitle {
  display: none;
}
body.em-inner .em-page > h1 {
  max-width: 18em;
  margin: 0 0 24px;
}
body.em-inner .em-page .em-lead {
  max-width: 42em;
  margin-bottom: 36px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--em-text);
}
body.em-inner .em-page > h2 {
  margin-top: 48px;
}
body.em-inner .em-page p {
  line-height: 1.65;
}

/* Services */
body.em-inner .em-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 24px;
}
body.em-inner .em-service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--em-line);
  background: #fff;
  padding: 24px;
  min-height: 100%;
  transition: border-color 0.25s var(--em-ease);
}
body.em-inner .em-service-card:hover {
  border-color: #b8c7d9;
}
body.em-inner .em-service-card__media {
  overflow: hidden;
  background: #eef1f5;
  aspect-ratio: 16 / 10;
  margin: 12px 0 16px;
}
body.em-inner .em-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
body.em-inner .em-service-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
body.em-inner .em-service-card p {
  margin: 0;
  max-width: none;
  color: var(--em-text);
  font-size: 15px;
}
body.em-inner .em-services__note {
  margin-top: 40px;
  padding: 32px 36px;
  background: var(--em-bg);
  border: 1px solid var(--em-line);
}
body.em-inner .em-services__note h2 {
  margin: 0 0 12px;
}
body.em-inner .em-services__note p {
  margin: 0;
  max-width: 52em;
}

/* News */
body.em-inner .em-news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
body.em-inner .em-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--em-line);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--em-text);
  transition: border-color 0.25s var(--em-ease), color 0.25s var(--em-ease), background 0.25s var(--em-ease);
}
body.em-inner .em-chip:hover,
body.em-inner .em-chip.is-active {
  border-color: var(--em-blue);
  color: var(--em-blue);
  background: var(--em-blue-soft);
}
body.em-inner .em-news-list {
  display: grid;
  gap: 16px;
}
body.em-inner .em-news-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--em-line);
  background: #fff;
  padding: 16px;
  transition: border-color 0.25s var(--em-ease), transform 0.25s var(--em-ease);
}
body.em-inner .em-news-card:hover {
  border-color: #b8c7d9;
  transform: translateY(-2px);
}
body.em-inner .em-news-card__media {
  overflow: hidden;
  background: #eef1f5;
  aspect-ratio: 4 / 3;
}
body.em-inner .em-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.em-inner .em-news-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 8px 4px 0;
}
body.em-inner .em-news-card h3 {
  margin: 0;
  font-size: 24px;
  color: var(--em-ink);
}
body.em-inner .em-news-card p {
  margin: 0;
  max-width: none;
  color: var(--em-text);
  font-size: 16px;
}

/* News article detail */
body.em-inner .right_block.narrow_N,
body.em-inner .right_block.narrow_Y {
  max-width: none !important;
  width: 100% !important;
  float: none !important;
}
body.em-inner .detail.news.fixed_wrapper {
  max-width: none !important;
  width: 100% !important;
}
body.em-inner .content-md.col-md-10 {
  width: 100% !important;
  max-width: var(--em-max);
}
body.em-inner:has(.em-article.news-detail) #pagetitle {
  display: none;
}
body.em-inner .detail.news,
body.em-inner .em-article.news-detail {
  display: flex;
  flex-direction: column;
  max-width: none;
  width: 100%;
  padding-top: 32px;
  padding-bottom: 48px;
}
body.em-inner .detail.news > nav.breadcrumb {
  order: 0;
}
body.em-inner .detail.news > h1 {
  order: 1;
  margin: 0 0 20px;
  max-width: 20em;
}
body.em-inner .detail.news .period {
  order: 2;
}
body.em-inner .detail.news .detailimage {
  order: 3;
}
body.em-inner .detail.news .content {
  order: 4;
}
body.em-inner .detail.news .drag_block.gallery {
  order: 5;
}
body.em-inner .detail.news .row:has(.back-url) {
  order: 6;
}
body.em-inner .detail.news .share.top,
body.em-inner .detail.news .share .shares-block,
body.em-inner .detail.news hr.bottoms {
  display: none !important;
}
body.em-inner .em-article > nav.breadcrumb {
  margin-bottom: 28px;
}
body.em-inner .em-article__date,
body.em-inner .detail.news .period .date,
body.em-inner .news-detail .news-date-time {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--em-blue);
}
body.em-inner .em-article h1,
body.em-inner .news-detail h1 {
  margin: 0 0 28px;
  max-width: 20em;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--em-ink);
}
body.em-inner .detail.news .detailimage,
body.em-inner .em-article__hero {
  float: none !important;
  width: 100%;
  margin: 0 0 32px;
}
body.em-inner .detail.news .detailimage.image-right,
body.em-inner .detail.news .detailimage.image-left {
  float: none !important;
  margin: 0 0 32px !important;
}
body.em-inner .detail.news .detailimage img,
body.em-inner .em-article__hero img,
body.em-inner .news-detail .detail_picture {
  float: none !important;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(520px, 56vw);
  margin: 0 !important;
  object-fit: cover;
  border: 1px solid var(--em-line);
  background: var(--em-bg);
  transition: transform 0.35s var(--em-ease);
}
body.em-inner .em-article__hero > a,
body.em-inner .detail.news .detailimage > a {
  display: block;
  cursor: zoom-in;
  overflow: hidden;
}
body.em-inner .em-article__hero > a:hover img,
body.em-inner .detail.news .detailimage > a:hover img {
  transform: scale(1.02);
}
body.em-lightbox-open {
  overflow: hidden;
}
body.em-inner .em-article__body,
body.em-inner .detail.news .content {
  max-width: 72em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--em-text);
}
body.em-inner .em-article__body p,
body.em-inner .detail.news .content p {
  margin: 0 0 1.15em;
  max-width: none;
}
body.em-inner .em-article__body a,
body.em-inner .detail.news .content a {
  color: var(--em-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.em-inner .em-article__body a:hover,
body.em-inner .detail.news .content a:hover {
  color: var(--em-blue-deep);
}
body.em-inner .detail.news .period {
  margin-bottom: 8px;
}
body.em-inner .em-article__gallery,
body.em-inner .news-gallery,
body.em-inner .detail.news .drag_block.gallery {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--em-line);
}
body.em-inner .detail.news .drag_block.gallery h5 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 600;
  color: var(--em-ink);
}
body.em-inner .detail.news .drag_block.gallery hr,
body.em-inner .detail.news .small-gallery-block .flex-control-nav,
body.em-inner .detail.news .small-gallery-block .flex-direction-nav {
  display: none !important;
}
body.em-inner .detail.news .small-gallery-block .flexslider {
  display: block !important;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.em-inner .detail.news .small-gallery-block .flex-viewport {
  height: auto !important;
  overflow: visible !important;
}
body.em-inner .detail.news .small-gallery-block .slides.items {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  width: 100% !important;
  margin: 0;
  padding: 0;
}
body.em-inner .detail.news .small-gallery-block .slides.items .item {
  position: relative;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  margin-right: 0 !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--em-line);
  background: var(--em-bg);
  cursor: zoom-in;
  transition: border-color 0.25s var(--em-ease), transform 0.25s var(--em-ease);
}
body.em-inner .detail.news .small-gallery-block .slides.items .item:hover {
  border-color: #b8c7d9;
  transform: translateY(-1px);
}
body.em-inner .detail.news .small-gallery-block .slides.items .item > div {
  width: 100%;
  height: 100%;
}
body.em-inner .detail.news .small-gallery-block .slides.items .item img,
body.em-inner .news-gallery .gallery-images img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  border: 0;
  background: var(--em-bg);
  transition: transform 0.35s var(--em-ease);
}
body.em-inner .detail.news .small-gallery-block .slides.items .item:hover img,
body.em-inner .news-gallery .gallery-images:hover img {
  transform: scale(1.04);
}
body.em-inner .detail.news .small-gallery-block .slides.items .item > a.fancybox {
  position: absolute;
  inset: 0;
  z-index: 2;
}
body.em-inner .news-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
body.em-inner .news-gallery .gallery-images {
  display: block;
  position: relative;
  float: none !important;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--em-line);
  background: var(--em-bg);
  cursor: zoom-in;
  transition: border-color 0.25s var(--em-ease), transform 0.25s var(--em-ease);
}
body.em-inner .news-gallery .gallery-images:hover {
  border-color: #b8c7d9;
  transform: translateY(-1px);
}
body.em-inner .news-gallery .bg-images {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  background: rgba(0, 75, 147, 0.38);
  color: #fff;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.25s var(--em-ease);
  pointer-events: none;
}
body.em-inner .news-gallery .gallery-images:hover .bg-images {
  opacity: 1;
}

/* News image lightbox */
.em-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 25, 31, 0.92);
}
.em-lightbox.is-open {
  display: flex;
}
.em-lightbox__dialog {
  position: relative;
  width: min(96vw, 1200px);
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.em-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
}
.em-lightbox__caption {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.em-lightbox__close,
.em-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--em-ease), border-color 0.2s var(--em-ease);
}
.em-lightbox__close {
  top: 16px;
  right: 16px;
  transform: none;
  z-index: 2;
}
.em-lightbox__nav {
  top: 50%;
}
.em-lightbox__nav--prev {
  left: 16px;
}
.em-lightbox__nav--next {
  right: 16px;
}
.em-lightbox__close:hover,
.em-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}
.em-lightbox__close:disabled,
.em-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.em-lightbox__counter {
  position: absolute;
  top: 20px;
  left: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
body.em-inner .em-article__back,
body.em-inner .detail.news .back-url {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--em-line);
}
body.em-inner .em-article__back a,
body.em-inner .detail.news .back-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--em-blue);
  text-decoration: none;
}
body.em-inner .em-article__back a:hover,
body.em-inner .detail.news .back-url:hover {
  color: var(--em-blue-deep);
  text-decoration: underline;
}
body.em-inner .detail.news .row:has(.back-url) {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--em-line);
}
body.em-inner .detail.news .row:has(.back-url) .share {
  display: none;
}

/* Contacts */
body.em-inner .em-contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
body.em-inner .em-contact-card {
  border: 1px solid var(--em-line);
  background: #fff;
  padding: 24px;
  min-height: 100%;
}
body.em-inner .em-contact-card p {
  margin: 0;
  max-width: none;
  font-size: 16px;
  line-height: 1.6;
  color: var(--em-ink);
}
body.em-inner .em-contact-card a {
  font-weight: 500;
}
body.em-inner .em-contacts__map {
  overflow: hidden;
  border: 1px solid var(--em-line);
  margin-bottom: 32px;
  background: var(--em-bg);
}
body.em-inner .em-contacts__map iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}
body.em-inner .em-contacts__note {
  margin-bottom: 40px;
  padding: 32px 36px;
  background: var(--em-bg);
  border: 1px solid var(--em-line);
}
body.em-inner .em-contacts__note h2 {
  margin: 0 0 12px;
}
body.em-inner .em-contacts__note p {
  margin: 0;
  max-width: 52em;
}
body.em-inner .em-contacts__form {
  margin-top: 8px;
}
body.em-inner .em-contacts__form-panel {
  border: 1px solid var(--em-line);
  background: #fff;
  padding: 36px 40px;
  margin: 0;
}
body.em-inner .em-contacts__form .row.contacts > hr,
body.em-inner .em-contacts__form .row > hr {
  display: none;
}
body.em-inner .em-contacts__form .form.contacts .title {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  color: var(--em-ink);
}
body.em-inner .em-contacts__form-intro {
  max-width: 28em;
  font-size: 16px;
  line-height: 1.6;
  color: var(--em-text);
}
body.em-inner .em-contacts__form .form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--em-muted);
}
body.em-inner .em-contacts__form .form-control {
  border: 1px solid var(--em-line);
  border-radius: 0;
  box-shadow: none;
  padding: 12px 14px;
  font-size: 16px;
}
body.em-inner .em-contacts__form .form-control:focus {
  border-color: var(--em-blue);
  outline: none;
}
body.em-inner .em-contacts__form .btn.btn-default {
  background: var(--em-blue);
  border-color: var(--em-blue);
  color: #fff;
  border-radius: 0;
  padding: 12px 24px;
  font-weight: 600;
}
body.em-inner .em-contacts__form .col-md-8[style*="padding-top"] {
  padding-top: 0 !important;
}
body.em-inner .product-block {
  border: 1px solid var(--em-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  transition: border-color 0.25s var(--em-ease), transform 0.25s var(--em-ease) !important;
}
body.em-inner .product-block:hover {
  border-color: #b8c7d9 !important;
  transform: translateY(-2px) !important;
}
body.em-inner .detail img {
  border: 1px solid var(--em-line);
}
body.em-inner .back-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
body.em-inner .white-container {
  max-width: var(--em-max);
  margin: 40px auto 72px;
  background: transparent;
  border-radius: 0;
  padding: 0 24px;
}
body.em-inner .em-company {
  padding-bottom: 24px;
}
body.em-inner .em-company > h1 {
  max-width: 16em;
  margin: 0 0 36px;
}
body.em-inner .em-company > h2 {
  margin-top: 56px;
}
body.em-inner .em-company__hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: stretch;
  margin-bottom: 8px;
}
body.em-inner .em-company .em-about__media {
  min-height: 100%;
}
body.em-inner .em-company .em-about__media img {
  height: 100%;
  min-height: 480px;
  object-fit: contain;
  object-position: center;
  background: #eef1f5;
}
body.em-inner .em-company .em-about__note {
  max-width: 220px;
  box-shadow: 0 12px 32px rgba(16, 36, 64, 0.08);
}
body.em-inner .em-company__hero p {
  max-width: none;
}
body.em-inner .em-company__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 8px;
}
body.em-inner .em-company .em-industries {
  margin: 24px 0 8px;
}
body.em-inner .em-company .em-ind p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--em-muted);
}
body.em-inner .em-company .table-info {
  background: #fff;
  border: 1px solid var(--em-line);
}
body.em-inner .em-company .table-info th,
body.em-inner .em-company .table-info td {
  padding: 16px 20px;
}
body.em-inner .em-company .table-info tr:nth-child(even) {
  background: var(--em-bg);
}
body.em-inner .em-company .table-info a {
  color: var(--em-blue);
  font-weight: 500;
}
body.em-inner .em-company__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--em-blue);
  color: #fff;
}
body.em-inner .em-company__cta h2 {
  margin: 0 0 8px;
  color: #fff;
}
body.em-inner .em-company__cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}
body.em-inner .em-company__cta .em-btn--primary {
  background: #fff;
  color: var(--em-blue);
  flex-shrink: 0;
}
body.em-inner .page-top {
  padding-top: 28px;
  padding-bottom: 0;
}

@media (max-width: 900px) {
  body.em-inner .em-company__hero,
  body.em-inner .em-company__products,
  body.em-inner .em-company__cta,
  body.em-inner .em-services__grid,
  body.em-inner .em-contacts__grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  body.em-inner .em-company__cta,
  body.em-inner .em-services .em-company__cta {
    flex-direction: column;
    align-items: flex-start;
  }
  body.em-inner .em-news-card {
    grid-template-columns: 1fr;
  }
  body.em-inner .em-contacts__form-panel {
    padding: 24px 20px;
  }
  body.em-inner .detail.news .small-gallery-block .slides.items,
  body.em-inner .news-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.em-inner .em-article h1,
  body.em-inner .news-detail h1 {
    max-width: none;
  }
}
body.em-inner .em-products,
body.em-inner .em-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  body.em-inner .nth-col3,
  body.em-inner .em-catalogs__grid,
  body.em-inner .em-catalog-grid,
  body.em-inner .em-products-grid--2,
  body.em-inner .em-products-grid--3,
  body.em-inner .item-views.news .item,
  body.em-inner .item-views.list .item {
    grid-template-columns: 1fr;
  }
  body.em-inner .em-product-card__media {
    height: 220px;
  }
  body.em-inner .em-product-card__media img {
    padding: 20px 24px;
  }
  body.em-inner > main.em-page,
  body.em-inner .em-page.em-products-page,
  body.em-inner .main > .em-page.em-products-page,
  body.em-inner .em-page.em-contacts,
  body.em-inner .page-top,
  body.em-inner .maxwidth-theme,
  body.em-inner .container {
    width: min(var(--em-max), calc(100% - 32px));
  }
  body.em-inner > main.em-page,
  body.em-inner .em-page.em-products-page,
  body.em-inner .main > .em-page.em-products-page,
  body.em-inner .em-page.em-contacts {
    padding-top: 28px;
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  body.em-inner .em-products-grid--3,
  body.em-inner .em-catalog-grid.em-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  body.em-inner .em-contacts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
