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

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

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

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

.be-page {
  margin: 0;
  overflow: hidden;
  background: var(--be-bg);
  color: var(--be-text);
  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;
}

.be-page h1,
.be-page h2,
.be-page h3,
.be-page h4,
.be-page h5,
.be-page h6 {
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: var(--the7-h1-line-height, 1.2);
}

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

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

.be-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--be-site-header-height));
  height: calc(100vh - var(--be-site-header-height));
  overflow: hidden;
  isolation: isolate;
  background: #0f1d35;
}

.be-hero__video {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

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

.be-hero__logo {
  width: min(320px, 72vw);
  height: auto;
  filter: none;
}

.be-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #ffffff;
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 42px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .28);
}

@media (max-width: 900px) {
  .be-hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 560px) {
  .be-hero__inner {
    width: min(calc(100% - 32px), 1180px);
    gap: 20px;
  }

  .be-hero__logo {
    width: min(260px, 78vw);
  }

  .be-hero h1 {
    font-size: 30px;
  }
}

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

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

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

.be-section--engines {
  background: #ffffff;
}

.be-section--trust {
  background: #ffffff;
}

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

.be-section--gallery {
  background: #ffffff;
}

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

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

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

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

.be-about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 64px);
}

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

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

.be-about-split__content {
  text-align: left;
}

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

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

.be-about-split__content p:last-child,
.be-signal__content p:last-child {
  margin-bottom: 0;
}

.be-signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 64px);
}

.be-signal__image {
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.be-signal__image img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: cover;
}

.be-signal__content {
  text-align: left;
}

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

.be-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;
}

.be-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));
}

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

.be-application-card h2 {
  max-width: 100%;
  margin: 0 0 10px;
  color: #6054BA;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

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

.be-service-layout {
  display: grid;
  gap: clamp(30px, 4.4vw, 54px);
}

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

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

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

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

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

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

.be-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);
}

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

.be-service-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: start;
  min-height: 164px;
  padding: 22px 24px;
  border-left: 4px solid var(--be-accent);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(31, 41, 55, .08);
}

.be-service-card__icon {
  width: 74px;
  height: 74px;
  margin: 0 -10px;
  object-fit: contain;
  object-position: center;
}

.be-service-card h2 {
  margin: 0 0 10px;
  color: #6054BA;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

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

.be-engine-block {
  display: grid;
  gap: 28px;
}

.be-engine-head {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

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

.be-engine-table-wrap {
  overflow: hidden;
  border: 1px solid #dde3ec;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(31, 41, 55, .10);
}

.be-engine-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.be-engine-table__model-col {
  width: 40%;
}

.be-engine-table__type-col,
.be-engine-table__fuel-col {
  width: 14%;
}

.be-engine-table__range-col {
  width: 14%;
}

.be-engine-table__efficiency-col {
  width: 18%;
}

.be-engine-table th,
.be-engine-table td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: middle;
}

.be-engine-table th {
  background: #6054BA;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.be-engine-table td {
  border-bottom: 1px solid #e7ebf2;
  color: var(--be-text);
  font-size: 16px;
  line-height: 1.4;
}

.be-engine-table td + td {
  border-left: 1px solid #edf0f5;
}

.be-engine-table tbody tr:nth-child(even) td {
  background: #fafbfe;
}

.be-engine-table tbody tr:last-child td {
  border-bottom: 0;
}

.be-engine-product {
  display: grid;
  grid-template-columns: minmax(150px, 260px) minmax(92px, auto);
  gap: 18px;
  align-items: center;
}

.be-engine-product__image {
  width: 100%;
  height: 148px;
  max-width: 260px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 18px rgba(31, 41, 55, .14));
}

.be-engine-model {
  display: inline-flex;
  align-items: center;
  min-width: 92px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(96, 84, 186, .18);
  border-radius: 6px;
  background: rgba(96, 84, 186, .09);
  color: #6054BA;
  font-weight: 800;
  line-height: 1;
}

.be-engine-range {
  color: var(--be-ink);
  font-weight: 800;
}

.be-engine-note {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 26px;
  border-left: 4px solid var(--be-accent);
  border-radius: 8px;
  background: var(--be-soft);
  color: var(--be-muted);
  font-size: 16px;
  line-height: 1.5;
}

.be-trust-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.be-trust-content h2 {
  margin: 0 0 24px;
  color: var(--be-accent);
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.be-trust-content p {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--be-muted);
  font-size: 16px;
  line-height: 1.55;
}

