.header__info-block {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
  z-index: 100;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  font-family: "Involve_regular", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.06rem;
  color: var(--color-light);
}

.header__hero {
  position: relative;
  width: 100%;
  height: 43.75rem;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  border-radius: 0 0 6vh 6vh;
  background-image: url("../images/index/slider/nouvier.webp");
}

@media (max-width: 768px) {
  .header__hero {
    background-image: url("../images/index/slider/nouvier_tablet.webp");
  }
}

@media (max-width: 480px) {
  .header__hero {
    background-image: url("../images/index/slider/nouvier_mobile.webp");
  }
}

.header__hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
  border-radius: 0 0 6vh 6vh;
}

div.header__info-block h1 {
  font-size: 3.75rem;
  color: white;
  margin-bottom: 0;
}

.header__info-block button {
  margin-top: 1.25rem;
  margin-left: 0;
}

.header__info-p {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.06rem;
  margin-bottom: 0;
}

.header__info-express {
  padding-top: 1.5rem;
  max-width: 20.6rem;
  color: var(--color-light-gray);
  font-family: "Involve_regular", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.56px;
}

.header__button {
  background-color: var(--color-red);
  color: var(--color-light);
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  border-radius: 6.25rem;
  width: 9.5rem;
  padding: 0.75rem 1.5rem;
  margin-left: 3vw;
  transition: background-color 0.3s ease-in-out;
}

.header__button:hover {
  background-color: var(--color-light-red);
}

.contents__wrapper {
  padding: 3.25rem 6.25rem 8.75rem 6.25rem;
}

/* Return button */
.return {
  font-size: 18px;
  color: #c4c4c4;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}

.return:hover {
  text-decoration: underline;
  color: #787878;
}

.contents__title {
  text-align: right;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: var(--color-light);
}

.contents {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  flex-wrap: wrap;
  flex-direction: row;
}

.contents__column {
  display: flex;
  flex-direction: column;
  width: 43%;
}

.contents__item {
  font-size: 1rem;
  color: var(--color-light);
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 2rem;
  padding: 0.5rem 0 1rem 0;
  letter-spacing: -0.045rem;
}

.contents__index {
  color: #c4c4c4;
  white-space: nowrap;
  margin-right: 1.75rem;
  font-size: 1.125rem;
}

.contents__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #c4c4c4;
  border-radius: 0.5px;
}

.tiles__block {
  background-color: #f5f5f7;
  padding: 6.25rem 6.25rem 7.5rem 6.25rem;
  border-radius: 3.75rem;
}

.tiles__container {
  display: flex;
  gap: 1rem;
  list-style: none;
  justify-content: center;
}

.tile {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.25rem 3.75rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--color-dark);
  color: var(--color-dark);
  transition: all 0.3s ease;
  min-height: 17.3rem;
  max-width: 36rem;
}

.tile_index {
  align-self: flex-start;
  font-size: 1.125rem;
}

.tile_text {
  align-self: flex-start;
  font-size: 1.125rem;
  letter-spacing: -0.03rem;
  margin-top: auto;
  margin-bottom: 0;
}

.tile:hover {
  background-color: #a71f2d;
  color: #fff;
  border-color: #fff;
}

.tiles__block-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 3.75rem;
}

.tiles__block-text {
  max-width: 40%;
  text-align: left;
  font-size: 1.125rem;
  color: var(--color-light-gray);
  letter-spacing: -0.045rem;
}

.tiles__block-header h2.tiles__block-text {
  color: var(--color-dark);
  white-space: nowrap;
  font-weight: bold;
}

