:root {
  --en-ink: #07152b;
  --en-text: #334155;
  --en-muted: #5f6f85;
  --en-bg: #ffffff;
  --en-soft: #f5f6f8;
  --en-accent: #6054BA;
  --en-container: 1280px;
  --en-section: 60px;
  --en-site-header-height: clamp(54px, 4.65vw, 85px);
}

.en-page,
.en-page * {
  box-sizing: border-box;
}

body.page-template-page-templateselecnova-php #main > .wf-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-page-templateselecnova-php #main > .wf-wrap > .wf-container-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.en-page {
  margin: 0;
  overflow: hidden;
  background: var(--en-bg);
  color: var(--en-ink);
  font: var(--the7-base-font-big, normal 400 16px/1.6 Arial, Helvetica, sans-serif);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.en-page img {
  display: block;
  max-width: 100%;
}

.en-container {
  width: min(calc(100% - 48px), var(--en-container));
  margin-inline: auto;
}

.en-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--en-site-header-height));
  height: calc(100vh - var(--en-site-header-height));
  padding: clamp(48px, 7vw, 96px) 0;
  overflow: hidden;
  isolation: isolate;
  background: #07152b;
}

.en-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 11, 25, .48), rgba(3, 11, 25, .28) 48%, rgba(3, 11, 25, .18)),
    linear-gradient(180deg, rgba(3, 11, 25, .08), rgba(3, 11, 25, .24));
}

.en-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.en-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0;
  width: min(calc(100% - 48px), var(--en-container));
  margin-inline: auto;
  text-align: center;
}

.en-hero__logo {
  width: min(430px, 78vw);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(255, 255, 255, .42)) drop-shadow(0 10px 26px rgba(0, 0, 0, .32));
}

.en-hero h1 {
  max-width: 980px;
  margin: 0;
  margin-top: -15px;
  color: #ffffff;
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 42px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .38);
}

.en-section {
  padding-block: var(--en-section);
}

.en-section--soft {
  background: var(--en-soft);
}

.en-section--service-centers {
  background: var(--en-soft);
}

.en-section--service {
  background: var(--en-soft);
}

.en-section--systems {
  background: var(--en-soft);
}

.en-section--implementation {
  background: var(--en-soft);
}

.en-section--gallery {
  background: var(--en-soft);
}

.en-section-head {
  max-width: 960px;
  margin-inline: auto;
  margin-bottom: clamp(38px, 5vw, 68px);
  text-align: center;
}

.en-section-head h2 {
  margin: 0 0 18px;
  color: var(--en-accent);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.en-section-head p {
  max-width: 850px;
  margin: 0 auto;
  color: var(--en-muted);
  font-size: 16px;
  line-height: 1.5;
}

.en-section--applications .en-section-head {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.en-systems-head {
  max-width: 1040px;
  margin-bottom: 40px;
}

.en-systems-head h2 {
  line-height: 1.12;
  letter-spacing: 0;
}

.en-systems-head p {
  max-width: 930px;
}

.en-systems-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.en-system-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 30px 24px 28px;
  border: 1px solid rgba(96, 84, 186, .12);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 14px 34px rgba(31, 41, 55, .10);
}

.en-system-card:nth-child(5) {
  display: none;
}

.en-system-card__image {
  width: 100%;
  max-width: 300px;
  height: clamp(190px, 18vw, 260px);
  margin: 0 0 18px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 18px rgba(31, 41, 55, .14));
}

.en-system-card h3 {
  max-width: 100%;
  margin: 0 0 10px;
  color: var(--en-accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.en-system-card p {
  margin: 0;
  color: var(--en-muted);
  font-size: 16px;
  line-height: 1.5;
}

.en-section--container-ess {
  background: #ffffff;
}

.en-container-ess {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
  column-gap: clamp(34px, 5vw, 70px);
  row-gap: clamp(28px, 4vw, 44px);
  align-items: center;
}

.en-container-ess__content {
  min-width: 0;
}

.en-container-ess__content h2 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--en-accent);
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.en-container-ess__content p {
  max-width: 780px;
  margin: 0 0 16px;
  color: var(--en-muted);
  font-size: 16px;
  line-height: 1.55;
}

.en-container-ess__content p:last-child {
  margin-bottom: 0;
}

.en-container-ess__media {
  min-width: 0;
  margin: 0;
}

.en-container-ess__media img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(31, 41, 55, .16));
}

.en-container-ess__cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.en-container-ess-card {
  min-width: 0;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(96, 84, 186, .12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 41, 55, .09);
}

