.ec-single-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #080d28;
  color: #ffffff;
}

.ec-single-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ec-single-hero__bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(.08);
}

.ec-single-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 13, 40, .96) 0%, rgba(8, 13, 40, .72) 48%, rgba(8, 13, 40, .22) 100%),
    linear-gradient(180deg, rgba(8, 13, 40, .22) 0%, rgba(8, 13, 40, .96) 100%);
}

.ec-single-hero__container,
.ec-project-single__container,
.ec-project-single-cta__container,
.ec-related-projects__container {
  width: min(100% - var(--ec-container-offset) * 2, var(--ec-container));
  margin-left: auto;
  margin-right: auto;
}

.ec-single-hero__container {
  position: relative;
  z-index: 3;
  padding: 42px 0 76px;
}

.ec-single-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 56px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.2;
}

.ec-single-breadcrumbs a {
  color: rgba(255, 255, 255, .72);
  transition: .25s ease;
}

.ec-single-breadcrumbs a:hover {
  color: #f26a21;
}

.ec-single-breadcrumbs span.active {
  color: #ffffff;
}

.ec-single-breadcrumbs a::after {
  content: "/";
  margin-left: 11px;
  color: rgba(255, 255, 255, .35);
}

.ec-single-hero__content {
  max-width: 1080px;
}

.ec-single-hero__category {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  color: #f26a21;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-single-hero__category::after {
  content: "";
  width: 72px;
  height: 1px;
  background: #f26a21;
}

.ec-single-hero__title {
  max-width: 1120px;
  margin: 0;
  color: #ffffff;
  font-size: 48px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: .02em;
}

.ec-project-single {
  padding: 88px 0;
  background: #ffffff;
  color: #080d28;
}

.ec-project-single__layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.ec-project-single__aside {
  position: sticky;
  top: 110px;
}

.ec-project-summary {
  padding: 30px;
  background: #080d28;
  color: #ffffff;
}

.ec-project-summary__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: #f26a21;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-project-summary__label::after {
  content: "";
  width: 52px;
  height: 1px;
  background: #f26a21;
}

.ec-project-summary__item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  line-height: 1.45;
}

.ec-project-summary__item span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .46);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ec-project-summary__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 26px;
  padding: 13px 24px;
  border: 1px solid #f26a21;
  background: #f26a21;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  transition: .25s ease;
}

.ec-project-summary__btn:hover {
  background: transparent;
  color: #ffffff;
}

.ec-project-single__main {
  min-width: 0;
}

.ec-project-single__intro {
  max-width: 920px;
  margin-bottom: 46px;
}

.ec-project-single__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #f26a21;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-project-single__eyebrow::after {
  content: "";
  width: 60px;
  height: 1px;
  background: #f26a21;
}

.ec-project-single__title {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 20px;
  color: #080d28;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ec-project-single__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 250px;
  max-width: 100%;
  height: 2px;
  background: #f26a21;
}

.ec-project-single__lead {
  max-width: 900px;
  margin: 0 0 20px;
  color: #080d28;
  font-size: 22px;
  line-height: 1.48;
  font-weight: 500;
}

.ec-project-single__text {
  max-width: 900px;
  margin: 0;
  color: #5d6475;
  font-size: 16px;
  line-height: 1.68;
}

.ec-project-visual {
  position: relative;
  min-height: 520px;
  margin-bottom: 32px;
  overflow: hidden;
  background: #080d28;
}

.ec-project-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  transition: .55s ease;
}

.ec-project-visual:hover img {
  transform: scale(1.04);
}

.ec-project-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 54px;
}

.ec-project-content-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid #dfe3ec;
  background: #ffffff;
  transition: .25s ease;
}

.ec-project-content-card:hover {
  border-color: #080d28;
  background: #080d28;
}

.ec-project-content-card span {
  display: block;
  margin-bottom: 34px;
  color: #f26a21;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.ec-project-content-card div {
  margin-bottom: 14px;
  color: #080d28;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  transition: .25s ease;
}

.ec-project-content-card p {
  margin: 0;
  color: #5d6475;
  font-size: 14px;
  line-height: 1.58;
  transition: .25s ease;
}

.ec-project-content-card:hover div {
  color: #ffffff;
}

.ec-project-content-card:hover p {
  color: rgba(255, 255, 255, .7);
}

.ec-project-section {
  margin-bottom: 54px;
}

.ec-project-section__title {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 18px;
  color: #080d28;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.ec-project-section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  max-width: 100%;
  height: 2px;
  background: #f26a21;
}

.ec-project-checklist {
  display: grid;
  gap: 12px;
}

.ec-project-checklist__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #dfe3ec;
  color: #080d28;
  font-size: 15px;
  line-height: 1.5;
}

.ec-project-checklist__item span {
  width: 8px;
  height: 8px;
  margin-top: .55em;
  background: #f26a21;
}

.ec-project-gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.ec-project-gallery__item {
  min-height: 260px;
  overflow: hidden;
  background: #080d28;
}

.ec-project-gallery__item--large {
  grid-row: span 2;
  min-height: 536px;
}

.ec-project-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition: .55s ease;
}

.ec-project-gallery__item:hover img {
  transform: scale(1.05);
}

.ec-project-single-cta {
  padding: 0 0 88px;
  background: #ffffff;
}