/* Блок дополнительные услуги */
.services__block {
  padding: 6.25rem 6.25rem 11.25rem 6.25rem;
  color: var(--color-light);
  background-color: unset;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.services__block__container {
  min-width: 52rem;
}

h2.services__title {
  font-size: 2.25rem;
  margin-bottom: 3.75rem;
  max-width: 22rem;
  text-align: left;
  align-self: flex-start;
  color: var(--color-light);
  letter-spacing: -0.09rem;
}

.foldable__list {
  width: 100%;
}

.foldable__item {
  width: 100%;
  padding-bottom: 0.5rem;
  /* Moving underline */
  border-bottom: 1px solid var(--color-light-gray);
  margin-bottom: 1rem;
  transition: padding-bottom 0.5s ease;
}

.foldable__item-header {
  letter-spacing: -0.045rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
  transition: 0.1s ease-in-out;
}

.foldable__item-header:hover {
  opacity: 0.7;
}

.foldable__item-header-title {
  font-size: 1.5rem;
  text-align: left;
}

.foldable__item-header-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.foldable__item-header-info {
  margin-right: 2rem;
  font-size: 1.5rem;
}

.foldable__item-toggle {
  font-size: 1.5rem;
  transition: transform 0.5s ease;
}

.foldable__item.active .foldable__item-toggle {
  transform: rotate(45deg);
}

.foldable__item-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.foldable__item.active {
  padding-bottom: 1rem;
}

.foldable__item.active .foldable__item-body {
  max-height: 200px;
  opacity: 1;
}

.foldable__item-body-title {
  font-size: 1.125rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.foldable__item-body-list {
  font-size: 1.125rem;
  padding-left: 1.5rem;
  margin: 0;
  list-style-type: disc;
}

.foldable__item-body-list li {
  font-size: 1.125rem;
  letter-spacing: -0.045rem;
  margin-bottom: 0.5rem;
  color: var(--color-light-gray);
}

.foldable__item-body-list li:last-child {
  margin-bottom: 0;
}

@media (min-width: 1900px) {
  .return {
    font-size: 1.5rem;
  }

  .contents__item {
    font-size: 1.5rem;
    letter-spacing: -0.03rem;
  }

  h2.contents__title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1700px) {
  .tiles__block-text {
    max-width: 25%;
  }
}

@media (min-width: 1600px) {
  .tile_text,
  .tile_index {
    font-size: 1.4rem;
  }
}

@media (max-width: 1150px) {
  .contents__wrapper {
    padding: 3.25rem 3rem 8.75rem 3rem;
  }

  .contents__index {
    margin-right: 1rem;
    font-size: 1rem;
  }

  .contents__item {
    font-size: 0.85rem;
    letter-spacing: -0.03rem;
  }
}

@media (max-width: 1050px) {
  .services__block {
    padding: 5rem 2rem 7.5rem 2rem;
  }

  .services__block__container {
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 890px) {
  .contents__wrapper {
    padding: 3.25rem 2rem 8.75rem 2rem;
  }

  .contents__column {
    width: 47%;
  }

  .tiles__block {
    padding: 6.25rem 2rem 6.25rem 2rem;
  }

  .tile {
    padding: 1.25rem 0.75rem 1.5rem 0.75rem;
    min-height: 13.87rem;
  }

  .tile_text {
    font-size: 1rem;
  }

  .tile_index {
    font-size: 1rem;
  }

  .foldable__item-header-info {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .header__hero {
    height: 31.3rem;
  }

  div.header__info-block h1 {
    font-size: 1.75rem;
    margin-bottom: 0;
    letter-spacing: -0.07rem;
    text-transform: uppercase;
    margin-top: 4rem;
  }

  .header__info-p {
    font-size: 1rem;
    letter-spacing: -0.04rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .header__info-block button {
    margin-top: 0.75rem;
    width: 15.75rem;
    height: 3.5rem;
  }

  .contents__wrapper {
    padding: 3.25rem 2rem 5rem 2rem;
  }

  .contents__item {
    font-size: 0.7rem;
    letter-spacing: -0.03rem;
    padding: 0.5rem 0 1.25rem 0;
  }

  .contents__index {
    margin-right: 0.75rem;
  }

  .tiles__block-header {
    margin-bottom: 2.5rem;
  }

  .tiles__block-text {
    max-width: 50%;
  }

  h2.tiles__block-text {
    font-size: 1.75rem;
  }

  p.tiles__block-text {
    font-size: 1.125rem;
  }

  .services__block {
    padding: 4rem 2rem 6rem 2rem;
  }

  h2.services__title {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .foldable__item-header-title,
  .foldable__item-header-info,
  .foldable__item-toggle {
    font-size: 1.25rem;
  }

  .foldable__item-header-info {
    margin-right: 4.25rem;
    text-align: end;
  }

  .foldable__item {
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .foldable__item-header:hover {
    opacity: unset;
  }
}

@media (max-width: 710px) {
  .foldable__item-header-title,
  .foldable__item-header-info,
  .foldable__item-toggle {
    font-size: 1.15rem;
  }
}

@media (max-width: 650px) {
  .contents {
    flex-direction: column;
    align-items: center;
  }

  .contents__item {
    font-size: 1rem;
  }

  .contents__wrapper h2 {
    font-size: 1.75rem;
  }

  .contents__column {
    width: 100%;
  }

  .tiles__container {
    flex-direction: column;
  }

  .tile_text,
  .tile_index {
    font-size: 1.25rem;
  }

  .foldable__item-header-title,
  .foldable__item-header-info,
  .foldable__item-toggle {
    margin-top: 0.25rem;
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  .contents__item {
    font-size: 0.75rem;
    text-wrap: wrap;
  }

  .services__block {
    padding: 2.5rem 1rem 4rem 1rem;
  }

  h2.services__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }

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

  .foldable__item-header-content {
    width: 100%;
    justify-content: space-between;
    margin-top: 0.25rem;
  }

  .foldable__item-body-title,
  .foldable__item-body-list {
    font-size: 0.875rem;
  }

  .header__hero {
    height: 21.25rem;
  }
}

@media (max-width: 490px) {
  .services__block__container > h2.services__title {
    max-width: 10rem;
    font-size: 1.75rem;
  }
}

@media (max-width: 430px) {
  .header__info-express {
    font-size: 0.75rem;
  }

  .header__info-block {
    left: 5%;
  }

  .tiles__block {
    padding: 2.5rem 1rem 2.5rem 1rem;
    border-radius: 2rem;
  }

  .tile {
    padding: 1rem 1.16rem 1.26rem 1.16rem;
    min-height: 10.5rem;
  }

  .tile_text,
  .tile_index {
    font-size: 1rem;
  }

  .tiles__block-header {
    margin-bottom: 1.5rem;
  }

  h2.tiles__block-text {
    font-size: 1.375rem;
  }

  p.tiles__block-text {
    font-size: 0.75rem;
  }

  .foldable__item-header-info {
    margin-right: 1rem;
    text-align: left;
  }

  .foldable__item-body-list li {
    font-size: 0.75rem;
  }
}
