
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  line-height: 128%;
  color: var(--body-color);
  background: #fff;
  overflow-x: hidden;  
}
input, button {
  outline: none;
  background: none;
  border: none;
  transition: var(--transition);
}
button {    
  cursor: pointer;
}
img {
  display: block;
  width: 100%;
  margin: 0 auto;
  height: auto;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;    
}
.container__inner {
  border-radius: 20px;
  padding: 20px;
}

@media (min-width: 576px) {
  .container {
      max-width: 540px;
    }
  }
@media (min-width: 768px) {
  .container {
      max-width: 720px;
    }
  }
@media (min-width: 992px) {
  .container {
      max-width: 960px;
    }
  }
@media (min-width: 1366px) {
  .container {
      max-width: 1310px;
    }
  }

.flexbox,
.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;  
}
section {
  padding: 60px 0 0;
}
section.p0 {
  padding: 0;
}
ul {
  padding: 0;
  margin: 0;
}
li {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
a {
  display: block;
  text-decoration: none;
  color: var(--link-color);
  transition: var(--transition);
}
a:hover {
	color: var(--hover-color);
}
label {
  display: block;
  font-size: 16px;
}
input,
select {
  width: 100%;
  height: 45px;
  border: 1px solid var(--bordercolor);
  background: #fff;
  padding: 0 15px;
  font-size: 18px;
  font-weight: 300;
}
p {
  margin: 10px 0;
}
.fa {
  font-family: icon;
}

/* Slick START */
.slick-arrow {
  position: absolute;
  bottom: 0;
  margin-right: -50%;
  transform: translateX(-50%);
  color: var(--body-color);
  background: none;
  width: 20px;
  height: 20px;
  transition: all 0.4s ease-in-out;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  opacity: 1;
  z-index: 10;
}
.slick-arrow:hover {
  background: var(--color-1);
  border-color: var(--color-1);
}
.slick-next {
  right: 0;
}
.slick-prev {
  left: 0;
}

.slick-dots {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-right: -50%;
  transform: translateX(-50%);    
}
.slick-dots li {
  background: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgb(113, 113, 113);
  color: transparent;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.slick-dots li:hover,
.slick-dots .slick-active {
  border: 1px solid rgb(0, 0, 0);
}

.slick-dots li button {
  display: none;
}
.slick-dots li:not(:last-child) {
  margin-right: 11px;  
}
.slick-dots li {
  display: none;
}
.slick-dots li:nth-child(-n+4) {
  display: block;
}
/* Slick END */  

/* Copy mail START */
.copymail {
    cursor: pointer;
}
.copymail svg path {
    transition: var(--transition);
}
.copymail:hover svg path {
    fill: var(--hover-color);    
}
.alert__message {
    display: none;
    background-color: var(--color-2);
    color: white;
    padding: 15px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%,-50%);
    padding: 30px 40px;
    border-radius: 12px;
    z-index: 1;
}
/* Copy mail END */        

/* Up button */

#button-up {
  display: inline-block;
  background: linear-gradient(#0191bd, #00b3d9);
  width: 50px;
  height: 50px;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
  opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  border: 1px solid #fff;
  cursor: pointer;
}
#button-up svg path {
  fill: #fff;
}
#button-up.show {
  opacity: 1;
  visibility: visible;
}

  /* END Up button */


/* Modal START */
.modal,
.review__modal,
.feedback__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7); /* Затемнение фона на 70% */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-window__content {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: auto;
  background-color: #272727;
  padding: 20px 30px;
  color: #fff;
  border-radius: 12px;
}
.modal-window__content h3 {
  color: #fff;
}
.modal-window__content input {
  height: 40px;
}
.modal-window__content input,
.modal-window__content textarea {
  width: 100%;
  border-radius: 6px;
  padding: 0 20px;
  color: #272727;
  font-size: 16px;
  margin-bottom: 15px;
}
.modal-window__content textarea {
  padding: 20px;
}
.modal-window__content .custom__btn {
  margin-left: auto;
}
.modal-window__content h3 {
  margin-bottom: 25px;
}
.modal-window__close,
.close-btn {
  position: absolute;
  top: 0;
  right: -80px;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.modal-window__close:hover,
.close-btn:hover {
  transform: rotate(90deg);
}
.modal-window__close:before,
.modal-window__close:after,
.close-btn:before,
.close-btn:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: 4em;
  width: 2px; 
  background-color: #fff;
}
.modal-window__close:before,
.close-btn:before {
  transform: rotate(45deg);
}
.modal-window__close:after,
.close-btn:after {
  transform: rotate(-45deg);
}

.fade-in {
  animation: fade-in 0.3s ease-in-out forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* END */