:root {
  color-scheme: only light;
}

p, ul, ol, h1, h2, h3, h4 {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-size: 16px;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  background-color: #fff;
  color: #000;
}
@media (max-width: 1024px) {
  body.overflow-hidden {
    overflow: hidden;
  }
}

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

.container {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
}

.title--xxl {
  font-size: 60px;
  font-weight: 500;
  color: #7C4242;
  margin-bottom: 40px;
}
@media (max-width: 1200px) {
  .title--xxl {
    font-size: 50px;
  }
}
@media (max-width: 1024px) {
  .title--xxl {
    font-size: 30px;
    margin-bottom: 24px;
  }
}

.title--xl {
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  color: #8F443F;
  text-align: center;
}
@media (max-width: 1024px) {
  .title--xl {
    font-size: 30px;
    font-weight: 500;
    line-height: 36px;
  }
}

.wrapper {
  flex-grow: 1;
}

.header {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  margin-bottom: 55px;
}

.logo img {
  width: 260px;
}
@media (max-width: 1024px) {
  .logo img {
    width: 200px;
  }
}

.menu {
  font-size: 18px;
  display: flex;
  list-style: none;
  padding: 0;
  height: 100%;
  align-items: stretch;
}

.menu__item {
  position: relative;
}
.menu__item:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: #91443F;
  transition: width 0.4s;
}
.menu__item:hover:before {
  width: 100%;
}
.menu__item:hover .menu__link {
  color: #000;
}

.menu__item--active:before {
  width: 100%;
}
.menu__item--active .menu__link {
  color: #000;
}

.menu__link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 30px;
  text-align: center;
  text-decoration: none;
  color: #6D6E71;
  transition: color 0.2s;
}
@media (max-width: 1200px) {
  .menu__link {
    padding: 0 16px;
  }
}

.nav__button {
  display: none;
  align-self: center;
  width: 35px;
  height: 30px;
  position: absolute;
  z-index: 3;
  right: 35px;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .nav__button {
    display: block;
  }
}
.nav__button span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #000;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}
.nav__button span:nth-child(1) {
  top: 0;
  transform-origin: left center;
}
.nav__button span:nth-child(2) {
  top: 13px;
  transform-origin: left center;
}
.nav__button span:nth-child(3) {
  top: 26px;
  transform-origin: left center;
}
.nav__button.nav__button--opened span:nth-child(1) {
  transform: rotate(46deg);
  top: 0;
  left: 5px;
}
.nav__button.nav__button--opened span:nth-child(2) {
  width: 0;
  opacity: 0;
}
.nav__button.nav__button--opened span:nth-child(3) {
  transform: rotate(-46deg);
  top: 25px;
  left: 5px;
}

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 100px 40px;
    background-color: #fff;
    transition: right 0.3s;
  }
}

@media (max-width: 1024px) {
  .nav--opened {
    right: 0;
  }
  .nav--opened.nav .menu {
    flex-direction: column;
    row-gap: 8px;
  }
  .nav--opened.nav .menu__link {
    padding: 16px;
  }
}

.main {
  margin-bottom: 60px;
  overflow-x: hidden;
}
@media (max-width: 1024px) {
  .main {
    margin-bottom: 40px;
  }
}

.info {
  display: flex;
  gap: 60px;
  margin-bottom: 100px;
}
@media (max-width: 1024px) {
  .info {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
  }
}

.info__left,
.info__right {
  flex-basis: 50%;
}

