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

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

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

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

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

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

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

.ei-hero-block {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--ei-site-header-height));
  height: calc(100vh - var(--ei-site-header-height));
  padding: clamp(48px, 7vw, 96px) 0;
  overflow: hidden;
  isolation: isolate;
  background: url("../media/hero.jpg") center / cover no-repeat;
}

.ei-hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 11, 20, .68), rgba(3, 11, 20, .48) 45%, rgba(3, 11, 20, .18)),
    linear-gradient(180deg, rgba(3, 11, 20, .12), rgba(3, 11, 20, .46));
  pointer-events: none;
}

.ei-hero-block__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ei-hero-block__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(calc(100% - 48px), var(--ei-container));
  margin-inline: auto;
  text-align: center;
}

.ei-hero-block__logo {
  width: clamp(220px, 28vw, 460px);
  margin: 0 0 26px;
  filter: drop-shadow(0 10px 24px rgba(255, 255, 255, .65));
}

.ei-hero-block h1 {
  max-width: 980px;
  margin: 0;
  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;
}

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

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

.ei-overview-block {
  background: #ffffff;
}

.ei-overview-block__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 64px);
  align-items: stretch;
}

.ei-overview-block__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: none;
  height: 100%;
}

.ei-overview-block__content h2 {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--ei-accent);
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 36px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.ei-overview-block__content p {
  margin: 0;
  color: var(--ei-text);
  font-size: 16px;
  line-height: 1.62;
}

.ei-overview-block__content p + p {
  margin-top: 16px;
}

.ei-overview-block__media {
  position: relative;
  height: clamp(320px, 30vw, 420px);
  min-height: clamp(320px, 30vw, 420px);
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #e2e8f0;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}

.ei-overview-block__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ei-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.ei-stat-card {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(96, 84, 186, .14);
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 14px 34px rgba(31, 41, 55, .09);
}

.ei-stat-card__icon {
  display: grid;
  flex: 0 0 150px;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 0;
}

.ei-stat-card__icon img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.ei-stat-card__body {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.ei-stat-card h3 {
  margin: 0;
  color: var(--ei-accent);
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 20px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1;
  letter-spacing: 0;
}

.ei-stat-card p {
  margin: 0;
  color: var(--ei-muted);
  font-size: 15px;
  line-height: 1.48;
}

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

.ei-task-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 26px 24px 24px;
  border: 1px solid rgba(96, 84, 186, .14);
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 14px 34px rgba(31, 41, 55, .09);
}

.ei-task-card__icon {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 0 0 18px;
}

.ei-task-card__icon img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.ei-task-card h3 {
  margin: 0 0 12px;
  color: var(--ei-accent);
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 20px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.ei-control-block {
  background: #ffffff;
}

.ei-control-intro,
.ei-control-row,
.ei-portal-layout,
.ei-vpp-layout,
.ei-implementation-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 64px);
  align-items: stretch;
}

.ei-control-row {
  margin-top: 36px;
}

.ei-control-intro__content,
.ei-portal-content,
.ei-vpp-content,
.ei-implementation-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: none;
  height: 100%;
}

.ei-control-intro__content h2,
.ei-portal-content h2,
.ei-vpp-content h2,
.ei-implementation-content h2 {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--ei-accent);
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 36px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.ei-control-intro__content p,
.ei-portal-content p,
.ei-vpp-content p,
.ei-implementation-content p {
  margin: 0;
  color: var(--ei-text);
  font-size: 16px;
  line-height: 1.62;
}

.ei-control-intro__content p + p,
.ei-portal-content p + p,
.ei-vpp-content p + p,
.ei-implementation-content p + p {
  margin-top: 16px;
}

.ei-control-placeholder,
.ei-portal-placeholder,
.ei-vpp-placeholder,
.ei-implementation-placeholder {
  position: relative;
  height: clamp(320px, 30vw, 420px);
  min-height: clamp(320px, 30vw, 420px);
  margin: 0;
  overflow: hidden;
  border-radius: 0;
}

.ei-implementation-placeholder {
  background: #e2e8f0;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}

.ei-control-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 18px;
  box-sizing: border-box;
}

.ei-implementation-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ei-portal-placeholder img,
.ei-vpp-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
  box-sizing: border-box;
}

.ei-vpp-placeholder img {
  padding: 0;
}

.ei-control-card-stack {
  display: grid;
  gap: 20px;
}

