@import "./blocks/flex-block.css";
@import "./blocks/services.css";

.fs_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs_gif {
  opacity: 0.1;
}

.svg-container {
  width: 80px;
  height: 80px;
}

.icons_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.icons_inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.flex_blocks-swiper .swiper-pagination {
  margin: 0 auto;
  margin-top: 20px;
}

.yellow_block,
.blue_block {
  padding: 20px 30px;
  background-color: var(--color-blue);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;

  & p {
    color: #000;
  }
}

.yellow_block {
  background-color: var(--color-yellow);
}

.blue_block-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.list_top-title {
  display: flex;
  flex-direction: column;
  gap: 20px;

  & span {
    color: var(--color-yellow);
  }
}

.list_top-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Montserrat", serif;
  font-size: 14px;

  & p {
    & strong {
      color: #fff;
    }
  }
}

.list_top-item svg {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.list_top-item-icon {
  min-width: 42px;
}

.list_top-item-title {
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.list_top-item-text {
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0;
}

.list_top-item.list_top-item--black *,
.list_top-item.list_top-item--black {
  color: #000000;
}

.tabs-swiper-section,
.tabs {
  & .swiper-pagination {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);

    & .swiper-pagination-bullet::before {
      background-color: var(--color-yellow);
    }
  }
}

.tabs_content {
  padding: 20px;
  margin-top: 30px;
  border-radius: 12px;
  background-color: #161616;
  display: flex;
  gap: 50px;
  position: relative;
}

.tab_content {
  /* display: flex; */
  align-items: stretch;
  gap: 50px;
  display: none;
}

.tab_content>div {
  width: 100%;
}

.tab_content.active {
  display: flex;
}

.tab_content-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 0 0 12px 12px;
}

.tab_content-right {
  display: flex;
  flex-direction: column;
  gap: 30px;

  & h3 {
    color: #fff;
    font-weight: 700;
  }

  & .description {
    color: #fff;
  }
}

.tab_content-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.how_work {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-family: "Montserrat", serif;
}

.step {
  position: relative;

  &:last-child {
    & .step_line {
      display: none;
    }
  }
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.step_img {
  position: relative;
  width: fit-content;

  & img {
    width: 42px;
    height: 42px;
  }

  span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #161616;
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
  }
}

.step_content {
  font-size: 16px;
  padding-right: 10px;

  & p {
    & strong {
      color: #fff;
      font-size: 16px;
    }

    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
  }
}

.step_line {
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--color-yellow);
  left: 5px;
  top: 20px;
}

.cards_left {
  display: flex;
  flex-direction: column;
  gap: 20px;

  & a {
    width: fit-content;
  }
}

.cards {
  background-color: #161616;
  padding: 50px 0;
  color: #fff;

  & h2 span {
    color: var(--color-yellow);
  }
}

.cards_top {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.cards_right {
  max-width: 1000px;
  width: 100%;
}

.cards_content {
  gap: 20px;
  margin-top: 50px;
}

.top_label {
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px 0 24px 0;
  padding: 5px 15px;
  width: fit-content;
  color: #000;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.top_label--blue {
  background-color: var(--color-blue);
}

.top_label--orange {
  background-color: #e37900;
}

.top_label--yellow {
  background-color: #fed000;
}

.card_img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 15/12;
}

.card_img img {
  object-fit: cover;
  border-radius: 12px;
  transition: 0.2s;
  width: 100%;
  height: 100%;
}

.card_item {
  padding: 30px;
  border-radius: 12px;
  background-color: #1b1b1b;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  height: auto;
  border: none;
  box-shadow: none;

  & h4 {
    font-weight: 700;
  }

  &:hover {
    & img {
      transform: scale(1.1);
    }
  }
}

.card_item-title,
.card_item {
  transition: all 0.2s ease-in-out;
}

.card_item:active {
  box-shadow: inset 0 0 0 1px #c7a300;
}

.steps_connect-items {
  padding: 30px 20px;
  background-color: #fcfcfc;
  border-radius: 12px;
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 30px;
}

