/* FOOTER */
.footer {
  background-color: #24334c;
}
.footer .footer__top {
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: initial;
}
.footer .footer__top .container {
  padding-top: 120px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: flex-end;
}

.footer .footer__top__wrapper {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.footer .footer__top__wrapper .footer__top__title {
  font-size: 30px;
  font-family: var(--font-montserrat);
  font-weight: 600;
  color: #24334c;
  margin-bottom: 20px;
}
.footer .footer__top__wrapper .footer__top__subtitle {
  font-size: 18px;
  color: #363636;
  margin-bottom: 20px;
}

.footer .footer__bottom .container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  padding-top: 40px;
  padding-bottom: 40px;
}
.footer .footer__bottom .footer__wrap-intro {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding-right: 40px;
}
.footer .footer__bottom .footer__wrap-menu {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  max-width: max-content;
  padding: 7px 30px;
}
.footer .footer__bottom .footer__wrap-info {
  grid-column: span 5;
  display: flex;

  flex-direction: column;
  max-width: max-content;
}
.footer .footer__bottom .footer__wrap-copyright {
  grid-column: span 12;
  display: flex;
  flex-direction: row;
  width: 100%;
}

/* COMPANY */
.footer .footer__bottom .footer__wrap-intro .footer__logo {
  display: flex;
  flex-direction: column;
  max-width: max-content;
}

.footer .footer__bottom .footer__wrap-intro .footer__desc {
  font-size: 14px;
  color: white;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 300;
}
.footer .footer__bottom .footer__wrap-intro .footer__desc-2 {
  font-size: 14px;
  color: white;
  margin-bottom: 20px;
  font-weight: 300;
}
.footer .footer__bottom .footer__wrap-intro .footer__desc-2 a {
  color: var(--yellow);
}

/* SITEMAP */
.footer__sitemap {
  margin: unset;
  padding: unset;
  display: flex;
  flex-direction: column;
  list-style-type: none;
}
.footer__sitemap .footer__sitemap__item {
  display: flex;
  flex-direction: column;
}
.footer__sitemap .footer__sitemap__item .footer__sitemap__link {
  color: white;
  font-size: 14px;
  font-family: var(--font-montserrat);
  font-weight: 600;
  position: relative;
  max-width: max-content;
  text-decoration: none;
  letter-spacing: 1px;
  line-height: 2.2;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: all 0.3s ease-in-out;
}
.footer__sitemap .footer__sitemap__item .footer__sitemap__link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--yellow);
  transition: all 0.2s ease;
}

.footer__sitemap .footer__sitemap__item:hover .footer__sitemap__link::before {
  width: 100%;
}
.footer__sitemap .footer__sitemap__item.active .footer__sitemap__link::before {
  width: 100%;
}

.footer__sitemap
  .footer__sitemap__item.has-child
  .footer__sitemap__link::after {
  content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmZmZmIj4KCjxnIGlkPSJTVkdSZXBvX2JnQ2FycmllciIgc3Ryb2tlLXdpZHRoPSIwIi8+Cgo8ZyBpZD0iU1ZHUmVwb190cmFjZXJDYXJyaWVyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KCjxnIGlkPSJTVkdSZXBvX2ljb25DYXJyaWVyIj4gPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi43MDcxIDE0LjcwNzFDMTIuMzE2NiAxNS4wOTc2IDExLjY4MzQgMTUuMDk3NiAxMS4yOTI5IDE0LjcwNzFMNi4yOTI4OSA5LjcwNzExQzUuOTAyMzcgOS4zMTY1OCA1LjkwMjM3IDguNjgzNDIgNi4yOTI4OSA4LjI5Mjg5QzYuNjgzNDIgNy45MDIzNyA3LjMxNjU4IDcuOTAyMzcgNy43MDcxMSA4LjI5Mjg5TDEyIDEyLjU4NThMMTYuMjkyOSA4LjI5Mjg5QzE2LjY4MzQgNy45MDIzNyAxNy4zMTY2IDcuOTAyMzcgMTcuNzA3MSA4LjI5Mjg5QzE4LjA5NzYgOC42ODM0MiAxOC4wOTc2IDkuMzE2NTggMTcuNzA3MSA5LjcwNzExTDEyLjcwNzEgMTQuNzA3MVoiIGZpbGw9IiNmZmZmZmYiLz4gPC9nPgoKPC9zdmc+");
  height: 24px;
  width: 16px;
  top: 0px;
  margin-left: 0.8rem;
  position: relative;
  transition: all 0.3s ease;
}
.footer__sitemap
  .footer__sitemap__item.has-child:hover
  .footer__sitemap__link::after {
  rotate: 180deg;
}

.footer__sitemap
  .footer__sitemap__item.has-child.active
  .footer__sitemap__link::after {
  rotate: 180deg;
}

