/*
Theme Name: BFG Business
Author: BFG
Description: A blank WordPress theme
Version: 1.0
*/

/* standartization */

:root {
  --font-family: "Funnel Display", sans-serif;
  --second-family: "Questrial", sans-serif;
  --third-family: "Manrope", sans-serif;
}

/* primary */
.pseudo-elements {
  position: relative;
  background: #fefdff;
}

.pseudo-elements::before {
  content: "";
  position: absolute;
  background: url("/wp-content/uploads/2025/09/pseudo-back.webp") repeat center
    center;
  opacity: 0.05;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.gradient__pseudo-item {
  width: 100%;
  position: absolute;
  bottom: -857px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

@media screen and (max-width: 768px) {
  .gradient__pseudo-item {
    width: 712px;
    bottom: -700px;
  }
}

.pseudo-elements > div {
  z-index: 1;
  position: relative;
}

@media screen and (min-width: 2001px) {
  body .svg--mosaic {
    transform: scale(1.5);
  }
}

@media screen and (max-width: 768px) {
  body .svg--mosaic {
    transform: scale(0.75);
  }
}

/* container */

.container {
  margin: 0 auto;
  max-width: clamp(320px, 83.33vw, 1560px);
}

@media screen and (min-width: 1201px) and (max-width: 2560px) {
  .container {
    padding-left: 120px;
    padding-right: 120px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
  }
}

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(100px, 8.33vw, 156px);
  height: clamp(100px, 8.33vw, 156px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.1s ease;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
  box-shadow: inset -2px -2px 1px -2px #b3b3b3, inset 2px 2px 1px -2px #b3b3b3,
    inset 3px 3px 0px -3px rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  gap: 10px;
}

#custom-cursor svg {
  width: clamp(20px, 1.39vw, 26px);
  height: clamp(20px, 1.39vw, 26px);
}

#custom-cursor p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 100%;
  letter-spacing: -0.05em;
  color: #fff;
}

.special-hover {
  cursor: none !important;
}

/* body */

body,
body p {
  font-family: var(--second-family);
  font-weight: 400;
  line-height: 120%;
  font-size: clamp(14px, 1.11vw, 21px);
  letter-spacing: -0.02em;
}

.body1,
.body1 p {
  font-size: clamp(16px, 1.39vw, 26px);
}

/* h1 */

h1,
.h1 {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: clamp(46px, 7.78vw, 146px);
  line-height: 80%;
  letter-spacing: -0.05em;
  color: #26262a;
}

@media screen and (max-width: 768px) {
  h1,
  .h1 {
    line-height: 100%;
  }
}

/* h2 */

h2,
.h2 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(36px, 5.14vw, 96px);
  line-height: 80%;
  letter-spacing: -0.05em;
  color: #26262a;
}

/* h3 */

h3,
.h3 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(24px, 2.78vw, 52px);
  line-height: 90%;
  letter-spacing: -0.05em;
  color: #26262a;
}

@media screen and (max-width: 768px) {
  h3,
  .h3 {
    line-height: 100%;
  }
}

/* h4 */

h4,
.h4 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(18px, 1.67vw, 31px);
  line-height: 100%;
  letter-spacing: -0.05em;
  color: #26262a;
}

/* h5 */

h5,
.h5 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 100%;
  letter-spacing: -0.05em;
  color: #26262a;
}

/* buttons */

.btn {
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.69vw, 13px);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 100%;
  letter-spacing: -0.05em;
  color: #fff;
  max-width: fit-content;
  max-height: fit-content;
  width: 100%;
  border-radius: 100px;
  background: #000;
  transition: all 0.3s;
}

.btn-icon {
  padding: clamp(16px, 1.25vw, 24px);
  border-radius: 100px;
  display: flex;
  border-radius: 100px;
}

.btn-icon svg {
  min-width: clamp(6px, 0.76vw, 14px);
  min-height: clamp(6px, 0.76vw, 14px);
  transition: all 0.3s;
}

.btn-solid,
.footer-block__contacts-menu > li a,
.our-products-section__product-benefit::before {
  transition: all 0.3s;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.5) inset,
    2px 2px 1px -2px #b3b3b3 inset, -2px -2px 1px -2px #b3b3b3 inset;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.1);
  padding: 3px clamp(20px, 1.81vw, 34px) 3px 3px;
  gap: clamp(10px, 0.69vw, 13px);
  border-radius: 100px;
  box-sizing: border-box;
}

