.ecom-page {
  color: var(--txt-black);
  background: var(--background-white);
}

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

.ecom-page h1,
.ecom-page h2,
.ecom-page h3,
.ecom-page p {
  margin-top: 0;
}

.ecom-page h2 {
  margin-bottom: 32px;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.2;
}

.ecom-section {
  padding: 100px 0;
}

.ecom-section--muted {
  background: var(--background-light);
}

.ecom-section__intro {
  max-width: 840px;
  margin-bottom: 56px;
  color: var(--txt-gray);
  font-size: 18px;
  line-height: 1.55;
}

.ecom-hero {
  padding: 28px 0 112px;
  color: var(--txt-white);
  background: var(--background-dark);
}

.ecom-breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 90px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.ecom-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.ecom-breadcrumbs a:hover {
  color: #fff;
}

.ecom-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.65fr);
  gap: 10%;
  align-items: end;
}

.ecom-hero__content {
  max-width: 880px;
}

.ecom-hero h1 {
  max-width: 720px;
  margin-bottom: 48px;
  font-size: clamp(50px, 5vw, 82px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.ecom-hero__content p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.55;
}

.ecom-hero__stat {
  position: relative;
  display: flex;
  min-height: 240px;
  padding: 42px;
  flex-direction: column;
  background: #4b4852;
}

.ecom-hero__stat strong {
  font-size: 42px;
  font-weight: 400;
}

.ecom-hero__stat span {
  color: rgba(255, 255, 255, 0.58);
}

.ecom-hero__stat img {
  position: absolute;
  right: 36px;
  bottom: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.65;
}

.ecom-intro__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.5fr);
  gap: 10%;
}

.ecom-intro__lead {
  max-width: 420px;
  font-size: 28px;
  line-height: 1.3;
}

.ecom-intro__content h2 {
  max-width: 900px;
}

.ecom-intro__content p {
  max-width: 860px;
  color: var(--txt-gray);
  font-size: 18px;
  line-height: 1.6;
}

.ecom-grid {
  display: grid;
  gap: 20px;
}

.ecom-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ecom-card {
  min-height: 235px;
  padding: 36px;
  background: #fff;
  border: 1px solid #dedfe5;
}

.ecom-card h3 {
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.ecom-card p {
  margin-bottom: 0;
  color: var(--txt-gray);
  font-size: 15px;
  line-height: 1.55;
}

.ecom-section--muted .ecom-card {
  border-color: transparent;
}

.ecom-card--customer {
  min-height: 290px;
  padding-top: 40px;
  background: var(--background-light);
  border: 0;
}

.ecom-card--customer img {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 54px;
  object-fit: contain;
}

.ecom-stages {
  color: #fff;
  background: var(--background-dark);
}

.ecom-stages .ecom-section__intro {
  color: rgba(255, 255, 255, 0.55);
}

.ecom-steps {
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: stages;
}

.ecom-steps li {
  display: grid;
  grid-template-columns: 80px minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  padding: 34px 0;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  counter-increment: stages;
}

.ecom-steps li::before {
  content: counter(stages, decimal-leading-zero);
  color: rgba(255, 255, 255, 0.32);
  font-size: 14px;
}

.ecom-steps h3 {
  margin-bottom: 0;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
}

.ecom-steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.6;
}

.ecom-methods__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9%;
}

.ecom-methods__list {
  display: grid;
  gap: 12px;
}

.ecom-methods__list article {
  padding: 30px 34px;
  background: var(--background-light);
}

.ecom-methods__list h3 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 500;
}

.ecom-methods__list p {
  margin-bottom: 0;
  color: var(--txt-gray);
  font-size: 14px;
  line-height: 1.55;
}

.ecom-team {
  background: var(--background-light);
}

.ecom-team .slider-thumbs-block__content {
  flex-direction: row;
}

.ecom-team .slider-thumbs-block__title {
  margin-bottom: 40px;
}

.ecom-team .slider-thumbs-block__text {
  max-width: 1260px;
}

.ecom-team .select-trigger {
  background: transparent;
}

.ecom-team__descriptions {
  margin: 0;
  padding: 0;
}

.ecom-team__description {
  max-width: 880px;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.ecom-results__grid {
  margin-top: 48px;
}

.ecom-results__intro {
  margin: 0;
}

.ecom-results__grid .ecom-card {
  background: var(--background-light);
  border: 0;
}

.ecom-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.ecom-heading-row > a {
  flex: 0 0 auto;
}

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

.ecom-package {
  position: relative;
  min-height: 440px;
  padding: 32px;
  background: #fff;
}

.ecom-package img {
  display: block;
  width: 100%;
  height: 210px;
  margin-bottom: 30px;
  object-fit: contain;
}

.ecom-package h3 {
  margin-bottom: 12px;
  color: var(--purple-normal);
  font-size: 20px;
  font-weight: 500;
}

.ecom-package p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--txt-gray);
  font-size: 14px;
  line-height: 1.5;
}