.steps_connect-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: relative;

  & .step_line {
    left: 60%;
    top: 50px;
    height: 5px;
  }

  &:last-child {
    & .step_line {
      display: none;
    }
  }
}

.steps_item-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;

  & p {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
  }
}

.steps_item-img {
  position: relative;
  width: fit-content;

  & svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.faq {
  background-color: #161616;
  padding: 100px 0;
  color: #fff;
}

.faq_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;

  & .yellow_block {
    max-width: 500px;
  }
}

.faq_top-title {
  margin-right: auto;

  & .section_tag,
  & .description {
    max-width: 800px;
    color: var(--color-yellow);
  }
}

.faq_item-top_arrow {
  transition: 0.4s;
}

.faq_item.active .faq_item-top_arrow {
  transform: rotate(180deg);
}

.faq_items {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 0.8391rem + 1.3841vw, 2.5rem);
  margin-top: 50px;
}

.faq_item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: clamp(1.25rem, 0.8391rem + 1.3841vw, 2.5rem);
  border-bottom: 1px solid #999999;
  cursor: pointer;
  transition: all 0.25s ease-in;
}

.faq_item-top:hover {
  color: var(--color-yellow);
  border-color: transparent;
  border-image: repeating-linear-gradient(to right, var(--color-yellow) 0 12px, transparent 12px 20px) 1;
}

.faq_item.active .faq_item-top {
  color: var(--color-yellow);
  border-color: transparent;
  border-image: repeating-linear-gradient(to right, var(--color-yellow) 0 12px, transparent 12px 20px) 1;
}

.faq_item-top_qestion {
  font-family: "Montserrat", serif;
  font-size: 1rem;
  font-weight: 700;
}

.faq_item-content {
  transition: 0.2s;

  max-height: 0;
  overflow: hidden;
  padding: unset;
}