.btn-solid:hover,
.footer-block__contacts-menu > li a:hover,
.footer-block__contacts-social-menu img.menu-image:hover,
.our-products-section__product-benefit:hover::before {
  background: rgba(255, 255, 255, 0.2);
}

a:hover .btn-icon svg {
  transform: rotate(45deg);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 1);
}

.btn-solid-icon,
.footer-block__contacts-menu img.menu-image,
.footer-block__contacts-social-menu img.menu-image,
.our-products-section__product-benefit::before {
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: inset -2px -2px 1px -2px #b3b3b3, inset 2px 2px 1px -2px #b3b3b3,
    inset 3px 3px 0px -3px rgba(255, 255, 255, 0.5);
}

.footer-block__contacts-social-menu img.menu-image {
  transition: all 0.3s;
  overflow: visible;
}
.footer-block__contacts-social-menu img.menu-image,
.our-products-section__product-benefit::before {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  box-shadow: inset 2px 2px 4px 0 rgba(255, 255, 255, 0.79),
    inset 1px 1px 1px 0 #fff, inset -2px -2px 4px 0 rgba(255, 255, 255, 0.8),
    inset -1px -1px 1px 0 #fff;
  background: rgba(0, 0, 0, 0.8);

  padding: 3px clamp(20px, 1.81vw, 34px) 3px 3px;
  gap: clamp(10px, 0.69vw, 13px);
  border-radius: 100px;
}

.btn-outline-icon {
  border-radius: 100px;
  fill: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: inset -2px -2px 1px -2px #b3b3b3, inset 2px 2px 1px -2px #b3b3b3,
    inset 3px 3px 0px -3px rgba(255, 255, 255, 0.5);
}

/* why clients block */

body .why-clients-block-pseudo-elements__wrapper {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 0;
  height: 100%;
}

.why-clients-block.pseudo-elements {
  background: transparent;
}

.why-clients-block__container {
  z-index: 3 !important;
}

.why-clients-block__wrapper {
  position: relative;
}

.why-clients-block__svg--fifth-element {
  position: absolute;
  bottom: -172px;
  right: -72px;
}

.why-clients-block__svg--fourth-element {
  position: absolute;
  top: 35px;
  right: -30px;
}

.why-clients-block__svg--first-element {
  position: absolute;
  top: -15px;
  left: -70px;
}

.why-clients-block__svg--third-element {
  position: absolute;
  top: -97px;
  right: 213px;
}

.why-clients-block__svg--second-element {
  left: 188px;
  position: absolute;
  bottom: -113px;
}

.why-clients-block {
  display: flex;
  padding-top: clamp(70px, 11.11vw, 208px);
  padding-bottom: clamp(70px, 11.11vw, 208px);
}

.why-clients-block__wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 3.47vw, 65px);
}

.why-clients-block__head {
  display: flex;
}

.why-clients-block__title {
  display: flex;
  color: #26262a;
}

.why-clients-block__description {
  display: flex;
  margin-top: auto;
  color: #585858;
}

.why-clients-block__statistics {
  display: flex;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  overflow: hidden;
}

.why-clients-block__statistics-item {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.39vw, 26px);
  flex: 1 1 calc(100% / 3);
  padding: clamp(20px, 2.78vw, 52px);
  background: transparent;
  transition: all 0.3s;
  box-sizing: border-box;
  mix-blend-mode: plus-lighter;
}