.ec-project-single-cta__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 42px 46px;
  background:
    linear-gradient(90deg, rgba(8, 13, 40, .94), rgba(8, 13, 40, .84)),
    url("../img/20241009_141428.jpg.webp") center / cover no-repeat;
  color: #ffffff;
}

.ec-project-single-cta__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: #f26a21;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-project-single-cta__label::after {
  content: "";
  width: 60px;
  height: 1px;
  background: #f26a21;
}

.ec-project-single-cta__title {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
  text-transform: uppercase;
}

.ec-project-single-cta__text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.6;
}

.ec-project-single-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 48px;
  padding: 13px 26px;
  border: 1px solid #f26a21;
  background: #f26a21;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: .25s ease;
}

.ec-project-single-cta__btn:hover {
  background: transparent;
  color: #ffffff;
}

.ec-related-projects {
  padding: 0 0 88px;
  background: #ffffff;
}

.ec-related-projects__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.ec-related-projects__title {
  position: relative;
  margin: 0;
  padding-bottom: 18px;
  color: #080d28;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ec-related-projects__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  max-width: 100%;
  height: 2px;
  background: #f26a21;
}

.ec-related-projects__all {
  color: #080d28;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  transition: .25s ease;
}

.ec-related-projects__all::after {
  content: " →";
  color: #f26a21;
}

.ec-related-projects__all:hover {
  color: #f26a21;
}

.ec-related-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ec-related-card {
  display: block;
  border: 1px solid #dfe3ec;
  background: #ffffff;
  overflow: hidden;
  transition: .25s ease;
}

.ec-related-card:hover {
  border-color: #080d28;
  background: #080d28;
}

.ec-related-card__img {
  display: block;
  height: 230px;
  overflow: hidden;
  background: #080d28;
}

.ec-related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s ease;
}

.ec-related-card:hover .ec-related-card__img img {
  transform: scale(1.06);
}

.ec-related-card__content {
  display: block;
  padding: 22px;
}

.ec-related-card__meta {
  display: block;
  margin-bottom: 12px;
  color: #f26a21;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ec-related-card__title {
  display: block;
  color: #080d28;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 750;
  transition: .25s ease;
}

.ec-related-card:hover .ec-related-card__title {
  color: #ffffff;
}

@media (max-width: 1199px) {
  .ec-single-hero__title {
    font-size: 42px;
  }

  .ec-project-single__layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
  }

  .ec-project-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .ec-single-hero {
    min-height: 520px;
  }

  .ec-single-hero__container {
    padding: 34px 0 58px;
  }

  .ec-single-breadcrumbs {
    margin-bottom: 42px;
  }

  .ec-single-hero__title {
    font-size: 34px;
  }

  .ec-project-single {
    padding: 58px 0;
  }

  .ec-project-single__layout {
    grid-template-columns: 1fr;
  }

  .ec-project-single__aside {
    position: static;
    order: 2;
  }

  .ec-project-single__main {
    order: 1;
  }

  .ec-project-visual,
  .ec-project-visual img {
    min-height: 380px;
  }

  .ec-project-gallery {
    grid-template-columns: 1fr;
  }

  .ec-project-gallery__item,
  .ec-project-gallery__item--large {
    grid-row: auto;
    min-height: 300px;
  }

  .ec-project-single-cta {
    padding-bottom: 58px;
  }

  .ec-project-single-cta__container {
    grid-template-columns: 1fr;
  }

  .ec-project-single-cta__btn {
    width: fit-content;
  }

  .ec-related-projects {
    padding-bottom: 58px;
  }

  .ec-related-projects__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .ec-single-hero {
    min-height: 500px;
  }

  .ec-single-breadcrumbs {
    margin-bottom: 32px;
    font-size: 12px;
  }

  .ec-single-hero__category {
    font-size: 11px;
    line-height: 1.25;
  }

  .ec-single-hero__title {
    font-size: 27px;
    line-height: 1.2;
  }

  .ec-project-single {
    padding: 44px 0;
  }

  .ec-project-summary {
    padding: 24px;
  }

  .ec-project-single__title {
    font-size: 28px;
  }

  .ec-project-single__title::after {
    width: 170px;
  }

  .ec-project-single__lead {
    font-size: 18px;
  }

  .ec-project-single__text {
    font-size: 14px;
  }

  .ec-project-visual,
  .ec-project-visual img {
    min-height: 260px;
  }

  .ec-project-content-card {
    min-height: auto;
    padding: 22px;
  }

  .ec-project-section__title {
    font-size: 24px;
  }

  .ec-project-section__title::after {
    width: 170px;
  }

  .ec-project-gallery__item,
  .ec-project-gallery__item--large {
    min-height: 230px;
  }

  .ec-project-single-cta {
    padding-bottom: 44px;
  }

  .ec-project-single-cta__container {
    padding: 30px 22px;
  }

  .ec-project-single-cta__title {
    font-size: 22px;
  }

  .ec-project-single-cta__btn {
    width: 100%;
  }

  .ec-related-projects {
    padding-bottom: 44px;
  }

  .ec-related-projects__head {
    display: block;
  }

  .ec-related-projects__all {
    display: inline-flex;
    margin-top: 20px;
  }

  .ec-related-projects__title {
    font-size: 26px;
  }

  .ec-related-card__img {
    height: 210px;
  }
}