/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  background: #ffd07c;
  z-index: 9;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
}

.navigation {
  display: none;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg {
  stroke: #8f6316;
}

.navigation-list {
  display: flex;
  gap: 14px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--text);
  border-radius: 10px;
  padding: 10px;
  transition: border-color 0.3s ease;
}

.navigation-item:hover {
  background: #e9b58e;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 8;
  padding: 20px;
  padding-top: 80px;
  transform: translateX(100%);
  transition: transform 1s ease;
  z-index: 8;
  width: 286px;
  max-width: 100%;
  border-radius: 0 0 20px 20px;
  backdrop-filter: blur(12px);
  background: rgba(211, 172, 114, 0.8);
}

.modal-navigation-list {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 32px;
}

.modal-click {
  transform: translateX(0);
}

@media screen and (min-width: 1437px) {
  .header {
    padding: 20px 0;
    background: none;
  }

  .header-logo {
    width: 203px;
  }

  .navigation {
    display: block;
  }

  .navigation-item {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #845501;
    border: 1px solid #efbd66;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 51px;
}

.home-img {
  /* width: 303px; */
  margin: 0 auto;
  margin-bottom: 7px;
}

.home-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 36px;
  color: var(--title);
  margin-bottom: 24px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--text);
  margin-bottom: 24px;
}

.home-link-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.home-link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--text);

  border-radius: 15px;
  padding: 10px 32px;
  width: 219px;
  max-width: 100%;
  text-align: center;
  background: linear-gradient(180deg, #ffd082 1.44%, #ca8e27 100%);

  transition: color 0.3s ease, background-color 0.3s ease;
}

.home-link:hover {
  background: #ffe3ce;
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 185px;
    padding-bottom: 203px;
    background-image: url(../images/bg.png);
    background-position: top right;
    background-repeat: no-repeat;
  }

  .home-title {
    font-size: 64px;
    max-width: 762px;
    margin-bottom: 48px;
  }

  .home-text {
    font-size: 24px;
    max-width: 662px;
    margin-bottom: 32px;
  }

  .home-link-wrap {
    flex-direction: row;
    align-items: normal;
    justify-content: flex-start;
    gap: 28px;
  }

  .home-link {
    font-size: 22px;
    width: 280px;
  }

  .home-container {
    position: relative;
    /* overflow: hidden; */
  }

  .home-img {
    margin: 0;
    position: absolute;
    top: -130px;
    /* right: -79px; */
    right: 0;
  }
}

/* about */

.about-container {
  border-radius: 15px;
  padding: 32px 10px;
  background: #fff2dc;
}

.about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--text);
  margin-bottom: 24px;
}

.about-img {
  margin: 0 auto;
}

@media screen and (min-width: 1437px) {
  .about-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 20px;

    .title {
      text-align: start;
    }
  }

  .about-img {
    margin: 0;
    flex-shrink: 0;
  }

  .about-text {
    font-size: 24px;
  }
}

/* help */

.help-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  color: var(--text);
  margin-bottom: 16px;
}

.help-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;

  li {
    display: flex;
    align-items: center;
    gap: 15px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--text);
  }
}

.help-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  color: var(--title);
  margin-bottom: 8px;
}

.help-img {
  margin: 0 auto;
}

@media screen and (min-width: 1437px) {
  .help-container {
    display: flex;
    align-items: center;
    gap: 20px;

    .title {
      text-align: start;
    }
  }

  .help-img {
    margin: 0;
    flex-shrink: 0;
  }

  .help-text {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .help-list {
    gap: 32px;
    margin-bottom: 32px;

    li {
      font-size: 24px;
    }
  }

  .help-title {
    font-size: 24px;
    margin: 0;
  }
}

/* services */

.services-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  color: var(--text);
  margin-bottom: 16px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;

  li {
    border: 1px solid var(--subtitle);
    border-radius: 25px;
    padding: 10px;
    min-height: 155px;
  }

  img {
    margin: 0 auto;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: var(--subtitle);
    margin-top: 8px;
    margin-bottom: 16px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: var(--text);
  }
}

.services-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--text);
}

@media screen and (min-width: 768px) {
  .services-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .services-title {
    font-size: 32px;
    margin-bottom: 32px;
  }
  .services-list {
    gap: 32px 20px;
    margin-bottom: 32px;

    li {
      width: calc((100% - 40px) / 3);
      min-height: 216px;
    }

    p {
      font-size: 24px;
    }

    span {
      font-size: 24px;
    }
  }

  .services-text {
    font-size: 24px;
  }
}

/* choose */

.choose-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;

  li {
    display: flex;
    align-items: flex-start;
    gap: 31px;
  }

  span {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 24px;
    color: var(--title);
    border-bottom: 1px solid var(--title);
    border-radius: 10px;
    padding: 3px;
    width: 50px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  h4 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    color: var(--subtitle);
    margin-bottom: 16px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--text);
  }
}

.choose-img {
  margin: 0 auto;
}

@media screen and (min-width: 1437px) {
  .choose-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row-reverse;
  }

  .choose-img {
    margin: 0;
    flex-shrink: 0;
  }

  .choose-list {
    gap: 32px;

    span {
      font-size: 40px;
      width: 50px;
      height: 65px;
    }

    h4 {
      font-size: 24px;
    }

    p {
      font-size: 24px;
    }
  }
}

/* client */

.client-list {
  display: flex;
  flex-direction: column;
  gap: 20px;

  li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  span {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 32px;
    text-align: center;
    color: var(--title);
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: var(--text);
    padding: 0 20px;
  }
}