.faq_item.active .faq_item-content {
  max-height: 500px;
  overflow: visible;
  padding-top: clamp(1.25rem, 0.8391rem + 1.3841vw, 2.5rem);
  padding-bottom: clamp(1.25rem, 0.8391rem + 1.3841vw, 2.5rem);
  border-bottom: 1px solid transparent;
  border-image: repeating-linear-gradient(to right, #999 0 12px, transparent 12px 20px) 1;
}

.section_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.section_top-title {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form {
  padding: 20px 0;
  background-color: var(--color-blue);
  position: relative;
  margin-top: 0;

  & .bg_text {
    text-transform: uppercase;
    font-size: clamp(2.125rem, -1.8333rem + 13.3333vw, 12.5rem);
    color: rgba(0, 0, 0, 0.1);
    font-family: "Montserrat", serif;
    position: absolute;
    z-index: 0;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
  }
}

.form_runner-item {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  font-weight: 500;
  font-size: 13px;
  line-height: 31px;
  letter-spacing: -2.5%;
  vertical-align: middle;
  margin-right: 20px;
}

.form_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form_left {
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;

  & .how_work {
    gap: 20px;
  }

  & .how_work-title {
    color: #000;
    font-weight: 700;
  }

  & .step_content {
    max-width: 200px;

    & p {
      color: #000;

      & strong {
        color: #000;
        font-size: 16px;
      }
    }
  }

  & .step_line {
    background-color: #fff;
  }
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: relative;

  & button {
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    width: 100%;
  }

  & select option,
  & input::placeholder {
    font-size: 16px;
    color: #808080;
    font-family: "Montserrat", serif;
  }

  & select,
  & input {
    border-radius: 4px;
    border: 2px solid #ccc;
    background-color: transparent;
    padding: 15px;
    font-size: 16px;
    color: #808080;
    font-family: "Montserrat", serif;
  }
}

.form_right {
  position: relative;

  & .section_tag {
    margin: 0;
  }

  form {
    max-width: 560px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    padding: 50px 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
}

.form_inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.benefits_inner {
  display: flex;
  flex-direction: column;
  gap: 30px;

  & .section_top-title {
    max-width: 1200px;
  }

  & .yellow_block {
    max-width: 500px;
    width: 100%;
  }
}

.section_top-title_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

  & span {
    color: var(--color-yellow);
  }
}

.benefits_content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.benefits_left {
  max-width: 1200px;
  width: 100%;
  position: relative;
  padding: 30px;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.benefits_right {
  max-width: 500px;
}

.benefits_tag {
  position: absolute;
  top: 0;
  font-size: 16px;
  padding: 5px 10px;
  color: #161616;
  font-weight: 600;
}

@media (max-width: 550px) {
  .benefits_tag {
    font-size: 13px;
  }
}

@media (max-width: 410px) {
  .benefits_tag {
    font-size: 11.5px;
  }
}

.benefits_tag-home {
  left: 0;
  background-color: var(--color-orange);
  border-radius: 12px 0 12px 0;
}

.benefits_tag-business {
  right: 0;
  border-radius: 0 12px 0 12px;
  background-color: var(--color-yellow);
}

.benefits_line {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  justify-content: center;
  width: 100%;
  font-size: 14px;
}

.benefits_line-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;

  & p {
    padding: 6px 10px;
    background-color: var(--color-yellow);
    border-radius: 12px;
    color: #161616;
    font-weight: 700;
    font-family: "Montserrat", serif;
    width: max-content;
  }

  & svg {
    width: 52px;
    height: 52px;
  }
}

.benefits_line-left {
  width: 100%;
  text-align: right;

  & span {
    color: red;
    margin-right: 5px;
  }
}

.benefits_line-right {
  width: 100%;

  & span {
    color: var(--color-yellow);
    margin-right: 5px;
  }
}

.benefits_right {
  display: flex;
  flex-direction: column;
  gap: 30px;

  & .icons {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  & .item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  & .item_title {
    font-weight: 700;
    font-family: "Montserrat", serif;
  }

  & .item_text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
  }
}

.articles,
.news {
  & .cards_left {
    max-width: 1200px;
    width: 100%;
  }

  & .cards_right {
    max-width: 500px;
    width: 100%;
  }

  & .section_tag {
    color: var(--color-yellow);
  }
}

.articles {
  background-color: #fff;
  color: #161616;

  & .section_tag {
    color: #161616;
  }

  & h4 {
    color: #fff;
  }
}

.card_item .description {
  color: #ffffff99;
}

.card_item-title {
  color: white;
}

@media (min-width: 768px) {
  .benefits_line {
    font-size: 16px;
  }

  .card_item:hover {
    box-shadow: inset 0 0 0 1px #fed000;
  }

  .card_item:active {
    box-shadow: inset 0 0 0 1px #c7a300;
  }

  .card_item:hover .card_item-title {
    color: #fed000;
  }
}

@media (min-width: 1100px) {
  .cards.marque {
    padding: 85px 0;
  }

  .list_top-item {
    font-size: 16px;
  }

  .faq_item-top_qestion {
    font-size: 1.25rem;
  }

  .faq_item-content {
    font-size: 1.125rem;
  }

  .top_label {
    font-size: 16px;
  }
}

@media (min-width: 1320px) {
  .tabs_content {
    padding: 30px;
    margin-top: 50px;
  }
}

@media (min-width: 1400px) {
  .benefits_line {
    font-size: 18px;
  }

  .list_top-item-title {
    font-size: 32px;
  }

  .list_top-item-text {
    font-size: 16px;
  }
}

@media (min-width: 1700px) {
  .form {
    margin-top: 160px;
  }
}

@media (min-width: 1800px) {
  .benefits_line {
    font-size: 20px;
  }

  .faq_item-top_qestion {
    font-size: 1.5rem;
  }

  .faq_item-content {
    font-size: 1.25rem;
  }
}

.secondary-h2 * {
  display: inline-block;
}

.form__wrapper-block {
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.form_right-img {
  position: absolute;
  right: 65%;
  /* transform: translateX(-80%); */
  bottom: -20px;
  width: 100%;
  z-index: 0;
  height: 110%;
  object-fit: cover;
}

.simple_items-white .item-text-hide+.CTA_block .CTA_block-btn {
  font-size: 14px;
}