* {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  color: rgb(0, 0, 0);
  text-decoration: none;
}
.more {
  text-decoration: underline;
}

/* header style start */

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}
.logo > a img {
  width: 100px;
}
.logo a {
  display: flex;
  align-items: center;
  font-size: 50px;
  font-weight: 500;
  line-height: 18px;
}
.header__section {
  max-width: 1200px;
  margin: 0 auto;
}
.header a {
  text-decoration: none;
}
.header__ul,
.header__nav-contact {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
}
.header__nav-links,
._ul__li a {
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
}
.header__nav-contact .adapt {
  display: none;
}

/* burger menu */
.header__burger-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  position: relative;
  background-color: transparent;
  z-index: 100;
  cursor: pointer;
}
.header__burger-btn span {
  position: absolute;
  width: 30px;
  height: 3px;
  background: #000;
  left: 5px;
  transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
}
.header__burger-btn span:nth-child(1) {
  transform: translateY(-10px);
}
.header__burger-btn span:nth-child(3) {
  transform: translateY(10px);
}
.header.open .header__burger-btn span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}
.header.open .header__burger-btn span:nth-child(2) {
  opacity: 0;
}
.header.open .header__burger-btn span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

@media (max-width: 768px) {
  .header__wrapper {
    justify-content: space-between;
  }
  .header__nav-contact ._ul__li {
    display: none;
  }
  .header__nav-contact .adapt {
    display: block;
  }
  .menu {
    display: flex;
    gap: 85px;
    flex-wrap: wrap;
    align-items: center;
  }
  .header__nav-contact > .adapt img {
    width: 25px;
  }

  .logo > a img {
    width: 50px;
  }
  .logo a {
    display: flex;
    align-items: center;
    font-size: 30px;
    font-weight: 500;
    line-height: 18px;
  }
}
@media (max-width: 650px) {
  .menu {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
  }
}
@media (max-width: 550px) {
  .header__burger-btn {
    display: inline-block;
  }
  .menu {
    position: absolute;
    left: 0;
    top: -350px;
    width: 100%;
    height: 100%;
    background: rgba(60, 60, 60, 0.65);
    padding: 50px 0px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateY(-100%);
    transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
  }
  .header__ul {
    display: block;
  }
  ._ul__li a {
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    display: block;
    padding: 15px 0;
  }
  .header.open .menu {
    transform: translateY(350px);
  }

  .header__nav-contact .adapt {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
  }
  .header__nav-contact > .adapt img {
    width: 25px;
    padding: 10px;
    background-color: #fff;
    border-radius: 32px;
    }
  .header__nav-contact ._ul__li {
    display: none;
  }
  .logo > a img {
    width: 50px;
  }
  .logo a {
    display: flex;
    align-items: center;
    font-size: 30px;
    font-weight: 500;
    line-height: 18px;
  }
}

/* header style end */

/* faq start */
.answers {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0;
}

.questions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 45px;
}

details {
  width: 586px;
  color: #43686e;
  font-size: 20px;
  font-weight: 300;
  background: rgba(183, 183, 183, 0.51);
  cursor: pointer;
  padding: 13px 23px;
  position: relative;
  border-radius: 5px;
  transition: background 0.3s ease;
}

details:hover {
  background: rgba(183, 183, 183, 0.7);
}

details summary {
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
  font-weight: normal;
  cursor: pointer;
  user-select: none;
}

details summary::before {
  content: "▼";
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

details[open] summary::before {
  content: "▲";
}

details .text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  padding-top: 20px;
}

details[open] .text {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

details summary::-webkit-details-marker {
  display: none;
}

.link-faq {
  text-decoration: underline;
}
@media (max-width: 425px) {
  details summary {font-size: 15px;}
}
/* faq end */

/* footer start */

.footer {
  padding: 20px 10px;

  margin-top: 50px;

  box-shadow: -4px 4px 50px 0px rgba(143, 143, 143, 0.25);
  background: linear-gradient(
    180deg,
    rgba(227, 227, 227, 0) 18.048%,
    rgba(227, 227, 227, 0.5) 42.708%,
    rgba(227, 227, 227, 0.5) 100%
  );
}
/* form  */

/* popup */

.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #00000080;
  top: 0;
  left: 0;

  overflow-y: auto;
  overflow-x: hidden;

  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease 0s;
}
.popup.open {
  opacity: 1;
  visibility: visible;
}
.popup.open .popup__content {
  transform: perspective(600px) translate(0px, 0%) rotateX(0deg);
  opacity: 1;
}

