.fy-hero {
  position: relative;
  min-height: 645px;
  padding-block-start: 112px;
  padding-block-end: 120px;
  background: var(--fy-primary);
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.fy-hero__pattern {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(24vw, 240px);
  opacity: 1;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background-image: url("../images/main/main.svg");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% auto;
}

.fy-hero__pattern.is-inline-svg {
  background-image: none;
}

.fy-hero__pattern svg,
.fy-pattern-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
}

.fy-pattern-shape {
  transform-box: fill-box;
  transform-origin: center;
  animation: fyPatternShapeBlink 4.8s ease-in-out infinite;
  animation-delay: var(--fy-shape-delay, 0s);
  will-change: opacity, transform;
}

@keyframes fyPatternShapeBlink {
  0%,
  58%,
  100% {
    opacity: 0.28;
    transform: scale(1);
  }

  12% {
    opacity: 1;
    transform: scale(1.035);
  }

  28% {
    opacity: 0.46;
    transform: scale(1);
  }
}

.fy-hero__inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 735px) minmax(360px, 465px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(34px, 4vw, 56px);
}

.fy-hero__content {
  min-width: 0;
  max-width: 735px;
  text-align: right;
  padding-block-start: 16px;
}

.fy-hero__badge {
  width: 168px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 26px;
  background: #ffffff;
  color: #1f2937;
  border-radius: 7px;
  font-size: 18px;
  font-weight: 400;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.fy-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: var(--fy-hero-title-size);
  font-weight: var(--fy-hero-title-weight);
  line-height: var(--fy-hero-title-line);
  letter-spacing: -0.4px;
  text-wrap: balance;
}

.fy-hero__title-line {
  display: block;
}

.fy-underlined {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.fy-underlined img {
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 104%;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.fy-hero__actions {
  margin-block-start: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: clamp(26px, 3.4vw, 46px);
}

.fy-hero__cta {
  min-width: 138px;
  height: 44px;
  min-height: 44px;
  padding-inline: 18px;
  font-size: var(--fy-btn-size);
  font-weight: var(--fy-btn-weight);
}

.fy-hero__cta img {
  width: 16px;
  height: 16px;
  transition: filter var(--fy-transition);
  animation: fyContactIconFade 2.4s ease-in-out infinite;
}

.fy-hero__cta:hover {
  background: #ffffff;
  color: var(--fy-secondary);
  border-color: #ffffff;
  transform: none;
}

.fy-hero__cta:hover img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(96%)
    saturate(2838%) hue-rotate(341deg) brightness(94%) contrast(92%);
}

.fy-rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.fy-rating__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.fy-rating__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  direction: rtl;
}

.fy-rating__stars img {
  width: 15px;
  height: 15px;
}

.fy-rating__text {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.fy-rating__avatars {
  display: flex;
  align-items: center;
  direction: ltr;
}

.fy-avatar {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid var(--fy-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.fy-avatar:first-child {
  margin-left: 0;
}

.fy-avatar--one {
  background: linear-gradient(135deg, #1d9bd1, #125e86);
}

.fy-avatar--two {
  background: linear-gradient(135deg, #d99b73, #935b3a);
}

.fy-avatar--three {
  background: linear-gradient(135deg, #7aa1b7, #435f71);
}

.fy-hero__visual {
  position: relative;
  width: 100%;
  max-width: 465px;
  min-height: 500px;
  justify-self: stretch;
  align-self: stretch;
}

.fy-hero__person {
  position: absolute;
  left: 0;
  bottom: -58px;
  width: min(43vw, 465px);
  max-width: none;
  z-index: 4;
  user-select: none;
  pointer-events: none;
}

.fy-plane-card {
  position: absolute;
  top: 34.4%;
  right: 27%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fy-secondary);
  border-radius: 7px;
  z-index: 8;
}

.fy-plane-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.fy-exp-card {
  position: absolute;
  top: 59.2%;
  right: -8%;
  min-width: 184px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 10px;
  background: var(--fy-soft);
  border-radius: 12px;
  z-index: 8;
  backdrop-filter: blur(2px);
}

.fy-exp-card__number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fy-secondary);
  color: #ffffff;
  border-radius: 7px;
  font-size: 21px;
  font-weight: 600;
  direction: ltr;
  flex: 0 0 42px;
}

.fy-exp-card__text {
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
}

.fy-hero__curve {
  position: absolute;
  left: 50%;
  bottom: -142px;
  width: 138%;
  height: 250px;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 50% 50% 0 0 / 75% 75% 0 0;
  z-index: 7;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .fy-pattern-shape,
  .fy-hero__cta img {
    animation: none;
  }
}

@media (max-width: 1349px) {
  .fy-hero {
    min-height: 620px;
  }

  .fy-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 39%);
    gap: clamp(28px, 3vw, 38px);
  }

  .fy-hero__visual {
    min-height: 480px;
  }

  .fy-hero__person {
    width: min(40vw, 430px);
  }

  .fy-plane-card {
    right: 22%;
  }

  .fy-exp-card {
    top: 61%;
    right: -18%;
  }
}

@media (max-width: 1200px) {
  .fy-hero {
    min-height: 600px;
  }

  .fy-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(305px, 37%);
    gap: 28px;
  }

  .fy-hero__content {
    padding-block-start: 8px;
  }

  .fy-hero__actions {
    margin-block-start: 42px;
    gap: 26px;
  }

  .fy-hero__visual {
    min-height: 460px;
  }

  .fy-hero__person {
    width: min(39vw, 405px);
    bottom: -54px;
  }

  .fy-plane-card {
    top: 33%;
    right: 20%;
    width: 54px;
    height: 54px;
  }

  .fy-plane-card img {
    width: 31px;
    height: 31px;
  }

  .fy-exp-card {
    top: 60%;
    right: -25%;
    min-width: 172px;
    height: 52px;
    gap: 9px;
  }

  .fy-exp-card__number {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 20px;
  }

  .fy-exp-card__text {
    font-size: 14.5px;
  }
}

