@font-face {
  font-family: "Somar Sans";
  src: url("../fonts/somar-sans/SomarSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Somar Sans";
  src: url("../fonts/somar-sans/SomarSans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Somar Sans";
  src: url("../fonts/somar-sans/SomarSans-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Somar Sans";
  src: url("../fonts/somar-sans/SomarSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Somar Sans";
  src: url("../fonts/somar-sans/SomarSans-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --fy-primary: #2D4065;
  --fy-secondary: #E6262E;
  --fy-soft: rgba(109, 120, 143, 0.8);
  --fy-white: #ffffff;
  --fy-black: #111827;
  --fy-muted: #818C96;
  --fy-soft-line: #CAD2E2;
  --fy-service-title: #4D4D4D;

  --fy-container-padding: 100px;
  --fy-container-max: 1280px;

  --fy-radius-sm: 8px;
  --fy-radius-md: 12px;
  --fy-radius-lg: 18px;

  --fy-transition: 0.25s ease;

  --fy-btn-size: 15px;
  --fy-btn-weight: 500;

  --fy-title-size: 26px;
  --fy-title-line: 150%;
  --fy-title-weight: 600;

  --fy-kicker-size: 14px;
  --fy-kicker-line: 130%;
  --fy-kicker-weight: 600;

  --fy-subtitle-size: 15px;
  --fy-subtitle-line: 180%;
  --fy-subtitle-weight: 400;

  --fy-feature-title-size: 18px;
  --fy-feature-title-line: 145%;
  --fy-feature-title-weight: 600;

  --fy-feature-text-size: 15px;
  --fy-feature-text-line: 185%;
  --fy-feature-text-weight: 400;

  --fy-card-title-size: var(--fy-feature-title-size);
  --fy-card-title-line: var(--fy-feature-title-line);
  --fy-card-title-weight: var(--fy-feature-title-weight);

  --fy-card-text-size: var(--fy-feature-text-size);
  --fy-card-text-line: var(--fy-feature-text-line);
  --fy-card-text-weight: var(--fy-feature-text-weight);

  --fy-package-title-size: var(--fy-feature-title-size);
  --fy-package-title-line: var(--fy-feature-title-line);
  --fy-package-title-weight: var(--fy-feature-title-weight);

  --fy-package-text-size: var(--fy-feature-text-size);
  --fy-package-text-line: var(--fy-feature-text-line);
  --fy-package-text-weight: var(--fy-feature-text-weight);

  --fy-hero-title-size: clamp(26px, 2.1vw, 31px);
  --fy-hero-title-line: 1.56;
  --fy-hero-title-weight: 600;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Somar Sans", Arial, sans-serif;
  background: #ffffff;
  color: var(--fy-black);
  overflow-x: hidden;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.fy-container {
  width: min(
    calc(100% - calc(var(--fy-container-padding) * 2)),
    var(--fy-container-max)
  );
  margin-inline: auto;
}

.fy-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--fy-radius-sm);
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: var(--fy-btn-size);
  font-weight: var(--fy-btn-weight);
  line-height: 1;
  cursor: pointer;
  transition: transform var(--fy-transition),
              background-color var(--fy-transition),
              border-color var(--fy-transition),
              color var(--fy-transition);
  white-space: nowrap;
}

.fy-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.fy-btn:hover {
  transform: none;
}

.fy-btn--outline {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.9);
}

.fy-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.fy-btn--primary {
  color: #ffffff;
  background: var(--fy-secondary);
  border-color: var(--fy-secondary);
}

.fy-btn--primary:hover {
  background: #d91f28;
  border-color: #d91f28;
}

.fy-section-head {
  width: min(100%, 690px);
  margin-inline: auto;
  text-align: center;
}

.fy-section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fy-secondary);
  font-size: var(--fy-kicker-size);
  line-height: var(--fy-kicker-line);
  font-weight: var(--fy-kicker-weight);
  margin-block-end: 8px;
}

.fy-section-title {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding-block-end: 13px;
  color: var(--fy-primary);
  font-size: var(--fy-title-size);
  line-height: var(--fy-title-line);
  font-weight: var(--fy-title-weight);
  letter-spacing: -1px;
}

.fy-section-title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -34px;
  left: auto;
  width: 24px;
  height: 18px;
  background-image: url("../images/main/from-logo.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateY(-50%) scaleX(-1);
}

.fy-section-title::after {
  content: "";
  position: absolute;
  left: -10px;
  right: auto;
  bottom: 0;
  width: 94px;
  height: 10px;
  background-image: url("../images/main/underline.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.fy-section-title__underline {
  display: none;
}

.fy-section-desc {
  margin: 0 auto;
  color: var(--fy-muted);
  font-size: var(--fy-subtitle-size);
  line-height: var(--fy-subtitle-line);
  font-weight: var(--fy-subtitle-weight);
}

html[dir="ltr"] .fy-section-title::before {
  right: auto;
  left: -34px;
  transform: translateY(-50%);
}

html[dir="ltr"] .fy-section-title::after {
  right: -10px;
  left: auto;
}

.floating-contact-button {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  width: 54px;
  height: 54px;
  border: 1px solid var(--fy-secondary);
  border-radius: 50%;
  background-color: var(--fy-secondary);
  color: var(--fy-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition:
    background-color var(--fy-transition),
    color var(--fy-transition),
    border-color var(--fy-transition),
    box-shadow var(--fy-transition),
    opacity var(--fy-transition),
    visibility var(--fy-transition),
    transform var(--fy-transition);
}

.floating-contact-button:hover {
  background-color: var(--fy-primary);
  color: var(--fy-white);
  border-color: var(--fy-primary);
  box-shadow: none;
}

.floating-contact-icon {
  width: 32px;
  height: 32px;
  display: block;
  overflow: visible;
  color: currentColor;
}

.floating-contact-icon__main,
.floating-contact-icon__sparkle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.floating-contact-icon__sparkle {
  transform-box: fill-box;
  transform-origin: center;
  animation: fyFloatingSparkleFade 2.4s ease-in-out infinite;
  will-change: opacity, transform;
}

.floating-contact-icon__sparkle--bottom {
  animation-delay: 0.08s;
}

@keyframes fyFloatingSparkleFade {
  0%,
  35% {
    opacity: 1;
    transform: scale(1);
  }

  52% {
    opacity: 0;
    transform: scale(0.86);
  }

  68% {
    opacity: 0;
    transform: scale(0.86);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

body.is-hero-visible .floating-contact-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.94);
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact-icon__sparkle {
    animation: none;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  background: var(--fy-primary);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fy-primary);
}

@media (max-width: 1349px) {
  :root {
    --fy-hero-title-size: clamp(24px, 2vw, 29px);
  }
}

@media (max-width: 1200px) {
  :root {
    --fy-container-padding: 74px;
    --fy-title-size: 25px;

    --fy-feature-title-size: 17px;
    --fy-feature-text-size: 14.5px;
    --fy-feature-text-line: 180%;

    --fy-hero-title-size: clamp(23px, 2vw, 27px);
  }
}

@media (max-width: 992px) {
  :root {
    --fy-container-padding: 32px;
    --fy-title-size: 24px;
    --fy-subtitle-size: 14px;

    --fy-feature-title-size: 17px;
    --fy-feature-text-size: 14px;
    --fy-feature-text-line: 180%;

    --fy-hero-title-size: clamp(22px, 2.6vw, 25px);
    --fy-hero-title-line: 1.58;
  }
}

@media (max-width: 680px) {
  :root {
    --fy-subtitle-size: 13.5px;

    --fy-feature-title-size: 17px;
    --fy-feature-text-size: 14px;
    --fy-feature-text-line: 175%;

    --fy-hero-title-size: 21.5px;
    --fy-hero-title-line: 1.6;
  }
}

@media (max-width: 576px) {
  :root {
    --fy-container-padding: 18px;
    --fy-title-size: 22px;
    --fy-kicker-size: 13px;
    --fy-subtitle-size: 13.5px;

    --fy-btn-size: 15px;
  }

  .fy-btn {
    min-height: 43px;
    padding-inline: 18px;
  }

  .fy-section-kicker {
    margin-block-end: 6px;
  }

  .fy-section-title {
    padding-block-end: 12px;
  }

  .fy-section-title::before {
    right: -28px;
    left: auto;
    width: 20px;
    height: 15px;
  }

  .fy-section-title::after {
    left: -8px;
    width: 78px;
    height: 9px;
  }

  html[dir="ltr"] .fy-section-title::before {
    right: auto;
    left: -28px;
  }

  html[dir="ltr"] .fy-section-title::after {
    right: -8px;
    left: auto;
  }

  .floating-contact-button {
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
  }

  .floating-contact-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 520px) {
  :root {
    --fy-title-size: 21px;
    --fy-title-line: 155%;
    --fy-subtitle-size: 13px;

    --fy-feature-title-size: 16px;
    --fy-feature-text-size: 13.5px;
    --fy-feature-text-line: 170%;
  }
}

@media (max-width: 480px) {
  :root {
    --fy-hero-title-size: clamp(19.5px, 4.8vw, 20.5px);
    --fy-hero-title-line: 1.58;
  }
}

@media (max-width: 420px) {
  :root {
    --fy-title-size: 20px;
    --fy-subtitle-size: 12.5px;

    --fy-feature-title-size: 15.5px;
    --fy-feature-text-size: 12.5px;
  }
}