/*
Theme Name: Favourite Partners
Theme URI: https://fp.devdenis.ru/
Author: DevDenis
Description: Custom WordPress theme for Favourite Partners.
Version: 1.3.2
Text Domain: favourite-partners
*/

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --fp-white: #fff;
  --fp-glass: rgba(199, 199, 199, 0.2);
  --fp-glass-subtle: rgba(118, 118, 118, 0.1);
  --fp-border: rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #020807;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #020807;
  color: var(--fp-white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 10000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  color: #000;
}

.fp-hero {
  position: relative;
  isolation: isolate;
  min-height: 1012px;
  overflow: hidden;
  background: #020807;
}

.fp-hero__background,
.fp-hero__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.fp-hero__background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.fp-hero__overlay {
  z-index: -1;
  background: linear-gradient(180deg, rgba(102, 102, 102, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.fp-header {
  position: absolute;
  z-index: 20;
  top: 20px;
  left: 50%;
  display: flex;
  width: min(1175px, calc(100% - 48px));
  min-height: 72px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 10px 30px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  background: rgba(118, 118, 118, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.fp-logo,
.fp-logo img {
  display: block;
  width: 117px;
  height: 52px;
}

.fp-nav {
  margin-left: auto;
  margin-right: 34px;
}

.fp-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fp-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1px;
  transition: color 180ms ease;
}

.fp-nav a:hover,
.fp-nav a:focus-visible {
  color: #fff;
}

.fp-header__request {
  display: inline-flex;
  width: 191px;
  min-height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border: 1px solid rgba(21, 21, 21, 0.25);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
  transition: background 180ms ease, color 180ms ease;
}

.fp-header__request:hover,
.fp-header__request:focus-visible,
.fp-action:hover,
.fp-action:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.fp-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  cursor: pointer;
}

.fp-menu-toggle span,
.fp-menu-toggle::before,
.fp-menu-toggle::after {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.fp-menu-toggle span {
  margin: 5px 0;
}

.fp-header.is-open .fp-menu-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

.fp-header.is-open .fp-menu-toggle span {
  opacity: 0;
}

.fp-header.is-open .fp-menu-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

.fp-heading,
.fp-intro,
.fp-cards {
  position: absolute;
  left: 50%;
  width: min(1190px, calc(100% - 48px));
  transform: translateX(-50%);
}

.fp-heading {
  top: 202px;
}

.fp-heading__eyebrow {
  margin: 0 0 30px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1px;
}

.fp-heading__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(56px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.fp-intro {
  top: 573px;
}

.fp-intro__text {
  width: 462px;
  max-width: 100%;
  margin: 0 0 30px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
}

.fp-intro__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.fp-action {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  background: var(--fp-glass-subtle);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 180ms ease;
}

.fp-arrow,
.fp-card__arrow {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.fp-quote {
  position: absolute;
  top: 558px;
  right: max(24px, calc((100% - 1190px) / 2));
  width: 219px;
  min-height: 163px;
  padding: 20px 15px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(11px);
  backdrop-filter: blur(11px);
}

.fp-quote__icon {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 15px;
}

.fp-quote__text,
.fp-quote__author {
  margin: 0;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -1px;
}

.fp-quote__text {
  margin-bottom: 15px;
  font-weight: 400;
}

.fp-quote__author {
  font-weight: 500;
}

.fp-cards {
  top: 768px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fp-card {
  display: flex;
  min-width: 0;
  height: 233px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 30px;
  border-radius: 30px;
  background: var(--fp-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.fp-card__title,
.fp-card__text,
.fp-card__link {
  margin: 0;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -1px;
}

.fp-card__title {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 500;
}

.fp-card__text {
  max-width: 330px;
  font-weight: 400;
}

.fp-card__link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 500;
}

.fp-card__link:hover .fp-card__arrow,
.fp-card__link:focus-visible .fp-card__arrow,
.fp-action:hover .fp-arrow,
.fp-action:focus-visible .fp-arrow {
  transform: translateX(4px);
}

.fp-card__arrow,
.fp-arrow {
  transition: transform 180ms ease;
}

.fp-why {
  position: relative;
  min-height: 1385px;
  overflow: hidden;
  background: #fff;
  color: #000;
}

.fp-why__accent {
  position: absolute;
  width: 1242.6px;
  max-width: none;
  height: 1165.6px;
  pointer-events: none;
  user-select: none;
}

.fp-why__accent--left {
  top: -220px;
  left: -682px;
  transform: rotate(149deg);
}

.fp-why__accent--right {
  top: -459px;
  left: calc(100% - 647px);
  transform: rotate(-74.11deg);
}

.fp-why__approach,
.fp-why__results {
  position: absolute;
  z-index: 1;
  left: 50%;
  width: min(1190px, calc(100% - 48px));
  transform: translateX(-50%);
}

.fp-why__approach {
  top: 75px;
}

.fp-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.fp-section-heading__label {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 15px 40px;
  border: 1px solid #eae9e9;
  border-radius: 500px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1px;
  white-space: nowrap;
}

.fp-section-heading__title {
  margin: 0;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
}

.fp-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 100px;
}

.fp-reason {
  min-width: 0;
}

.fp-reason__number {
  position: relative;
  width: 177px;
  height: 109px;
  font-weight: 500;
  white-space: nowrap;
}

.fp-reason__number-shadow,
.fp-reason__number-main {
  position: absolute;
  display: block;
  letter-spacing: -6px;
}

.fp-reason__number-shadow {
  top: 0;
  left: 5px;
  color: rgba(0, 0, 0, 0.05);
  font-size: 150px;
  line-height: 0.73;
}

.fp-reason__number-main {
  top: 22px;
  left: 0;
  font-size: 120px;
  line-height: 0.73;
}

.fp-reason__card,
.fp-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid #eae9e9;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 14px rgba(18, 163, 95, 0.26);
}

.fp-reason__card {
  height: 238px;
  padding: 40px 30px;
}

.fp-reason__title,
.fp-reason__text,
.fp-stat__value,
.fp-stat__text {
  margin: 0;
  line-height: 1;
  letter-spacing: -1px;
}

.fp-reason__title {
  font-size: 18px;
  font-weight: 500;
}

.fp-reason__text {
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
}

.fp-why__results {
  top: 769px;
}

.fp-section-heading--results .fp-section-heading__label {
  background: rgba(255, 255, 255, 0.2);
}

.fp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 100px;
}

.fp-stat {
  height: 247px;
  padding: 40px 30px;
}

.fp-stat__value {
  font-size: 40px;
  font-weight: 500;
  white-space: nowrap;
}

.fp-stat__text {
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
}

.fp-clients {
  position: relative;
  z-index: 2;
  min-height: 640px;
  margin-top: -16px;
  overflow: hidden;
  background: #fff;
  color: #000;
}

.fp-clients__accent {
  position: absolute;
  width: 1242.6px;
  max-width: none;
  height: 1165.6px;
  pointer-events: none;
  user-select: none;
}

.fp-clients__accent--right {
  top: 98px;
  right: 26px;
}

.fp-clients__accent--left {
  top: 204px;
  left: -690px;
  transform: rotate(178.75deg);
}

.fp-clients__heading {
  position: absolute;
  z-index: 1;
  top: 102px;
  left: 50%;
  width: 477px;
  transform: translateX(-50%);
}

.fp-clients__heading .fp-section-heading__label {
  opacity: 0.8;
}

.fp-clients__slider {
  position: absolute;
  z-index: 1;
  top: 299px;
  left: 50%;
  display: flex;
  width: min(990px, calc(100% - 48px));
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  transform: translateX(-50%);
}

.fp-clients__next {
  display: block;
  width: 55px;
  height: 45px;
  flex: 0 0 45px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.fp-clients__next:hover,
.fp-clients__next:focus-visible {
  transform: translateX(3px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.08);
}

.fp-clients__next img {
  display: block;
  width: 55px;
  height: 45px;
}

.fp-clients__viewport {
  width: 100%;
  overflow: hidden;
  scrollbar-width: none;
}

.fp-clients__viewport::-webkit-scrollbar {
  display: none;
}

.fp-clients__track {
  position: relative;
  width: 100%;
  height: 145px;
}

.fp-clients__page {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.fp-clients__page.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.fp-clients__page.is-leaving {
  opacity: 0;
  transform: translateX(-18px);
}

.fp-clients__track.is-instant .fp-clients__page {
  transition-duration: 1ms;
  transition-timing-function: ease-in;
}

.fp-client-card {
  display: flex;
  width: 190px;
  height: 145px;
  flex: 0 0 190px;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid #eae9e9;
  border-radius: 25px;
  background: #fff;
  scroll-snap-align: start;
}

.fp-client-card img {
  display: block;
  max-width: none;
  object-fit: contain;
}

.fp-client-card--muted {
  border-color: transparent;
  background: #f5f5f5;
}

.fp-team {
  position: relative;
  min-height: 1893px;
  overflow: hidden;
  background: #001219;
  color: #fff;
}

.fp-team__background {
  position: absolute;
  top: -40px;
  left: -2px;
  width: calc(100% + 4px);
  max-width: none;
  height: 2166px;
  object-fit: cover;
  pointer-events: none;
  transform: rotate(180deg);
  user-select: none;
}

.fp-team__heading {
  position: absolute;
  z-index: 1;
  top: 102px;
  left: 50%;
  width: 337px;
  transform: translateX(-50%);
}

.fp-team__heading .fp-section-heading__label {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0);
}

.fp-team__top,
.fp-team__bottom {
  position: absolute;
  z-index: 1;
  left: calc(50% - 35px);
  display: flex;
  width: 1190px;
  gap: 10px;
  transform: translateX(-50%);
}

.fp-team__top {
  top: 299px;
  align-items: center;
}

.fp-person {
  position: relative;
  width: 390px;
  flex: 0 0 390px;
}

.fp-person--natalia {
  height: 664px;
}

.fp-person--igor {
  height: 782px;
}

.fp-person__photo {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 390px;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
}

.fp-person__photo--natalia {
  height: 469px;
}

.fp-person__photo--igor {
  height: 540px;
}

.fp-person__info {
  position: absolute;
  left: 0;
  z-index: 1;
  display: flex;
  width: 390px;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
  border: 1px solid #eae9e9;
  border-radius: 30px;
  background: #fff;
  color: #000;
}

.fp-person--natalia .fp-person__info {
  top: 406px;
}

.fp-person--igor .fp-person__info {
  top: 473px;
}

.fp-person__identity {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.fp-person__name,
.fp-person__role,
.fp-person__stat strong,
.fp-person__stat span {
  margin: 0;
  line-height: 1;
  letter-spacing: -1px;
}

.fp-person__name {
  display: flex;
  flex-direction: column;
  font-size: 40px;
  font-weight: 500;
}

.fp-person__role {
  min-height: 18px;
  font-size: 18px;
  font-weight: 500;
  opacity: 0.8;
}

.fp-person__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 21px;
  background-image: url("assets/images/team-line-horizontal.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 330px 1px;
}

.fp-person__stat {
  display: flex;
  min-width: 70px;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.fp-person__stat strong {
  font-size: 24px;
  font-weight: 500;
  white-space: nowrap;
}

.fp-person__stat span {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
  white-space: nowrap;
}

.fp-person__stat-divider {
  display: block;
  width: 1px;
  height: 30px;
  flex: 0 0 1px;
}

.fp-team-facts {
  display: grid;
  width: 790px;
  height: 664px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, 2fr) 1fr;
  gap: 10px;
}

.fp-team-fact,
.fp-team-facts__clients,
.fp-career__intro,
.fp-industry,
.fp-career__outro {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.fp-team-fact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 20px;
  background: rgba(174, 174, 174, 0.2);
}

.fp-team-fact__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.fp-team-fact__icon img {
  display: block;
  width: 40px;
  height: 40px;
}

.fp-team-fact__icon--mentor {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.fp-team-fact__icon--mentor img {
  width: 21px;
  height: 21px;
}

.fp-team-fact p,
.fp-team-facts__clients,
.fp-career__intro,
.fp-industry__content h3,
.fp-industry__content p,
.fp-career__outro {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1px;
}

.fp-team-facts__clients {
  display: flex;
  grid-column: 1 / span 2;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: rgba(174, 174, 174, 0.2);
}

.fp-team__bottom {
  top: 1063px;
  align-items: flex-start;
}

.fp-career {
  display: flex;
  width: 790px;
  flex: 0 0 790px;
  flex-direction: column;
  gap: 10px;
}

.fp-career__intro,
.fp-career__outro {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: rgba(245, 245, 245, 0.2);
  opacity: 0.8;
}

.fp-career__intro {
  height: 121px;
}

.fp-career__outro {
  height: 105px;
}

.fp-industry {
  display: flex;
  width: 100%;
  height: 107px;
  align-items: center;
  gap: 13px;
  padding: 30px 20px;
  background: rgba(245, 245, 245, 0.2);
}

.fp-industry--large {
  height: 154px;
  gap: 20px;
}

.fp-industry__number {
  margin: 0;
  flex: 0 0 auto;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
}

.fp-industry__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.fp-industry__content h3 {
  font-size: 18px;
  font-weight: 500;
}

.fp-industry__content p {
  opacity: 0.8;
}

@media (max-width: 1180px) {
  .fp-header {
    padding-left: 20px;
  }

  .fp-nav {
    margin-right: 18px;
  }

  .fp-nav ul {
    gap: 14px;
  }

  .fp-nav a {
    font-size: 14px;
  }

  .fp-header__request {
    width: 170px;
  }

  .fp-reason__card,
  .fp-stat {
    padding-right: 24px;
    padding-left: 24px;
  }

  .fp-team__top,
  .fp-team__bottom {
    left: 50%;
    width: calc(100% - 48px);
  }

  .fp-team-facts,
  .fp-career {
    min-width: 0;
    flex: 1 1 auto;
  }
}

@media (max-width: 960px) {
  .fp-hero {
    min-height: 0;
    padding: 138px 0 24px;
  }

  .fp-header {
    position: fixed;
    top: 16px;
    width: calc(100% - 32px);
    min-height: 68px;
    padding: 8px 10px 8px 16px;
  }

  .admin-bar .fp-header {
    top: 62px;
  }

  .fp-logo,
  .fp-logo img {
    width: 99px;
    height: 44px;
  }

  .fp-menu-toggle {
    display: block;
  }

  .fp-nav,
  .fp-header__request {
    display: none;
  }

  .fp-header.is-open {
    align-items: flex-start;
    flex-wrap: wrap;
    background: rgba(12, 20, 18, 0.94);
  }

  .fp-header.is-open .fp-nav {
    display: block;
    order: 3;
    width: 100%;
    margin: 14px 0 0;
    padding: 12px 4px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .fp-header.is-open .fp-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .fp-header.is-open .fp-nav a {
    padding: 11px 4px;
    font-size: 16px;
  }

  .fp-heading,
  .fp-intro,
  .fp-cards {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin-right: 16px;
    margin-left: 16px;
    transform: none;
  }

  .fp-heading__eyebrow {
    margin-bottom: 20px;
  }

  .fp-heading__title {
    font-size: clamp(44px, 12.5vw, 68px);
    overflow-wrap: anywhere;
  }

  .fp-intro {
    margin-top: clamp(150px, 38vw, 260px);
  }

  .fp-intro__text {
    width: min(100%, 540px);
    font-size: 22px;
  }

  .fp-quote {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    min-height: 0;
    margin: 30px 16px 0;
  }

  .fp-cards {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .fp-card {
    height: 220px;
  }

  .fp-why {
    min-height: 0;
    padding: 72px 16px 96px;
  }

  .fp-why__accent {
    width: 900px;
    height: auto;
    opacity: 0.8;
  }

  .fp-why__accent--left {
    top: -260px;
    left: -610px;
  }

  .fp-why__accent--right {
    top: -390px;
    left: calc(100% - 360px);
  }

  .fp-why__approach,
  .fp-why__results {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    transform: none;
  }

  .fp-section-heading__title {
    font-size: clamp(36px, 7vw, 48px);
  }

  .fp-reasons {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 72px;
  }

  .fp-reason__number {
    height: 86px;
  }

  .fp-reason__number-shadow {
    font-size: 118px;
  }

  .fp-reason__number-main {
    top: 18px;
    font-size: 94px;
  }

  .fp-reason__card {
    height: 220px;
  }

  .fp-why__results {
    margin-top: 110px;
  }

  .fp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 72px;
  }

  .fp-clients {
    min-height: 620px;
    margin-top: 0;
    padding: 72px 0 90px;
  }

  .fp-clients__accent {
    width: 900px;
    height: auto;
  }

  .fp-clients__accent--right {
    top: 80px;
    right: -310px;
  }

  .fp-clients__accent--left {
    top: 260px;
    left: -610px;
  }

  .fp-clients__heading,
  .fp-clients__slider {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .fp-clients__heading {
    width: auto;
    margin: 0 16px;
  }

  .fp-clients__slider {
    width: auto;
    margin: 72px 16px 0;
  }

  .fp-clients__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .fp-clients__track,
  .fp-clients__page {
    width: 990px;
  }

  .fp-team {
    min-height: 0;
    padding: 72px 16px 96px;
  }

  .fp-team__background {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .fp-team__heading,
  .fp-team__top,
  .fp-team__bottom {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    transform: none;
  }

  .fp-team__heading {
    margin: 0 auto;
  }

  .fp-team__top,
  .fp-team__bottom {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 72px;
  }

  .fp-person,
  .fp-team-facts,
  .fp-career {
    width: 100%;
    max-width: 790px;
    margin-right: auto;
    margin-left: auto;
  }

  .fp-person {
    max-width: 390px;
  }

  .fp-team-facts {
    height: auto;
    grid-template-rows: none;
    margin-top: 28px;
  }

  .fp-team-fact {
    min-height: 185px;
  }

  .fp-team-facts__clients {
    min-height: 100px;
  }

  .fp-team__bottom {
    margin-top: 100px;
  }

  .fp-person--igor {
    grid-row: 1;
    margin-bottom: 28px;
  }

  .fp-career {
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .fp-hero__background {
    object-position: 50% center;
  }

  .fp-intro__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .fp-action {
    width: 100%;
    justify-content: space-between;
    padding-right: 24px;
    padding-left: 24px;
  }

  .fp-card {
    height: 226px;
    padding: 32px 24px;
  }

  .fp-section-heading__label {
    min-height: 42px;
    padding: 13px 30px;
  }

  .fp-section-heading__title {
    font-size: 36px;
  }

  .fp-reason__card {
    height: auto;
    min-height: 230px;
    padding: 32px 24px;
  }

  .fp-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fp-stat {
    height: 230px;
    padding: 32px 24px;
  }

  .fp-clients {
    min-height: 580px;
  }

  .fp-clients__slider {
    margin-top: 64px;
  }

  .fp-team__heading {
    width: auto;
  }

  .fp-person {
    height: auto;
  }

  .fp-person__photo {
    position: relative;
    width: 100%;
  }

  .fp-person__info,
  .fp-person--natalia .fp-person__info,
  .fp-person--igor .fp-person__info {
    position: relative;
    top: auto;
    width: 100%;
    margin-top: -64px;
  }

  .fp-person__name {
    font-size: 36px;
  }

  .fp-person__stats {
    gap: 8px;
    background-size: 100% 1px;
  }

  .fp-person__stat {
    min-width: 0;
  }

  .fp-person__stat strong {
    font-size: 20px;
  }

  .fp-person__stat span {
    font-size: 13px;
  }

  .fp-team-facts {
    grid-template-columns: 1fr;
  }

  .fp-team-facts__clients {
    grid-column: auto;
  }

  .fp-career__intro,
  .fp-career__outro,
  .fp-industry,
  .fp-industry--large {
    height: auto;
    min-height: 130px;
  }

  .fp-industry {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
