/* FONT */

* {
  margin: 0;
  border: 0;
  padding: 0;
}

body {
  color: var(--white);
  background-color: var(--white);
  font-family: Telegraf;
}

body.menu-open {
  overflow: hidden;
}

/* PINNED BUTTON */

.pinned-button {
  position: fixed;
  bottom: 38px;
  right: 16px;
  z-index: 20;
}

@media screen and (max-width: 768px) {
  .pinned-button {
    left: 8px;
    right: 8px;
    width: calc(100% - 16px);
    bottom: 20px;
  }
  .pinned-button .button {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .pinned-button .button::after {
    opacity: 0;
  }
}

/* MARQUEE */
.header__marquee {
  height: 44px;
  display: flex;
  align-items: center;
  background-color: var(--red);
  color: var(--white);
}

/* HEADER */
:root {
  --header-height: 92px;
}
header {
  height: var(--header-height);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--white);
  z-index: 3;
  position: relative;
  transition: background-color .5s ease-in-out;
}

body:not(.has-hero) header {
  border-bottom: 1px solid var(--grey);
}
body:not(.has-hero) {
  color: var(--black);
}
body.has-hero .not-hero {
  display: none;
}
body.menu-open .not-hero {
  display: none;
}
body:not(.has-hero):not(.menu-open) .header-logo:not(.not-hero) {
  display: none;
}

body.menu-open header {
  background-color: var(--red);
}

.header__left {
  display: flex;
  align-items: center;
  gap: 60px;
}

.header-logo {
  height: 32px;
}

header ul {
  display: flex;
  gap: 29px;
}

header .parent-section {
  margin-right: 12px;
}
header .parent-section::after {
  content: '';
  width: 9px;
  height: 8px;
  background-image: url('../svg/arrow_down.svg');
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  right: -13px;
  transform: translateY(-60%);
}
body:not(.has-hero) header .parent-section::after {
  background-image: url('../svg/arrow_down_negative.svg');
}

body.has-hero header .section a:not(.subsection) {
  color: var(--white);
}
body:not(.has-hero) header .section a:not(.subsection) {
  color: var(--black);
}


#mobile-menu {
  height: calc(100vh - (var(--header-height) + var(--marquee-height)));
  top: calc(var(--header-height) + var(--marquee-height));
  width: 100vw;
  padding: 20px 16px;
  display: none;
  position: absolute;
  left: 0;
  background-color: var(--white);
  color: var(--black);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  transition: clip-path .5s ease-in-out;
  overflow: hidden;
}

#mobile-menu.open {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.mobile-sections {
  flex-direction: column;
}
.mobile-sections a {
  color: var(--black);
}
.mobile-subsections {
  flex-direction: column;
  margin-top: 32px;
}

#mobile-menu .mobile-section {
  color: var(--red);
  border-bottom: var(--grey) solid 1px;
  padding-bottom: 16px;
  width: 100%;
  display: block;
  font-weight: bold;
}
#mobile-menu .mobile-subsection {
  border-bottom: var(--grey) solid 1px;
  padding-bottom: 16px;
}

@media screen and (max-width: 768px) {
  #mobile-menu {
    display: flex;
    width: 100%;
    top: calc(var(--header-height) + var(--marquee-height) - 44px);
  }
  header .parent-section::before {
    --size: 0px;
  }
  .mobile-sections {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 20vh;
  }
}

#nav-icon {
  margin-block-start: 12px;
  width: 32px;
  height: 32px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;
  background: var(--white);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

body:not(.has-hero):not(.menu-open) #nav-icon span {
  background: var(--red);
}

#nav-icon span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(2) {
  top: 8px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(3) {
  top: 16px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 4px;
}

#nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 19px;
  left: 4px;
}

.child-sections {
  background-color: var(--white);
  padding: 0px 16px;
  border-radius: var(--border-radius-m);
  color: var(--black);
  gap: 12px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  position: absolute;
  top: 30px;
  max-height: 0px;
  transition: all .3s;
  overflow: hidden;
}

.subsection {
  border-bottom: var(--grey) solid 1px;
  padding-bottom: 12px;
  color: var(--black);
}

.subsection:hover {
  color: var(--red);
}

.parent-section:hover .child-sections {
  max-height: 300px;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .child-sections {
    display: none;
  }
}




