﻿@charset "UTF-8";

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #121216;
  font-size: 16px;
  line-height: 1.5;
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  color: #fff;
}

/******************************/

.header-wrapper {
}

.header {
  max-width: 1440px;
  margin: 24px auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  width: 270px;
  height: 40px;
  background: url(../img/logo.svg) left center / contain no-repeat;
}

.header-contacts {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-phone {
  font-size: 20px;
  font-weight: 700;
  line-height: 27.32px;
}

.header-phone a {
  color: #fff;
  text-decoration: none;
}

.header-email {
  font-size: 16px;
  font-weight: 700;
}

.header-email a {
  color: #fff;
  text-decoration: none;
}

.header-button {
  margin-left: 80px;
}

.header-button a {
  display: inline-block;
  background: #F9C71E;
  border-radius: 8px;
  padding: 8px 40px;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 27.32px;
}

@media (max-width: 1024px) {
  .header-contacts {
    flex-direction: column;
    align-items: start;
    gap: 0px;
  }
  .header-button {
    margin-left: 20px;
  }
  .header-button a {
    padding: 8px 16px;
  }
}

@media (max-width: 768px) {
  .header {
    justify-content: space-between;
  }
  .header-contacts {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-button {
    text-transform: capitalize;
  }
  .header-button span {
    display: none;
  }
}

/**************/

.index-intro {
  width: 100%;
  height: 760px;
  background: url(../img/new_bg_3.jpg) center top / cover no-repeat;
}

.index-intro-text {
  max-width: 1150px;
  padding: 200px 24px 0px 24px;
  margin: 0 auto;
}

.index-intro h1 {
  font-size: 96px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.index-intro-smalltext {
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
  text-align: center;
  margin-top: 20px;
}

.index-intro-form {
  max-width: 1000px;
  width: 100%;
  margin: 100px auto 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.index-intro-form input[type="text"],
.index-intro-form input[type="email"],
.index-intro-form input[type="tel"] {
  font: inherit;
  width: 100%;
  height: 56px;
  background: #fff;
  border-radius: 8px;
  border: none;
  padding: 0 16px;
  line-height: 16px;
  font-weight: 400;
}

.index-intro-form input[type="submit"] {
  font: inherit;
  width: 100%;
  background: #F9C71E;
  border-radius: 8px;
  border: none;
  padding: 8px 40px;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .index-intro-text {
    padding: 150px 24px 0px 24px;
  }
  .index-intro h1 {
    font-size: 80px;
  }
}

@media (max-width: 1024px) {
  .index-intro-text {
    padding: 100px 24px 0px 24px;
  }
  .index-intro h1 {
    font-size: 80px;
  }
  .index-intro-form input[type="submit"] {
    padding: 8px 20px;
  }
}

@media (max-width: 768px) {
  .index-intro h1 {
    font-size: 60px;
  }
  .index-intro-text {
    padding: 50px 24px 0px 24px;
  }
  .index-intro-form {
    margin-top: 60px;
    max-width: 560px;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .index-intro {
    height: auto;
    padding-bottom: 60px;
  }
  .index-intro h1 {
    font-size: 45px;
  }
  .index-intro-smalltext span {
    display: none;
  }
}

/******************************/

.form {
}

.form > label,
.form > div {
  display: block;
  margin-top: 20px;
}

.form > label.col2,
.form > div.col2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.form > label.col3,
.form > div.col3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
}

.popup input[type="text"],
.popup input[type="email"],
.popup input[type="tel"],
.popup input[type="password"],
.popup input[type="search"],
.popup textarea,
.popup select {
  display: block;
  width: 100%;
  padding: 16px 16px;
  border: 1px solid #DCDAF0;
  border-radius: 8px;
  background-color: ;
  color: #000;
  font: inherit;
}

.popup input:focus,
.popup textarea:focus,
.popup select:focus {
  outline: 0;
  border: 1px solid #373741;
}

.popup input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px;
  background-color: #F9C71E;  
  border: 1px solid #F9C71E;
  border-radius: 8px;
  font: inherit;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
  transition: background 0.2s ease;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .form > label.col3,
  .form > div.col3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .form > label.col2,
  .form > div.col2 {
    grid-template-columns: 1fr;
  }

  .form > label.col3,
  .form > div.col3 {
    grid-template-columns: 1fr;
  }
}

/************************************/

.required {
  color: #c00;
}

.message-error {
  margin: 20px 0px;
  padding: 5px 10px;
  color: #fff;
  background: #f44336;
}

.message-success {
  margin: 20px 0px;
  padding: 5px 10px;
  color: #fff;
  background: #43a047;
}

.message-error a,
.message-success a {
  color: #fff;
}

/******************************/

.footer-wrapper {
  border-top: 1px solid #373741;
}

.footer {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 64px 24px 80px 24px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo a {
  width: 220px;
  height: 40px;
  background: url(../img/logo.svg) left center / contain no-repeat;
}

.footer-logo span {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #747591;
}

.footer-info {
  max-width: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}

.footer-info span {
  font-size: 16px;
  font-weight: 700;
}

.footer-info div {
  grid-area: 2 / 1 / 2 / 4;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #747591;
}

.footer-info a {
  color: #fff;
  text-decoration: none;
}

.footer-phone {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-phone-number {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
}

.footer-phone-callback {
  display: inline-block;
  background: #F9C71E;
  border-radius: 8px;
  padding: 8px 40px;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 27.32px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .footer {
    flex-direction: column;
    gap: 40px;
  }
  .footer-logo {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    order: 3;
  }
  .footer-info {
    order: 2;
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }
  .footer-info span:nth-child(2) {
    justify-self: center;
  }
  .footer-info span:nth-child(3) {
    justify-self: end;
  }
  .footer-phone {
    order: 1;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .footer-phone {
    flex-direction: column;
    align-items: center;
  }
  .footer-info {
    grid-template-columns: 1fr;
    justify-content: center;
  }
  .footer-info span:nth-child(1) {
    justify-self: center;
  }
  .footer-info span:nth-child(2) {
    justify-self: center;
  }
  .footer-info span:nth-child(3) {
    justify-self: center;
  }
  .footer-info div {
    justify-self: center;
    grid-area: 4 / 1 / 4 / 2;
    max-width: 350px;
    text-align: center;
  }
  .footer-logo {
    flex-direction: column;
  }
}

/******************************/

.quiz-question {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;  
}

.quiz-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-variants input[type="submit"] {
  padding: 4px 24px;
  border: 1px solid #DCDAF0;
  border-radius: 10px;
  background: #fff;
  color: #747591;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  cursor: pointer;
}

.quiz-variants input[type="submit"]:hover {
  background: #DCDAF0;
  background: #F9C71E;
  color: #000;
}

/******************************/

.content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
}

.section-header {
  display: flex;
  gap: 32px;
  margin: 120px 0 32px 0;
  padding: 16px 0 0 0;
  border-top: 1px solid #373741;
}

.section-header h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 60px;
  text-transform: uppercase;
}

.section-header h2 span {
  color: #F9C71E;
}

@media (max-width: 1024px) {
  .section-header {
    margin-top: 48px;
  }
  .section-header h2 {
    font-size: 27px;
    line-height: 36px;
  }
}

/************************/

.scroll-buttons {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.scroll-buttons a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #F9C71E url(../img/arrow-left.svg) center center / 18px auto no-repeat;
}

.scroll-buttons a.scroll-buttons-right {
  background-image: url(../img/arrow-right.svg);
}

.scroll-buttons a.scroll-buttons-disabled {
  background-color: #373741;
}

@media (max-width: 768px) {
  .scroll-buttons {
    display: none;
  }
}

/********************/

.objects {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.objects a {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #747591;
  gap: 24px;
  padding: 24px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
}

.objects a:hover {
  background: #F9C71E;
  color: #000;
}

.objects img {
  width: 48px;
  height: 48px;
}

@media (max-width: 1024px) {
  .objects {
    grid-template-columns: repeat(4, 1fr);
  }
  .objects a:nth-child(5) {
    grid-area: 2 / 1 / 2 / 3;
  }
  .objects a:nth-child(6) {
    grid-area: 2 / 3 / 2 / 5;
  }
}

@media (max-width: 768px) {
  .objects a:nth-child(5) {
    grid-area: auto;
  }
  .objects a:nth-child(6) {
    grid-area: auto;
  }
  .objects {
    display: flex;
    overflow-x: scroll;
    scrollbar-width: none;
    margin: -24px;
    padding: 24px;
  }
  .objects a {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
  }
}

/***********************/

.video-banner {
  position: relative;
  overflow: hidden;
  margin-top: 120px;
  height: 660px;  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
  background: url(../img/video-banner.jpg) center center / cover no-repeat;
  border-radius: 40px;
}

.video-banner-overlay {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.video-banner-overlay div:nth-child(1) {
  display: flex;
  align-items: end;
  gap: 24px;
}

.video-banner-overlay div:nth-child(1) span:first-child {
  font-size: 96px;
  font-weight: 700;
  line-height: 96px;
}

.video-banner-overlay div:nth-child(1) span:last-child {
  position: relative;
  top: -8px;
  font-size: 48px;
  font-weight: 800;
  line-height: 60px;
  color: #000;
  background: #F9C71E;
  padding: 0px 16px 0px 16px;
  border-radius: 16px;
}

.video-banner-overlay div:nth-child(2) {
  font-size: 36px;
  font-weight: 300;
  line-height: 32px;
}

.video-banner video {
  width: 100%;
}

@media (max-width: 1280px) {
  .video-banner video {
    display: none;
  }
}

@media (max-width: 768px) {
  .video-banner {
    margin-top: 48px;
  }
  .video-banner-overlay div:nth-child(1) span:first-child {
    font-size: 36px;
    line-height: 36px;
  }
  .video-banner-overlay div:nth-child(1) span:last-child {
    top: 0px;
    font-size: 24px;
    line-height: 24px;
    border-radius: 8px;
    padding: 0 16px 4px 16px;
  }
  .video-banner-overlay div:nth-child(2) {
    font-size: 24px;
    line-height: 24px;
  }
}

/***********************/

.perks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.perks article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border-radius: 16px;
  padding: 28px 24px;
  color: #747591;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.perks article h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  color: #000;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.perks img {
  width: 80px;
  height: 80px;
}

.perks .perks-1 {
  grid-area: 1 / 1 / 3 / 3;
  background: #F7FAFC;
  border: 1px solid #DCDAF0;
}

.perks .perks-1 img {
  align-self: end;
}

.perks .perks-2 {
  grid-area: 1 / 3 / 1 / 5;
  background: #F9C71E;
  color: #000;
}

.perks .perks-3 {
  grid-area: 2 / 3 / 2 / 4;
  background: #373741;
  color: #FFFFFF;
}

.perks .perks-3 h3 {
  color: #FFFFFF;
}

.perks .perks-4 {
  grid-area: 2 / 4 / 2 / 5;
  background: #373741;
  color: #FFFFFF;
}

.perks .perks-4 h3 {
  color: #FFFFFF;
}

.perks .perks-5 {
  grid-area: 1 / 5 / 3 / 7;
  background: #F7FAFC;
  border: 1px solid #DCDAF0;
}

.perks .perks-5 img {
  align-self: end;
  order: -1;
}

@media (max-width: 1024px) {
  .perks {
    grid-template-columns: repeat(3, 1fr);
  }
  .perks .perks-1 {
    grid-area: 1 / 1 / 1 / 4;
  }
  .perks .perks-2 {
    grid-area: 2 / 1 / 2 / 2;
  }
  .perks .perks-3 {
    grid-area: 2 / 2 / 2 / 3;
  }
  .perks .perks-4 {
    grid-area: 2 / 3 / 2 / 4;
  }
  .perks .perks-5 {
    grid-area: 3 / 1 / 3 / 4;
  }
}

@media (max-width: 768px) {
  .perks {
    grid-template-columns: 1fr;
  }
  .perks .perks-1 {
    grid-area: auto;
  }
  .perks .perks-2 {
    grid-area: auto;
  }
  .perks .perks-3 {
    grid-area: auto;
  }
  .perks .perks-4 {
    grid-area: auto;
  }
  .perks .perks-5 {
    grid-area: auto;
  }
}

/***********************/

.request {
  margin-top: 120px;
  display: flex;
  gap: 64px;
  padding: 80px 56px 80px 56px;
  border-radius: 40px;
  background: #F9C71E;
  color: #000;
}

.request a {
  color: #000;
}

.request-info {
  width: 40%;
}

.request-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 60.1px;
  margin-bottom: 36px;
}

.request-subtitle {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 36px;
}

.request-subsubtitle {
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  margin-bottom: 24px;
}

.request-info ul {
}

.request-info li {
  display: block;
  margin-bottom: 16px;
  padding-left: 36px;
  background: url(../img/checkbox.svg) left center / 16px auto no-repeat;
}

.request-form {
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 40px;
  border-radius: 32px;
  background: #fff;
}

.request-form-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
}

.request-form-disclaimer {
  color: #B5B8D0;
  font-size: 13px;
  font-weight: 500;
}

.request-form form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.request-form form input[type="text"],
.request-form form input[type="email"],
.request-form form input[type="tel"] {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #DCDAF0;
  color: #B5B8D0;
  font: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
}

.request-form form input[type="submit"] {
  padding: 16px;
  border-radius: 8px;
  border: none;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  background: #F9C71E;
  white-space: wrap;
}

@media (max-width: 1280px) {
  .request {
    padding: 40px;
  }
}

@media (max-width: 1024px) {
  .request {
    flex-direction: column;
  }
  .request-info {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .request {
    margin-top: 48px;
    padding: 24px 16px;
    border-radius: 16px;
  }
  .request-form {
    padding: 24px;
    gap: 24px;
    border-radius: 16px;
  }
  .request-form form {
    gap: 24px;
  }
}

/***********************/

.photo-banner {
  position: relative;
  overflow: hidden;
  margin-top: 120px;
  height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
  background: url(../img/photo-banner.jpg) center center / cover no-repeat;
  border-radius: 40px;
}

.photo-banner-overlay {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.photo-banner-overlay div {
  font-size: 96px;
  font-weight: 700;
  line-height: 96px;
}

.photo-banner-overlay span {
  font-size: 48px;
  font-weight: 800;
  line-height: 60px;
  color: #000;
  background: #F9C71E;
  padding: 0px 16px 0px 16px;
  border-radius: 16px;
}

.photo-banner video {
  width: 100%;
}

@media (max-width: 1280px) {
  .photo-banner video {
    display: none;
  }
}

@media (max-width: 768px) {
  .photo-banner {
    margin-top: 48px;
  }
  .photo-banner-overlay div {
    font-size: 36px;
    line-height: 36px;
  }
  .photo-banner-overlay span {
    font-size: 24px;
    line-height: 24px;
    border-radius: 8px;
    padding: 0 16px 4px 16px;
  }
}

/************************/

.offers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.offers article {
  position: relative;
  height: 400px;
  perspective: 1000px;
}

.offers-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

.offers article:hover .offers-inner {
  transform: rotateY(180deg);
}

.offers-inner-front {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 20px;
  border-radius: 12px;
  background: #373741;
  color: #fff;
  text-decoration: none;
}

.offers-inner-front h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  text-transform: uppercase;
}

.offers-inner-front div {
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.offers-inner-front img {
  max-width: 100%;
  border-radius: 16px;
}

.offers article:nth-child(even) img {
  order: -1;
}

.offers-inner-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  transform: rotateY(180deg);
  display: flex;
  border-radius: 12px;
  justify-content: center;
  align-items: center;  
  background: #F9C71E;  
}

.offers-inner-back a {
  padding: 10px 40px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

.offers-popup {
  color: #000;
}

@media (max-width: 1024px) {
  .offers {
    grid-template-columns: repeat(2, 1fr);
  }
  .offers article {
    height: 500px;
  }
}

@media (max-width: 900px) {
  .offers article {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .offers {
    display: flex;
    overflow-x: scroll;
    scrollbar-width: none;
    margin: -24px;
    padding: 24px;
  }
  .offers article {
    width: 240px;
    height: 360px;
    flex-shrink: 0;
  }
}

/************************/

.how {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.how article {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.how article span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  background: #F9C71E;
  color: #000;
}

.how article h3 {
  margin-bottom: 0px;
  text-transform: uppercase;
}

.how article a {
  color: #F9C71E;
}

.how-button {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 650px;
  margin: 0 auto;
  margin-top: 64px;
  padding: 12px 16px;
  background: #F9C71E;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  text-decoration: none;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .how {
    grid-template-columns: 1fr;
  }
}

/************************/

.faq {
}

.faq article {
  display: flex;
  gap: 24px;
  border-bottom: 1px dotted #373741;
  padding: 24px 0 40px 0;
}

.faq article span {
  flex-shrink: 0;
  width: 18px;
  color: #747591;
  font-size: 14px;
  font-weight: 500;
}

.faq article h3 {
  width: 45%;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.faq article div {
  width: 50%;
  height: 0px;
  overflow: hidden;
  color: #747591;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.faq article a {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: url(../img/faq-open.svg) center center / 42px auto no-repeat;
}

.faq article a.opened {
  background-image: url(../img/faq-close.svg);
}

@media (max-width: 1024px) {
  .faq article {
    flex-wrap: wrap;
  }
  .faq article h3 {
    width: calc(100% - 18px - 42px - 24px - 24px);
  }
  .faq article div {
    flex-shrink: 0;
    width: 100%;
    order: 5;
  }
}

/************************/

.forms {
  margin-top: 120px;
  margin-bottom: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.forms-left {
   min-height: 480px;
   padding: 40px;
   display: flex;
   flex-direction: column;
   gap: 24px;
   justify-content: center;
   color: #000;
   background: #fff url(../img/appointment.jpg) right 24px bottom / contain no-repeat;
   border-radius: 40px;
}

.forms-left-title {
  max-width: 350px;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.forms-left-subtitle {
  max-width: 350px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: #747591;
}

.forms-left-button {
  align-self: start;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  background: #F9C71E;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  text-decoration: none;
  border-radius: 8px;
}

.forms-right {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  color: #000;
  background: #F9C71E;
  border-radius: 40px;
}

.forms-right-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.forms-right-subtitle {
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.forms-right form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.forms-right input[type="text"],
.forms-right input[type="email"],
.forms-right input[type="tel"] {
  font: inherit;
  width: 100%;
  background: #ffffffaa;
  border-radius: 8px;
  border: none;
  padding: 16px 16px;
  font-weight: 400;
}

.forms-right input[type="submit"] {
  font: inherit;
  width: 100%;
  border-radius: 8px;
  border: none;
  padding: 14px 40px;
  text-decoration: none;
  color: #000;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
}

.forms-right-disclaimer {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.forms-right-disclaimer a {
  color: #fff;
}

@media (max-width: 1280px) {
  .forms-left {
    background-position: right -90px bottom;
    background-size: 400px auto;
  }
}

@media (max-width: 1024px) {
  .forms {
    grid-template-columns: 1fr;
  }
  .forms-left {
    background-position: right bottom;
  }
}

@media (max-width: 768px) {
  .forms {
    margin-top: 48px;
    margin-bottom: 48px;
  }
  .forms-left {
    border-radius: 24px;
    padding: 24px;    
  }
  .forms-right {
    border-radius: 24px;
    padding: 24px;
    gap: 16px;
  }
  .forms-right form {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .forms-left {
    background-position: right -90px bottom;
    background-size: 400px auto;
  }
  .forms-left-title {
    max-width: 250px;
  }
  .forms-left-subtitle {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
}

/*********************/

.form-done {
  padding: 80px 80px;
}

/*********************/

/******************************/

.types {
  display: flex;
  gap: 24px;
  overflow-x: scroll;
  scrollbar-width: none;
}

.types article {
  width: calc(33.333% - 18px);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
}

.types img {
  position: absolute;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
  display: block;
  z-index: -1;
}

.types div {
  margin: 24px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}

.types div.dark {
  color: #000;
}

.types a {
  margin: 24px;
  align-self: end;
  padding: 15px 40px;
  font-size: 16px;
  line-height: 22px;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
  background: #fff;
  font-weight: 700;
}

@media (max-width: 1280px) {
}

@media (max-width: 1024px) {
  .types {
    margin: -24px;
    padding: 24px;
  }
  .types article {
    width: 330px;
  }
}

/******************************/

.goods {
  display: flex;
  gap: 24px;
  overflow-x: scroll;
  scrollbar-width: none;
}

.goods > div {
  width: calc(25% - 19px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border-radius: 20px;
  background: #373741;
}

.goods-images {
  border-radius: 20px 20px 0 0;
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.goods-images > img {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 100%;
}
 
.goods-info {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 500;
}

.goods-rating {
  display: flex;
  gap: 10px;
  align-items: end;
  padding-left: 18px;
  background: url(../img/icon-star.svg) left center / 14px 14px no-repeat;
  font-size: 12px;
  font-weight: 500;
}

.goods-rating span {
  font-size: 13px;
  font-weight: 700;
}

.goods-title {
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
}

.goods-title span {
  margin-top: 5px;
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 20px;
}

.goods-specs {
  margin: 0 16px 0 16px;
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 400;
}

.goods-button {  
  margin: 0 16px 16px 16px;
  padding: 10px 40px 10px 40px;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  background: #F9C71E;
  text-decoration: none;
}

@media (max-width: 1280px) {
  .goods div {
    width: calc(33.333% - 18px);
  }
}

@media (max-width: 1024px) {
  .goods {
    margin: -24px;
    padding: 24px;
  }
  .goods div {
    width: 330px;
  }
}

/******************************/

body.popup {
  min-height: auto;
  background: #fff !important;
  color: #000 !important;
  padding: 40px;
}

body.popup .content {
  width: 100%;
  background: var(--bg-color);
  padding: 20px;
  color: #000 !important;
}

.popup h1 {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/************************************/

.popup .form > label,
.popup .form > div {
  display: block;
  margin-top: 20px;
}

.popup .form input,
.popup .form select,
.popup .form textarea {
  width: 100%;
  max-width: 100%;
}

.popup .form input[type="checkbox"],
.popup .form input[type="radio"] {
  width: auto;
  max-width: none;
}

/******************************/