.be-trust-content p:last-child {
  margin-bottom: 0;
}

.be-trust-media {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #dfe5ee;
  box-shadow: 0 18px 42px rgba(31, 41, 55, .12);
}

.be-trust-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
}

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

.be-advantages::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(96, 84, 186, .82);
}

.be-advantages::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 21, 43, .22);
}

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

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

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

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

.be-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);
}

.be-advantage-card h3 {
  max-width: 100%;
  min-height: 48px;
  margin: 0 0 12px;
  color: #6054BA;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

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

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

.be-support-head {
  margin-bottom: 0;
}

.be-support-head h2 {
  letter-spacing: 0;
}

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

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

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

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

.be-support-list {
  display: grid;
  gap: 22px;
}

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

.be-support-point:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.be-support-point h3 {
  margin: 0;
  color: #6054BA;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

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

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

.be-gallery-head {
  margin-bottom: 0;
}

.be-gallery-head h2 {
  letter-spacing: 0;
}

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

.be-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #e7ebf2;
  box-shadow: 0 12px 28px rgba(31, 41, 55, .10);
}

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

.be-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  cursor: pointer;
  transition: transform 220ms ease;
}

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

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

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

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

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

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

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

.be-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;
}

.be-lightbox__close,
.be-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;
}

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

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

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

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

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

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

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

.be-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%);
}

@media (max-width: 1100px) {
  .be-about-split,
  .be-signal {
    grid-template-columns: 1fr;
  }

  .be-about-split__image,
  .be-signal__image {
    min-height: 0;
  }

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

  .be-service-layout {
    gap: 34px;
  }

  .be-trust-block {
    grid-template-columns: 1fr;
  }

  .be-service-feature {
    grid-template-columns: 1fr;
  }

  .be-advantages__grid {
    grid-template-columns: 1fr;
  }

  .be-advantage-card h3 {
    min-height: 0;
  }

  .be-support-row {
    grid-template-columns: 1fr;
  }

  .be-support-row--reverse .be-support-row__image {
    order: -1;
  }

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

  .be-service-intro {
    max-width: 880px;
  }

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

@media (max-width: 720px) {
  .be-container,
  .be-hero__inner {
    width: min(calc(100% - 32px), var(--be-container));
  }

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

  .be-about-split__content h2,
  .be-signal__content h2,
  .be-section-head h2,
  .be-service-intro h2,
  .be-engine-head h2,
  .be-trust-content h2,
  .be-advantages__head h2 {
    font-size: 30px;
  }

  .be-about-split__image,
  .be-signal__image {
    min-height: 0;
  }

  .be-about-split__image img,
  .be-signal__image img {
    max-height: none;
  }

  .be-application-grid {
    grid-template-columns: 1fr;
  }

  .be-service-grid {
    grid-template-columns: 1fr;
  }

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

  .be-support-rows {
    gap: 40px;
  }

  .be-support-point {
    padding-bottom: 20px;
  }

  .be-support-point h3 {
    font-size: 19px;
  }

  .be-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

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

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

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

  .be-service-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .be-service-card__icon {
    width: 64px;
    height: 64px;
  }

  .be-engine-table-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .be-engine-table,
  .be-engine-table tbody,
  .be-engine-table tr,
  .be-engine-table td {
    display: block;
    width: 100%;
  }

  .be-engine-table thead {
    display: none;
  }

  .be-engine-table tr {
    margin-bottom: 14px;
    border: 1px solid #dde3ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(31, 41, 55, .08);
    overflow: hidden;
  }

  .be-engine-table tr:last-child {
    margin-bottom: 0;
  }

  .be-engine-table td,
  .be-engine-table tbody tr:nth-child(even) td {
    display: grid;
    grid-template-columns: minmax(118px, 34%) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-left: 0;
    border-bottom: 1px solid #edf0f5;
    background: #ffffff;
  }

  .be-engine-table td[data-label="Модель"] {
    align-items: start;
  }

  .be-engine-product {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .be-engine-product__image {
    width: min(300px, 100%);
    height: 160px;
    max-width: none;
    justify-self: start;
  }

  .be-engine-table td::before {
    content: attr(data-label);
    color: var(--be-muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .be-engine-table tr td:last-child {
    border-bottom: 0;
  }

  .be-engine-note {
    padding: 20px;
  }

  .be-advantages {
    padding-block: 90px;
  }

  .be-advantage-card {
    padding: 20px;
  }
}
