:root {
  --fluid-spacer: 0.052vw;
  --base-size: calc(16 * var(--fluid-spacer));
  --container-size: 100%;
  --container-padding: 7.5rem;
}

@media screen and (max-width: 1240px) {
  :root {
    --fluid-spacer: 0.3125vw;
    --container-padding: 1.25rem;
  }
}
html {
  font-size: var(--base-size);
}

body {
  font-family: "Futura PT", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

body.no-scroll {
  touch-action: none;
  overflow: hidden;
}

.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url("../../images/page-bg.webp") center center/cover no-repeat;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 1;
}
.page-bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.page-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  overflow: hidden;
}

.container {
  max-width: calc(var(--container-size) + 2 * var(--container-padding));
  width: 100%;
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

.content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.content__wrapper {
  flex-grow: 1;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 1240px) {
  .content__wrapper {
    padding: 1rem 0;
  }
}
.content__wrapper .container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.content__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  flex-grow: 1;
  position: relative;
}
@media screen and (max-width: 1240px) {
  .content__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.logo__img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.header {
  padding: 1rem 0;
}
.header__logo {
  width: 10.625rem;
}
@media screen and (max-width: 1240px) {
  .header__logo {
    width: 4rem;
  }
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media screen and (max-width: 1240px) {
  .header__row {
    flex-direction: column;
    justify-content: center;
  }
}
.header-nav {
  max-width: 50rem;
  width: 100%;
}
.header-nav--mobile {
  display: none;
}
@media screen and (max-width: 1240px) {
  .header-nav {
    display: none;
  }
  .header-nav--mobile {
    display: block;
  }
}
.header-list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media screen and (max-width: 1240px) {
  .header-list {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}
.header-list__link {
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s color;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1240px) {
  .header-list__link {
    font-size: 0.65rem;
  }
}
.header-list__link:hover {
  color: #fff;
}

.info {
  display: flex;
  flex-direction: column;
}
.info__footer {
  margin-top: auto;
}
@media screen and (max-width: 1240px) {
  .info__footer {
    display: none;
  }
}
.info__subtext {
  color: hsla(0, 0%, 100%, 0.3);
  font-size: 1rem;
  position: relative;
  z-index: 4;
}
.info__subtext--mobile {
  display: none;
}
@media screen and (max-width: 1240px) {
  .info__subtext {
    font-size: 0.75rem;
    text-align: right;
    display: none;
  }
  .info__subtext--mobile {
    display: block;
  }
}
.info__subtext .tip {
  text-decoration: underline;
  text-underline-position: under;
  display: inline-flex;
  position: relative;
}
.info__subtext .tip:hover {
  cursor: pointer;
}
.info__subtext .tip:hover .tip__content {
  opacity: 1;
  visibility: visible;
}
.info__subtext .tip__content {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  width: 24rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 1rem;
  font-size: 0.875rem;
  color: #000a0d;
  border-radius: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s visibility, 0.5s opacity;
}
@media screen and (max-width: 1240px) {
  .info__subtext .tip__content {
    width: 10rem;
    left: unset;
    transform: translate(0);
    right: 0;
    padding: 0.5rem;
    font-size: 0.75rem;
  }
}
.info__subtext .tip__content a {
  text-decoration: underline;
}
.info__title {
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  margin-top: auto;
}
@media screen and (max-width: 1240px) {
  .info__title {
    font-size: 1.5rem;
    text-align: center;
  }
}
.info__text {
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff;
}
@media screen and (max-width: 1240px) {
  .info__text {
    font-size: 1rem;
    text-align: center;
  }
}
.info__wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media screen and (max-width: 1240px) {
  .info__wrapper {
    gap: 1.25rem;
  }
}
.info__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.info__advantages {
  font-size: 1.5rem;
  color: #bf9e77;
}
@media screen and (max-width: 1240px) {
  .info__advantages {
    font-size: 0.675rem;
  }
}

@media screen and (max-width: 1240px) {
  .screen {
    max-height: 25vh;
    overflow: hidden;
    transform: translateY(2rem);
    height: calc(100% + 2rem);
    margin-top: -2rem;
  }
}

.screen-slider {
  position: absolute;
  right: 0;
  width: 50%;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 1240px) {
  .screen-slider {
    z-index: 3;
    width: 16.25rem;
    height: 30rem;
    margin: 0 auto;
    position: relative;
    transform: translate(0);
    top: 0;
  }
}
.screen-slider__item {
  position: absolute;
  left: 0;
  display: block;
  padding-bottom: 70%;
  top: 50%;
  transform: translateY(-50%) scale(1.25);
  transform-origin: left center;
  width: 100%;
  background: url("../../images/mackfull_black.png") center center/contain no-repeat;
}
@media screen and (max-width: 1240px) {
  .screen-slider__item {
    width: 100%;
    height: 100%;
    top: 0;
    padding-bottom: 0;
    transform: translate(0);
    background: url("../../images/phone-empty.png") center center/contain no-repeat;
  }
}

.gallery {
  position: absolute;
  width: 78.5%;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 50%;
  top: 5%;
  overflow: hidden;
}
@media screen and (max-width: 1240px) {
  .gallery {
    height: 88%;
    width: 77%;
    top: 7%;
    padding-bottom: 0;
  }
}
.gallery-slider {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.gallery__item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
@media screen and (max-width: 1240px) {
  .gallery__item {
    height: 7.5rem;
  }
}
.gallery__item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.form__wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media screen and (max-width: 1240px) {
  .form__wrapper {
    gap: 1rem;
  }
}
@media screen and (max-width: 1240px) {
  .form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (max-width: 1240px) {
  .form__row {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    align-items: flex-start;
  }
}
.form__text {
  font-size: 1rem;
  color: white;
}
@media screen and (max-width: 1240px) {
  .form__text {
    font-size: 0.5rem;
  }
}
.form__button {
  background: #bf9e77;
  border-radius: 4px;
  font-size: 1.5rem;
  padding: 1rem 1.25rem;
  color: white;
  transition: 0.3s background-color;
}
@media screen and (max-width: 1240px) {
  .form__button {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}
.form__button:hover {
  cursor: pointer;
  background: #584a36;
}
.form-input {
  display: flex;
  align-items: center;
  height: 5rem;
  background: rgba(12, 28, 33, 0.5);
  backdrop-filter: blur(10px);
  font-size: 1.5rem;
  padding: 1rem 0.75rem;
}
@media screen and (max-width: 1240px) {
  .form-input {
    flex-direction: column;
    height: auto;
    gap: 0.5rem;
    background: transparent;
    padding: 0;
  }
}
.form-input__item {
  flex-grow: 1;
  color: rgb(191, 158, 119);
  padding: 0 2rem;
  max-width: 100%;
  font-weight: 700;
}
@media screen and (max-width: 1240px) {
  .form-input__item {
    padding: 0.5rem 1rem;
    text-align: center;
    width: 100%;
    background: rgba(12, 28, 33, 0.9);
  }
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 14;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: blur(5px);
}
.popup__close {
  --close-size: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
}
.popup__close::before, .popup__close::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 1.5px);
  width: 100%;
  height: 3px;
  background-color: #000;
  transition: 0.3s background-color;
}
.popup__close:hover {
  cursor: pointer;
}
@media screen and (max-width: 640px) {
  .popup__close {
    width: 0.75rem;
    height: 0.75rem;
    top: 1.25rem;
    right: 1.25rem;
  }
}
.popup__close::before {
  transform: rotate(45deg);
}
.popup__close::after {
  transform: rotate(-45deg);
}

.popup.is-active {
  display: block;
}

.popup__wrapper {
  min-height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--container-padding);
}

.popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
  animation: popup-overlay-in 250ms ease forwards;
}

.popup__content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  animation: popup-content-in 300ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.popup.is-closing .popup__overlay {
  animation: popup-overlay-out 200ms ease forwards;
}

.popup.is-closing .popup__content {
  animation: popup-content-out 200ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes popup-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes popup-overlay-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes popup-content-in {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes popup-content-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
  }
}
.thanks-popup {
  width: 40rem;
  max-width: 100%;
  background: #fff;
  padding: 4rem 2rem;
}
.thanks-popup__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
}
.thanks-popup__title {
  font-size: 2rem;
  font-weight: 600;
}
.thanks-popup__text {
  font-size: 1.25rem;
}

/*# sourceMappingURL=index.css.map */