@media (max-width: 1024px) {
  .info__left {
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .info__right {
    display: flex;
    justify-content: center;
    order: -1;
  }
  .info__right img {
    max-width: 500px;
  }
}

.info__desc {
  font-size: 34px;
  line-height: 48px;
  font-weight: 300;
  margin-bottom: 60px;
}
@media (max-width: 1024px) {
  .info__desc {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 35px;
  }
}

@property --firstLinkColor {
  syntax: "<color>";
  initial-value: #91443F;
  inherits: false;
}
@property --secondLinkColor {
  syntax: "<color>";
  initial-value: #E45049;
  inherits: false;
}
.info__link {
  display: inline-block;
  font-size: 19px;
  padding: 20px 40px;
  text-decoration: none;
  color: #fff;
  border-radius: 100px;
  background-image: linear-gradient(to right, var(--firstLinkColor), var(--secondLinkColor));
  transition: --firstLinkColor 0.6s, --secondLinkColor 0.6s;
}
.info__link:hover {
  --firstLinkColor: #E45049;
  --secondLinkColor: #91443F;
}

.about {
  margin-bottom: 70px;
}
@media (max-width: 1024px) {
  .about {
    margin-bottom: 32px;
  }
}

.about__title {
  margin-bottom: 40px;
  color: #7C4242;
}

.about__container {
  display: flex;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .about__container {
    gap: 16px;
    flex-direction: column;
  }
}

.about__left {
  flex-basis: 350px;
}
@media (max-width: 1024px) {
  .about__left img {
    max-width: 500px;
    width: 100%;
  }
}

.about__right {
  flex-basis: calc(100% - 410px);
}
.about__right p {
  font-size: 18px;
  line-height: 34px;
}

.effects {
  margin-bottom: 60px;
  padding: 64px 0;
  background-color: #F1F4F8;
}
@media (max-width: 1024px) {
  .effects {
    margin-bottom: 30px;
    padding: 32px 0;
  }
}

.effects__container {
  display: flex;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .effects__container {
    flex-direction: column;
    gap: 30px;
  }
}

.effects__left,
.effects__right {
  flex-basis: 50%;
}

.effects__right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  column-gap: 30px;
  row-gap: 48px;
  align-items: center;
}
@media (max-width: 1024px) {
  .effects__right {
    row-gap: 32px;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }
}

.effects__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 54px;
}
@media (max-width: 1024px) {
  .effects__title {
    font-size: 30px;
    line-height: 42px;
    text-align: center;
  }
}

.effects__title--red {
  color: #7C4242;
}

.effect {
  display: flex;
  align-items: center;
  column-gap: 16px;
  color: #868E97;
  line-height: 24px;
}

.technologies__title,
.safeties__title {
  margin-bottom: 8px;
}

.technologies__subtitle,
.safeties__subtitle {
  line-height: 24px;
  color: #414042;
  text-align: center;
  text-wrap: balance;
  margin-bottom: 60px;
}

.technologies__container,
.safeties__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .technologies__container,
  .safeties__container {
    row-gap: 30px;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }
}

.technology,
.safety {
  display: flex;
  gap: 40px;
  align-items: center;
}
@media (max-width: 1024px) {
  .technology,
  .safety {
    flex-direction: column;
  }
}

.technology__image,
.safety__image {
  flex-basis: 160px;
  min-width: 0;
}

.technology__info,
.safety__info {
  flex-basis: calc(100% - 200px);
}

.technology__title,
.safety__title {
  font-size: 28px;
  font-weight: 700;
  color: #8F443F;
  text-wrap: balance;
  margin-bottom: 24px;
}

.technology__desc,
.safety__desc {
  line-height: 24px;
  color: #6D6E71;
}

.solutions {
  margin-bottom: 80px;
}
@media (max-width: 1024px) {
  .solutions {
    margin-bottom: 40px;
  }
}

.solutions__title {
  margin-bottom: 8px;
}

.solutions__subtitle {
  line-height: 24px;
  color: #414042;
  text-align: center;
  text-wrap: balance;
  margin-bottom: 80px;
}
@media (max-width: 1024px) {
  .solutions__subtitle {
    margin-bottom: 40px;
  }
}

.solutions__container {
  display: flex;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .solutions__container {
    flex-direction: column;
    gap: 30px;
  }
}

.solutions__left {
  flex-basis: 270px;
}
@media (max-width: 1024px) {
  .solutions__left {
    flex-basis: auto;
  }
}

.solutions__right {
  font-size: 24px;
  font-weight: 300;
  line-height: 48px;
  flex-basis: calc(100% - 330px);
}
@media (max-width: 1024px) {
  .solutions__right {
    font-size: 19px;
    line-height: 36px;
  }
}

.safeties {
  margin-bottom: 70px;
}

.tech-solutions__title {
  margin-bottom: 60px;
  color: #7C4242;
  text-wrap: balance;
}