/* HERO MODULE */

.hero {
  width: 100%;
  height: 90vh;
  margin-top: calc(-1 * var(--header-height));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  padding: 32px 28px;
  position: relative;
}

.hero__veil {
  background: linear-gradient(179.97deg, rgba(0, 0, 0, 0.08) 51.95%, rgba(0, 0, 0, 0.8) 99.98%),
linear-gradient(360deg, rgba(0, 0, 0, 0) 69.77%, rgba(0, 0, 0, 0.6) 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  z-index: 1;
  gap: 40px;
  position: relative;
}

.hero__title-wrapper {
  width: 50%;
}

.hero__pretitle {
  margin-bottom: 16px;
}

.hero__map {
  width: 294px;
  height: 196px;
  border-radius: var(--border-radius-m);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero__map-img {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -2;
  object-fit: cover;
  transition: .3s ease-in-out transform;
}

.hero__map:hover .hero__map-img {
  transform: scale(1.14);
}

.hero__map-text {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: calc(100% - 16px * 2);
}

.hero__map-veil {
  background: linear-gradient(180deg, rgba(22, 23, 24, 0) 44.12%, #161718 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero__map-expand-icon {
  background-color: #16171880;
  border-radius: 50%;
  padding: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 16px;
  left: 16px;
}

.hero__map-expand-icon img {
  height: 16px;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .hero__content {
    flex-direction: column;
  }
  .hero__title-wrapper {
    width: 100%;
  }
  .hero__map {
    width: 100%;
  }
}


/* CAROUSEL SERVICES */

.carousel-services {
  width: 100%;
  padding: 30px 28px;
}

.carousel-services__wrapper {
  height: 320px;
}

.carousel-services__card {
  background-color: var(--red);
  border-radius: var(--border-radius-s);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  height: 100%;
}

.carousel-services__title {
  width: 70%;
}

.carousel-services__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}

.carousel-services__description {
  color: var(--black);
  width: 55%;
}

.carousel-services__number-square {
  width: 52px;
  height: 52px;
  border: 1px solid var(--white);
  border-radius: var(--border-radius-s);
}

.carousel-services__number {
  margin-bottom: -2px;
  margin-left: -1px;
}

.swiper-pagination__wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.swiper-pagination {
  position: relative;
  max-width: 400px;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background-color: var(--red);
}

@media screen and (max-width: 768px) {
  .carousel-services__title {
    width: 100%;
  }
  .carousel-services__description {
    width: 100%;
  }
  .swiper-pagination {
    max-width: 215px;
  }
}


/* LIST SERVICES */

.list-services {
  display: flex;
  flex-direction: column;
  padding: 0px 30px 40px;
}

.list-services__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 50%;
  padding-bottom: 36px;
  width: 100%;
  border-bottom: 1px solid var(--grey);
}

.list-services__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.list-services__item {
  display: grid; 
  grid-template-columns: 1fr 1fr 50%; 
  gap: 0px 0px;
  padding: 23px 0px;
  border-bottom: 1px solid var(--grey);
}

.list-services__description-wrapper {
  width: 80%;
}

.list-services__description-wrapper p {
  margin-top: 16px;
}

.list-services__icon {
  width: 200px;
}

@media screen and (max-width: 768px) {
  .list-services__header {
    padding-left: 0%;
  }
  .list-services__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .list-services__icon {
    width: 180px;
    margin: 20px auto;
  }
}

/* ARTICLE */

.article__title {
  grid-area: title;
}
.article__image {
  grid-area: image;
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-m);
  overflow: hidden;
}

.article__side p {
  margin-top: 16px;
}

.article__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  grid-area: side;
}

.article__side .button {
  width: min-content;
}

/* img right */
.article {
  position: relative;
  padding: 0 28px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 32px;
  grid-auto-flow: row;
  grid-template-columns: 1fr 3fr;
  grid-template-areas:
    ". title"
    "side image";
}

/* img left */
.article.right-style {
  grid-template-columns: 3fr 1fr;
  grid-template-areas:
    "title ."
    "image side";
}

/* img full */
.article.img-as-bg {
  grid-template-columns: 3fr 1fr;
  grid-template-areas:
    "title side"
    ". side";
  height: 40vw;
  padding: 32px;
}
.article.img-as-bg .article__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article.img-as-bg .article__title, .article.img-as-bg .article__side {
  z-index: 2;
}

