/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: #184489;
  border: 2px dashed #edf3f8;
  z-index: 9;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 200%;
  text-align: center;
  color: #edf3f8;

  span {
    color: #8ca4e4;
  }
}

.navigation {
  display: none;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border-radius: 9px;
  border: 2px solid #edf3f8;
}

.svg {
  stroke: #8ca4e4;
}

.navigation-list {
  display: flex;
  gap: 24px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  color: #edf3f8;
  border: 2px dashed #edf3f8;
  border-radius: 12px;
  background: #4166c8;
  transition: border-color 0.3s ease;
}

.policy-item {
  border: 2px solid #edf3f8;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 8;
  padding: 16px;
  padding-top: 90px;
  transform: translateX(100%);
  transition: transform 1s ease;
  z-index: 8;
  width: 284px;
  max-width: 100%;
  height: 100%;
  background: #18448a;
}

.modal-navigation-list {
  flex-direction: column;
  width: 100%;

  a {
    display: block;
    text-align: center;
  }
}

.modal-click {
  transform: translateX(0);
}

@media screen and (min-width: 1438px) {
  .header {
    padding: 8px 0;
  }

  .header-logo {
    font-size: 32px;
  }

  .navigation {
    display: block;
  }

  .navigation-item {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    line-height: 267%;
    text-align: center;
    color: #edf3f8;
    border: none;
    padding: 0;
    background: none;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 86px;
  background-image: url(../images/home.png);
  background-position: bottom center;
  background-size: cover;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 36px;
  line-height: 144%;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 167%;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}

.home-link-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.home-link {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 15px;
  line-height: 150%;
  text-align: center;
  color: #edf3f8;

  border: 4px solid #edf3f8;
  border-radius: 30px;
  padding: 6px;
  width: 200px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.home-link:hover {
  background: #edf3f8;
  color: #1b468e;
}

@media screen and (min-width: 1438px) {
  #home {
    padding-top: 248px;
    padding-bottom: 206px;
  }

  .home-title {
    font-size: 64px;
    max-width: 899px;
    margin: 0 auto;
    margin-bottom: 32px;
  }
  .home-text {
    font-size: 32px;
    max-width: 1112px;
    margin: 0 auto;
    margin-bottom: 64px;
  }

  .home-link-wrap {
    flex-direction: row;
    align-items: normal;
    justify-content: center;
    gap: 100px;
  }
}

/* services */

.services-list-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 200%;
  text-align: center;
  color: #184489;
  margin-bottom: 16px;
}

.services-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  li {
    border: 2px dashed #6476a7;
    width: 329px;
    min-height: 96px;
    max-width: 100%;
    background: #afc1f1;
    padding: 8px 39px;

    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 222%;
    color: #184489;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  span {
    font-family: var(--font3);
    font-weight: 700;
    font-size: 20px;
    line-height: 200%;
    color: #edf3f8;

    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #6476a7;
    width: 41px;
    height: 41px;
  }
}

@media screen and (min-width: 768px) {
  .services-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (min-width: 1438px) {
  .title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 103px;
  }

  .services-list-title {
    font-size: 20px;
    text-align: start;
    margin-top: 16px;
    margin-bottom: 20px;
  }

  .services-list {
    flex-direction: row;
    gap: 40px;
    align-items: normal;
    justify-content: center;
    flex-wrap: wrap;

    li {
      width: calc((100% - 80px) / 3);
      min-height: 176px;
      font-size: 20px;
      padding: 9px;
    }
  }
}

/* strategy */

.line {
  padding: 28px 1px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 36px;
  line-height: 178%;
  text-align: center;
  color: rgba(237, 243, 248, 0.3);

  background-image: url(../images/line.jpg);
  background-position: center;
  background-size: cover;
}

@media screen and (min-width: 768px) {
  .line {
    padding: 78px 2px;
    font-size: 68px;
  }
}

@media screen and (min-width: 1438px) {
  .line {
    padding: 168px 2px;
    font-size: 138px;
  }
}

/* consulting */

.consulting-list {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.consulting-item {
  border: 2px dashed #6476a7;
  width: 329px;
  max-width: 100%;
  min-height: 96px;
  position: relative;
  padding: 8px 34px;

  span {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #6476a7;
    width: 41px;
    height: 41px;
    background: #afc1f1;

    font-family: var(--font3);
    font-weight: 700;
    font-size: 20px;
    line-height: 200%;
    color: #edf3f8;
    position: absolute;
    top: 0;
    left: 0;
  }

  h4 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 111%;
    text-align: center;
    color: #184489;
    margin-bottom: 17px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    color: #184489;
  }
}