.tech-solution {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 18px;
  line-height: 34px;
  color: #414042;
  margin-bottom: 60px;
}
.tech-solution:last-child {
  margin-bottom: 0;
}
@media (max-width: 1024px) {
  .tech-solution {
    flex-direction: column;
  }
}

.tech-solution__image {
  flex-basis: 360px;
  min-width: 0;
}
@media (max-width: 1024px) {
  .tech-solution__image {
    flex-basis: auto;
    max-width: 500px;
    width: 100%;
  }
}

.tech-solution__info {
  flex-basis: calc(100% - 400px);
}

.tech-solution__title {
  font-size: 24px;
  font-weight: 700;
  color: #414042;
  margin-bottom: 12px;
}

.projects__titles {
  margin-bottom: 60px;
}
@media (max-width: 1024px) {
  .projects__titles {
    margin-bottom: 30px;
  }
}

.projects__title {
  margin-bottom: 8px;
}

.projects__subtitle {
  line-height: 24px;
  color: #414042;
  text-align: center;
  text-wrap: balance;
}

.project {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
}
@media (max-width: 1024px) {
  .project {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 30px;
  }
}

.project__left {
  flex-basis: 460px;
}
@media (max-width: 1024px) {
  .project__left img {
    max-width: 500px;
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .project__left {
    flex-basis: auto;
  }
}

.project__right {
  font-size: 24px;
  font-weight: 300;
  line-height: 48px;
  flex-basis: calc(100% - 520px);
}
.project__right strong {
  font-weight: 700;
}
@media (max-width: 1024px) {
  .project__right {
    font-size: 19px;
    line-height: 36px;
  }
}

.project__features__container {
  background-color: #F1F4F8;
  margin-bottom: 60px;
  padding: 24px 0;
}
@media (max-width: 1024px) {
  .project__features__container {
    margin-bottom: 30px;
  }
}

.project__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}
@media (max-width: 1024px) {
  .project__features {
    grid-template-columns: repeat(1, 1fr);
  }
}

.project__feature {
  display: flex;
  align-items: center;
  column-gap: 16px;
  color: #868E97;
  line-height: 24px;
}

.gallery__titles {
  margin-bottom: 16px;
}

.gallery__title {
  margin-bottom: 8px;
}

.gallery__subtitle {
  line-height: 24px;
  color: #414042;
  text-align: center;
  text-wrap: balance;
}

.gallery__container {
  background-color: #F1F4F8;
  padding: 40px 0 10px;
}

.swiper {
  width: 100%;
  height: 465px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
.swiper-slide img {
  align-self: flex-start;
  border-radius: 4px;
}

.lg-outer .lg-content {
  top: 0 !important;
}

.contacts__title {
  margin-bottom: 8px;
}

.contacts__subtitle {
  line-height: 24px;
  color: #414042;
  text-align: center;
  margin-bottom: 80px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 24px;
  line-height: 38px;
  margin-bottom: 24px;
}
@media (max-width: 1024px) {
  .contact {
    font-size: 19px;
    line-height: 28px;
  }
}

.contact__label {
  font-weight: 300;
}

.contact__value {
  font-weight: 500;
}
.contact__value a {
  color: #000;
  text-decoration: none;
}
.contact__value a:hover {
  text-decoration: underline;
}

.footer {
  display: flex;
  column-gap: 125px;
  padding-top: 60px;
  padding-bottom: 60px;
  width: 100%;
}
@media (max-width: 1024px) {
  .footer {
    flex-direction: column;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.footer__logo {
  display: block;
  width: 190px;
  margin-bottom: 24px;
}
@media (max-width: 1024px) {
  .footer__logo {
    margin-bottom: 12px;
  }
}

.footer__copyright {
  font-size: 15px;
  color: #868E97;
}

.footer__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: #6D6E71;
  margin-bottom: 37px;
  padding-top: 8px;
}
@media (max-width: 1024px) {
  .footer__title {
    margin-bottom: 24px;
    padding-top: 24px;
  }
}

.footer__menu {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 24px;
}
@media (max-width: 1024px) {
  .footer__menu {
    flex-direction: column;
  }
}

.footer__menu__link {
  font-size: 15px;
  text-decoration: none;
  color: #868E97;
  transition: color 0.2s;
}
.footer__menu__link:hover {
  color: #6D6E71;
}