.popup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}
.popup__content {
  color: #000;
  max-width: 622px;
  max-height: 700px;
  padding: 72px 85px;
  background: rgb(255, 255, 255);
  position: relative;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.popup__text-content {
  max-width: 450px;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.popup__text-content div{
  justify-content: center;
  display: flex;
  align-items: center;
  flex-direction: column;

}
.popup__title {
  font-size: 32px;
  font-weight: 400;
  line-height: 39px;

  padding-bottom: 25px;
}

.popup__close {
  position: absolute;
  right: 50px;
  top: 45px;
}
.popup__close img {
  width: 25px;
}

.name-i,
.tel-i,
.mail-i,
.comment-i {
  box-sizing: border-box;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 0px 10px 0px 10px;

  resize: none;

  background: rgb(255, 255, 255);

  padding: 10px 0 10px 50px;

  color: rgba(0, 0, 0, 0.6);
  font-size: 25px;
  font-weight: 400;
  line-height: 166.2%;

  width: 450px;

  margin-top: 6px;

  align-items: center;
  display: flex;
  justify-content: center;
}
.checkbox-i {
  transform: scale(1.5);
  margin: 10px;
  cursor: pointer;
}
.check {
  display: flex;
  align-items: center;
  padding: 25px;
}

.comment-i {
  height: 200px;
  margin-bottom: 0;
}
.btn-send {
  border-radius: 10px;
  background: rgba(94, 191, 207, 0.5);
  border: none;

  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin-top: 10px;
  padding: 14px 45px;
  cursor: pointer;

  transition: background 0.3s ease;
}
.btn-send:hover {
  background: rgba(31, 165, 186, 0.75);
}
.sogl {
  font-size: 14px;
  font-weight: 300;
  text-align: center;

  padding-top: 30px;
}
.form-error, .field-error {
  min-height: 18px; 
  color: red;
  font-size: 14px;
}


@media (max-width: 1024px) {
  .popup__content {
    max-width: 90%;
    padding: 55px;
  }
  .name-i,
  .tel-i,
  .mail-i,
  .comment-i {
    width: 100%;
    font-size: 20px;
    padding: 10px;
  }
  .comment-i{
    height: 100px;
    width: 270px;
  }
  .popup__title {
    font-size: 28px;
    padding-bottom: 40px;
  }
  .btn-send {
    font-size: 18px;
    padding: 12px 30px;
  }
  .popup__close {
    right: 20px;
    top: 20px;
  }
  .sogl{
    width: 300px;
    font-size: 12px;
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  .popup__content {
    max-width: 95%;
    padding: 45px;
  }
  .name-i,
  .tel-i,
  .mail-i,
  .comment-i {
    width: 100%;
    font-size: 18px;
    padding: 8px;
  }
  .comment-i {
    height: 100px;
    width: 240px;
  }
  .popup__title {
    font-size: 24px;
    padding-bottom: 30px;
  }
  .btn-send {
    font-size: 16px;
    padding: 10px 25px;
  }
  .popup__close {
    right: 15px;
    top: 15px;
  }
  .sogl{
    width: 260px;
    font-size: 10px;
    padding-top: 20px;
  }
}

@media (max-width: 425px) {
  .popup__content {
    max-width: 95%;
    padding: 20px;
  }
  .name-i,
  .tel-i,
  .mail-i,
  .comment-i {
    width: 100%;
    font-size: 16px;
    padding: 6px;
  }
  .comment-i {
    height: 80px;
    width: 215px;
  }
  .check {
    padding: 15px;
  }
  .popup__title {
    font-size: 22px;
    padding-bottom: 20px;
  }
  .btn-send {
    font-size: 14px;
    padding: 8px 20px;
  }
  .popup__close {
    right: 10px;
    top: 10px;
  }
}

/* form end */

/* contacts */
.contact-footer {
  display: flex;
  justify-content: space-between;
  max-width: 1110px;
  margin: 0 auto;
}

.contact-info-footer {
  margin: 42px 0 76px 0;

  padding: 0;
}
.map {
  width: 700px;
  height: 400px;
  margin-top: 50px;
}

.title-footer {
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;

  letter-spacing: 0.01em;

  color: #593f0d;
  margin: 0;
  margin-bottom: 40px;
}
.E-mail {
  font-style: normal;
  font-weight: 700;
  font-size: 25px;
  line-height: 40px;

  margin: 0;

  color: #ffc858;
}

.tel {
  font-weight: 700;
  font-size: 25px;
  line-height: 40px;

  margin: 0;

  margin-top: 35px;

  color: #ffc858;
}
.work-schedule {
  font-weight: 700;
  font-size: 25px;
  line-height: 40px;

  margin: 0;
  margin-top: 35px;

  color: #ffc858;
}
.ka {
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;

  margin: 0;

  text-decoration-line: underline;

  color: #000000;
}

/* footer end */
@media (max-width: 1600px) {
  body {
    padding: 0 20px 0;
  }
}
@media (max-width: 1000px) {
  body {
    padding: 0 20px 0;
  }

  /* footer */
  .contact-footer {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
  .footer__contact-info_media {
    display: flex;
    justify-content: space-between;
    gap: 70px;
  }
  .contact-info-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .phone p,
  .work-info p {
    margin: 0;
  }
  .mail-footer,
  .phone,
  .work-info {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  /* header */

  /* faq */

  details {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;

    width: 450px;
  }

  .answers {
    padding: 50px 0;
  }

  /* footer */
  .footer__contact-info_media {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .contact-info-footer {
    margin: 0 0 30px;
  }
  .map {
    width: 100%;
    height: 0px;
    margin-top: 0px;
  }
  .map iframe {
    width: 100%;
    height: 200px;
  }
  .title-footer {
    font-weight: 700;
    font-size: 26px;
    line-height: 40px;
    margin: 0;
    text-align: center;
  }
  .mail-footer p,
  .phone p,
  .work-info p {
    font-weight: 500;
    font-size: 26px;
    line-height: 40px;
  }
  .mail-footer p,
  .phone p,
  .work-info p {
    font-weight: 500;
    font-size: 20px;
    line-height: 40px;
  }
}

@media (max-width: 500px) {
  .hr {
    display: none;
  }

  .answers {
    padding: 35px 0;
  }

  /* faq */
  .questions {
    gap: 20px;
  }
  details {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;

    width: 240px;
  }
}

@media (max-width: 320px) {
  .answers {
    padding: 20px 0;
  }
  /* footer */
  .footer__contact-info_media {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
  }
}
