*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: 0.6;
}

button {
  background-color: transparent;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

/* .link {
  display: inline-block;
  padding: 15px;
  background-color: blue;
} */

ul,
li {
  list-style: none;
  padding: 0;
  border: 0;
}

:root {
  --dark: #292830;
  --light: #bdbdbd;
  --main-color: #ff7235;
  --background: #fff;
}

:root {
  --font-family: 'Hind Siliguri', sans-serif;
}

body {
  font-family: var(--font-family);
}

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

/* components  */

/* titles  */

.title {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 100%;
  color: var(--dark);
}

.title.title-h1 {
  font-size: 96px;
}

.title.title-h2 {
  font-size: 72px;
}

.title.title-h3 {
  font-size: 36px;
  color: var(--background);
  font-weight: 500;
}

.title.title-h4 {
  font-size: 32px;
}

.title.title-h5 {
  font-size: 30px;
}

.title.title-h6 {
  font-weight: 500;
  font-size: 24px;
  text-transform: uppercase;
}

/* text  */

.text {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--light);
}

.text.text-xl {
  font-size: 24px;
}

.text.text-l {
  font-size: 18px;
  font-weight: 400;
  color: #000;
}

.text.text-m {
  font-size: 14px;
  color: #000;
}

.text.text-s {
  font-size: 12px;
}

/* buttons  */

.button {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--background);
  background: var(--main-color);
  border-radius: 8px;
}

.button.button-l {
  padding: 18px 58px 18px 24px;
  background: var(--main-color);
  color: #fff;
  font-size: 24px;
  color: var(--background);
  position: relative;
  border: 1px solid transparent;
}

.button.button-l:hover {
  border-color: var(--main-color);
  background-color: var(--background);
  color: var(--main-color);
  /* background: url(../img/arrow-right-orange.png) no-repeat center; как правильно поменять цвет иконке на кнопке при :hover */
}

.button.button-l::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 28px;
  z-index: 2;
  background: url(../img/arrow-right.svg) no-repeat center;
  background-size: cover;
  width: 16px;
  height: 8px;
}

.button.button-l.button--white {
  background-color: var(--background);
  color: var(--main-color);
}

.button.button-m {
  font-size: 18px;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  background-color: var(--background);
  padding: 15px 17px 16px 18px;
  line-height: 0.95;
  transition: all 0.3s linear;
}

.button.button-m:hover {
  background-color: var(--main-color);
  color: var(--background);
}

.button.button-s {
  padding: 12px 58px 12px 24px;
  font-size: 24px;
  color: var(--main-color);
  position: relative;
  background: var(--background);
  border: 1px solid transparent;
}

.button.button-s:hover {
  border-color: var(--main-color);
}

.button.button-s::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 24px;
  z-index: 2;
  background: url(../img/arrow-right-orange.png) no-repeat center;
  background-size: cover;
  width: 16px;
  height: 9px;
}

.button.button-l.button--white::after {
  /* background: url(); */
}

.page {
  min-width: 320px;
  overflow: hidden;
}

.header__row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 57px 0;
}
.header__nav {
  display: flex;
  gap: 42px;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  /* display: block;
  max-width: 100%; */
}

.header__link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 0.95;
  color: var(--dark);
  position: relative;
  transition: all 0.5s linear;
}

.header__link::after {
  content: '';
  width: 0%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -8px;
  z-index: 2;
  background-color: var(--main-color);
  opacity: 0;
  transition: all 0.5s linear;
}

.header__link:hover::after {
  opacity: 1;
  width: 100%;
}

.header__link:hover {
  color: var(--main-color);
}

/* .header__link.header--active {
  color: var(--main-color);
} */

.header__request {
}
.hero {
  padding: 49px 0 211px;
}

.hero__row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero__left {
  flex-basis: 540px; /* ширина флекс елементів */
  /* max-width: 540px; */
}

.hero__title {
  margin-bottom: 20px;
}

.hero__text {
  margin-bottom: 40px;
}

.hero__info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__try {
}

.hero__try::after {
}

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

.product {
  padding-top: 87px;
  background: var(--main-color);
  position: relative;
  overflow: hidden;
}

.product::after {
  content: '';
  width: 413px;
  height: 460px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;

  background: url(../img/circle-right.svg) no-repeat center;
  background-size: cover;
}

.product::before {
  content: '';
  width: 396px;
  height: 430px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;

  background: url(../img/circle-left.svg) no-repeat center;
  background-size: cover;
}

.product__image {
  display: block;
  max-width: 100%;
  position: relative;
  z-index: 10;
}

.brands {
  padding: 82px 0;
}

.brands__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}

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

.support {
  padding: 141px 0;
}

.support__text.text--upper {
  text-transform: uppercase;
  font-weight: 400;
}

.support__column {
  display: flex;
  gap: 31px;
  align-items: center;
  flex-wrap: wrap;
  padding: 140px 0;
}

