@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaBlack.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaExtraBold.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaExtraLight.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaLight.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaMedium.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaSemiBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaThin.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
:root {
  --font-family: "Lufga", sans-serif;
}
:root {
  --primary-primary-800: #3b269d;
  --primary-primary-600: #6432ff;
  --primary-primary-200: #d2cde8;
  --secondary-blue: #1badff;
  --secondary-pink: #e93fe2;
  --text-primary: #051f2e;
  --text-secondary: #375262;
  --text-extra: #a4afb5;
  --text-white: #fff;
  --dark-shades-900: #051f2e;
  --dark-shades-800: #0e2b3b;
  --dark-shades-400: #2c688a;
  --light-shades-300: #e1e7eb;
  --light-shades-200: #f5f7fa;
  --light-shades-white: #fff;
  --gradient-primary: linear-gradient(135.98deg, #6b83f4 0%, #a862eb 100%);
  --gradient-secondary: linear-gradient(90deg, #6835ff 0%, #1aadff 100%);
  --gradient-tertiary: linear-gradient(128.26deg, #a3deff 0%, #fdadf2 100%);
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

body {
  background: #ffffff1a;
  height: 100%;
  font-style: normal;
  font-variation-settings: "wdth" 100, "YTLC" 500;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
}

h1 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 64px;
  line-height: 128%;
  color: var(--text-primary);
}

h2 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 45px;
  line-height: 133%;
  text-align: center;
  color: var(--text-primary);
}

h3 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 150%;
  color: var(--text-primary);
}

h4 {
  font-family: var(--font-family);
  font-size: 19px;
  font-weight: 400;
  line-height: 168%;
  text-align: left;
}

p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 175%;
  color: var(--text-primary);
}

.wrapper-about {
  background: var(--light-shades-white);
  position: relative;
  width: 100%;
}
.wrapper-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 77%);
  background: url("../img/about-background.png");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 1360px) {
  .wrapper-about::before {
    height: calc(100% - 77%);
  }
}

@media (max-width: 1335px) {
  .wrapper-about::before {
    height: calc(100% - 77%);
  }
}

@media (max-width: 1300px) {
  .wrapper-about::before {
    height: calc(100% - 76.2%);
  }
}
@media (max-width: 1292px) {
  .wrapper-about::before {
    height: calc(100% - 75.3%);
  }
}
@media (max-width: 1200px) {
  .wrapper-about::before {
    height: calc(100% - 74%);
  }
}
@media (max-width: 1060px) {
  .wrapper-about::before {
    height: calc(100% - 72.77%);
  }
}

/* Journey-section */

.journey-wrapper {
  max-width: 1440px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  gap: 50px;
  padding: 50px 84px 76px;
}
.journey-discription {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
  max-width: 610px;
  width: 100%;
}
.journey-discription-text p {
  margin-bottom: 10px;
}
.journey-discription-text p:last-child {
  margin-bottom: 0;
}
.journey-img-mobile {
  display: none;
}
.journey-img {
  max-width: 538px;
  width: 100%;
  z-index: 10;
}
.journey-img img {
  width: 100%;
}
.journey-discription-text-mobile {
  display: none;
}
/* About-section */

#about-section {
  background: url(../img/about-background-black.png) no-repeat center;
  background-size: cover;
  z-index: -1;
}
.about-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  width: 100%;
  padding: 100px 84px 120px;
  gap: 56px;
  margin: 0 auto;
}
.about-wrapper-title {
  display: flex;
}
.about-wrapper-title h2 {
  color: var(--text-white);
}
.about-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}
.about-block-1 {
  grid-area: 1 / 1 / 2 / 2;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: url(../img/about-background-1.png) no-repeat right;
  background-size: cover;
}
.about-block-1 h3 {
  color: var(--text-white);
  margin-bottom: 8px;
}
.about-block-1 p {
  color: var(--text-extra);
}
.about-block-2 {
  grid-area: 2 / 1 / 3 / 2;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: url(../img/about-background-2.png) no-repeat left;
  background-size: cover;
}
.about-block-2 h3 {
  color: var(--text-white);
  margin-bottom: 8px;
}
.about-block-2 p {
  color: var(--text-extra);
  text-align: right;
}
.about-block-3 {
  grid-area: 1 / 2 / 3 / 3;
  padding: 24px 40px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: url(../img/about-background-3.png) no-repeat right;
  background-size: cover;
}
.about-block-3 h3 {
  color: var(--text-white);
  text-align: left;
  margin-bottom: 8px;
}
.about-block-3 span {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 56px;
  line-height: 121%;
  color: var(--text-white);
  text-align: left;
}

