/* Обнуляюший стиль */

* {
  padding: 0;
  margin: 0;
  border: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


:focus,
:active {
  outline: none;
}
a:focus,
a:active {
  outline: none;
}


nav,
footer,
header,
aside {
  display: block;
}


html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}


input,
button,
textarea {
  font-family: inherit;
}


input::-ms-clear {
  display: none;
}
button {
  cursor: pointer;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
a,
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
ul li {
  list-style: none;
}
img {
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

/* Основной контент */
.fullscreen-bg {
  position: absolute;
  top: 0px;
  left: 0px;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  overflow: hidden;
  max-height: 100%;
  }
  .fullscreen-bg video{
  min-width: 100%;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  }


/* Основной контейнер */
.container {
  padding: 20px;
}
.container-center {
  height: 100%;
}

.body-wrapper {
display: flex;  
flex-direction: column;
height: 100vh;
flex-basis: auto;
flex: 1 0 auto;
  
}
/* Шапка */

.header {
background: rgba(0, 0 ,0, .4);
backdrop-filter: blur(50px);
position: relative;
}

.header:before {
content: "";
position: absolute;
top: 0%;
left: 0;
height: 100%;
width: 100%;
background: rgba(0, 0 ,0, .4);
backdrop-filter: blur(50px);
z-index: 56;
}

.header__wrapper {
display: flex;
z-index: 2;
}
@media (max-width: 767px) {
.header__wrapper {
  justify-content: space-between;
  align-items: center;
}
}

.logo {
flex: 0 0 300px;
z-index: 565;
}


.logo img  {
width: 200px;
max-width: 100%;

}

.header__burger {
display: none;
}
@media (max-width: 767px) {
.main__wrapper {
  padding-top: 80px;
  z-index: 0;
}

.header {
  position: fixed;
  z-index: 1;
  width: 100%;
}

.header__burger {
  display: block;
  position: relative;
  width: 30px;
  height: 20px;
  z-index: 60;
}
.header__burger span {
  position: absolute;
  background-color: #fff;
  left: 0;
  width: 100%;
  height: 2px;
  top: 9px;
  transition: all 0.3s ease 0s;
}
.header__burger::before,
.header__burger::after {
  content: "";
  position: absolute;
  width: 100%;
  background-color: #fff;
  height: 2px;
  left: 0;
  transition: all 0.3s ease 0s;
}
.header__burger::before {
  top: 0;
}
.header__burger::after {
  bottom: 0;
}
.header__burger.active::before {
  transform: rotate(45deg);
  top: 9px;
}
.header__burger.active::after {
  transform: rotate(-45deg);
  bottom: 9px;
}
.header__burger.active span {
  transform: scale(0);
}
}

.nav {
flex-grow: 1;
display: flex;
}
@media (max-width: 767px) {

body.lock {
  overflow: hidden;
}

.nav {
  position: fixed;
  top: -100vh;
  left: 0;
  height: 100vh;
  background-color: #000;
  width: 100%;
  z-index: 55;
  padding-top: 80px;
  flex-direction: column;
  transition: all 0.3s ease 0s;
  overflow: auto;
             

  
}
.nav.active {
  top: 0;
}

.nav__ul {
  flex-direction: column;
  flex-grow: 0 !important;
}

.contact {
  margin-right: auto;
  margin-left: auto;
  margin-top: 20px;
}

.nav__li {
  margin-top: 20px;
  text-align: center;
}
}

.nav__ul {
display: flex;
flex-grow: 1;
position: relative;
z-index: 211;
align-items: center;
}
.nav__li {
display: inline-block;
margin-left: 10px;
}

.nav__li a {
color: #fff;
cursor: pointer;
}
.contact  {
z-index: 211;
display: flex;
}

.contact__link {
display: flex;
justify-content: flex-start;
align-items: center;
color: #fff;
}
.contact__link img {
width: 20px;
margin-right: 10px;
}


/* Тело */
.main {
flex-grow: 1;

}

/* Карточки */
.main__wrapper {
display: flex;
flex: 1 0 auto;
height: 100%;
position: relative;
margin: 0 -10px;

}
.card {
flex-basis: 25%;
border: 1px solid #000;
/*   margin: 0 10px; */
background: rgba(0, 0 ,0, .4);
backdrop-filter: blur(50px);
border-radius: 8px;
border: none;
color: #fff;
opacity: 0;
margin: 0 10px;
}

.card-container {
height: 100%;
}

.card-wrapper {
display: flex;
flex-direction: column;
height: 100%;
}

.card__header {
display: flex;
align-items: center;
}
.card__logo {
flex-basis: 50%;
}

.card__logo-img {
width: 50px;
}

.card__btn {
flex-basis: 50%;
display: flex;
justify-content: end;
}

.card__btn_modal {
padding: 10px 20px;
background: linear-gradient(to right, #cb9b51 2%, #f6e27a 45%, #f6f2c0 50%, #f6e27a 55%, #cb9b51 78%, #f6f2c0 100%);
border-radius: 10px;
font-size: 16px;
color: #000;
}

.card__title {
margin-bottom: 10px;
color: #cb9b51;
}

.card__title-img {
text-align: center;
margin-bottom: 20px;
}

.card__title-img-img {
width: 80%;
}

.card__list {
flex-grow: 1;
}

.card__ul {
margin-bottom: 10px;
}

.card__li {
display: flex;
align-items: center;
padding: 2px 0;
margin-bottom: 5px;
}

.card__li h3 {
font-size: 1.1rem;
line-height: 1.5rem;
color: #faebd7;
}

.card__list-icone {
width: 25px;
margin-right: 5px;
}

.card__title {
font-size: 1.5rem;
font-weight: 600;
}
.card__footer {
}

.card__footer-ul {
display: flex;
margin-top: 15px;
}

.card__footer-li {
margin-right: 10px;
}

.card__footer-li img{
width: 30px;
}
.card__social {
}


/* Модальное окно */
.modal {
display: none;
position: absolute;
background: rgba(0, 0 ,0, .4);
backdrop-filter: blur(50px);
right: 0;
top: 0;
bottom: 0;
left: calc(10px + 25%);
z-index: 99999;
border-radius: 8px;
}

.close {
width: 25px;
margin-bottom: 20px;
cursor: pointer;
}

.modal__title {
color: #cb9b51;
font-size: 1.5rem;
font-weight: 600;
}

.modal__main {
display: flex;
}

.modal__main span {
display: block;
font-style: italic;
color: #fff;
margin: 10px 0;
}
.modal__main h3 {
font-size: 1.3rem;
color: #cb9b51;
margin-top: 20px;
margin-bottom: 10px;
}
.modal__main p,
.modal__main li {
color: #faebd7;
line-height: 1.5rem;
}

.modal__main li {
list-style: disc;
margin-left: 20px;
}

.modal__left {
flex: 1 1 50%;
padding-right: 20px;
}
.modal__contact {
}
.modal__right {
flex: 1 1 50%;
}

.modal__contact li {
list-style: none;
margin-left: 0;
margin-top: 5px;
}

.modal__contact li a {
color: #faebd7;
}

.modal__social ul {
display: flex;
margin-top: 20px;
}

.modal__social li {
margin-right: 10px;
}

.modal__social li img {
width: 30px;
}
.leader-img {
margin-top: 10px;
object-fit: cover;
margin-top: 10px;
object-fit: cover;
width: 200px;
height: 200px;
}


/* Подвал */
.footer {
background: rgba(0, 0 ,0, .4);
backdrop-filter: blur(50px);
}

.footer__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.footer__wrapper p{
  display: flex;
  margin-bottom: 10px;
  color: #fff;
  margin-right: 10px;
}





/* Медиазапросы */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767px) {
.body-wrapper {
  height: auto;
/*   background: -webkit-linear-gradient(90deg, rgb(0, 0, 0), rgb(144, 134, 81), rgb(0, 0, 0));
  background: -moz-linear-gradient(90deg, rgb(0, 0, 0), rgb(144, 134, 81), rgb(0, 0, 0));
  background: linear-gradient(90deg, rgb(0, 0, 0), rgb(144, 134, 81), rgb(0, 0, 0)); */

}
 .card {
  flex-basis: 100%;
  margin-bottom: 20px;
}

.card:nth-child(2n),
.card:nth-child(2n+1) {
  margin-left: auto;
  margin-right: auto;
}

.card__btn {
  flex-basis: 50%;
  display: inline-block;
  justify-content: end;
  text-align: end;
  }

.main__wrapper {
  flex-wrap: wrap;
  margin: 0;
}
.modal {
  left: 0;
  top: 60px;
}
.modal__main {
  flex-direction: column;
}

.fullscreen-bg {
  position: fixed;
  min-height: 100vh;
}

.fullscreen-bg video {
  min-height: 100vh;
  object-fit: cover;
}


.contact__link {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  color: #cb9b51;
}
.contact__link img {
  display: none;
}
.nav__li a,
.contact__link  {
  font-size: 2.5rem;
}

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
.body-wrapper {
  height: auto;

}
.main__wrapper {
  z-index:auto;
}
.card {
  flex-basis: calc(50% - 10px);
}
.card:nth-child(2n) {
  margin-right: 0;
}
.card:nth-child(2n+1) {
  margin-left: 0;
}
.card:nth-child(1),
.card:nth-child(2) {
  margin-bottom: 20px;
}

.main__wrapper {
  flex-wrap: wrap;
  margin: 0;
}
.modal {
  left: 0;

}
.modal__main {
  flex-direction: column;
}

.fullscreen-bg {
  position: fixed;
  min-height: 100vh;
}

.fullscreen-bg video {
  min-height: 100vh;
  object-fit: cover;
}

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px)  { 
.body-wrapper {
  height: auto;

}
.card {
  flex-basis: calc(50% - 10px);
}
.card:nth-child(2n) {
  margin-right: 0;
}
.card:nth-child(2n+1) {
  margin-left: 0;
}
.card:nth-child(1),
.card:nth-child(2) {
  margin-bottom: 20px;
}

.main__wrapper {
  flex-wrap: wrap;
  margin: 0;
}

.modal {
  left: 0;
}
.modal__main {
  flex-direction: column;
}
.fullscreen-bg {
  position: fixed;
  min-height: 100vh;
}

.fullscreen-bg video {
  min-height: 100vh;
  object-fit: cover;
}
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .fullscreen-bg video {
    min-height: 100vh;
    object-fit: cover;
  }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {  
  .fullscreen-bg video {
    min-height: 100vh;
    object-fit: cover;
  }
}