.article__veil {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  opacity: .2;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .article {
    padding: 0 16px;
  }
  .article, .article.right-style {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .article.img-as-bg {
    height: unset;
    gap: 243px;
  }

  .article:not(.img-as-bg) .article__image {
    aspect-ratio: 1 / 1;
  }
}

/* CTA */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.cta__pretitle {
  margin-bottom: 16px;
  max-width: 360px;
}

.cta__title {
  margin-bottom: 48px;
  max-width: 860px;
}

.cta__subtitle {
  margin-bottom: 20px;
  max-width: 440px;
}

.cta__img {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: var(--border-radius-s);
  overflow: hidden;
  z-index: -1;
}

.cta__img1 {
  top: 40%;
  left: 20%;
}
.cta.error-404 .cta__img1 {
  top: 80%;
}
.cta__img2 {
  top: 0%;
  right: 20%;
}

@media screen and (max-width: 768px) {
  .cta__img {
    display: none;
  }
  .cta__title {
    margin-bottom: 36px;
  }
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 0 28px;
}

.faq__description {
  padding-left: 310px;
  max-width: 630px;
}

.faq__main-block {
  display: flex;
}

.faq__title {
  min-width: 310px;
  max-width: 310px;
  padding-right: 28px;
}


.tab {
  position: relative;
  border: 1px solid var(--grey);
  border-radius: var(--border-radius-m);
  margin-bottom: 8px;
}
.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
}
.tab input:checked ~ .tab__content {
  max-height: 40rem;
}

/* Visual styles */
.accordion {
  overflow: hidden;
}

.tab__label {
  transition: background-color .3s ease;
}

input[type="checkbox"]:not(:checked) + .tab__label:hover {
  background-color: var(--grey);
}

.tabs__title-wrapper {
  display: flex;
  gap: 50px;
  align-items: center;
}
.tab__label,
.tab__close {
  display: flex;
  cursor: pointer;
  align-items: center;
}
.tab__label {
  justify-content: space-between;
  padding: 28px 20px;
}
.tab__label::after {
  content: "";
  display: inline-block;
  color: var(--red);
  width: 1em;
  height: 1em;
  text-align: center;
  background-image: url('../svg/arrow_faqs.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
  transition: all 0.35s;
}
.tab input:checked + .tab__label::after {
  transform: rotate(0deg);
}
.tab__content p {
  margin: 0;
  padding: 20px;
}
.tab__close {
  justify-content: flex-end;
  padding: 0.5rem 1rem;
}

@media screen and (max-width: 768px) {
  .faq {
    padding: 0 16px;
  }

  .faq__main-block {
    flex-direction: column;
    gap: 24px;
  }

  .faq__description {
    padding-left: 0px;
  }

  .faq__title {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}

/* SPACE */

.space {
  position: relative;
  width: 100%;
}

.space-xl {
  height: 120px;
}
.space-m {
  height: 60px;
}
.space-s {
  height: 30px;
}

@media screen and (max-width: 768px) {
  .space-xl {
    height: 80px;
  }
}

/* NEWS CAROUSEL */

.latest-news__carousel {
  padding: 28px 28px 0;
}

.latest-news__carousel-wrapper {
  height: 500px;
}

.latest-news__header {
  padding: 0 28px;
  gap: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.latest-news__slide {
  display: flex;
  flex-direction: column;
}

.latest-news__slide-img {
  height: 360px;
  margin-bottom: 20px;
  border-radius: var(--border-radius-s);
  overflow: hidden;
  object-fit: cover;
  width: 100%;
}

.latest-news__categories {
  margin-bottom: 12px;
}

@media screen and (max-width: 768px) {
  .latest-news__carousel-wrapper {
    height: 280px;
    margin-bottom: 16px;
  }
  .latest-news__carousel {
    padding: 28px 16px 0;
  }
  .latest-news__header {
    padding: 0 16px;
  }
  .latest-news__categories {
    margin-bottom: 8px;
  }
}

/* BLOG */

.blog__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 60px 28px 70px;
}

.blog__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  max-width: 300px;
}

.blog__img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-m);
  overflow: hidden;
}

.blog__grid {
  padding: 0px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 48px 16px; 
}