/* Team-section */
#team-section {
  background: var(--light-shade);
}
.team-wrapper {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 100px 84px 120px;
}
.team-title {
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-img-blocks {
  display: flex;
  gap: 56px;
  justify-content: center;
}
.team-img-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 29px;
}
.team-img-block img {
  max-width: 100%;
}
.team-img-block a {
  text-align: center;
}
.team-img-block a:hover .testimonials-linkedin {
  fill: #3574a5;
}
.team-img-block a:active .testimonials-linkedin {
  fill: #204b6c;
}
.team-img-block-discription {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.team-img-block-discription h3 {
  text-align: center;
}
.team-img-block-discription p {
  text-align: center;
  font-size: 19px;
  line-height: 168%;
  color: var(--text-secondary);
}

/* Contact-section */
#contact-section {
  background: url(../img/contact-background.png) no-repeat center;
  background-size: cover;
}
.contact-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  width: 100%;
  padding: 100px 0 120px;
  gap: 56px;
  margin: 0 auto;
}
.contact-wrapper-title {
  display: flex;
  justify-content: center;
}

/* Стили для ContactForm7 */
.wpcf7 {
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 56px 0 rgba(10, 46, 66, 0.08);
  background: var(--text-white);
  border-radius: 12px;
  padding: 48px 32px;
  margin: 0 auto;
  max-width: 624px;
  width: 100%;
}

/* Обертка для каждого поля ввода */
.wpcf7-form p {
  display: flex;
  margin-bottom: 32px;
  position: relative;
  width: 100%;
  border: 1.5px solid var(--light-shades-300);
  border-radius: 12px;
  padding: 14px 20px;
  transition: border 0.3s ease;
}

.wpcf7-form p:nth-of-type(5),
.wpcf7-form p:nth-of-type(5):hover,
.wpcf7-form p:nth-of-type(5):focus-within,
.wpcf7-form p:nth-of-type(5).filled {
  border: none;
  padding: 0;
  background: none;
}
.wpcf7-form p .wpcf7-form-control-wrap {
  width: 100%;
}

/* Стили для меток полей */
.wpcf7-form label {
  position: absolute;
  top: -8px;
  left: 15px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 13px;
  line-height: 138%;
  color: var(--primary-primary-800);
  background-color: var(--light-shades-white);
  padding: 0 6px;
}

/* Стили для текстовых полей ввода */
.wpcf7-form .cf7-input,
.wpcf7-form .cf7-textarea {
  width: 100%;
  border: none;
  background-color: transparent;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 175%;
  color: var(--text-primary);
}

/* Стили для текстовой области */
.wpcf7-form .cf7-textarea {
  min-height: 156px;
  height: 100%;
  resize: vertical;
}