.en-container-ess-card h3 {
  margin: 0 0 12px;
  color: var(--en-accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.en-container-ess-card p {
  margin: 0;
  color: var(--en-muted);
  font-size: 16px;
  line-height: 1.5;
}

.en-implementation-head {
  margin-bottom: 0;
}

.en-implementation-head h2 {
  letter-spacing: 0;
}

.en-implementation-head p {
  max-width: 850px;
  margin-top: 18px;
}

.en-implementation-block {
  display: grid;
  gap: clamp(32px, 4.5vw, 56px);
}

.en-implementation-rows {
  display: grid;
  gap: clamp(34px, 5vw, 62px);
}

.en-implementation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.en-implementation-row__image {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #dfe5ee;
  box-shadow: 0 14px 34px rgba(31, 41, 55, .10);
}

.en-implementation-row__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.en-implementation-list {
  display: grid;
  gap: 22px;
}

.en-implementation-point {
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(95, 111, 133, .18);
}

.en-implementation-point:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.en-implementation-point h3 {
  margin: 0;
  color: var(--en-accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.en-implementation-point p {
  margin: 0;
  padding-top: 10px;
  color: var(--en-muted);
  font-size: 16px;
  line-height: 1.5;
}

.en-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.en-gallery-head {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.en-gallery-item {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
}

.en-gallery-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.en-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 61 / 36;
  height: auto;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  transition: transform 220ms ease;
}

.en-gallery-button:hover img,
.en-gallery-button:focus-visible img {
  transform: scale(1.025);
}

.en-gallery-button:focus-visible {
  outline: 3px solid var(--en-accent);
  outline-offset: -3px;
}

body.en-lightbox-open {
  overflow: hidden;
}

.en-lightbox[hidden] {
  display: none;
}

.en-lightbox,
.en-lightbox * {
  box-sizing: border-box;
}

.en-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 40px 90px;
  background: rgba(2, 8, 23, 0.94);
}

.en-lightbox__stage {
  display: grid;
  place-items: center;
  max-width: 100%;
  max-height: 100%;
}

.en-lightbox__image {
  grid-area: 1 / 1;
  display: block;
  width: auto;
  max-width: calc(100vw - 180px);
  height: auto;
  max-height: calc(100vh - 80px);
  object-fit: contain;
}

.en-lightbox__close,
.en-lightbox__nav {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.65);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.en-lightbox__close:hover,
.en-lightbox__nav:hover,
.en-lightbox__close:focus-visible,
.en-lightbox__nav:focus-visible {
  background: rgba(15, 23, 42, 0.95);
  transform: scale(1.06);
}

.en-lightbox__close:focus-visible,
.en-lightbox__nav:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.en-lightbox__close {
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
}

.en-lightbox__nav {
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
}

.en-lightbox__nav:hover,
.en-lightbox__nav:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

.en-lightbox__nav--prev {
  left: 20px;
}

.en-lightbox__nav--next {
  right: 20px;
}

.en-lightbox__counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  min-width: 76px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
}

.en-about-block {
  display: grid;
  gap: clamp(34px, 4.8vw, 58px);
}

.en-about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}

.en-engineering {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 64px;
  row-gap: 50px;
}

.en-about-split__content,
.en-engineering__content {
  text-align: left;
}

.en-about-split__content h2,
.en-engineering__content h2 {
  margin: 0 0 24px;
  color: var(--en-accent);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.en-about-split__content p,
.en-engineering__content p {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--en-muted);
  font-size: 16px;
  line-height: 1.5;
}

.en-about-split__content p:last-child,
.en-engineering__content p:last-child {
  margin-bottom: 0;
}

.en-about-split__image,
.en-engineering__image {
  display: block;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.en-about-split__image img,
.en-engineering__image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.en-engineering-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.en-engineering-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 136px;
  padding: 18px;
  border: 1px solid rgba(96, 84, 186, .12);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(31, 41, 55, .09);
}

.en-engineering-stat__icon {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 16px rgba(98, 87, 200, .16));
}

.en-engineering-stat__body {
  width: 100%;
  min-width: 0;
}

.en-engineering-stat__value,
.en-engineering-stat__label {
  display: block;
  letter-spacing: 0;
}