.ei-control-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(96, 84, 186, .14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

.ei-control-card h3 {
  margin: 0 0 10px;
  color: var(--ei-accent);
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 20px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1.16;
  letter-spacing: 0;
}

.ei-control-card p {
  margin: 0;
  color: var(--ei-muted);
  font-size: 15px;
  line-height: 1.5;
}

.ei-benefits-block {
  background:
    linear-gradient(90deg, rgba(63, 48, 178, .9) 0%, rgba(96, 84, 186, .82) 52%, rgba(63, 48, 178, .74) 100%),
    url("../media/benefits-bg.png") center / cover no-repeat;
}

.ei-benefits-head {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: clamp(34px, 4.4vw, 56px);
  text-align: center;
}

.ei-benefits-head h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 36px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

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

.ei-benefit-card {
  min-height: 100%;
  padding: 26px 24px 24px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 36px rgba(7, 21, 43, .16);
}

.ei-benefit-card h3 {
  margin: 0 0 12px;
  color: var(--ei-accent);
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 20px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1.16;
  letter-spacing: 0;
}

.ei-benefit-card p {
  margin: 0;
  color: var(--ei-muted);
  font-size: 15px;
  line-height: 1.5;
}

.ei-implementation-block,
.ei-modes-block {
  background: #ffffff;
}

.ei-section-head.ei-modes-head,
.ei-section-head.ei-savings-head {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.ei-section-head.ei-modes-head h2,
.ei-section-head.ei-savings-head h2 {
  margin-bottom: 0;
}

.ei-modes-table-wrap,
.ei-savings-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(96, 84, 186, .14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(7, 21, 43, .08);
  -webkit-overflow-scrolling: touch;
}

.ei-modes-table-wrap:focus-visible,
.ei-savings-table-wrap:focus-visible {
  outline: 3px solid rgba(96, 84, 186, .42);
  outline-offset: 4px;
}

.ei-modes-table,
.ei-savings-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
}

.ei-modes-table {
  min-width: 1120px;
}

.ei-savings-table {
  min-width: 1040px;
}

.ei-modes-table th,
.ei-modes-table td,
.ei-savings-table th,
.ei-savings-table td {
  padding: 18px 16px;
  border: 0;
  vertical-align: middle;
}

.ei-modes-table thead th,
.ei-savings-table thead th {
  border-bottom: 1px solid rgba(95, 111, 133, .22);
  color: var(--ei-ink);
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 14px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1.18;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.ei-modes-table thead th:first-child,
.ei-modes-table tbody th,
.ei-savings-table thead th:first-child,
.ei-savings-table tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 220px;
  border-right: 1px solid rgba(95, 111, 133, .16);
  background: #ffffff;
  text-align: left;
}

.ei-modes-table thead th:first-child,
.ei-savings-table thead th:first-child {
  z-index: 3;
}

.ei-modes-table thead th:nth-child(2),
.ei-modes-table thead th:nth-child(4),
.ei-modes-table tbody td:nth-child(2),
.ei-modes-table tbody td:nth-child(4) {
  min-width: 128px;
}

.ei-modes-table thead th:nth-child(3),
.ei-modes-table tbody td:nth-child(3) {
  min-width: 150px;
}

.ei-modes-table thead th:nth-child(5),
.ei-modes-table thead th:nth-child(6),
.ei-modes-table thead th:nth-child(7),
.ei-modes-table tbody td:nth-child(5),
.ei-modes-table tbody td:nth-child(6),
.ei-modes-table tbody td:nth-child(7) {
  min-width: 180px;
}

.ei-savings-table thead th {
  text-align: left;
}

.ei-savings-table thead th:first-child,
.ei-savings-table tbody th {
  min-width: 245px;
}

.ei-savings-table thead th:nth-child(2),
.ei-savings-table tbody td:nth-child(2) {
  min-width: 280px;
}

.ei-savings-table thead th:nth-child(3),
.ei-savings-table tbody td:nth-child(3) {
  min-width: 515px;
}

.ei-modes-table tbody tr + tr th,
.ei-modes-table tbody tr + tr td,
.ei-savings-table tbody tr + tr th,
.ei-savings-table tbody tr + tr td {
  border-top: 1px solid rgba(95, 111, 133, .14);
}

.ei-modes-table tbody th,
.ei-savings-table tbody th {
  color: var(--ei-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.ei-modes-table tbody td {
  color: var(--ei-ink);
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.ei-savings-table tbody td {
  color: var(--ei-text);
  font-size: 15px;
  line-height: 1.48;
  text-align: left;
}

.ei-savings-table strong {
  color: var(--ei-ink);
  font-weight: 800;
}

.ei-ai-block {
  background: #ffffff;
}

.ei-section-head.ei-ai-head {
  margin-bottom: clamp(30px, 4vw, 46px);
}

.ei-section-head.ei-ai-head h2 {
  margin-bottom: 0;
}

.ei-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ei-ai-card {
  display: grid;
  grid-template-columns: clamp(112px, 11vw, 150px) minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 10px;
  min-height: 100%;
  align-items: center;
  padding: 26px 24px 24px;
  border: 1px solid rgba(96, 84, 186, .14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 21, 43, .08);
}

.ei-ai-card__icon {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: clamp(112px, 11vw, 150px);
  height: clamp(112px, 11vw, 150px);
  margin: 0;
}

.ei-ai-card__icon img {
  width: clamp(112px, 11vw, 150px);
  height: clamp(112px, 11vw, 150px);
  object-fit: contain;
}

.ei-ai-card h3 {
  margin: 0;
  color: var(--ei-accent);
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 20px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1.16;
  letter-spacing: 0;
}

.ei-ai-card p {
  margin: 0;
  color: var(--ei-muted);
  font-size: 15px;
  line-height: 1.5;
}

.ei-mode-mark {
  display: inline-grid;
  min-width: 24px;
  place-items: center;
  color: var(--ei-accent);
  font-weight: 700;
}

.ei-mode-mark--partial {
  font-size: 18px;
}

.ei-mode-dash {
  color: var(--ei-muted);
  font-size: 18px;
  font-weight: 600;
}

.ei-section-head {
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: clamp(34px, 4.4vw, 56px);
  text-align: center;
}

.ei-section-head h2 {
  margin: 0 0 18px;
  color: var(--ei-accent);
  font-family: var(--the7-h1-font-family, Arial, Helvetica, sans-serif);
  font-size: 36px;
  font-weight: var(--the7-h1-font-weight, 700);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

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

@media (max-width: 900px) {
  .ei-hero-block h1,
  .ei-overview-block__content h2,
  .ei-control-intro__content h2,
  .ei-portal-content h2,
  .ei-vpp-content h2,
  .ei-implementation-content h2,
  .ei-benefits-head h2,
  .ei-section-head h2 {
    font-size: 32px;
  }

  .ei-overview-block__grid,
  .ei-control-intro,
  .ei-control-row,
  .ei-portal-layout,
  .ei-vpp-layout,
  .ei-implementation-layout {
    grid-template-columns: 1fr;
  }

  .ei-overview-block__content,
  .ei-control-intro__content,
  .ei-portal-content,
  .ei-vpp-content,
  .ei-implementation-content {
    max-width: 820px;
  }

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

  .ei-task-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .ei-container,
  .ei-hero-block__inner {
    width: min(calc(100% - 32px), var(--ei-container));
  }

  .ei-hero-block h1,
  .ei-overview-block__content h2,
  .ei-control-intro__content h2,
  .ei-portal-content h2,
  .ei-vpp-content h2,
  .ei-implementation-content h2,
  .ei-benefits-head h2,
  .ei-section-head h2 {
    font-size: 30px;
  }

  .ei-overview-block__media,
  .ei-control-placeholder,
  .ei-portal-placeholder,
  .ei-vpp-placeholder,
  .ei-implementation-placeholder {
    height: 260px;
    min-height: 260px;
  }

  .ei-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .ei-stat-card {
    padding: 22px 20px;
  }

  .ei-task-card {
    padding: 22px 20px;
  }

  .ei-benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ei-benefit-card {
    padding: 22px 20px;
  }

  .ei-ai-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ei-ai-card {
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 16px;
    padding: 22px 20px;
  }

  .ei-ai-card__icon,
  .ei-ai-card__icon img {
    width: 112px;
    height: 112px;
  }

  .ei-control-row {
    margin-top: 28px;
  }

  .ei-control-card-stack {
    gap: 16px;
  }

  .ei-control-card {
    padding: 22px 20px;
  }

  .ei-modes-table {
    min-width: 1026px;
  }

  .ei-savings-table {
    min-width: 940px;
  }

  .ei-modes-table th,
  .ei-modes-table td,
  .ei-savings-table th,
  .ei-savings-table td {
    padding: 15px 14px;
  }

  .ei-modes-table thead th,
  .ei-savings-table thead th {
    font-size: 13px;
  }

  .ei-modes-table thead th:first-child,
  .ei-modes-table tbody th {
    min-width: 190px;
  }

  .ei-modes-table thead th:nth-child(2),
  .ei-modes-table thead th:nth-child(4),
  .ei-modes-table tbody td:nth-child(2),
  .ei-modes-table tbody td:nth-child(4) {
    min-width: 112px;
  }

  .ei-modes-table thead th:nth-child(3),
  .ei-modes-table tbody td:nth-child(3) {
    min-width: 132px;
  }

  .ei-modes-table thead th:nth-child(5),
  .ei-modes-table thead th:nth-child(6),
  .ei-modes-table thead th:nth-child(7),
  .ei-modes-table tbody td:nth-child(5),
  .ei-modes-table tbody td:nth-child(6),
  .ei-modes-table tbody td:nth-child(7) {
    min-width: 160px;
  }

  .ei-savings-table thead th:first-child,
  .ei-savings-table tbody th {
    min-width: 210px;
  }

  .ei-savings-table thead th:nth-child(2),
  .ei-savings-table tbody td:nth-child(2) {
    min-width: 230px;
  }

  .ei-savings-table thead th:nth-child(3),
  .ei-savings-table tbody td:nth-child(3) {
    min-width: 500px;
  }

  .ei-modes-table tbody th,
  .ei-savings-table tbody th {
    font-size: 14px;
  }

  .ei-modes-table tbody td {
    font-size: 18px;
  }

  .ei-savings-table tbody td {
    font-size: 14px;
  }

  .ei-mode-mark--partial {
    font-size: 16px;
  }
}
