


@font-face {
  font-family: DM Serif Display;
  font-display: swap;
  src: url("../fonts/DMSerifDisplay-Italic.woff") format("woff"), url("../fonts/DMSerifDisplay-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}



.fs {
  height: 100vh;
  position: relative;
}
.fs-item {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  z-index: 1;
}
.fs-img {
 
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 60%;
  height: 100%;
  display: block;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.fs:after {
  content: "";
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(244, 230, 219, 0.6)),
    color-stop(50%, rgba(244, 230, 219, 0.6)),
    color-stop(65%, rgba(244, 230, 219, 0.5)),
    color-stop(85%, rgba(244, 230, 219, 0.2)),
    to(rgba(244, 230, 219, 0))
  );
  background: linear-gradient(
    to bottom,
    rgba(244, 230, 219, 0.6) 0%,
    rgba(244, 230, 219, 0.6) 50%,
    rgba(244, 230, 219, 0.5) 65%,
    rgba(244, 230, 219, 0.2) 85%,
    rgba(244, 230, 219, 0) 100%
  );
  width: 100%;
  height: 84px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.fs-new-wrap {
  position: relative;
  height: 100%;
}
.fs-new-wrap {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 2;
}
.fs-new-info {
  margin-top: 90px;
}
.fs-new-label {
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #2c6767;
  margin-bottom: 10px;
}
.fs-new-title {
  font-weight: 500;
  font-size: 43px;
  line-height: 120%;
  color: #1d1d1d;
  margin-bottom: 15px;
}
.fs-new-title span {
  font-style: normal;
  font-weight: 500;
  font-size: 66px;
  line-height: 120%;
  color: #2c6767;
}
.fs-new-subtitle {
  font-weight: 500;
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #1d1d1d;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 5px;
}
.fs-new-desc {
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #313131;
  max-width: 550px;
  margin-bottom: 25px;
}

.fs-blocks {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 50px auto 50px auto 50px auto;
  grid-template-columns: repeat(4, auto);
  margin-top: 30px;
  gap: 40px;
  max-width: 700px;
  margin-bottom: 5px;
}
.fs-blocks-item {
  position: relative;
}
.fs-blocks-item::after {
  content: "";
  position: absolute;
  width: 1.2px;
  height: 100%;
  background: rgba(44, 103, 103, 0.3);
  top: 50%;
  right: -18px;
  max-height: 110px;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.fs-blocks-item:last-child:after {
  display: none;
}

.fs-blocks-item__img {
  margin-bottom: 10px;
}
.fs-blocks-item__title {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 150%;
  /* or 20px */
  letter-spacing: 0.02em;
  color: #1d1d1d;
  text-transform: uppercase;
  min-width: 130px;
  margin-bottom: 5px;
}
.fs-blocks-item__desc {
  font-weight: 500;
  font-size: 12.5px;
  line-height: 135%;
  letter-spacing: 0.02em;
  color: #313131;
}
.fs-blocks-item__desc p {
  font-weight: 600;
  font-size: 12.5px;
  line-height: 135%;
  letter-spacing: 0.02em;
  color: #313131;
  display: inline;
}
.fs-blocks-item__desc span,
.fs-blocks-note span {
  font-weight: 600;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0.02em;
  color: #2c6767;
}
.fs-blocks-item:first-child{
  min-width: 200px;
}
.fs-blocks-item:first-child .fs-blocks-item__desc {
  min-width: 155px;
  font-size: 12px
}
.fs-blocks-item:nth-child(2) .fs-blocks-item__desc {
  min-width: 135px;
}
.fs-blocks-note {
  font-weight: 500;
  font-size: 12px;
  line-height: 135%;
  letter-spacing: 0.02em;
  color: #1d1d1d;
}
.fs-secure {
  margin-top: 25px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px auto 20px 1fr;
  grid-template-columns: 1fr auto 1fr;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  max-width: 600px;
}
.fs-secure__line {
  height: 1px;
  background: rgba(44, 103, 103, 0.3);
  width: 100%;
}
.fs-secure__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.fs-secure__text-img {
}
.fs-secure__text-desc {
  font-weight: 700;
  font-size: 13px;
  line-height: 150%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #2c6767;
}

@media (max-width: 1300px) {
  .fs-item {
    left: -15%;
  }
}

@media (max-width: 1150px) {
  .fs-item {
    left: -20%;
  }
}

@media (max-width: 1000px) {
  .fs-new-label {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .fs-new-title {
    font-size: 30px;
    line-height: 110%;
    margin-bottom: 15px;
  }
  .fs-new-title span {
    font-size: 45.5px;
    line-height: 110%;
  }
  .fs-new-subtitle {
    font-size: 15px;
    gap: 8px;
    margin-bottom: 5px;
  }
  .fs-new-subtitle img {
    height: 20px;
  }
  .fs-new-desc {
    font-size: 14px;
    max-width: 410px;
  }
  .fs-blocks {
    -ms-grid-columns: auto 20px auto;
    grid-template-columns: repeat(2, auto);
    margin-top: 30px;
    gap: 15px 20px;
    max-width: 410px;
  }
  .fs-blocks-item:nth-child(2n)::after {
    display: none;
  }
  .fs-blocks-item::after {
    right: -10px;
    max-height: 45px;
  }
  .fs-blocks-item__desc {
    font-size: 12px;
  }
  .fs-blocks-item {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 10px auto;
    grid-template-columns: auto auto;
    gap: 10px;
  }
  .fs-blocks-item__img {
    max-height: 25px;
  }
  .fs-blocks-item__title {
    font-size: 12px;
    margin-bottom: 2px;
  }
  .fs-blocks-note {
    font-size: 11px;
  }
  .fs-blocks-item__desc p {
    font-size: 12px;
  }
  .fs-secure {
    margin-top: 20px;
    gap: 15px;
    max-width: 410px;
  }
  .fs-item {
    left: -50%;
  }
}

@media (max-width: 750px) {
  .fs-img {
    background-position: 80% center;
  }
  .fs-item {
    left: -70%;
  }
  .fs-blocks-item:first-child{
    min-width: unset;
  }
  .fs-blocks-item:first-child .fs-blocks-item__desc {
    font-size: 11px;
}
.fs-blocks-item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 10px auto;
  grid-template-columns: auto auto;
  gap: 10px;
  justify-content: start;
}
}

@media (max-width: 650px) {
  .fs {
    background-image: unset !important;
    background-color: #f4e6db;
    height: unset;
    padding-bottom: 50px;
  }
  .fs-item {
    display: none;
  }
  .fs-img {
    background-position: right bottom;
    position: relative;
    height: 270px;
    background-size: 140%;
  }
  .fs-img:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(68.98%, rgba(244, 230, 219, 0)),
      color-stop(86.15%, rgba(244, 230, 219, 0.81881)),
      color-stop(95.2%, #f4e6db)
    );
    background: linear-gradient(
      180deg,
      rgba(244, 230, 219, 0) 68.98%,
      rgba(244, 230, 219, 0.81881) 86.15%,
      #f4e6db 95.2%
    );
  }
  .fs-new-info {
    margin-top: 0px;
  }
  .fs-new-wrap {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: -20px;
  }
  .fs-new-info {
    text-align: center;
  }
  .fs-blocks {
    text-align: left;
    -ms-grid-columns:  minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    width: 100%;
  }
  .fs-new-subtitle {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .fs-btn {
    margin: auto;
  }
  .fs:after {
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0, rgba(244, 230, 219, 0.3)),
      color-stop(50%, rgba(244, 230, 219, 0.4)),
      color-stop(65%, rgba(244, 230, 219, 0.3)),
      color-stop(85%, rgba(244, 230, 219, 0.2)),
      to(rgba(244, 230, 219, 0))
    );
    background: linear-gradient(
      to bottom,
      rgba(244, 230, 219, 0.3) 0,
      rgba(244, 230, 219, 0.4) 50%,
      rgba(244, 230, 219, 0.3) 65%,
      rgba(244, 230, 219, 0.2) 85%,
      rgba(244, 230, 219, 0) 100%
    );
    height: 60px;
  }
  .fs-secure__text-desc {
    font-size: 12px;
  }
  .fs-blocks-note {
    text-align: left;
  }
  .fs-blocks-item__title {
    min-width: unset;
    font-size: 11px;
  }
}

@media (max-width: 410px) {
  .fs-new-title {
    font-size: 28px;
  }
  .fs-new-title span {
    font-size: 43px;
  }
  .fs-blocks-item__desc {
    font-size: 10.5px;
  }
  .fs-blocks-item__desc p {
    font-size: 10.5px;
  }
  .fs-blocks-item:first-child .fs-blocks-item__desc {
    font-size: 10px;
    min-width: unset;
  }
  .fs-blocks-item::after {
    right: -7px;
    max-height: 45px;
  }
  .fs-blocks-item:nth-child(2) .fs-blocks-item__desc {
    min-width: unset;
  }
  .fs-blocks-item:nth-child(2n) .fs-blocks-item__img {
    max-height: 20px;
  }
  .fs-blocks-item:nth-child(4) .fs-blocks-item__title {
    font-size: 10.5px;
  }
}

@media (max-width: 384px) {
  .fs-new-title {
    font-size: 25px;
  }
  .fs-new-title span {
    font-size: 39px;
  }
}

@media (max-width: 370px) {
  .fs-new-subtitle {
    font-size: 14px;
    gap: 5px;
  }
}

.logo-text {
  font-family: DM Serif Display;
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: #2c6767;
  margin-left: -5px;
  margin-bottom: -2px;
}

.header-logo-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

@media (max-width: 650px) {
  .logo-text {
    font-size: 14px;
    margin-left: -5px;
    margin-bottom: -2px;
  }
}

/* =========================
   MODAL
========================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  -webkit-transform: translateY(20px);
  -ms-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.modal.is-open .modal__content {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 40px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  color: #1d1d1d;
}

body.modal-open {
  overflow: hidden;
}