@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Syncopate:wght@400;700&display=swap');

@font-face {
  font-family: 'Bahnschrift';
  src: url('../fonts/Bahnschrift.woff2') format('woff2'),
    url('../fonts/Bahnschrift.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #f5b754;
  --primary-color-dark: #d6a04a;
  --text-dark: #15191d;
  --text-light: #737373;
  --extra-light: #e5e5e5;
  --white: #ffffff;
  --max-width: 1350px;
  --header-font: 'Bahnschrift', sans-serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.header__container {
  position: relative;
  background-image: url(assets/header-bg.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 3.25rem;
  font-weight: 700;
  font-family: var(--header-font);
  color: var(--text-dark);
  letter-spacing: -5px;
  line-height: 4.25rem;
}

.btn {
  padding: 1rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--text-dark);
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  color: var(--text-dark);
  background-color: var(--primary-color);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-family: 'Bahnschrift';
}

.nav__logo img {
  width: 150px;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  /* width: 100%; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
}

@media (max-width: 767px) {
  .nav__header {
    border-bottom: 1px solid #737373;
  }
}

.nav__logo a {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--header-font);
  color: var(--white);
  letter-spacing: -2px;
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: #000;
  cursor: pointer;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--primary-color);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links a {
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white);
}

.nav__links a:hover {
  color: var(--text-dark);
}

.nav__btn {
  display: none;
}

.header__container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 1rem;
}

.header__container h1 {
  max-width: 890px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--header-font);
  color: white;
  background-color: red;
  border-radius: 10px;
  padding: 7px;
  text-transform: uppercase;
  /* letter-spacing: -5px; */
  line-height: 120%;
  text-align: center;
}

.header__container form {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  /* background-color: var(--white); */
  /* box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.1); */
}

.header__container .input__group {
  flex: 1 0 170px;
  display: grid;
  gap: 10px;
}

.header__container label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.header__container input {
  width: 100%;
  outline: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-light);
}

.header__container input::placeholder {
  color: var(--text-light);
}

.header__container .btn {
  padding: 15px 17px;
  font-size: 1.5rem;
}

.header__container img {
  max-width: 1050px;
  margin-inline: auto;
  filter: drop-shadow(5px 20px 20px rgba(0, 0, 0, 0.5));
}

.header__container::before {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 50%;
  background-color: var(--primary-color);
  transform: translateY(50%) skewY(-4deg);
  z-index: -1;
}

.scroll__down {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  font-size: 1.5rem;
  padding: 8px 5px;
  color: var(--text-dark);
  background-color: var(--primary-color);
  border-radius: 2rem;
  border: 8px solid var(--white);
}

.range__container .section__header {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.range__grid {
  display: grid;
  gap: 1rem;
}

.range__card {
  position: relative;
  isolation: isolate;
  max-width: 600px;
  margin-inline: auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.range__card img {
  transition: 0.3s;
}

.range__card:hover img {
  transform: scale(1.1);
}

.range__details {
  position: absolute;
  inset: 0;
  padding: 2rem;
  background-image: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.75)
  );
}

.range__details h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--white);
}

.range__details a {
  display: inline-block;
  padding: 0px 6px;
  font-size: 1.5rem;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 100%;
}

.range__details a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.location__container {
  display: grid;
  gap: 2rem 0;
  overflow: hidden;
}