@media (max-width: 1080px) {
  .fy-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(285px, 35%);
    gap: 24px;
  }

  .fy-hero__person {
    width: min(38vw, 382px);
  }

  .fy-exp-card {
    top: 60.5%;
    right: -30%;
  }
}

@media (max-width: 992px) {
  .fy-hero {
    min-height: auto;
    padding-block-start: 104px;
    padding-block-end: 76px;
  }

  .fy-hero__pattern {
    width: min(44vw, 300px);
    opacity: 0.65;
  }

  .fy-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
    gap: 16px;
  }

  .fy-hero__content {
    max-width: 100%;
    text-align: center;
    padding-block-start: 0;
  }

  .fy-hero__badge {
    margin-block-end: 20px;
  }

  .fy-hero__title {
    max-width: 850px;
    margin-inline: auto;
  }

  .fy-hero__actions {
    justify-content: center;
    margin-block-start: 32px;
  }

  .fy-rating {
    justify-content: center;
  }

  .fy-rating__meta {
    align-items: flex-start;
  }

  .fy-hero__visual {
    width: 100%;
    max-width: 100%;
    min-height: clamp(335px, 43vw, 385px);
    align-self: auto;
  }

  .fy-hero__person {
    left: 50%;
    bottom: -58px;
    width: min(68vw, 360px);
    transform: translateX(-50%);
  }

  .fy-plane-card {
    top: clamp(34px, 5.8vw, 54px);
    right: auto;
    left: calc(50% - min(30vw, 160px));
    width: 54px;
    height: 54px;
  }

  .fy-exp-card {
    top: clamp(168px, 22vw, 202px);
    right: auto;
    left: calc(50% + min(31vw, 235px));
    transform: translateX(-100%);
    min-width: 174px;
  }

  .fy-hero__curve {
    bottom: -112px;
    width: 160%;
    height: 200px;
  }
}

@media (max-width: 680px) {
  .fy-hero {
    padding-block-start: 98px;
    padding-block-end: 70px;
  }

  .fy-hero__actions {
    flex-direction: column;
    gap: 18px;
    margin-block-start: 28px;
  }

  .fy-hero__cta {
    min-width: 160px;
  }

  .fy-hero__visual {
    min-height: 320px;
  }

  .fy-hero__person {
    width: min(76vw, 325px);
    bottom: -56px;
  }

  .fy-plane-card {
    top: 38px;
    left: calc(50% - min(34vw, 145px));
    width: 52px;
    height: 52px;
  }

  .fy-plane-card img {
    width: 30px;
    height: 30px;
  }

  .fy-exp-card {
    top: 170px;
    left: auto;
    right: auto;
    inset-inline-start: 14px;
    transform: none;
    min-width: 168px;
    height: 50px;
  }

  html[lang^="en"] .fy-exp-card {
    left: 0;
    right: auto;
    inset-inline-start: auto;
    transform: none;
  }

  .fy-exp-card__number {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 20px;
  }

  .fy-exp-card__text {
    font-size: 14.5px;
  }
}

@media (max-width: 480px) {
  .fy-hero {
    padding-block-start: 94px;
    padding-block-end: 64px;
  }

  .fy-hero__pattern {
    width: 58vw;
    opacity: 0.45;
  }

  .fy-hero__badge {
    width: 142px;
    min-height: 30px;
    font-size: 16px;
    margin-block-end: 16px;
  }

  .fy-hero__title {
    letter-spacing: 0;
  }

  .fy-hero__visual {
    min-height: 292px;
  }

  .fy-hero__person {
    width: min(82vw, 300px);
    bottom: -50px;
  }

  .fy-plane-card {
    top: 30px;
    left: calc(50% - min(37vw, 126px));
  }

  .fy-exp-card {
    top: 158px;
    left: auto;
    right: auto;
    inset-inline-start: 10px;
    transform: none;
    min-width: 160px;
    height: 48px;
    gap: 8px;
  }

  html[lang^="en"] .fy-exp-card {
    left: 0;
    right: auto;
    inset-inline-start: auto;
    transform: none;
  }

  .fy-exp-card__number {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 19px;
  }

  .fy-exp-card__text {
    font-size: 13.8px;
  }

  .fy-hero__curve {
    bottom: -100px;
    height: 178px;
    width: 190%;
  }
}

@media (max-width: 680px) {
  html[lang^="en"] .fy-hero__visual .fy-exp-card,
  html[dir="ltr"] .fy-hero__visual .fy-exp-card,
  body[dir="ltr"] .fy-hero__visual .fy-exp-card,
  .fy-hero:dir(ltr) .fy-exp-card {
    left: 0 !important;
    right: auto !important;
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    transform: none !important;
  }
}