.why-clients-block__statistics-item-title {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.why-clients-block__statistics-item-image img {
  width: 100%;
  height: auto;
  max-width: clamp(30px, 2.78vw, 52px);
  position: relative;
}

.why-clients-block__statistics-item-image {
  display: flex;
  align-items: flex-start;
}

.why-clients-block__statistics-item:nth-child(2) {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.why-clients-block__statistics-item-image img:nth-child(3) {
  right: -8px;
}

.why-clients-block__statistics-item-image img:nth-child(2) {
  right: -15px;
}

.why-clients-block__statistics-item-image img:nth-child(1) {
  right: -23px;
}

.why-clients-block__statistics-item-title-text {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: clamp(30px, 3.33vw, 63px);
  line-height: 100%;
  letter-spacing: -0.04em;
  color: #26262a;
}

.why-clients-block__statistics-item-description p {
  color: #585858;
}

@media screen and (min-width: 1201px) {
  .why-clients-block__statistics-item:hover {
    background: rgba(255, 255, 255, 0.4);
  }
}

@media screen and (min-width: 991px) {
  .why-clients-block__head {
    gap: clamp(18px, 1.25vw, 24px);
  }

  .why-clients-block__title {
    flex-basis: clamp(338px, 26.94vw, 505px);
  }

  .why-clients-block__description {
    flex-basis: calc(
      100% - clamp(338px, 26.94vw, 505px) - clamp(18px, 1.25vw, 24px)
    );
  }
}

@media screen and (max-width: 990px) {
  .why-clients-block__svg--fifth-element {
    display: none;
  }
  .why-clients-block__svg--fourth-element {
    display: none;
  }

  .why-clients-block__svg--first-element {
    top: -40px;
    right: 110px;
    left: unset;
  }

  .why-clients-block__svg--third-element {
    top: 0px;
    right: -30px;
  }

  .why-clients-block__svg--fifth-element {
    bottom: -50px;
    right: -44px;
  }

  .why-clients-block__svg--second-element {
    left: -35px;
    bottom: -58px;
  }

  .why-clients-block__statistics-item-image {
    display: none;
  }

  .why-clients-block__head {
    flex-direction: column;
    gap: 20px;
  }

  .why-clients-block__statistics-item:nth-child(1) {
    padding-right: 10px;
  }

  .why-clients-block__statistics-item:nth-child(2) {
    padding-left: 12px;
    padding-right: 12px;
  }

  .why-clients-block__statistics-item:nth-child(3) {
    padding-left: 10px;
  }
}

/* what-clients block */

@media screen and (min-width: 991px) {
  .what-clients__slide-content::before {
    content: "";
    position: absolute;
    top: clamp(-6px, -0.35vw, -5px);
    left: clamp(-47px, -2.5vw, -36px);
    width: clamp(30px, 2.08vw, 39px);
    height: clamp(30px, 2.08vw, 39px);
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 80px;
    line-height: 140%;
    color: #26262a;
    background: center / contain no-repeat
      url("/wp-content/uploads/2025/09/slider-pseudo.svg");
  }
}

.what-clients {
  overflow: hidden;
}

@keyframes team-core-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.what-clients__icon {
  animation: team-core-rotate 5s linear infinite;
  transform-origin: center center;
  position: relative;
}

.what-clients__footer {
  padding-bottom: 1px;
  padding-right: calc((100% - clamp(320px, 83.33vw, 1560px)) / 2);
  padding-left: calc((100% - clamp(320px, 83.33vw, 1560px)) / 2);
}

.what-clients {
  padding-top: clamp(70px, 9.72vw, 182px);
  padding-bottom: clamp(70px, 9.72vw, 182px);
  display: flex;
}

.what-clients__head {
  position: relative;
  margin-bottom: clamp(30px, 3.47vw, 65px);
}

.what-clients__head svg {
  width: 100%;
  height: auto;
  max-width: clamp(24px, 2.78vw, 52px);
}

.what-clients__icon {
  position: absolute;
  top: 0;
  right: 120px;
}

.top-review__number,
.top-review__description {
  color: #585858;
}

@media screen and (max-width: 1200px) {
  .what-clients__icon {
    right: 60px;
  }
}

.what-clients__top-reviews {
  display: flex;
}

.what-clients__container {
  overflow: hidden;
}

.top-review {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.08vw, 39px);
  flex: 1 1 calc(100% / 3);
  padding-top: clamp(10px, 2.08vw, 39px);
  box-sizing: border-box;
  border-top: 1px solid #d0d0d0;
  padding-bottom: clamp(16px, 2.08vw, 39px);
}

.top-review:last-child {
  padding-bottom: clamp(30px, 2.08vw, 39px);
}

.top-review__head {
  display: flex;
  justify-content: space-between;
}

.top-review__content {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.69vw, 13px);
}

.what-clients__slide-inner {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4.17vw, 78px);
  box-sizing: border-box;
  border: 1px solid #d0d0d0;
  border-radius: clamp(20px, 2.08vw, 39px);
  background: #f6f6f6;
  position: relative;
  width: 100%;
}

.what-clients__slide-head {
  display: flex;
}

.what-clients__swiper {
  overflow: visible !important;
}

.what-clients__slide {
  transform: scale(1);
  transition: transform 0.3s;
}

.what-clients__slide.swiper-slide-prev,
.what-clients__slide.swiper-slide-next {
  transform: scale(0.8);
}

.what-clients__slide-footer {
  display: flex;
  align-items: flex-end;
}

