@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open_sans_light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open_sans_normal.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open_sans_semi-bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open_sans_bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Russo One";
  src: url("../fonts/russo_one.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Play";
  src: url("../fonts/play_normal.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope_normal.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Forum";
  src: url("../fonts/forum_normal.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #b09347;
  --gold-hover: #e2d482;
  --text: #222222;
  --muted: #575252;
  --label: rgb(156, 160, 173);
  --footer: #222222;
  --max: 1170px;
  --overlay: rgba(0, 0, 0, 0.46);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--text);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.site-header--desktop {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  height: 61px;
}

.site-header--mobile {
  display: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 61px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  gap: 16px;
}

.logo img {
  width: 157px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #222;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--gold);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-social a {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
}

.header-social img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  display: block;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  padding: 10px 9px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.burger span {
  display: block;
  height: 2px;
  background: #111;
  margin: 5px 0;
  border-radius: 1px;
}

.hero {
  position: relative;
  min-height: 606px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 127px 20px 160px;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.46;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__brand {
  font-family: "Russo One", Arial, sans-serif;
  font-size: 60px;
  line-height: 100%;
  font-weight: 400;
  margin: 0 0 8px;
}

.hero h1,
.hero__title {
  font-family: Play, Arial, sans-serif;
  font-size: 40px;
  line-height: 140%;
  font-weight: 400;
  margin: 0;
}

.hero--mobile {
  display: none;
}

.hero__chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
  color: #fff;
}

.hero__chevrons svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
  animation: bounce 1.6s ease-in-out infinite;
}

.hero__chevrons svg + svg {
  margin-top: -28px;
  animation-delay: 0.15s;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.section-title {
  font-family: "Russo One", Arial, sans-serif;
  font-size: 40px;
  line-height: 140%;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  margin: 0 0 64px;
}

.services {
  padding: 0;
}

.services__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: -64px;
}

.service-card {
  position: relative;
  flex: 1 1 calc((100% / 3) - 64px);
  max-width: calc((100% / 3) - 64px);
  margin: 64px 0 0 64px;
  min-height: 300px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.services__grid .service-card:nth-child(-n + 3) {
  margin-top: 0;
}

.service-card__image {
  position: absolute;
  inset: 0;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.2s ease-in-out;
  pointer-events: none;
}

.service-card:hover::after {
  background: rgba(0, 0, 0, 0.75);
}

.service-card__body {
  position: relative;
  z-index: 1;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #fff;
}

.service-card__title {
  font-family: Play, Arial, sans-serif;
  font-size: 22px;
  line-height: 140%;
  font-weight: 400;
  margin: 0 0 8px;
  color: #fff;
}

.service-card__btn {
  opacity: 1;
  margin-top: 20px;
  min-width: 120px;
  text-decoration: none;
}

.services--desktop .service-card__title {
  transition: transform 0.2s;
  transform: translateY(100px);
}

.services--desktop .service-card__btn {
  opacity: 0;
  transition: opacity 0.2s, background 0.15s, transform 0.1s;
}

.services--desktop .service-card:hover .service-card__title,
.services--desktop .service-card:focus-within .service-card__title {
  transform: translateY(0);
}

.services--desktop .service-card:hover .service-card__btn,
.services--desktop .service-card:focus-within .service-card__btn {
  opacity: 1;
}

.services--mobile {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1;
  background: var(--gold);
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: 18px 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn:hover {
  background: var(--gold-hover);
}

.btn:active {
  background: var(--gold);
  transform: scale(0.97);
}

.consult {
  padding: 48px 0 55px;
  background: #fff;
}

.consult__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.consult__text {
  font-family: Play, Arial, sans-serif;
  font-size: 30px;
  line-height: 140%;
  color: var(--muted);
  margin: 0;
}

.parallax {
  height: 562px;
  background: url("../img/about-parallax.jpg") 50% 0 / cover no-repeat;
  background-attachment: fixed;
}

.about {
  padding: 48px 0 23px;
  background: #fff;
}

.about__logo {
  display: block;
  width: 540px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 24px;
}

.about__divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 28px;
  border: 0;
}

.about__text {
  font-family: Manrope, Arial, sans-serif;
  font-size: 18px;
  line-height: 140%;
  max-width: 1170px;
  margin: 0 auto 21px;
}

.why {
  padding: 0;
}

.why .section-title {
  margin-bottom: 64px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 32px;
}

.prop-card {
  position: relative;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.16);
  padding: 48px 28px 28px;
  min-height: 216px;
}

.prop-card__icon {
  position: absolute;
  top: calc(-12px - 20px);
  left: 32px;
  width: 64px;
  height: 64px;
  background: #f4f4f4;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prop-card__icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.prop-card h3 {
  font-family: Play, Arial, sans-serif;
  font-size: 22px;
  line-height: 140%;
  font-weight: 400;
  color: #222;
  margin: 0;
}

.gallery-section {
  padding: 40px 0 64px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery__item {
  flex: 0 1 calc(100% / 5);
  max-width: calc(100% / 5);
  height: calc((1100px / 5) * 1.333333333);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: #f4f4f4;
}

.gallery--reviews .gallery__item {
  flex: 0 1 calc(100% / 5);
  max-width: calc(100% / 5);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.3s ease all;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transition: 0.3s ease all;
}

.gallery__item:hover::after {
  background: rgba(27, 27, 27, 0.51);
}

.partners {
  padding: 40px 0 60px;
  background: #fff;
}

.partners__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
}

.partners__grid img {
  max-height: 72px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(0);
}

.wave {
  display: block;
  width: 100%;
  height: 83px;
  color: var(--footer);
}

.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.contacts {
  background: var(--footer);
  color: #fff;
  padding: 0;
  height: 501px;
  position: relative;
  overflow: hidden;
}

.contacts .wrap {
  position: relative;
  height: 501px;
  max-width: 1170px;
  padding: 0;
}

.contacts__title {
  position: absolute;
  top: 70px;
  left: 47px;
  width: 400px;
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
}

.contacts__cols {
  position: absolute;
  top: 198px;
  left: 53px;
  display: grid;
  grid-template-columns: 280px 317px;
  column-gap: 29px;
  width: 626px;
}

.contacts dl {
  margin: 0;
}

.contacts dt {
  color: var(--label);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  margin: 0 0 8px;
}

.contacts dd {
  margin: 0 0 28px;
  font-family: Play, Arial, sans-serif;
  font-size: 16px;
  line-height: 140%;
}

.contacts a {
  color: #fff;
}

.contacts a:hover {
  color: var(--gold-hover);
}

.contacts__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contacts__badge {
  position: absolute;
  top: 78px;
  left: 742px;
  width: 344px;
  height: 344px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts__circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
  background: var(--gold);
}

.contacts__handset {
  position: relative;
  z-index: 1;
  height: 92%;
  width: calc(92% * 681 / 1389);
  flex-shrink: 0;
  overflow: hidden;
}

.contacts__photo {
  position: absolute;
  display: block;
  z-index: 1;
  pointer-events: none;
  max-width: none;
  width: calc(100% * 1500 / 681);
  height: calc(100% * 1700 / 1389);
  left: calc(100% * -404 / 681);
  top: calc(100% * -150 / 1389);
}

.contacts__circle-phone {
  position: absolute;
  top: 13.5%;
  left: 50%;
  width: 84%;
  max-width: 84%;
  z-index: 2;
  pointer-events: auto;
  font-family: Play, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transform: translateX(-50%);
}

.contacts__social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  pointer-events: auto;
}