.blog__item-img {
  width: 100%;
  aspect-ratio: 0.8;
  object-fit: cover;
  border-radius: var(--border-radius-s);
  overflow: hidden;
  margin-bottom: 20px;
}

.blog__pagination {
  width: 100%;
  margin-top: 60px;
  padding: 0 16px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.page-numbers.current {
  color: var(--red);
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .blog__header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 16px 70px;
  }
  .blog__info {
    max-width: unset;
  }
  .blog__grid {
    padding: 0px 16px;
    grid-template-columns: 1fr 1fr;
  }
}


/* SINGLE */

.single__header {
  display: flex;
  flex-direction: column;
  max-width: 604px;
  margin: 60px auto;
  padding: 0 16px;
}

.single__date {
  margin-bottom: 8px;
  text-transform: uppercase;
}
.single__title {
  margin-bottom: 38px;
}
.single__header-img {
  border-radius: var(--border-radius-s);
  overflow: hidden;
  width: 100%;
}
.single__header-map {
  border-radius: var(--border-radius-s);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.single__body {
  background-color: var(--grey);
  padding: 180px 16px 0px;
  margin-top: -170px;
}

.single__body.no-negative-margin {
  padding-top: 30px;
  margin-top: 0px;
}

.single__body-content {
  max-width: 604px;
  margin: 0 auto;
  line-height: 1.3 !important;
}

.single__body-content img {
  width: 100%;
  border-radius: var(--border-radius-s);
  overflow: hidden;
  height: unset;
  object-fit: cover;
}

.single__body-content p,
.single__body-content h1,
.single__body-content h2,
.single__body-content h3,
.single__body-content h4,
.single__body-content h5,
.single__body-content h6 {
  margin-bottom: 34px;
}
.single__body-content h1,
.single__body-content h2,
.single__body-content h3,
.single__body-content h4,
.single__body-content h5,
.single__body-content h6 {
  margin-top: 30px;
}

.single__body-content li {
  margin-bottom: 12px;
}

.single__body-content ul {
  margin-bottom: 34px;
}


/* GALLERY */

.gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 28px;
  width: 100%;
}

.gallery__row {
  display: grid;
  width: 100%;
  gap: 16px;
}

.style-left {
  grid-template-columns: 2fr 1fr 1fr;
}
.style-center {
  grid-template-columns: 1fr 2fr 1fr;
}
.style-right {
  grid-template-columns: 1fr 1fr 2fr;
}

.gallery__row img {
  border-radius: var(--border-radius-s);
  overflow: hidden;
  object-fit: cover;
  width: 100%;
  height: 300px;
}


@media screen and (max-width: 768px) {
  .gallery {
    padding: 0 16px;
    gap: 12px;
  }
  .gallery__row {
    gap: 12px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
    "main main"
    ". ."; 
  }
  .style-left img:nth-of-type(1), .style-center img:nth-of-type(2), .style-right img:nth-of-type(3) {
    grid-area: main;
  }
}

/* ZONES */

.zones {
  width: 100%;
  padding: 0 28px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.zone {
  height: 200px;
  border: 1px solid var(--grey);
  border-radius: var(--border-radius-s); 
  color: var(--black);
  padding: 20px;
  position: relative;
  transition: .3s ease background-color
}
.zone:hover {
  background-color: var(--grey);
}

.zone__arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

@media screen and (max-width: 768px) {
  .zones {
    padding: 0 16px;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }
}












/* FOOTER */

footer {
  margin: 120px 22px 0px;
  border-radius: var(--border-radius-s);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer__top ul li::before {
  display: none;
}
.footer__top ul li {
  padding-left: 0px;
}

.footer__logo {
  height: 40px;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.footer__socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social {
  height: 40px;
  width: 40px;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.social__img {
  height: 20px;
  transition: transform .2s ease;
}

.social:hover .social__img {
  transform: scale(.8);
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.footer__link-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__marquee {
  height: 55px;
  display: flex;
  align-items: center;
  color: var(--black);
  margin: 20px 0px 20px;
}


@media screen and (max-width: 768px) {
  footer {
    margin: 80px 16px 0px;
    gap: 36px;
    padding: 28px 16px;
  }

  .footer__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer__bottom {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    align-items: start;
  }

  .footer__marquee {
    margin: 12px 0px 64px;
  }
}