.what-clients__slide-description p:not(:last-child) {
  margin-bottom: 10px;
}

.what-clients__slide-reviewer {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: clamp(10px, 1.39vw, 26px);
}

.what-clients__slide-reviewer-image {
  display: flex;
}

.what-clients__slide-reviewer-image img {
  border-radius: 75px;
}

.what-clients__slide-reviewer-image img:last-of-type {
  margin-left: -10px;
}

.what-clients__slide-reviewer-logo {
  display: flex;
  margin-top: auto;
}

.what-clients__slide {
  display: flex;
}

.what-clients__slide-content {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: clamp(16px, 1.39vw, 26px);
}

.what-clients__slide-title {
  text-wrap: balance;
}

.what-clients__slide-date,
.what-clients__slide-reviewer-position {
  color: #585858;
}

.what-clients__slide-date {
  margin-left: auto;
}

.what-clients__slide-navigation .swiper-button-prev::after,
.what-clients__slide-navigation .swiper-button-next::after {
  display: none !important;
}

.what-clients__swiper-button-prev svg,
.what-clients__swiper-button-next svg {
  width: 100%;
  height: auto;
  max-width: clamp(32px, 2.22vw, 42px);
  max-height: clamp(32px, 2.22vw, 42px);
}

.what-clients__swiper-button-prev svg *,
.what-clients__swiper-button-next svg * {
  transition: all 0.3s;
}

.what-clients__slide-navigation {
  display: flex !important;
  margin-top: auto;
  gap: clamp(10px, 0.69vw, 13px);
}

.what-clients__swiper-button-prev,
.what-clients__swiper-button-next {
  display: flex;
  position: relative !important;
  margin-top: 0 !important;
  left: unset;
  top: unset;
  right: unset;
  bottom: unset;
  width: unset !important;
  height: unset !important;
}

.what-clients__slide-company-logo {
  display: flex;
}

.what-clients__slide-company-logo img {
  width: auto;
  height: 100%;
  max-height: clamp(20px, 2.08vw, 39px);
}

@media screen and (min-width: 1201px) {
  .what-clients__swiper-button-prev:hover svg rect:last-of-type,
  .what-clients__swiper-button-next:hover svg rect:last-of-type {
    stroke: transparent;
  }
}

@media screen and (min-width: 991px) and (max-width: 1600px) {
  .what-clients__slide-content {
    max-width: clamp(580px, 40.28vw, 754px);
  }
}

@media screen and (min-width: 991px) {
  .what-clients__slide-reviewer,
  .what-clients__slide-company-logo {
    flex-basis: calc(
      clamp(338px, 26.94vw, 505px) - calc(clamp(18px, 1.25vw, 24px) * 2)
    );
  }

  .what-clients__slide-content {
    flex: 1 1 calc(100% - clamp(338px, 26.94vw, 505px));
  }

  .top-review:nth-child(1) {
    padding-right: clamp(10px, 2.08vw, 39px);
  }

  .top-review:nth-child(2) {
    border-right: 1px solid #d0d0d0;
    border-left: 1px solid #d0d0d0;
    padding-left: clamp(10px, 2.08vw, 39px);
    padding-right: clamp(10px, 2.08vw, 39px);
  }

  .top-review:nth-child(3) {
    padding-left: clamp(10px, 2.08vw, 39px);
  }

  .what-clients__slide-footer {
    margin-top: clamp(40px, 2.78vw, 52px);
  }

  .what-clients__slide-reviewer-image img {
    max-width: 80px;
  }
}

@media screen and (max-width: 990px) {
  .what-clients__slide-reviewer {
    flex-direction: row;
    align-items: center;
  }

  .what-clients__slide-head {
    gap: 30px;
  }

  .what-clients__slide-navigation {
    display: none !important;
  }

  .what-clients__slide-head,
  .what-clients__top-reviews {
    flex-direction: column;
  }

  .what-clients__slide-footer {
    margin-top: 52px;
  }

  .what-clients__slide-reviewer-image img {
    max-width: 40px;
  }
}

@media screen and (max-width: 768px) {
  .what-clients__icon {
    right: 20px;
  }

  .what-clients__footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .what-clients__slide-title {
    font-size: 36px;
    line-height: 80%;
  }
}

/* header */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 1);
  z-index: 99999999;
  transition: transform 0.3s;
  transform: translateY(0);
}

header.header-hidden {
  transform: translateY(-100%);
}