.ecom-package > a {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  color: #fff;
  place-items: center;
  background: var(--purple-normal);
  border-radius: 50%;
  text-decoration: none;
}

.ecom-package > a img {
  width: 16px;
  height: 16px;
  margin: 0;
  filter: brightness(0) invert(1);
}

.ecom-works__list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.ecom-work {
  position: relative;
  display: flex;
  min-height: 285px;
  padding: 34px;
  color: #fff;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(20, 18, 25, 0.82), rgba(20, 18, 25, 0.2)), var(--work-image);
  background-position: center;
  background-size: cover;
  text-decoration: none;
}

.ecom-work h3,
.ecom-work p,
.ecom-work div {
  position: relative;
  z-index: 1;
}

.ecom-work h3 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 400;
}

.ecom-work p {
  max-width: 520px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.72);
}

.ecom-work div {
  display: grid;
  grid-template-columns: auto minmax(100px, 180px) auto minmax(100px, 180px);
  gap: 10px 16px;
  align-items: end;
}

.ecom-work strong {
  font-size: 30px;
  font-weight: 400;
}

.ecom-work span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.ecom-work--more {
  min-height: 260px;
  background: var(--purple-normal);
}

.ecom-work--more .purple-white {
  align-self: flex-start;
  color: #fff;
}

@media screen and (max-width: 1160px) {
  .ecom-hero__grid {
    gap: 50px;
  }

  .ecom-grid--three,
  .ecom-packages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecom-methods__layout {
    grid-template-columns: 0.45fr 1.55fr;
  }
}

@media screen and (max-width: 800px) {
  .ecom-team .slider-thumbs-block__content {
    flex-direction: column;
  }

  .ecom-section {
    padding: 72px 0;
  }

  .ecom-hero {
    padding-bottom: 72px;
  }

  .ecom-breadcrumbs {
    margin-bottom: 54px;
  }

  .ecom-hero__grid,
  .ecom-intro__grid,
  .ecom-hero__stat {
    min-height: 185px;
  }

  .ecom-intro__grid {
    gap: 48px;
  }

  .ecom-methods__layout {
    display: block;
  }

  .ecom-steps li {
    grid-template-columns: 50px 1fr;
    gap: 18px;
  }

  .ecom-steps li p {
    grid-column: 2;
  }
}

@media screen and (max-width: 640px) {
  .ecom-results__grid {
    margin-top: 16px;
  }

  .ecom-page h2 {
    margin-bottom: 24px;
    font-size: 30px;
  }

  .ecom-section {
    padding: 56px 0;
  }

  .ecom-section__intro {
    margin-bottom: 36px;
    font-size: 15px;
  }

  .ecom-hero {
    padding: 18px 0 56px;
  }

  .ecom-breadcrumbs {
    margin-bottom: 40px;
    font-size: 12px;
  }

  .ecom-hero h1 {
    margin-bottom: 30px;
    font-size: 44px;
  }

  .ecom-hero__content p,
  .ecom-intro__content p {
    font-size: 15px;
  }

  .ecom-hero__stat {
    min-height: 150px;
    padding: 26px;
  }

  .ecom-hero__stat strong {
    font-size: 34px;
  }

  .ecom-intro__lead {
    font-size: 23px;
  }

  .ecom-grid--three,
  .ecom-packages {
    grid-template-columns: 1fr;
  }

  .ecom-card {
    min-height: auto;
    padding: 26px;
  }

  .ecom-card h3 {
    margin-bottom: 20px;
  }

  .ecom-card--customer img {
    margin-bottom: 36px;
  }

  .ecom-steps {
    margin-top: 48px;
  }

  .ecom-steps li {
    grid-template-columns: 36px 1fr;
    padding: 28px 0;
  }

  .ecom-steps h3 {
    font-size: 21px;
  }

  .ecom-steps p {
    font-size: 14px;
  }

  .ecom-methods__list article {
    padding: 24px;
  }

  .ecom-team__description {
    font-size: 18px;
  }

  .ecom-heading-row {
    align-items: center;
  }

  .ecom-heading-row > a {
    font-size: 13px;
  }

  .ecom-package {
    min-height: 390px;
  }

  .ecom-package img {
    height: 180px;
  }

  .ecom-work {
    min-height: 340px;
    padding: 24px;
  }

  .ecom-work div {
    grid-template-columns: auto 1fr;
  }
}