.location__image img {
  max-width: 500px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.location__content .section__header {
  margin-bottom: 2rem;
}

.location__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.select__container {
  padding-top: 5rem;
  margin-bottom: 5rem;
  background-image: url('assets/select-bg.png');
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.select__container .section__header {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  /* max-width: 900px; */
}

.select__card img {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0px 20px 20px rgba(0, 0, 0, 0.5));
}

.select__info {
  max-width: 600px;
  margin-inline: auto;
  display: none;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
}

.select__card.show__info .select__info {
  display: flex;
}

.select__info__card {
  text-align: center;
}

.select__info__card > span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 5px 15px;
  font-size: 2.5rem;
  color: var(--text-dark);
  background-color: var(--white);
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.select__info__card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.select__info__card h4 span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.select__form {
  max-width: 750px;
  margin-inline: auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  background-color: var(--white);
  transform: translateY(50%);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.select__price {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--header-font);
  font-weight: 600;
  color: var(--text-light);
}

.select__price span {
  font-size: 3rem;
  line-height: 3rem;
  color: var(--text-dark);
}

.select__price span:not(#select-price) {
  font-weight: 400;
}

.select__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.select__btns .btn {
  min-width: 135px;
}

.select__btns .btn:nth-child(2) {
  color: var(--white);
  background-color: var(--primary-color);
}

.story__container .section__header {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.story__grid {
  display: grid;
  gap: 4rem 1rem;
}

.story__date {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--text-light);
}

.story__date span {
  padding-right: 10px;
  font-size: 3rem;
  font-weight: 500;
  line-height: 2.5rem;
  border-right: 2px solid var(--text-light);
}

.story__date div p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--text-light);
}

.story__card h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-family: var(--header-font);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 2rem;
  color: var(--text-dark);
}

.story__card p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.banner__container {
  padding-block: 5rem;
  overflow: hidden;
}

.banner__wrapper {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8rem;

  animation: scroll 45s linear infinite;
}

.banner__wrapper img {
  height: 100px;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 4rem));
  }
}

.download {
  position: relative;
  isolation: isolate;
  padding-inline: 1rem;
  overflow: hidden;
}

.download__container {
  padding: 0 1rem;
  display: grid;
  background-color: var(--primary-color);
  border-radius: 1rem;
}

.download__content {
  padding-block: 5rem;
}

.download__content .section__header {
  margin-bottom: 2rem;
  text-align: center;
}

.download__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.download__links img {
  max-width: 150px;
}

.download__image {
  display: none;
}

.news {
  background-color: var(--text-dark);
}

.news__container {
  padding-bottom: 0;
  display: grid;
  gap: 2rem;
}

.news__container .section__header {
  font-size: 2.5rem;
  line-height: 3.25rem;
  letter-spacing: -2px;
  color: var(--white);
  text-align: center;
}

.news__container form {
  width: 100%;
  max-width: 450px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news__container input {
  width: 100%;
  outline: none;
  border: none;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--white);
  background-color: transparent;
  border-bottom: 2px solid var(--text-light);
}

.news__container .btn {
  padding: 10p 12px;
  font-size: 1.5rem;
  background-color: var(--primary-color);
}