.header__container {
  padding-left: clamp(20px, 2.08vw, 39px);
  padding-right: clamp(20px, 2.08vw, 39px);
  max-width: clamp(320px, 95.83vw, 1794px);
  position: relative;
}

.header__container::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 1px;
  background: #3d3d3d;
  border-radius: 1px;
  z-index: 4;
}

.header__logo {
  max-width: clamp(115px, 10.28vw, 193px);
  position: relative;
  z-index: 4;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.primary-header-menu {
  display: flex;
  gap: clamp(15px, 2.08vw, 39px);
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.primary-header-menu li a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(16px, 1.11vw, 21px);
  line-height: 100%;
  letter-spacing: -0.04em;
  color: #fff;
  position: relative;
  display: inline-flex;
}

.header__mobile-menu {
  position: relative;
  z-index: 1;
}

.header__mobile-wrap {
  display: flex;
  flex-direction: column;
  right: 0;
  top: 0;
  box-sizing: border-box;
  width: 100vw;
  transform: translateY(-100%);
  position: fixed;
  background: #000;
  padding: clamp(30px, 3.47vw, 75px);
  padding-top: 110px;
  transition: all 0.3s;
  z-index: 1;
}

.mobile-menu-open .header__mobile-wrap {
  transform: translateY(0);
}

.header__burder-menu {
  display: flex;
}

.header__burder-menu svg {
  max-width: clamp(30px, 3.47vw, 75px);
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.header__burder-menu svg rect {
  transform-origin: center;
  transform-box: fill-box;
  transition: all 0.3s ease;
}

.header__mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.header__mobile-menu .primary-header-menu {
  flex-direction: column;
}

.header-section.mobile-menu-open .header__burder-menu svg rect:nth-child(2) {
  transform: translateY(4px) rotate(45deg);
}

.header-section.mobile-menu-open .header__burder-menu svg rect:nth-child(3) {
  transform: translateY(-2px) rotate(-45deg);
}

.mobile-menu-open .header-overlay::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  backdrop-filter: blur(14px);
}

header:not(.mobile-menu-open) {
  backdrop-filter: blur(14px);
}

.header-overlay {
  position: absolute;
}

.mobile-menu-open .header-overlay {
  backdrop-filter: blur(14px);
  left: 0;
  top: 0;
  width: 400vw;
  height: 400vh;
  background: rgba(0, 0, 0, 0.15);
  display: block;
}

@media screen and (min-width: 1201px) {
  .primary-header-menu li a::before {
    position: absolute;
    content: "";
    left: clamp(-20px, -1.04vw, -13px);
    width: calc(100% + clamp(26px, 2.08vw, 40px));
    bottom: clamp(-27px, -1.46vw, -20px);
    transform: scaleY(0);
    transition: all 0.3s;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.11) 100%
    );
    height: clamp(13px, 1.67vw, 31px);
    transform-origin: bottom;
  }

  .primary-header-menu li a::after {
    content: "";
    position: absolute;
    bottom: clamp(-27px, -1.46vw, -20px);
    left: clamp(-20px, -1.04vw, -13px);
    width: calc(100% + clamp(26px, 2.08vw, 40px));
    height: 1px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
    transform: scaleY(0);
    transform-origin: bottom;
    z-index: 4;
  }

  .primary-header-menu li a:hover::after,
  .primary-header-menu li a:hover::before {
    transform: scaleY(1);
  }
}

@media screen and (min-width: 991px) {
  .header__container::after {
    left: clamp(20px, 2.08vw, 39px);
    width: calc(100% - clamp(40px, 4.17vw, 80px));
  }

  .header-section__mobile-wrap {
    display: none;
  }

  .header__wrapper {
    padding-top: clamp(5px, 0.35vw, 7px);
    padding-bottom: clamp(5px, 0.35vw, 7px);
  }

  .header__right-content .header__burder-menu {
    display: none;
  }
}