.support__column:nth-child(2n) {
  flex-direction: row-reverse;
}

.support__link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  color: var(--main-color);
  position: relative;
  padding-right: 36px;
}

.support__images {
  flex: 1 1 calc(50% - 31px);
  /* width: 50%; */
}

.support__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1 1 calc(50% - 31px);
  /* width: 50%; */
}

.support__link::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  background: url(../img/arrowR.svg);
  background-size: cover;
  width: 20px;
  height: 17px;
}

.support__title {
}

.support__text {
}

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

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

.header__toggle {
  display: none;
}

.header__toggle span {
  width: 35px;
  height: 2px;
  background-color: var(--dark);
}

.cross {
  padding: 140px 0;
}

.cross__row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 80px;
}

.cross__left {
  flex-basis: 730px;
}

.cross__right {
  flex-basis: 350px;
}

.cross__row-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.cross__card {
  border: transparent;
  border-radius: 12px;
  padding: 15px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(33.33% - 30px); /* width for flex elements*/
  transition: all 0.3s linear;
}

.cross__card:hover {
  box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.cross__card:hover .cross__arrow {
  opacity: 1;
  /* display: inline-block; */
}

.cross__inside {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  width: 220px;
  height: 224px;
}

.cross__img {
  width: 64px;
  height: 63px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 24px;
}

.cross__card:first-child .cross__img {
  background-color: rgba(255, 189, 116, 0.05);
}

.cross__card:nth-child(2) .cross__img {
  background-color: rgba(226, 89, 139, 0.05);
}

.cross__card:last-child .cross__img {
  background-color: rgba(77, 18, 238, 0.05);
}

.cross__title.title.title-h5 {
  margin-bottom: 12px;
  font-weight: 500;
}

.cross__text.text.text-m {
  margin-bottom: 24px;
}

.cross__arrow {
  opacity: 0;
  /* display: none; */
  transition: all 0.3s linear;
}

.choose {
  padding: 124px 0;
}

.choose__title.title.title-h2 {
  text-align: center;
  margin-bottom: 80px;
}

.choose__row {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.choose__card {
  flex: 1 1 calc(33.33% - 30px);
  padding: 40px 0 60px 40px;
  stroke-width: 1px;
  border: 1px solid #f5f5f5;
  border-radius: 12px;
}

.choose__card:hover {
  box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.choose__inside {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  margin-bottom: 40px;
}

.choose__price {
  color: var(--dark);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  color: var(--dark);
}

.choose__price span {
  color: var(--light);
  font-weight: 300;
  font-size: 20px;
  color: var(--light);
}

.choose__icon {
  margin-bottom: 24px;
}

.choose__title.title.title-h4 {
  font-weight: 600;
}

.choose__item {
  position: relative;
  padding-left: 32px;
}

.choose__item::before {
  content: '';
  top: 50%;
  transform: translateY(-50%);
  background: url(../img/choose-check.svg) center no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
}

.choose__button {
  position: relative;
  border: 1px solid var(--main-color);
  border-radius: 8px;
  padding: 12px 24px;
  width: 136px;
  height: 50px;
  color: var(--main-color);
  font-family: var(--font-family);
  padding-right: 34px;
}

.choose__button:hover {
  background-color: var(--main-color);
  color: var(--background);
}

.choose__button::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: url(../img/choose-arrow.svg) no-repeat center;
  background-size: cover;
  width: 24px;
  height: 24px;
  z-index: 2;
  right: 14px;
}

.download {
  background: var(--main-color);
  position: relative;
}

.download__container {
  max-width: 1440px;
  width: 100%;
  margin-inline: auto;
  position: relative;
  padding: 120px 0 306px;
}

.download::before {
  content: '';
  position: absolute;
  background: url(../img/circle-left.svg) no-repeat center;
  background-size: cover;
  width: 396px;
  height: 430px;
  left: 0;
  bottom: 0;
  z-index: 2;
}

.download::after {
  content: '';
  background: url(../img/circle-right.svg) no-repeat center;
  background-size: cover;
  position: absolute;
  width: 396px;
  height: 430px;
  right: 0;
  top: 0;
  z-index: 2;
}

.download__header {
  text-align: center;
  max-width: 868px;
  margin-inline: auto;
  position: relative;
  z-index: 15;
}
.download__title.title.title-h2 {
  color: var(--background);
  margin-bottom: 24px;
  font-weight: 700;
}
.download__title.title.title-h3 {
  color: var(--background);
  font-weight: 500;
}

.download__subtitle {
  margin-bottom: 60px;
}

.download__image {
  position: absolute;
  bottom: 93px;
  z-index: 10;
}

.download__image.download__image--left {
  left: 0;
}

.download__image.download__image--right {
  right: 0;
}
.footer {
  padding: 177px 0 0;
}

.footer__col.footer__col--logo {
  grid-column: 3 span;
}
.footer__col.footer__col--nav {
  grid-column: 2 span;
}
.footer__col.footer__col--info {
  grid-column: 9 / 4 span;
}

.footer__row {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(189, 189, 189, 0.2);
}

.footer__text.text--gray {
  color: #bdbdbd;
}

.footer__text.text--upper {
  text-transform: uppercase;
}

.footer__button {
  font-weight: 600;
  font-size: 16px;
  color: var(--background);
  padding: 11px 15px 11px 18px;
  border: 1px solid transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 6px;
  z-index: 5;
}

.footer__button:hover {
  border-color: var(--main-color);
  background-color: var(--background);
  color: var(--main-color);
}

.footer__line {
  border: 1px solid rgba(189, 189, 189, 0.2);
  width: 1109px;
  height: 0px;
  margin-bottom: 20px;
}

.footer__copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 0 38px;
}

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

.footer__privacy {
  display: flex;
  gap: 24px;
}

.footer__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__form {
  position: relative;
  margin-bottom: 10px;
}

.footer__input {
  display: block;
  width: 100%;
  padding: 7px 115px 7px 23px;
  border: 1px solid var(--dark);
  border-radius: 8px;
  background: var(--background);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  color: var(--dark);
  min-height: 62px;
}

.footer__input::placeholder {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  color: var(--dark);
}

.footer__title.title.title-h6 {
  margin-bottom: 24px;
}

.footer__text.text.text-l {
  margin-bottom: 18px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* breakpoints default: 1200 - 1440, 991, 768, 460  */

@media (max-width: 1140px) {
  .hero__row {
    flex-direction: column;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
  }

  .hero__left {
    flex-basis: 100%;
  }

  .header__nav {
    gap: 20px;
  }

  .text.text-l {
    font-size: 14px;
  }

  .hero {
    padding: 40px 0;
  }

  .title.title-h1 {
    font-size: 62px;
  }

  /* .button.button-l {
    padding: 10px 35px 10px 20px;
    font-size: 18px;
  } */

  .product::before {
    display: none;
  }

  .product::after {
    display: none;
  }
}

@media (max-width: 991px) {
  .footer__col.footer__col--logo {
    grid-column: 6 span;
  }

  .footer__col.footer__col--nav {
    grid-column: 6 span;
  }

  .footer__col.footer__col--info {
    grid-column: 6 span;
  }
  .hero__title {
    margin-bottom: 15px;
  }

  .hero__text {
    margin-bottom: 15px;
  }

  .brands__row {
    justify-content: space-around;
    row-gap: 40px;
  }

  .cross__row {
    flex-direction: column;
  }

  .cross__left {
  flex-basis: auto;
}

.cross__right {
  flex-basis: auto;
}

  .download::before,
  .download::after,
  .download__image {
    display: none;
  }

  .download__container{
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
  }
  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    width: 100%;
    height: 100dvh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    padding: 50px;
    background-color: var(--main-color);

    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;

    transition:
      transform 0.35s ease,
      opacity 0.3s ease,
      visibility 0s linear 0.35s;
  }
  .download__header {
    padding: 0 15px;
  }

  .header__nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition:
      transform 0.35s ease,
      opacity 0.3s ease,
      visibility 0s;
  }
  .header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    position: relative;
    z-index: 101;
  }

  .header__link {
    color: #fff;
    font-size: 27px;
  }

  .header__request {
    margin-left: auto;
  }

  .header__row {
    padding: 25px 0;
  }

  .button.button-m {
    font-size: 14px;
    white-space: nowrap;
    padding-inline: 10px;
  }

  .hero__info {
    flex-direction: column;
    align-items: flex-start;
  }

  .product {
    padding-top: 25px;
  }

  .brands {
    padding: 40px 0;
  }

  .cross {
    padding: 70px 0;
  }

  .choose {
    padding: 62px 0;
  }

  .support {
    padding: 40px 0;
  }

  .support__column {
    padding: 40px 0;
  }

  .support__column {
    flex-direction: column;
  }

  .support__column:nth-child(2n) {
    flex-direction: column;
  }

  .footer {
    padding: 90px 0 0;
  }
}

@media (max-width: 520px) {
  .button.button-l {
    font-size: 20px;
  }

  .button.button-m {
    font-size: 12px;
  }

  .title.title-h1 {
    font-size: 52px;
  }

  .title.title-h2 {
    font-size: 42px;
  }

  .text.text-xl {
    font-size: 16px;
  }
}

@media (max-width: 460px) {

  
  .button.button-l {
    font-size: 18px;
  }

  .button.button-m {
    font-size: 14px;
    padding: 12px 12px 12px 16px;
  }

  .title.title-h1 {
    font-size: 48px;
  }

  .text.text-xl {
    font-size: 16px;
  }
}

/* .test__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 189, 116, 0.05);
} */
