@import url(../css/variables.css);
@import url(../css/basic.css);
@import url(../css/global-classes.css);
@import url(../css/header.css);

/* ================================== */

/* ========= opis  ======== */
.opis {
  padding-bottom: 35px;
  text-align: center;
}

.opis h2 {
  margin-bottom: 15px;
}

.opis__block {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 50px 0;
  gap: 20px;
}

.opis__block-item {
  display: flex;
  flex-direction: column;
  width: 355px;
  text-align: left;
  box-shadow: 0px 5px 18px #c3c3c3;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.8, 0.8, 0.8);
    transform: scale3d(0.8, 0.8, 0.8);
  }

  50% {
    opacity: 1;
  }

  100% {
    /* opacity: 1; */
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.opis__block-item:hover {
  box-shadow: 0px 10px 10px #c3c3c3;
  transform: scale(1.01);
  -webkit-transform: scale(1.01);
  -moz-transform: scale(1.01);
  -ms-transform: scale(1.01);
  -o-transform: scale(1.01);
}

.opis__block-image {
  height: 244px;
  object-fit: cover;
}

.opis__block-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.opis__block-txt {
  padding: 20px 17px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 20px;
  flex: 1 1 auto;
}

.opis__txt-title {
  font-size: 19px;
  line-height: 133%;
  font-weight: 500;
  margin-bottom: 12px;
  padding: 20px;
}

.opis__block-txt p {
  font-size: 16px;
  line-height: 135%;
}

.opis__block-txt h4 {
  margin-bottom: 5px;
}

.opis__subtitle {
  font-weight: 700;
  font-size: 20px;
  line-height: 115%;
  letter-spacing: 0.03em;
  color: var(--text);
  padding: 0px 0 17px;
}

.opis__ul {
  padding: 0 0 0 22px;
}

.opis__ul-li {
  list-style: disc;
  margin-bottom: 12px;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  color: var(--text);
}

.opis__ul-li span {
  color: var(--text);
}

.opis__grup {
  display: flex;
  align-items: center;
  margin-top: 18px;
  justify-content: center;
  gap: 15px;
}

.opis__link {
  color: var(--text-w);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 192px;
  height: 42px;
  background: var(--text);
  border-radius: 30px;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  text-align: center;
}

.opis__link:hover {
  background: #3656b6;
}

.opis__link-icon {
  position: relative;
  width: 40px;
}
.opis__link-icon:hover  {
  transform: scale(1.06);
}
.opis__link-icon:hover::before {
  content: '';
  border-radius: 50%;
  border: 1px solid #48c95f;
  width: 40px;
  height: 40px;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  position: absolute;
  transform-origin: center center;
  animation-name: kapl;
  animation-duration: 2s;
  /* animation-iteration-count: infinite; */
  animation-direction: alternate;
  animation-timing-function: ease-in;
  
  z-index: -1;
}
@keyframes kapl {
  0% {
    scale: 1;
    opacity: 1;
  }
  50% {
    scale: 1.5;
    opacity: 0;
  }
  99.9% { 
    scale: 1;
    opacity: 0;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
/* ====== max-width 450px ====== */
@media (max-width: 450px) {
  .opis {
    padding: 35px 0 35px;
  }

  .opis__block {
    margin: 10px 0;
  }

  .opis__block-item {
    width: 100%;
  }

}
/* ========= opis / ======== */
/* ========= contact ========= */
.contact__title {
  margin-bottom: 50px;
  text-align: left;
}
.contact__box {
  display: flex;
  gap: 6%;
}
.contact__box-item {
  width: 47%;
}
.contact__subtitle {
  margin-bottom: 35px;
}
.contact__grup, .contact__tel {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: var(--bg-dark);
}
.contact__text, .contact__tel  {
  font-size: 18px;
  line-height: 130%;
  color: var(--bg-dark);
}

.contact__tel:hover {
  color: var(--text-hov);

}
.contact__tel:hover img {
  transform: scale(1.11);
  opacity: 0.8;
}
.contact__img {
  width: 32px;
  display: inline-block;
  margin: 0 15px 0 0;
  opacity: 0.6;
  transition: ease 0.5s;
}
.contact__messesgers-bl {
  margin-top: 40px;
}
/* .contact__litetitle{

} */
.contact__box-icon {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}
.contact__icon-link {
  width: 40px;
} 
.contact__icon-link img {
  backdrop-filter: blur(5px);
  filter: saturate(120%); 
}
.contact__icon-link:hover  {
  transform: scale(1.13);
  /* scale: 1.1; */
}
.yandex-map {
  width: 100%;
  height: 100%;
  min-height: 350px;
}
/* ====== Медиа 768px ====== */
@media (max-width: 768px) {
  .contact__box {
     flex-direction: column;
     gap: 35px;
 }
 .contact__box-item {
  width: 100%;
  }
}
/* ====== Медиа 650px ====== */
@media (max-width: 650px) {
  .contact {
     padding-bottom: 50px;
 }
}
/* ====== Медиа 450px ====== */
@media (max-width: 450px) {
  .contact {
     padding-bottom: 25px;
 }
 .contact__box {
  gap: 25px;
  }
  /* .yandex-map {
    min-height: 450px;
  } */
  .contact__subtitle {
     margin-bottom: 20px;
  }
 .contact__messesgers-bl {
  margin-top: 30px;
  }
  .contact__text, .contact__tel {
     font-size: 16px;
  }
 .contact__img {
  width: 26px;
  opacity: 0.7;
  }
  .contact__text br {
     display: none;
  }
 .contact__box-icon {
  margin-top: 20px;
  }
}
/* ====== Медиа 450px ====== */
/* @media (max-width: 450px) {

} */
/* ========= contact / ========= */

/* ========= footer ======== */
.footer {
  padding: 20px 0 20px;
  background: var(--bgr);
  color: var(--bg-light);
}
.footer__box {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 15px 0;
}
.footer__box-logo {
  width: 130px;
}
.footer__box-logo img {
  margin: 0;
}
.footer__box-icon {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer__box-icon a {
  width: 24px;
}
.footer__box-icon a:hover {
  transform: scale(1.16);
}

.footer__bottom {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 0;
}
.footer__box-contakts {
  display: flex;
  gap: 20px 30px;
  flex-wrap: wrap;
  justify-content: space-between;
  /* width: 100%; */
}
.footer__box-contakts img {
  width: 16px;
  margin-right: 11px;
}
.footer__contakts-linka {
  display: flex;
  color: var(--bg-light);
  font-size: 16px;
  font-weight: 400;
}
.footer__contakts-linka:hover {
  color: var(--text-bl);
}
.footer__hr {
  height: 1px;
  background: var(--text-w);
  opacity: 0.7;
}
.footer__box-author {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 16px;
  color: var(--st);
}
.footer__site {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer__author-link {
  display: flex;
  color: var(--text-bl);
}
.footer__author-link:hover {
  color: var(--text-bl-h);
  text-decoration: underline;
}
.footer__author-icons {
  display: flex;
  gap: 8px;
}
.footer__author-image {
  width: 16px;
  opacity: 0.5;
}
.footer__author-image:hover {
  width: 16px;
  opacity: 1;
}
/* ====== media 900px ====== */
@media (max-width: 900px) {
  .footer__bottom {
    flex-direction: column;
  }
  .footer__box-contakts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer__contakts-linka {
    margin: 0 15px 15px;
  }
}
/* ====== media 768px ====== */
/* @media (max-width: 768px) {} */

/* ====== media 450px ====== */
@media (max-width: 450px) {
  .contact__title {
    margin-bottom: 20px;
  }
  .footer {
     padding: 20px 0 15px;
   }
  .footer__box-contakts {
    gap: 10px 30px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 35px;
    width: 100%;
  }
  .footer__site {
    font-size: 13px;
  }
  .footer__contakts-linka {
    margin: 0 0 8px;
  }
}
/* ====== media 400px ====== */