.consulting-swiper {
  display: none;
}

.swiper-btn-wrap {
  display: none;
}

.swiper-btn {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #6476a7;
  transition: background-color 0.3s ease;
}

.swiper-btn:hover {
  background: #afc1f1;
}

@media screen and (min-width: 768px) {
  .consulting-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .consulting-item {
    width: calc((100% - 38px) / 2);
    padding: 8px 36px;
  }
}

@media screen and (min-width: 1438px) {
  .consulting-title {
    text-align: start;
    margin-bottom: 40px;
  }
  .consulting-swiper {
    display: block;
  }

  .consulting-list {
    display: none;
  }

  .consulting-item {
    width: 600px;
    min-height: 160px;
    padding: 24px 40px;

    span {
      font-size: 36px;
    }

    h4 {
      font-size: 20px;
    }

    p {
      font-size: 20px;
    }
  }

  .swiper-btn-wrap {
    display: flex;
    gap: 56px;
    margin-top: 40px;
  }
}

/* designed */

.designed-list {
  display: flex;
  flex-direction: column;
  gap: 57px;
  margin-top: 68px;

  li {
    padding: 14px;
    border: 2px dashed #6476a7;
    padding-top: 46px;
    position: relative;

    font-family: var(--font-family);
    font-weight: 800;
    font-size: 20px;
    line-height: 200%;
    text-align: center;
    color: #184489;
  }

  img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
}

@media screen and (min-width: 768px) {
  .designed-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 77px 48px;

    li {
      width: calc((100% - 48px) / 2);
    }
  }
}

@media screen and (min-width: 1438px) {
  .designed-list {
    justify-content: space-between;
    margin-top: 72px;

    li {
      width: calc((100% - 96px) / 3);
    }
  }

  .item2 {
    transform: translateY(89px);
  }
}

/* strategic */

#strategic {
  padding-bottom: 0;
}

.strategic-wrapper {
  margin-bottom: 20px;
}

.strategic-list {
  padding-bottom: 32px;
  width: 350px;
  max-width: 100%;
  margin: 0 auto;

  div {
    border: 3px dashed #edf3f8;

    font-family: var(--font-family);
    font-weight: 900;
    font-size: 20px;
    line-height: 200%;
    text-align: center;
    color: #edf3f8;
  }
}

.right-arrow {
  margin-left: auto;
}

.strategic-img {
  margin: 0 auto;
  margin-top: 20px;
}

.strategic-arrow {
  display: none;
}

@media screen and (min-width: 1438px) {
  .strategic-list {
    width: 100%;
    padding-bottom: 120px;
    padding-top: 80px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 50px;
    position: relative;

    div {
      width: 350px;
      font-size: 24px;
    }

    img {
      display: none;
    }

    .strategic-img {
      display: block;
      margin: 0;
      flex-shrink: 0;
      transform: translateY(39px);
      position: relative;
      z-index: 1;
    }

    .desctop {
      display: block;
      position: absolute;
      top: 230px;
      left: 280px;
    }

    .desctop2 {
      display: block;
      position: absolute;
      top: 180px;
      right: 220px;
    }

    .desctop3 {
      display: block;
      position: absolute;
      bottom: 190px;
      left: 230px;
    }

    .desctop4 {
      display: block;
      position: absolute;
      bottom: 140px;
      left: 500px;
    }

    .desctop5 {
      display: block;
      position: absolute;
      bottom: 20px;
      right: 200px;
    }
  }

  .strategic1 {
    transform: translateY(50px);
  }

  .strategic4 {
    transform: translateX(52px);
  }

  .strategic6 {
    transform: translateY(-88px);
  }

  .strategic5 {
    transform: translateY(70px);
  }
}

/* clients */

.clients-item {
  background: #edf3f8;
}

.clients-swiper {
  display: none;
}

@media screen and (min-width: 1438px) {
  .clients-swiper {
    display: block;
    margin-top: 80px;
  }

  .clients-left,
  .clients-right {
    border-color: #edf3f8;
  }
}

/* insights */

.insights-list {
  display: none;
}

.insights-swiper {
  margin-top: 20px;
}

.insights-item {
  border: 1.36px dashed #6476a7;
  width: 325px;
  max-width: 100%;
  padding-top: 11px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 170%;
    text-align: center;
    color: #184489;
    margin-bottom: 11px;
    padding: 0 11px;
  }
}