footer {
  background-color: var(--text-dark);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
  border-bottom: 1px solid var(--text-light);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-family: var(--header-font);
  color: var(--white);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  color: var(--text-light);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__socials a {
  padding: 8px 12px;
  font-size: 1.25rem;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  border-radius: 100%;
}

.footer__socials a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

@media (width > 540px) {
  .story__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding: 1rem 1rem;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    /* flex: 1; */
    padding: 0;
    background-color: transparent;
  }

  .nav__logo a {
    color: var(--text-dark);
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    width: fit-content;
    flex-direction: row;
    background-color: transparent;
    transform: none;
  }

  .nav__links a {
    color: var(--text-dark);
    text-transform: uppercase;
    text-transform: uppercase;
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .nav__btn {
    display: flex;
    /* flex: 1; */
    align-items: center;
    justify-content: flex-end;
  }

  .nav__btn .btn {
    color: var(--text-dark);
    background-color: var(--primary-color);
  }

  .range__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .location__image {
    grid-area: 1/2/2/3;
  }

  .select__form {
    justify-content: space-between;
  }

  .story__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download__container {
    margin-top: 4rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .download__content {
    max-width: 500px;
    margin-left: auto;
  }

  .download__content .section__header {
    text-align: left;
  }

  .download__links {
    justify-content: flex-start;
  }

  .download__image {
    display: flex;
    position: relative;
    isolation: isolate;
    height: 100%;
  }

  .download__image img {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 400px;
  }

  .news__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .news__container .section__header {
    text-align: left;
  }

  .news__container form {
    margin-inline-end: unset;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width > 1024px) {
  .range__grid {
    gap: 1.5rem;
  }

  .range__details {
    padding: 2rem;
  }

  .story__grid {
    padding: 1.5rem;
  }
}

@media (max-width: 767px) {
  .header__container h1 {
    margin-top: 50px;
    font-size: 1.5rem;
    /* line-height: 100%; */
    /* padding-top: 100px; */
    letter-spacing: 1px;
  }
}

.header__bg {
  position: relative;
}

.popup-show body::after {
  opacity: 1;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 30px 10px;
  transition: visibility 0.8s ease 0s;
  visibility: hidden;
  pointer-events: none;
}

.popup_show {
  z-index: 150;
  visibility: visible;
  overflow: auto;
  pointer-events: auto;
}

.popup_show .popup__content {
  visibility: visible;
  transform: scale(1);
}

.popup__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup__content {
  visibility: hidden;
  transform: scale(0);
  transition: transform 0.3s ease 0s;
  width: 100%;
  max-width: 533px;
  box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.07);
  background: #fff;
  padding: 24px;
  height: 100%;
}
.lock .popup__content {
  visibility: visible;
}
@media (max-width: 767px) {
  .popup__content {
    max-width: 100%;
  }
}

.popup__body {
  text-align: center;
}

.popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.popup__close:hover {
  opacity: 0.7;
}

.popup__icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.popup__icon {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  transition: all 0.3s;
}
.popup__icon img {
  width: 60px;
}
@media (max-width: 767px) {
  .popup__icon img {
    width: 40px;
  }
}
.popup__icon:hover {
  opacity: 0.7;
}

.mob--links {
  display: none;
}
@media (max-width: 767px) {
  .popup__icon {
    width: 40px;
    height: 40px;
  }
  .header__links {
    display: none !important;
  }
  .header__phone {
    display: none;
  }

  .mob--links {
    display: block;
  }
  .mob--links .header__links {
    display: flex !important;
    padding-left: 30px;
  }
}
.popup__phone {
  background-color: #b18b6b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup__phone img {
  width: 60%;
}

@media (max-width: 767px) {
  .download {
    padding-top: 20px;
  }
}

/* / */

.popup__body {
  text-align: center;
}

.popup__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 28px;
  color: #1a202c;
}

.popup__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Стили для инпутов */
.consultation__input {
  width: 101%;
  padding: 16px 20px;
  border: 1px solid #f7485c;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #f8fafc;
  color: #1a202c;
  outline: none;
}

.consultation__input:focus {
  border-color: #d6a04a;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
  background-color: #fff;
  transform: translateY(-2px);
}

.consultation__input::placeholder {
  color: #a0aec0;
}

/* Стили для чекбокса */
.consultation__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  color: #718096;
}

._checkbox-wallet {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

._checkbox-wallet:checked {
  background-color: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
}

._checkbox-wallet:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

._wallet-chectext {
  flex: 1;
}

._link {
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s ease;
}

._link:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Стили для кнопки */
.consultation__btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin-top: 10px;
  box-shadow: 0 4px 6px rgba(102, 126, 234, 0.2);
}

.consultation__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(102, 126, 234, 0.3);
}

.consultation__btn:active {
  transform: translateY(0);
}

/* Стили для кнопки закрытия */
.popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  transition: all 0.3s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f7fafc;
}

.popup__close:hover {
  background: #edf2f7;
  transform: rotate(90deg);
}

.popup__close svg {
  width: 20px;
  height: 20px;
}

.popup__close svg path {
  stroke: #718096;
}

/* Адаптивность */
@media (max-width: 767px) {
  .popup__content {
    max-width: 100%;
    padding: 30px 20px;
    border-radius: 16px;
  }

  .popup__title {
    font-size: 20px;
  }

  .consultation__input {
    padding: 14px 16px;
  }
}