@media screen and (max-width: 990px) {
  .header__container::after {
    left: 0;
    width: 100%;
  }

  .header__center-content,
  .header__right-content .header__button {
    display: none;
  }

  .header__wrapper {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu-header-menu-container,
  .primary-header-menu,
  .primary-header-menu li,
  .primary-header-menu li a {
    width: 100%;
  }

  .primary-header-menu li a {
    font-size: 24px;
    letter-spacing: -0.05em;
    justify-content: center;
  }
}

/* first screen */

.js-marquee {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}

.first-screen {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 856px;
  overflow: hidden;
  box-sizing: border-box;
}

.first-screen__title {
  margin-bottom: clamp(20px, 2.78vw, 52px);
  display: flex;
  flex-direction: column;
  color: #fff;
}

.first-screen__box-second {
  max-width: clamp(320px, 36.39vw, 680px);
}

.first-screen__box {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.first-screen__box-item-number {
  color: #fff;
}

.first-screen__box-third {
  gap: clamp(10px, 0.7vw, 13px);
  display: flex;
  max-width: clamp(113px, 9.17vw, 172px);
}

.first-screen__box-item-text,
.first-screen__box-item-number-text {
  display: inline-block;
  background: radial-gradient(
    67.11% 116.76% at 16.55% 0%,
    #ffffff 0%,
    rgba(255, 255, 255, 0.851045) 54.67%,
    rgba(255, 255, 255, 0.38) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.first-screen__title .line-3 {
  text-align: right;
}

.first-screen__content {
  width: clamp(320px, 73.54vw, 1376px);
}

.first-screen__title span {
  display: block;
}

.first-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000ad;
  z-index: 2;
}

.first-screen__container {
  z-index: 3;
  position: relative;
}

.first-screen__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.line-screen__partners {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.37);
}

.items-wrap {
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  mix-blend-mode: luminosity;
  padding-top: clamp(8px, 0.56vw, 11px);
  padding-bottom: clamp(8px, 0.56vw, 11px);
}

.js-marquee-wrapper {
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  mix-blend-mode: luminosity;
}

.items,
.js-marquee {
  padding-right: clamp(30px, 4.17vw, 78px);
  padding-left: clamp(30px, 4.17vw, 78px);
  flex-shrink: 0;
  display: flex;
  counter-reset: item;
  gap: clamp(60px, 8.3vw, 156px);
  will-change: transform;
  margin-right: 0 !important;
}

.item {
  flex: 0 0 auto;
  counter-increment: item;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.1s ease-in-out;
  max-height: clamp(30px, 2.78vw, 52px);
  position: relative;
}

.item img {
  max-height: clamp(30px, 2.78vw, 52px);
  opacity: 0.8;
  filter: grayscale(1) brightness(0.9) contrast(1.2);
}

.item::after {
  content: "";
  position: absolute;
  min-width: 2px;
  height: clamp(16px, 1.39vw, 26px);
  right: clamp(-78px, -4.17vw, -30px);
  background: #494949;
}

.line-screen__partners-text {
  position: absolute;
  height: 100%;
  top: 1px;
  left: 0;
  z-index: 4;
  width: clamp(182px, 19.58vw, 367px);
}

.line-screen__partners-text:before,
.line-screen__partners-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.line-screen__partners-text:before {
  background: url(/wp-content/uploads/2025/09/pseudo-back.webp) repeat center
    center;
  opacity: 0.05;
}

.line-screen__partners-text::after {
  background-color: #fefdff;
  clip-path: url(#partners-clip);
  z-index: -1;
}

.line-screen__partners-text h4 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 43px;
}

@media screen and (min-width: 990px) {
  .first-screen__title--mobile {
    display: none;
  }
}

@media screen and (max-width: 990px) {
  .first-screen__title .line-3 {
    text-align: left;
  }

  .first-screen {
    align-items: flex-start;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .first-screen__container {
    padding-right: 20px;
    height: 100%;
    padding-left: 20px;
  }

  .first-screen__content {
    width: 100%;
    justify-content: space-between;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .first-screen__title--desktop {
    display: none;
  }

  .first-screen__box-item-number {
    font-size: 36px;
    line-height: 80%;
  }

  .first-screen__box {
    align-items: center;
    flex-wrap: wrap;
  }

  .first-screen__box-item-number {
    display: flex;
    align-items: center;
  }

  .first-screen {
    min-height: 540px;
  }

  .first-screen__box-second {
    margin-bottom: 30px;
    max-width: 100%;
  }

  .first-screen__box-second {
    order: 1;
  }

  .first-screen__box-third {
    order: 3;
  }

  .first-screen__box-first {
    order: 2;
  }

  .line-screen__partners-text {
    display: none;
  }
}

/* case studies section */

.case-studies-section__inner {
  overflow: hidden;
}

.case-studies-section__container {
  z-index: 3;
  position: relative;
}

.case-studies-section__inner:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(539px, 54.44vw, 1020px);
  background: linear-gradient(
    180deg,
    #000000 0%,
    rgba(0, 0, 0, 0.63) 59%,
    rgba(0, 0, 0, 0.04) 100%
  );
  z-index: 2;
}

.case-studies-section__video {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(539px, 54.44vw, 1020px);
  bottom: 0;
  object-fit: cover;
  z-index: 1;
}

@media screen and (min-width: 1200px) {
  .case-studies-section__inner,
  .our-products-section__inner,
  .faqs__inner {
    clip-path: inset(0 10% 0 10% round clamp(20px, 2.78vw, 52px));
    will-change: clip-path;
    transition: none !important;
  }
}

.case-studies-section__inner {
  background: #000;
  border-radius: clamp(20px, 2.78vw, 52px);
}

.our-products-section__inner {
  border-radius: clamp(20px, 2.78vw, 52px);
}

.case-studies-section__container {
  padding-top: clamp(50px, 6.94vw, 130px);
  padding-bottom: clamp(50px, 6.94vw, 130px);
}

.case-studies-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(30px, 3.47vw, 65px);
}

.case-studies-section__title,
.case-studies-section__description p strong,
.case-studies-section__total-cases-title,
.case-studies-section__cta-title,
.case-studies-section__case-item-static-item-title,
.case-studies-section__case-item-title,
.case-studies-section__case-item-types p,
.case-studies-section__footer-title,
.case-studies-section__footer-description p {
  color: #fff;
}

.case-studies-section__description p,
.case-studies-section__total-cases-description p,
.case-studies-section__case-item-static-item-description p {
  color: #909090;
  text-wrap-style: balance;
}

.case-studies-section__case-item-description p {
  color: #a5a5a5;
}

.case-studies-section__description {
  width: clamp(270px, 55.9vw, 1047px);
}

.case-studies-section__total-cases-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(8px, 1.18vw, 22px) clamp(8px, 1.39vw, 26px)
    clamp(8px, 1.18vw, 22px) clamp(20px, 2.08vw, 39px);
  border-radius: clamp(10px, 1.39vw, 26px);
  background: #2d2d2d;
  box-sizing: border-box;
}

.case-studies-section__total-cases-head {
  display: flex;
  gap: clamp(8px, 0.69vw, 13px);
  align-items: center;
}

.case-studies-section__case-item-types {
  display: flex;
  position: absolute;
  top: clamp(20px, 2.08vw, 39px);
  left: clamp(20px, 2.08vw, 39px);
  transform: translateY(calc(-100% - clamp(20px, 2.08vw, 39px)));
  opacity: 0;
  transition: all 0.5s ease;
}

.case-studies-section__case-item-types p {
  padding: clamp(6px, 0.56vw, 10px) clamp(11px, 1.11vw, 21px);
  backdrop-filter: blur(12px);
  box-shadow: inset -2px -2px 1px -2px #b3b3b3, inset 2px 2px 1px -2px #b3b3b3,
    inset 3px 3px 0px -3px rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
}

.case-studies-section__case-item {
  position: relative;
  border-radius: clamp(10px, 1.39vw, 26px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-studies-section__case-item::before {
  content: "";
  position: absolute;
  border-radius: clamp(10px, 1.39vw, 26px);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.61) 14.51%,
    rgba(0, 0, 0, 0.58) 34.16%,
    rgba(0, 0, 0, 0.77) 55.02%,
    rgba(0, 0, 0, 0.85) 70.23%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.case-studies-section__case-item-content {
  position: relative;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.5s ease;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-studies-section__case-item-body {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.39vw, 26px);
  max-width: clamp(353px, 24.51vw, 459px);
  margin: clamp(75px, 10.42vw, 195px) clamp(20px, 2.08vw, 39px)
    clamp(30px, 2.08vw, 39px) clamp(20px, 2.08vw, 39px);
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.5s ease;
  flex-grow: 1;
}

.case-studies-section__case-item-static {
  display: flex;
  gap: clamp(8px, 0.83vw, 16px);
  justify-content: space-between;
  align-items: center;
  position: relative;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease;
  width: 100%;
  padding: clamp(12px, 1.67vw, 31px) clamp(16px, 2.08vw, 39px);
  border-top: 1px solid #424242;
  background: #2d2d2d;
  box-sizing: border-box;
}

.case-studies-section__case-item-static-item {
  display: flex;
  gap: clamp(8px, 0.69vw, 13px);
  align-items: center;
  position: relative;
}

.case-studies-section__case-item-separator {
  align-self: stretch;
  width: 1px;
  background: #424242;
  display: block;
  flex: 0 0 1px;
  margin-top: 3px;
  margin-bottom: 3px;
}

.case-studies-section__case-item-separator:last-child {
  display: none;
}

.case-studies-section__cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(12px, 1.67vw, 31px) clamp(8px, 1.39vw, 26px)
    clamp(12px, 1.67vw, 31px) clamp(20px, 2.08vw, 39px);
  border-radius: clamp(10px, 1.39vw, 26px);
  background: #1e1f21;
  box-sizing: border-box;
}

.case-studies-section__cases-inner {
  display: flex;
  gap: clamp(20px, 3.47vw, 65px);
  justify-content: space-between;
}

.case-studies-section__column {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3.47vw, 65px);
  flex: 1 1 50%;
}

.case-studies-section__case-item:hover
  .case-studies-section__case-item-content {
  opacity: 1;
}

.case-studies-section__case-item:hover .case-studies-section__case-item-body {
  transform: translateX(0);
  opacity: 1;
}

.case-studies-section__case-item:hover .case-studies-section__case-item-static,
.case-studies-section__case-item:hover .case-studies-section__case-item-types {
  transform: translateY(0);
  opacity: 1;
}

.case-studies-section__case-item:hover::before {
  opacity: 1;
}

.case-studies-section__footer {
  position: relative;
  display: flex;
  cursor: none;
  margin-top: clamp(100px, 16.39vw, 307px);
  z-index: 2;
}

.case-studies-section__footer-title {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: clamp(48px, 11.11vw, 208px);
  line-height: 82%;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
}

.case-studies-section__footer-title svg {
  width: clamp(33px, 7.64vw, 143px);
  height: clamp(33px, 7.64vw, 143px);
}

.title__line {
  display: flex;
  width: 100%;
}

.title__line.title__line--1 {
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.title__line.title__line--2 {
  margin-top: clamp(0px, 0.69vw, 13px);
  margin-bottom: clamp(0px, 0.69vw, 13px);
}

.title__line.title__line--3 {
  line-height: 90%;
}

.case-studies-section__footer-title--second {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.case-studies-section__footer-description {
  width: clamp(270px, 24.1vw, 541px);
}

.case-studies-section__footer-description {
  text-transform: none;
}

.case-studies-section__footer-button {
  width: clamp(100px, 8.33vw, 156px);
  height: clamp(100px, 8.33vw, 156px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.1s ease;
  backdrop-filter: blur(12px);
  box-shadow: inset -2px -2px 1px -2px #b3b3b3, inset 2px 2px 1px -2px #b3b3b3,
    inset 3px 3px 0px -3px rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  gap: 10px;
}

.case-studies-section__footer-button svg {
  width: clamp(20px, 1.39vw, 26px);
  height: clamp(20px, 1.39vw, 26px);
}

.case-studies-section__footer-button p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 100%;
  letter-spacing: -0.05em;
  color: #fff;
}

.case-studies-section__footer-content {
  width: 100%;
}

@media screen and (min-width: 1201px) and (max-width: 2560px) {
  .case-studies-section__container {
    padding-left: 100px;
    padding-right: 100px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .case-studies-section__container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media screen and (max-width: 1200px) {
  .case-studies-section__case-item-static-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (min-width: 991px) {
  .case-studies-section__description p {
    max-width: clamp(320px, 49.86vw, 934px);
  }

  .case-studies-section__body {
    padding-top: clamp(0px, 4.17vw, 78px);
    border-top: 1px solid #242424;
  }

  .title__line.title__line--3 {
    width: clamp(270px, 55.9vw, 1047px);
  }

  .case-studies-section__footer-button {
    display: none;
  }
}

@media screen and (max-width: 990px) {
  .case-studies-section.pseudo-elements {
    margin-top: -20px;
  }

  .case-studies-section__cases-inner {
    flex-direction: column;
  }

  .case-studies-section__column {
    flex: 1 1 100%;
  }

  .case-studies-section__head {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .case-studies-section__description {
    width: unset;
  }

  .case-studies-section__total-cases-inner {
    margin-bottom: 10px;
  }

  .case-studies-section__footer-title--second {
    flex-direction: column-reverse;
    width: clamp(270px, 55.9vw, 1047px);
    margin-left: auto;
    align-items: flex-start;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 600px) {
  .case-studies-section__container {
    padding-bottom: 92px;
  }

  .case-studies-section__case-item-separator {
    width: 100%;
    margin: 0;
  }
}