.contacts__social img {
  width: 40px;
  height: 40px;
  display: block;
}

.float-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
}

.float-bar__inner {
  display: flex;
  justify-content: space-around;
  padding: 8px 12px 10px;
}

.float-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #222;
}

.float-bar img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 2px;
}

.scroll-up {
  display: none;
  position: fixed;
  right: 22px;
  bottom: 44px;
  width: 70px;
  height: 70px;
  z-index: 100;
  background: rgba(176, 147, 71, 0.92);
  color: #fff;
  border: 0;
  cursor: pointer;
  text-align: center;
  opacity: 0.9;
}

.scroll-up.is-visible {
  display: block;
}

.scroll-up svg {
  width: 38%;
  display: block;
  margin: 15% auto 3%;
  fill: currentColor;
}

.scroll-up span {
  font-size: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 88vh;
  object-fit: contain;
  background: #fff;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 150px;
  background: #f4f4f4;
  color: #1d1d1d;
  border: 0;
  cursor: pointer;
  box-shadow: 0 0 20px rgb(0 0 0 / 30%);
  opacity: 0.85;
}

.lightbox__prev {
  left: 16px;
}

.lightbox__next {
  right: 16px;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1169px) {
  .contacts {
    height: auto;
    overflow: visible;
    padding: 40px 0 48px;
  }
  .contacts .wrap {
    height: auto;
    padding: 0 32px;
  }
  .contacts__title {
    position: static;
    width: auto;
  }
  .contacts__cols {
    position: static;
    width: auto;
    max-width: 680px;
    margin-top: 28px;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
  .contacts__visual {
    position: relative;
    height: 340px;
    margin-top: 8px;
  }
  .contacts__badge {
    top: 16px;
    left: 0;
    right: 0;
    width: 276px;
    height: 276px;
    margin: 0 auto;
  }
  .contacts__circle-phone {
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 12px;
  }
  .nav a {
    font-size: 13px;
  }
}

@media (max-width: 700px) {
  .site-header--desktop .nav {
    gap: 6px;
  }
  .site-header--desktop .nav a {
    font-size: 11px;
  }
  .site-header--desktop .logo img {
    width: 120px;
  }
  .header-social {
    gap: 6px;
  }
}

@media (max-width: 500px) {
  .services--desktop {
    display: none;
  }
  .services--mobile {
    display: block;
  }
  .site-header--desktop {
    display: none;
  }
  .site-header--mobile {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    z-index: 110;
  }
  .site-header--mobile .site-header__inner {
    height: 50px;
    justify-content: flex-end;
    padding: 4px 10px;
    max-width: none;
  }
  .site-header--mobile .burger {
    display: block;
  }
  .site-header--mobile .nav {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    gap: 0;
  }
  .site-header--mobile .nav.is-open {
    display: flex;
  }
  .site-header--mobile .nav a {
    padding: 12px 24px;
    font-size: 16px;
  }
  .hero--desktop {
    display: none;
  }
  .hero--mobile {
    display: flex;
    min-height: 217px;
    height: 217px;
    padding: 24px 16px;
  }
  .hero--mobile .hero__brand {
    font-size: 32px;
    line-height: 1;
    margin: 0 0 4px;
  }
  .hero--mobile .hero__title {
    font-size: 18px;
    line-height: 140%;
  }
  .hero--mobile .hero__chevrons {
    margin-top: 8px;
  }
  .hero--mobile .hero__chevrons svg {
    width: 32px;
    height: 32px;
  }
  .wrap {
    padding: 0 20px;
  }
  .section-title {
    font-size: 28px;
    margin-bottom: 32px;
  }
  .why .section-title {
    margin-bottom: 32px;
  }
  .prop-card {
    min-height: 208px;
  }
  .services__grid {
    margin-left: 0;
  }
  .service-card {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 24px 0 0;
    min-height: auto;
  }
  .services__grid .service-card:nth-child(-n + 3) {
    margin-top: 24px;
  }
  .services__grid .service-card:first-child {
    margin-top: 0;
  }
  .service-card__body {
    min-height: 220px;
  }
  .service-card__title {
    transform: none;
  }
  .service-card__btn {
    opacity: 1;
  }
  .consult__inner {
    flex-direction: column;
    text-align: center;
  }
  .consult__text {
    font-size: 22px;
  }
  .about {
    padding: 54px 0 16px;
  }
  .about .wrap {
    padding: 0 30px;
  }
  .about .section-title {
    margin-bottom: 0;
    font-size: 29px;
  }
  .about__logo {
    margin: 20px auto 0;
  }
  .about__divider {
    margin: 20px auto 0;
  }
  .about__text {
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 140%;
  }
  .parallax {
    height: 280px;
    background-attachment: scroll;
  }
  .why__grid {
    grid-template-columns: 1fr;
  }
  .gallery__item,
  .gallery--reviews .gallery__item {
    flex: 0 1 50%;
    max-width: 50%;
    height: 220px;
  }
  .contacts {
    padding: 24px 0 40px;
  }
  .contacts .wrap {
    padding: 0 10px;
  }
  .contacts__cols {
    margin-top: 20px;
    column-gap: 16px;
  }
  .contacts dd {
    margin-bottom: 16px;
  }
  .contacts__visual {
    height: 292px;
  }
  .contacts__badge {
    top: 8px;
    width: min(236px, 78vw);
    height: min(236px, 78vw);
  }
  .contacts__circle-phone {
    font-size: 12px;
  }
  .float-bar {
    display: block;
  }
  .scroll-up {
    bottom: 100px;
    right: 12px;
    width: 48px;
    height: 48px;
  }
  body.has-float-bar {
    padding-bottom: 72px;
  }
}

@media (max-width: 500px) {
  .logo img {
    width: 120px;
  }
  .why__grid {
    gap: 24px;
  }
}