/* footer sub-menu*/
.footer__sitemap .footer__sitemap__item.has-child .sub-menu {
  margin: unset;
  padding: unset;
  display: flex;
  flex-direction: column;
  list-style-type: none;

  opacity: 0;
  visibility: hidden;
  height: 100%;
  max-height: 0rem;
  transition: all 0.3s ease;
}

.footer__sitemap .footer__sitemap__item.has-child:hover .sub-menu,
.footer__sitemap .footer__sitemap__item.has-child.active .sub-menu {
  opacity: 1;
  visibility: visible;
  max-height: 100rem;
}

.footer__sitemap .footer__sitemap__item .sub-menu .sub-item {
  display: flex;
  flex-direction: column;
}
.footer__sitemap .footer__sitemap__item .sub-menu .sub-item .sub-link {
  color: var(--navy);
  background-color: white;
  font-size: 12px;
  font-family: var(--font-montserrat);
  font-weight: 600;
  position: relative;
  width: 100%;
  text-decoration: none;
  letter-spacing: 1px;
  padding: 8px 12px;
}

.footer__sitemap .footer__sitemap__item .sub-menu .sub-item:hover .sub-link,
.footer__sitemap .footer__sitemap__item .sub-menu .sub-item.active .sub-link {
  background-color: var(--yellow);
}

/* INFO */
.footer .footer__wrap-address {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.footer .footer__wrap-address .footer__address {
  color: white;
  font-size: 14px;
  font-family: var(--font-muli);
}
.footer .footer__wrap-address .footer__contact {
  color: white;
  font-size: 14px;
  font-family: var(--font-muli);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 10px;
  column-gap: 10px;
  width: max-content;
}
.footer .footer__wrap-address .footer__contact svg {
  width: 28px;
  height: 28px;
}
.footer .footer__wrap-info .footer__email {
  display: flex;
  flex-direction: column;
}
.footer .footer__wrap-info .footer__hint {
  font-size: 14px;
  font-weight: 700;
  color: white;
  font-family: var(--font-muli);
  margin-bottom: 10px;
}
.footer .footer__wrap-info .footer__email-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 20px;
}
.footer .footer__wrap-info .footer__opening-hours {
  display: flex;
  flex-direction: column;
}
.footer .footer__wrap-info .footer__opening-hours .footer__opening-hours-list {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.footer .footer__wrap-info .footer__opening-hours .footer__opening-hours-day {
  color: white;
  font-size: 14px;
  font-family: var(--font-muli);
  margin-right: 20px;
}
.footer .footer__wrap-info .footer__opening-hours .footer__opening-hours-time {
  color: white;
  font-size: 14px;
  font-family: var(--font-muli);
}

/* COPYRIGHT */
.footer .footer__bottom .footer__wrap-copyright {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: max-content;
  border-top: #3a4559ff solid 1px;
  padding: 35px 0px 40px;
  margin-top: 50px;
}

.footer .footer__bottom .footer__wrap-copyright .footer__copyright-text {
  display: flex;
  flex-direction: row;
  color: white;
  font-size: 12px;
}

.footer .footer__bottom .footer__wrap-copyright .footer__copyright-text a {
  color: #4a6bae;
}

.footer .footer__bottom .footer__wrap-copyright .footer__privacy-policy {
  display: flex;
  flex-direction: row;
  font-size: 12px;
  color: #4a6bae;
  margin-right: 70px;
}

.footer .footer__bottom .footer__wrap-copyright .footer__wrap-socmed {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}
.footer
  .footer__bottom
  .footer__wrap-copyright
  .footer__wrap-socmed
  .footer__socmed-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  background-color: white;
  border-radius: 50%;
  text-decoration: none;
}

.cta-wa {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 99;
}

.cta-wa a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.cta-wa a span {
  font-size: 16px;
  color: #898989;
}