.en-engineering-stat__value {
  color: var(--en-accent);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.en-engineering-stat__label {
  margin-top: 6px;
  color: var(--en-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.en-service-centers {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.en-service-centers__media {
  min-width: 0;
  margin: 0;
}

.en-service-centers__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.en-service-centers__content {
  max-width: 620px;
  text-align: left;
}

.en-service-centers__content h2 {
  margin: 0 0 24px;
  color: var(--en-accent);
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.en-service-centers__content p {
  margin: 0 0 16px;
  color: var(--en-muted);
  font-size: 16px;
  line-height: 1.55;
}

.en-service-centers__content p:last-child {
  margin-bottom: 0;
}

.en-application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.en-application-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 210px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(31, 41, 55, .10);
  overflow: visible;
}

.en-application-card__icon {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 0 10px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 16px 18px rgba(98, 87, 200, .18));
}

.en-application-card__body {
  padding: 0;
}

.en-application-card h2 {
  max-width: 100%;
  margin: 0 0 10px;
  color: var(--en-accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.en-application-card p {
  margin: 0;
  color: var(--en-muted);
  font-size: 16px;
  line-height: 1.5;
}

.en-advantages {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 90px;
  background: #6054BA url("../media/advantages-bg.png") center / cover no-repeat;
  color: var(--en-text);
}

.en-advantages__inner {
  display: grid;
  gap: 34px;
}

.en-advantages__head {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.en-advantages__head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 38px;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.en-advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.en-advantage-card {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 100%;
  padding: 24px;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(31, 41, 55, .10);
}

.en-advantage-card h3 {
  max-width: 100%;
  margin: 0 0 12px;
  color: var(--en-accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.en-advantage-card p {
  margin: 0;
  color: var(--en-text);
  font-size: 15px;
  line-height: 1.55;
}

.en-service-layout {
  display: grid;
  gap: 0;
}

.en-service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}

.en-service-intro {
  max-width: 560px;
}

.en-service-intro h2 {
  margin: 0 0 24px;
  color: var(--en-accent);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.en-service-intro p {
  margin: 0 0 16px;
  color: var(--en-muted);
  font-size: 16px;
  line-height: 1.5;
}

.en-service-intro p:last-child {
  margin-bottom: 0;
}

.en-service-visual {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
  overflow: visible;
  border-radius: 0;
}

.en-service-visual img {
  display: block;
  min-width: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 42px rgba(31, 41, 55, .10);
}

.en-service-subhead {
  max-width: 760px;
  margin: clamp(50px, 4vw, 60px) auto 40px;
  text-align: center;
}

.en-service-subhead h2 {
  margin: 0;
  color: var(--en-accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.en-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.en-service-card {
  padding: 22px 24px;
  border-left: 4px solid var(--en-accent);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(31, 41, 55, .08);
}

.en-service-card h3 {
  margin: 0;
  color: var(--en-accent);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

@media (max-width: 1100px) {
  .en-about-split,
  .en-engineering,
  .en-service-centers,
  .en-service-feature {
    grid-template-columns: 1fr;
  }

  .en-service-centers__content,
  .en-service-intro {
    max-width: 880px;
  }

  .en-implementation-row {
    grid-template-columns: 1fr;
  }

  .en-implementation-row--reverse .en-implementation-row__image {
    order: -1;
  }

  .en-container-ess {
    grid-template-columns: 1fr;
  }

  .en-container-ess__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .en-application-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .en-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .en-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .en-systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .en-engineering-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .en-system-card,
  .en-system-card:nth-child(4),
  .en-system-card:nth-child(5) {
    grid-column: auto;
  }

  .en-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .en-hero {
    min-height: 560px;
    height: calc(100svh - var(--en-site-header-height));
  }

  .en-container,
  .en-hero__inner {
    width: min(calc(100% - 32px), var(--en-container));
  }

  .en-hero__logo {
    width: min(330px, 82vw);
  }

  .en-section {
    padding-block: 60px;
  }

  .en-about-split__content h2,
  .en-engineering__content h2,
  .en-service-centers__content h2,
  .en-container-ess__content h2,
  .en-advantages__head h2,
  .en-section-head h2,
  .en-service-intro h2 {
    font-size: 30px;
  }

  .en-application-grid,
  .en-gallery-grid,
  .en-systems-grid,
  .en-engineering-stats,
  .en-container-ess__cards,
  .en-advantages__grid,
  .en-service-grid {
    grid-template-columns: 1fr;
  }

  .en-lightbox {
    padding: 72px 16px 64px;
  }

  .en-lightbox__image {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 136px);
  }

  .en-lightbox__close {
    top: 12px;
    right: 12px;
  }

  .en-lightbox__nav {
    width: 46px;
    height: 46px;
    font-size: 42px;
  }

  .en-lightbox__nav--prev {
    left: 10px;
  }

  .en-lightbox__nav--next {
    right: 10px;
  }

  .en-service-visual img {
    width: 100%;
    height: auto;
  }

  .en-service-card {
    padding: 20px;
  }

  .en-implementation-rows {
    gap: 40px;
  }

  .en-implementation-point {
    padding-bottom: 20px;
  }

  .en-implementation-point h3 {
    font-size: 19px;
  }
}