.insights-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 32px;
}

@media screen and (min-width: 1438px) {
  .insights-swiper {
    display: none;
  }

  .insights-btn-wrap {
    display: none;
  }

  .insights-list {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    width: 1000px;
    margin: 0 auto;
    margin-top: 40px;
  }

  .insights-item {
    width: calc((100% - 40px) / 2);
    border: 2px dashed #6476a7;

    p {
      font-size: 24px;
      padding: 0 42px;
    }
  }
}

/* reviews */

.reviews-item {
  width: 348px;
  max-width: 100%;
}

.reviews {
  position: relative;
  padding: 20px;
  padding-bottom: 50px;

  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 174%;
    color: #1f4993;
    position: relative;
    z-index: 1;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 12px;
    line-height: 174%;
    color: #1f4993;
    text-align: end;
    position: relative;
    z-index: 1;
    cursor: pointer;
  }

  span:hover {
    text-decoration: underline;
  }
}

.user {
  display: flex;
  align-items: center;
  gap: 13px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 163%;
    color: #edf3f8;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 174%;
    color: #edf3f8;
  }
}

@media screen and (min-width: 1438px) {
  .reviews-btn-wrap {
    display: flex;
    justify-content: flex-start;
    margin-top: 60px;
  }
  .reviews-item {
    width: 566px;
  }

  .reviews {
    padding: 30px;
    padding-bottom: 60px;

    p,
    span {
      font-size: 18px;
    }
  }

  .user {
    p {
      font-size: 24px;
    }

    span {
      font-size: 18px;
    }
  }
}

/* contact */

.mail-link {
  background: #174387;
  color: #edf3f8;
  display: block;
  margin: 0 auto;
  padding: 8px 12px;
  height: auto;
}

.mail-link:hover {
  border-color: #174387;
}

.mail-img {
  margin: 32px auto;
}

.contact-list {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 24px;
  line-height: 167%;
  color: #edf3f8;

  a:hover {
    text-decoration: underline;
  }
}

.contact-img {
  margin: 0 auto;
  margin-top: 24px;
}

@media screen and (min-width: 1438px) {
  .mail-wrap {
    display: flex;
    align-items: center;
    margin-left: 108px;
    gap: 136px;
  }

  .mail-img {
    margin: 0;
    flex-shrink: 0;
  }

  .mail-link {
    margin: 0;
  }

  .contact-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .contact-img {
    margin: 0;
    flex-shrink: 0;
  }
}

/* footer */

.footer {
  padding: 10px 0;
  background: #18448a;
}

.footer-logo {
  font-size: 16px;
}

.footer-container {
  padding: 0 10px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;

  a:hover {
    text-decoration: underline;
  }
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  color: #edf3f8;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 10px;
  line-height: 400%;
  color: #a8b8c5;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .footer {
    padding-top: 96px;
    padding-bottom: 20px;
  }
  .footer-wrap {
    justify-content: center;
    gap: 64px;
  }
}

@media screen and (min-width: 1438px) {
  .footer-logo {
    font-size: 40px;
  }
  .footer-wrap {
    gap: 64px;
  }

  .footer-list {
    margin: 0;
    gap: 8px;
  }

  .footer-link {
    font-size: 24px;
  }

  .footer-description {
    font-size: 14px;
    margin-top: 21px;
  }
}

/* cookie popup */

.back-drop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  transition: transform 0.5s ease;
}

.popup {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 18px;
  padding: 8px 16px;
  background: #0c1b3b;
}

.popup-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 20px;
  line-height: 200%;
  text-align: center;
  color: #edf3f8;
  margin-bottom: 4px;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 200%;
  text-align: center;
  color: #c9d8e3;
  margin-bottom: 8px;
}

.popup-btn {
  font-family: var(--font4);
  font-weight: 400;
  font-size: 18px;
  color: #edf3f8;

  border: 1.41px solid #edf3f8;
  border-radius: 13px;
  padding: 8px 11px;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);

  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #edf3f8;
  color: #1b468e;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.popup-click {
  transform: scale(0);
}

@media screen and (min-width: 1438px) {
  .popup {
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
    transform: translateX(0) translateY(0);
    border-radius: 18px;
    width: 960px;
    padding: 40px;
  }

  .popup-title {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .popup-text {
    font-size: 24px;
  }

  .popup-wrap {
    gap: 32px;
  }

  .popup-btn {
    font-size: 24px;
    padding: 14px 32px;
  }
}