/* Эффект наведения и фокуса */
.wpcf7-form p:hover,
.wpcf7-form p:focus-within,
.wpcf7-form p.filled {
  border: 1.5px solid transparent;
  background-image: linear-gradient(
      var(--light-shades-white),
      var(--light-shades-white)
    ),
    linear-gradient(to right, #6b83f4, #a862eb);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* Стили для плейсхолдеров */
.wpcf7-form ::placeholder {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 175%;
  color: var(--text-extra);
}

/* Стили для ошибок */
.wpcf7-form .wpcf7-not-valid-tip {
  color: #e75946;
  font-size: 13px;
  line-height: 138%;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.wpcf7-form p.has-error {
  border-color: #e75946;
}

.wpcf7-form p.has-error label {
  color: #e75946;
}

.wpcf7-form p.has-error ::placeholder {
  color: #e75946;
  opacity: 1;
}

/* Убираем обводку при фокусе */
.wpcf7-form .cf7-input:focus,
.wpcf7-form .cf7-textarea:focus {
  outline: none;
}

/* Стилизация скроллбара для текстовой области */
.wpcf7-form .cf7-textarea {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

.wpcf7-form .cf7-textarea::-webkit-scrollbar {
  width: 8px;
}

.wpcf7-form .cf7-textarea::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.wpcf7-form .cf7-textarea::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.wpcf7-form .cf7-textarea::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Стили для кнопки отправки */
.wpcf7-form .about-form-btn {
  display: inline-block;
  border: none;
  border-radius: 12px;
  padding: 12px 0;
  max-width: 240px;
  width: 100%;
  background-color: var(--dark-shades-900);
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 19px;
  line-height: 168%;
  color: var(--text-white);
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.wpcf7-form .about-form-btn:hover {
  background-color: #07324b;
}

.wpcf7-form .about-form-btn:active {
  background-color: #031521;
}
.wpcf7-spinner {
  margin: 0;
}
/* Обертка формы */
.contact-wrapper-form-about {
  box-shadow: 0 15px 56px 0 rgba(10, 46, 66, 0.08);
  background: var(--text-white);
  border-radius: 12px;
  padding: 48px 32px;
  display: flex;
  margin: 0 auto;
  max-width: 624px;
  width: 100%;
}

/* Скрыть системные сообщения CF7 */
.wpcf7 form .wpcf7-response-output {
  display: none;
	padding: 14px 20px;
	border-radius: 12px;
	font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 175%;
    color: #46b450;
}
/* Breakpoint */

@media (max-width: 1024px) {
  h1 {
    font-size: 45px;
    line-height: 133%;
  }

  h3 {
    font-size: 19px;
    line-height: 168%;
  }

  p {
    font-size: 16px;
    line-height: 175%;
    color: var(--text-primary);
  }
  .wrapper-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 73.7%);
    background: url("../img/about-background.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
}
  @media (max-width: 950px) {
    .wrapper-about::before {
      height: calc(100% - 73.7%);
    }
  }
  @media (max-width: 917px) {
    .wrapper-about::before {
      height: calc(100% - 73.0%);
    }
  }
  @media (max-width: 900px) {
    .wrapper-about::before {
      height: calc(100% - 73.0%);
    }
  }
  @media (max-width: 855px) {
    .wrapper-about::before {
      height: calc(100% - 72.5%);
    }
  

  /* Journey-section */

  .journey-wrapper {
    max-width: 1440px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    grid-column-gap: 34px;
    grid-row-gap: 0px;
    padding: 50px 84px 76px;
  }
  .journey-discription {
    grid-area: 1 / 1 / 2 / 2;
    max-width: 406px;
    width: 100%;
  }

  .journey-discription-text p {
    margin-bottom: 10px;
  }
  .journey-discription-text p:last-child {
    margin-bottom: 0;
  }
  .journey-img {
    grid-area: 1 / 2 / 2 / 3;
    max-width: 417px;
    width: 100%;
    z-index: 1;
  }
  .journey-img img {
    width: 100%;
    margin-top: 80px;
  }
  .journey-discription-text-mobile {
    grid-area: 2 / 1 / 3 / 3;
    display: flex;
    flex-direction: column;
    z-index: 1;
  }
  .journey-discription-text-mobile p {
    margin-bottom: 10px;
  }
  .journey-discription-text-mobile p:last-child {
    margin-bottom: 0;
  }
  .journey-discription-text p:nth-of-type(4),
  .journey-discription-text p:nth-of-type(5),
  .journey-discription-text p:nth-of-type(6) {
    display: none;
  }
  /* About-section */

  .about-wrapper {
    max-width: 1023px;
    width: 100%;
    padding: 64px 84px 80px;
    gap: 40px;
  }
  .about-block-1 p,
  .about-block-2 p,
  .about-block-3 p {
    font-size: 13px;
    line-height: 138%;
    color: var(--text-extra);
  }
  .about-block-3 {
    padding: 24px;
  }
  .about-block-3 h3 {
    line-height: 144%;
    margin-bottom: 0;
  }

  /* Team-section */

  .team-wrapper {
    gap: 40px;
    padding: 64px 84px;
  }
  .team-img-blocks {
    gap: 24px;
  }
  .team-img-block {
    padding: 0 7px;
  }
  .team-img-block-discription h3 {
    font-size: 24px;
    line-height: 150%;
  }

  /* Contact-section */

  .contact-wrapper {
    max-width: 1023px;
    width: 100%;
    padding: 64px 0;
    gap: 40px;
  }

  .contact-wrapper-form-about {
    max-width: 710px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
    line-height: 144%;
  }

  h2 {
    font-size: 45px;
    line-height: 133%;
  }
  h3 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 19px;
    line-height: 168%;
    color: var(--text-white);
  }
  p {
    font-size: 14px;
    line-height: 171%;
  }

  .wrapper-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 77.5%);
    background: url("../img/about-background.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
  }

  /* Journey-section */

  .journey-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    gap: 0;
    padding: 20px 64px 56px;
  }
  .journey-discription {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
  }
  .journey-img-mobile {
    display: flex;
  }
  .journey-img {
    display: none;
  }

  .journey-discription-text p {
    margin-bottom: 10px;
  }

  .journey-img-mobile img {
    width: 100%;
  }
  .journey-discription-text-mobile {
    display: none;
  }

  /* About-section */

  .about-wrapper {
    padding: 40px 64px 64px;
    gap: 48px;
  }
  .about-wrapper-title {
    justify-content: center;
  }
  .about-blocks {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .about-block-1 {
    background: url(../img/about-background-mobile-1.png) no-repeat right;
    background-size: cover;
  }
  .about-block-1 h3,
  .about-block-2 h3 {
    margin-bottom: 8px;
  }
  .about-block-2 {
    background: url(../img/about-background-mobile-2.png) no-repeat left;
    background-size: cover;
  }

  .about-block-3 {
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: url(../img/about-background-mobile-3.png) no-repeat right;
    background-size: cover;
  }
  .about-block-3 h3 {
    color: var(--text-white);
    text-align: left;
    font-size: 24px;
    line-height: 150%;
    margin-bottom: 6px;
  }
  .about-block-3 span {
    font-size: 45px;
    line-height: 133%;
  }

  /* Team-section */

  .team-wrapper {
    gap: 32px;
    padding: 40px 64px;
  }

  .team-img-blocks {
    flex-wrap: wrap;
    gap: 32px;
  }
  .team-img-block {
    gap: 16px;
    padding: 0 7px;
    align-items: center;
  }

  .team-img-block img {
    max-width: 220px;
    width: 100%;
  }

  .team-img-block-discription h3 {
    font-size: 24px;
    line-height: 150%;
    color: var(--text-primary);
  }
  .team-img-block-discription p {
    text-align: center;
    font-size: 19px;
    line-height: 168%;
    color: var(--text-secondary);
  }

  /* Contact-section */
  #contact-section {
    background: url(../img/contact-background.png) no-repeat center;
    background-size: cover;
  }
  .contact-wrapper {
    padding: 40px 64px 64px;
    gap: 20px;
  }

  .contact-wrapper-form-about {
    padding: 32px 20px;
  }

  .text-area-group-message {
    margin-bottom: 36px;
  }

  .about-form-btn {
    max-width: 100%;
  }
}
@media (max-width: 730px) {
  .wrapper-about::before {
    height: calc(100% - 77.9%);
  }
}
@media (max-width: 655px) {
  .wrapper-about::before {
    height: calc(100% - 79.8%);
  }
}
@media (max-width: 646px) {
  .wrapper-about::before {
    height: calc(100% - 82%);
  }
}
@media (max-width: 520px) {
  .wrapper-about::before {
    height: calc(100% - 83%);
  }

  .journey-wrapper {
    max-width: 393px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    gap: 0;
    padding: 20px 20px 56px;
  }
  .about-wrapper {
    max-width: 393px;
    width: 100%;
    padding: 40px 20px 64px;
    gap: 48px;
  }
  .team-wrapper {
    gap: 32px;
    padding: 40px 20px;
  }

  .contact-wrapper {
    max-width: 393px;
    width: 100%;
    padding: 40px 20px 64px;
    gap: 20px;
  }

  .contact-wrapper-form-about, .wpcf7 {
    padding: 32px 20px;
    max-width: 353px;
    width: 100%;
  }
}
@media (max-width: 440px) {
  .wrapper-about::before {
    height: calc(100% - 79.5%);
  }
}

@media (max-width: 390px) {
  .wrapper-about::before {
    height: calc(100% - 80%);
  }
}
@media (max-width: 380px) {
  .wrapper-about::before {
    height: calc(100% - 80%);
  }
}
@media (max-width: 368px) {
  .wrapper-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 79.9%);
    background: url("../img/about-background.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
  }
}
@media (max-width: 353px) {
  .wrapper-about::before {
    height: calc(100% - 79.3%);
  }
}
@media (max-width: 335px) {
  .wrapper-about::before {
    height: calc(100% - 79.4%);
  }
}
@media (max-width: 320px) {
  .wrapper-about::before {
    height: calc(100% - 79.7%);
  }
}