.book-appointment {
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;

  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
.book-appointment .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.book-appointment .book-appointment__content {
  scale: 50%;
  transition: all 0.3s ease;

  background-color: #fff8eb;
  width: 542px;
  height: 411px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  position: relative;
}
.book-appointment .book-appointment__content .book-appointment__close {
  cursor: pointer;
  border: unset;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fffbf3;
  position: absolute;
  top: 10px;
  right: 10px;
}

.book-appointment .book-appointment__title {
  font-size: 40px;
  font-weight: 700;
  color: #24334c;
  font-family: var(--font-montserrat);
  text-align: center;
  padding: 0 20px;
  line-height: 1.3;
}

.book-appointment .book-appointment__subtitle {
  font-size: 18px;
  font-weight: 300;
  color: #24334c;
  font-family: var(--font-muli);
  text-align: center;
}

.book-appointment .book-appointment__buttons {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  gap: 20px;
}
.book-appointment .book-appointment__buttons .btn-popup {
  max-width: 190px;
  width: 190px;
  font-size: 16px;
}

.book-appointment.opened {
  visibility: visible;
  opacity: 1;
}
.book-appointment.opened .book-appointment__content {
  scale: 100%;
}

.priv-pol {
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.priv-pol.opened-pp {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.priv-pol .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  height: calc(100vh - 100px);
}
.priv-pol .priv-pol__content {
  display: flex;
  flex-direction: column;
  padding: 70px 100px 80px 100px;
  overflow-y: scroll;
  position: relative;
  background-color: white;
}
.priv-pol .priv-pol__close {
  background-color: unset;
  border: unset;
  width: max-content;
  height: max-content;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 60px;
  z-index: 1;
}
.priv-pol .priv-pol__content p,
.priv-pol .priv-pol__content ul,
.priv-pol .priv-pol__content li,
.priv-pol .priv-pol__content ol,
.priv-pol .priv-pol__content a {
  font-size: 18px;
}
.priv-pol .priv-pol__content h2 {
  font-size: 24;
  margin-bottom: 20px;
}

/* RESPONSIVE - FOOTER */
@media screen and (max-width: 992px) {
  .footer .footer__top {
    background-position: 50% 0%;
    background-size: contain;
    background-color: #e1e3ea;
  }

  .footer .footer__top .container {
    flex-direction: column;
    padding-top: 170px;
    padding-bottom: 40px;
  }
  .footer .footer__top__wrapper {
    width: 100%;
  }
  .footer .footer__top__wrapper .footer__top__title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .footer .footer__top__wrapper .footer__top__subtitle {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .footer .footer__top__wrapper .footer__top__btn {
    max-width: 100%;
    height: 50px;
  }

  .footer .footer__bottom .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .footer .footer__bottom .footer__wrap-intro .footer__logo {
    display: flex;
    flex-direction: column;

    max-width: max-content;
  }
  .footer .footer__bottom .footer__wrap-intro .footer__logo img {
    width: 216px;
    object-fit: contain;
  }
  .footer .footer__bottom .footer__wrap-intro {
    grid-column: span 12;
    padding-right: 0;
  }
  .footer .footer__bottom .footer__wrap-menu {
    grid-column: span 12;
    padding: 7px 0px;
  }
  .footer .footer__bottom .footer__wrap-info {
    grid-column: span 12;
    display: flex;

    flex-direction: column;
    max-width: max-content;
  }

  .footer .footer__bottom .footer__wrap-intro .footer__desc,
  .footer .footer__bottom .footer__wrap-intro .footer__desc-2 {
    font-size: 12px;
    margin-top: 0px;
    margin-bottom: 15px;
  }

  .footer__sitemap .footer__sitemap__item:hover .footer__sitemap__link::before {
    width: 0%;
  }
  .footer__sitemap
    .footer__sitemap__item.opened
    .footer__sitemap__link::before {
    width: 100%;
  }

  .footer__sitemap
    .footer__sitemap__item.has-child:hover
    .footer__sitemap__link::after {
    rotate: 0deg;
  }
  .footer__sitemap
    .footer__sitemap__item.has-child.opened
    .footer__sitemap__link::after {
    rotate: 180deg;
  }

  .footer__sitemap .footer__sitemap__item.has-child:hover .sub-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0rem;
  }
  .footer__sitemap .footer__sitemap__item.has-child.opened .sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: 100rem;
  }

  .footer .footer__wrap-address {
    margin-top: 20px;
    margin-bottom: 0px;
  }
  .footer .footer__wrap-info .footer__email {
    margin-top: 20px;
    margin-bottom: 0px;
  }
  .footer .footer__bottom .footer__wrap-copyright {
    flex-direction: column;
    align-items: center;
  }
  .footer .footer__bottom .footer__wrap-copyright .footer__copyright-text {
    display: block;
  }
  .footer .footer__bottom .footer__wrap-copyright .footer__privacy-policy {
    margin-right: 0;
    margin-top: 5px;
  }
  .footer .footer__bottom .footer__wrap-copyright .footer__wrap-socmed {
    margin-top: 30px;
  }

  .book-appointment .book-appointment__content {
    width: 100%;
  }
  .book-appointment .book-appointment__title {
    font-size: 32px;
  }
  .book-appointment .book-appointment__subtitle {
    font-size: 16px;
  }
  .book-appointment .book-appointment__buttons {
    flex-direction: column;
    align-items: center;
  }

  .book-appointment .book-appointment__buttons .btn-popup {
    max-width: 90%;
    width: 90%;
    height: 50px;
  }
  .priv-pol .priv-pol__content {
    padding: 54px 20px 30px 20px;
  }
}