@media screen and (min-width: 1437px) {
  #client {
    background-image: url(../images/client-bg.png);
    background-position: bottom left;
    background-repeat: no-repeat;
    padding-bottom: 96px;
  }

  .client-list {
    flex-direction: row;

    li {
      width: calc((100% - 60px) / 4);
    }

    span {
      font-size: 40px;
    }

    p {
      font-size: 24px;
      padding: 0 10px;
    }
  }
}

/* consulting */

.consulting-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  div {
    border: 1px solid #ffdc9f;
    border-radius: 25px;
    padding: 20px 10px;
  }

  h4 {
    border-radius: 15px;
    padding: 10px;
    background: #ffe4b4;

    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 150%;
    text-align: center;
    color: var(--subtitle);
    margin-bottom: 22px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 150%;
    text-align: center;
    color: var(--subtitle);
  }

  ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  li {
    display: flex;
    align-items: center;
    gap: 15px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--text);
  }

  a {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: #000;

    border: 1px solid #b68429;
    border-radius: 15px;
    padding: 10px;
    background: #ffcd74;
    transition: background-color 0.3s ease;
  }
  a:hover {
    background-color: #c29549;
  }
}

@media screen and (min-width: 768px) {
  .consulting-list {
    flex-direction: row;
    flex-wrap: wrap;

    div {
      width: calc((100% - 16px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .consulting-list {
    gap: 20px;

    div {
      width: calc((100% - 40px) / 3);
    }

    li {
      font-size: 16px;
    }

    a {
      font-size: 24px;
    }
  }
}

/* case */

.case-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    border: 1px solid #000;
    border-radius: 25px;
    overflow: hidden;
    background: #fff6e7;
    border: 1px solid var(--title);
  }

  div {
    padding: 16px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    color: var(--text);
    margin-bottom: 16px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--text);
  }
}

@media screen and (min-width: 768px) {
  .case-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .case-list {
    gap: 20px;

    li {
      width: calc((100% - 40px) / 3);
    }

    div {
      padding: 32px 16px;
    }

    p,
    span {
      font-size: 24px;
    }
  }
}

/* testimonials */

.testimonials-item {
  border: 1px solid var(--title);
  border-radius: 25px;
  padding: 10px;
  width: 335px;

  max-width: 100%;
  background: #fff6e7;
  min-height: 318px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--text);
    margin-top: 24px;
  }

  div {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 20px;
    bottom: 10px;
    left: 10px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    color: var(--text);
  }
}

.swiper-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.pagination {
  text-align: center;
}

.swiper-pagination-bullet {
  display: inline-block;
  width: 15px;
  height: 15px;
  opacity: 1;
  background: transparent;
  border: 1px solid var(--title);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.swiper-pagination-bullet-active {
  background-color: #ffebca;
}

.swiper-btn {
  display: none;
}

@media screen and (min-width: 1437px) {
  .testimonials-item {
    width: 424px;
    height: 480px;

    p,
    span {
      font-size: 24px;
    }
  }

  .swiper-btn {
    display: block;
  }

  .swiper-btn-wrap {
    margin-top: 48px;
  }

  .swiper-btn-wrap .pagination {
    width: auto;
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  width: 100%;
  border: 1px solid #000;
  border-radius: 25px;
  padding: 20px;
  cursor: pointer;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: rotate(180deg);
  transition: transform 0.3s ease;

  svg {
    fill: none;
    stroke: var(--text);
  }
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  color: #000;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: #000;
  padding-top: 22px;
}

@media screen and (min-width: 1437px) {
  .faq-list {
    width: 100%;
  }
  .faq-item {
    padding: 20px;
    padding-right: 60px;
  }

  .faq-title,
  .faq-text {
    font-size: 24px;
  }
}

.hidden {
  display: none;
}

.click {
  transform: rotate(0);
}

/* contact */

.contact-frame {
  padding: 23px 16px;
}
.contact-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  color: #000;
  margin-bottom: 19px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 23px;

  li {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    color: var(--subtitle);
    width: 70px;
  }

  a,
  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #000;
  }

  a:hover {
    text-decoration: underline;
  }
}

.contact-img {
  margin: 0 auto;
  margin-top: 18px;
}

@media screen and (min-width: 1437px) {
  .contact-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }

  .contact-frame {
    padding: 40px 100px;
  }

  .contact-img {
    margin: 0;
    flex-shrink: 0;
  }

  .contact-text {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .contact-list {
    p {
      width: 127px;
      font-size: 24px;
    }

    a,
    span {
      font-size: 24px;
    }
  }
}

/* footer */

.footer {
  background: #e1e0e0;
}

.footer-logo {
  display: none;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;

  a:hover {
    text-decoration: underline;
  }
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  color: var(--text);
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  text-align: center;
  color: var(--text);
  margin-top: 16px;
}

@media screen and (min-width: 1437px) {
  .footer-logo {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .footer-list {
    gap: 20px;
  }

  .footer-link {
    font-size: 16px;
  }

  .footer-description {
    font-size: 16px;
    margin-top: 32px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px 20px;
  border-radius: 20px 20px 0 0;
  padding-bottom: 90px;
  background: #d3ac72;
  transition: transform 0.5s ease;
}

.popup-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 36px;
  text-align: center;
  color: var(--title);
  margin-bottom: 24px;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--text);
  margin-bottom: 32px;
}

.popup-btn {
  border-radius: 30px;
  padding: 16px 48px;
  background: #c29549;

  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--text);
  text-transform: uppercase;

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #8b7248;
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.popup-click {
  transform: translateY(100%);
}

@media screen and (min-width: 143px) {
  .popup {
    padding: 90px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .popup-title {
    font-size: 64px;
    margin-bottom: 40px;
  }

  .popup-text {
    font-size: 24px;
    margin: 0;
    text-align: start;
  }

  .popup-wrap {
    gap: 40px;
  }

  .popup-btn {
    font-size: 24px;
  }
}
