.elvia-card-stack,
.elvia-card-stack * {
  box-sizing: border-box;
}

.elvia-card-stack {
  --ecs-dark: #062b2b;
  --ecs-dark-2: #0b3733;
  --ecs-yellow: #ffb229;
  --ecs-green: #4fa35f;
  --ecs-muted: #66736f;
  --ecs-card-w: 390px;
  --ecs-card-h: 285px;
  width: 100%;
  direction: rtl;
  font-family: inherit;
  position: relative;
}

.ecs-stage {
  position: relative;
  width: min(100%, 820px);
  height: 390px;
  margin: 0 auto;
  perspective: 1200px;
  overflow: visible;
}

.ecs-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(var(--ecs-card-w), 82vw);
  min-height: var(--ecs-card-h);
  padding: 30px 28px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .22);
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(135deg, var(--ecs-dark), var(--ecs-dark-2));
  background-size: 22px 22px, 22px 22px, auto;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transform-style: preserve-3d;
  box-shadow: 0 24px 60px rgba(6, 43, 43, .22);
  outline: none;
  transition:
    transform .55s cubic-bezier(.2,.8,.2,1),
    opacity .35s ease,
    filter .35s ease,
    background .35s ease,
    color .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.ecs-card-tab {
  position: absolute;
  top: -18px;
  right: 38px;
  width: 118px;
  height: 32px;
  border-radius: 18px 18px 0 0;
  background: inherit;
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-right: 1px solid rgba(255, 255, 255, .18);
  border-left: 1px solid rgba(255, 255, 255, .18);
  z-index: -1;
}

.ecs-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  pointer-events: none;
}

.ecs-card.is-active {
  background:
    linear-gradient(rgba(6,43,43,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,43,43,.045) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff, #f8f7f1);
  background-size: 22px 22px, 22px 22px, auto;
  color: var(--ecs-dark);
  border-color: rgba(6, 43, 43, .10);
  box-shadow: 0 28px 70px rgba(6, 43, 43, .20);
}

.ecs-no {
  position: absolute;
  top: 24px;
  left: 26px;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  color: rgba(255,255,255,.18);
  line-height: 1;
}

.ecs-card.is-active .ecs-no {
  color: rgba(6, 43, 43, .10);
}

.ecs-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 178, 41, .16);
  color: var(--ecs-yellow);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.ecs-card.is-active .ecs-icon {
  background: rgba(255, 178, 41, .20);
  color: var(--ecs-dark);
}

.ecs-icon svg,
.ecs-icon i {
  width: 29px;
  height: 29px;
  font-size: 27px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ecs-icon svg {
  fill: currentColor;
}

.ecs-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.ecs-card p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,.78);
  position: relative;
  z-index: 1;
}

.ecs-card.is-active p {
  color: var(--ecs-muted);
}

.ecs-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.ecs-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(6, 43, 43, .12);
  border-radius: 14px;
  background: #fff;
  color: var(--ecs-dark);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: .25s ease;
}

.ecs-arrow:hover {
  background: var(--ecs-dark);
  color: #fff;
}

.ecs-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.ecs-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfd8d4;
  cursor: pointer;
  transition: .25s ease;
}

.ecs-dots button.is-active {
  width: 28px;
  border-radius: 20px;
  background: var(--ecs-yellow);
}

@media (max-width: 767px) {
  .ecs-stage {
    width: 100%;
    height: 385px;
  }

  .ecs-card {
    width: min(88vw, 350px);
    min-height: 292px;
    padding: 28px 22px;
  }

  .ecs-card h3 {
    font-size: 20px;
  }

  .ecs-card p {
    font-size: 13.5px;
  }
}
