:root {
  --color-accent: #2a6df1;
  --color-black: #3b3b3b;
  --color-white: #fff;
  --color-bg-light: #faf9f7;
}

@font-face {
  font-family: "Manrope-Regular";
  src: url("/assets/Manrope-Regular.ttf") format("truetype");
}

body,
html {
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  color: var(--color-black);
  font-family: "Manrope-Regular", Arial, Helvetica, sans-serif;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.align-items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-60 {
  gap: 60px;
}

.gap-40 {
  gap: 40px;
}

.gap-30 {
  gap: 30px;
}

.gap-20 {
  gap: 20px;
}

.gap-12 {
  gap: 12px;
}

.w-100 {
  width: 100%;
}

.text-center {
  text-align: center;
}

a,
a:hover,
a:focus,
a:checked {
  text-decoration: none;
  color: unset;
}

a:hover:not(.tel) {
  color: var(--color-accent);
  transition: color 0.3s ease-in-out;
}

.accent-color {
  color: var(--color-accent);
}

.white-color {
  color: var(--color-white);
}

header {
  position: sticky;
  top: 0;
  left: 0;
  width: calc(100% - 60px);
  background: var(--color-white);
  padding: 24px 30px;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 117.647% */
  letter-spacing: -0.34px;
}

/* MAIN SECTION */

main {
  gap: 20px;
  padding: 12px 30px 0 30px;
  color: var(--color-white);
}

.main-first,
.main-second {
  border-radius: 16px;
  width: 50%;
  aspect-ratio: 1/1;
  padding: 32px;
  height: 100%;
}

.main-first {
  background: var(--color-accent);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.main-first .main-sub {
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.34px;
  padding-bottom: 16px;
}

.main-first .main-title {
  font-size: 54px;
  font-style: normal;
  font-weight: 400;
  line-height: 54px; /* 100% */
  letter-spacing: -3.24px;
}

.main-first img {
  width: 50%;
  aspect-ratio: 1/1;
  align-self: center;
}

.main-first .main-bottom-text {
  width: 50%;
  align-self: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 133.333% */
  letter-spacing: -0.3px;
}

.main-second {
  background-image: url("./assets/main1.png");
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.main-second-btn {
  border-radius: 14px;
  padding: 20px;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 133.333% */
  letter-spacing: -0.3px;
  background-color: var(--color-bg-light);
  color: var(--color-black);
  width: 100%;
}

.main-second-btn.blue {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.main-second-btn .title {
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
}

/* ABOUT SECTION */

.about-title {
  padding-block: 100px 24px;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 54px; /* 112.5% */
  letter-spacing: -1.92px;
  text-transform: uppercase;
  margin: auto;
  text-align: center;
}

.about-sub {
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 133.333% */
  letter-spacing: -0.3px;
  padding-bottom: 64px;
  margin: auto;
  text-align: center;
  max-width: 450px;
}

.about-images {
  padding-inline: 160px;
}

.about-images .bg {
  height: 325px;
  border-radius: 20px;
  display: flex;
  padding: 32px;
  width: 100%;
}

.about-images .bg0 {
  background: linear-gradient(
      263deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(182, 100, 0, 0.7) 101.32%
    ),
    url("assets/about0.png") lightgray 50% / cover no-repeat;
}

.about-images .bg1 {
  background: linear-gradient(
      242deg,
      rgba(42, 109, 241, 0) 0%,
      rgba(0, 71, 212, 0.7) 100%
    ),
    url("assets/about1.png") lightgray 50% / cover no-repeat;
}

.about-images .bg2 {
  background: linear-gradient(
      242deg,
      rgba(42, 109, 241, 0) 0%,
      rgba(0, 71, 212, 0.7) 100%
    ),
    url("assets/about2.png") lightgray 50% / cover no-repeat;
}

.about-images .bg3 {
  background: linear-gradient(
      263deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(182, 100, 0, 0.7) 101.32%
    ),
    url("assets/about3.png") lightgray 50% / cover no-repeat;
}

.about-images .bg4 {
  background: linear-gradient(
      242deg,
      rgba(42, 109, 241, 0) 0%,
      rgba(42, 109, 241, 0.7) 100%
    ),
    url("assets/about4.png") lightgray 50% / cover no-repeat;
}

.about-images .image-title-text {
  color: var(--color-white);
  display: flex;
  align-self: flex-end;
}

.about-images .image-title-text .title {
  font-size: 34px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px; /* 100% */
  letter-spacing: -0.68px;
}

.about-images .image-title-text .text {
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 133.333% */
  letter-spacing: -0.3px;
}

/* WHY US SECTION */

.why-us {
  padding: 100px 160px 0 160px;
}

.why-us-block {
  border-radius: 16px;
  color: var(--color-white);
  background-color: var(--color-accent);
  height: 325px;
  width: 50%;
  padding: 40px 32px;
}

.why-us-block .title {
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 54px; /* 112.5% */
  letter-spacing: -1.92px;
  text-transform: uppercase;
  padding-bottom: 32px;
}

.why-us-block.image {
  background-image: url("./assets/why-us.png");
  background-position: center;
  background-size: cover;
}

.why-us-block .number {
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 54px; /* 112.5% */
  letter-spacing: -1.92px;
  text-transform: uppercase;
}

.why-us-block .text {
  max-width: 200px;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 133.333% */
  letter-spacing: -0.3px;
}

/* FAQ */

.faq {
  padding-inline: 160px;
  padding-top: 100px;
  align-items: start;
}

.faq-text-container {
  color: var(--color-black);
  background-color: var(--color-bg-light);
  width: 50%;
  padding: 40px 32px;
  border-radius: 16px;
}

.faq-image {
  background-image: url("./assets/faq.png");
  background-position: center;
  background-size: cover;
  height: 700px;
  border-radius: 16px;
  aspect-ratio: 1/1;
}

.faq .subtext {
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 117.647% */
  letter-spacing: -0.34px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.faq .title {
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 54px; /* 112.5% */
  letter-spacing: -1.92px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Accordion styles */
.accordion {
  width: 100%;
  max-width: 600px;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%; /* 26.4px */
}

.accordion-item:not(:last-of-type) {
  border-bottom: 1px solid #eee;
}

.accordion-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding-block: 14px;
  margin-bottom: 20px;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
  cursor: pointer;
  outline: none;
  transition: color 0.3s ease-in-out;
}

.accordion-question:hover {
  color: var(--color-accent);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-answer p {
  margin: 0;
  padding: 0 5px 20px 5px;
}

.accordion-item.active .accordion-answer {
  max-height: 300px;
}

.accordion-item.active .accordion-question {
  color: var(--color-accent);
}

/* FOOTER */

.footer-section {
  background: var(--color-accent, #3178f6);
  color: var(--color-white);
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 28px;
  margin-inline: 30px;
  padding: 60px 140px;
}

.footer-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.footer-main-text {
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 54px; /* 112.5% */
  letter-spacing: -1.92px;
  text-transform: uppercase;
}

.footer-info-row {
  display: flex;
  justify-content: flex-start;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-info-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 180px;
}

.footer-info-main {
  margin-bottom: 8px;
  font-size: 34px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px; /* 100% */
  letter-spacing: -0.68px;
}

.footer-info-sub {
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 133.333% */
  letter-spacing: -0.3px;
  opacity: 0.5;
}

.d-none-web {
  display: none;
}

@media screen and (max-width: 1480px) {
  .about-images,
  .faq {
    padding-inline: 40px;
  }

  .footer-section {
    padding: 40px;
  }

  .main-first .main-title {
    font-size: 28px;
  }

  .main-first img {
    width: 30%;
  }

  .why-us {
    padding: 100px 40px 0 40px;
  }

  .why-us-block {
    height: 390px;
  }

  .why-us-block .text {
    max-width: 140px;
  }

  .faq-image {
    height: 500px;
  }
}

@media (max-width: 1028px) {
  .d-none-mobile {
    display: none;
  }

  .d-none-web {
    display: block;
  }

  header {
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%; /* 19.8px */
    letter-spacing: -0.72px;
    flex-direction: column;
    justify-content: space-between;
    align-items: unset;
    padding: 24px 16px;
    width: calc(100% - 32px);
    position: relative;
  }

  .mobile-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-block: 14px;
    display: flex;
  }

  .mobile-header.pt-0 {
    padding-block: 0 14px;
  }

  .mobile-header-sub {
    padding-top: 80px;
    padding-bottom: 4px;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 141.667% */
    letter-spacing: -0.96px;
    width: 100%;
  }

  .mobile-header-title {
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 58px; /* 90.625% */
    letter-spacing: -3.84px;
    text-transform: uppercase;
    text-align: start;
    width: 100%;
  }

  .hamburger {
    width: 32px;
    height: 12px;
    position: relative;
    left: -5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-white);
    color: var(--color-black);
    z-index: 2000;
    padding: 24px 16px;
    box-sizing: border-box;
    transform: translateX(-100vw);
    transition: transform 0.3s;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }

  .mobile-menu .close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 117.647% */
    letter-spacing: -0.68px;
  }

  .mobile-menu .mobile-nav-link {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 141.667% */
    letter-spacing: -0.96px;
    color: var(--color-black);
    text-decoration: none;
  }

  .mobile-menu .links {
    margin-block: 60px 120px;
  }

  .mobile-menu .mobile-contact {
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 140% */
    letter-spacing: -0.6px;
  }

  /* MAIN */

  main {
    padding: 0;
  }

  .main-first,
  .main-second {
    width: 100%;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 40px;
  }

  .main-second-btn {
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    bottom: -60px;
  }

  .main-second-btn .title {
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 117.647% */
    letter-spacing: -0.68px;
    text-align: center;
  }

  .main-second-btn:last-of-type {
    color: var(--color-accent);
    background: #eef4ff;
  }

  .main-mobile-text {
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 140% */
    letter-spacing: -0.6px;
    padding-inline: 16px;
    padding-top: 24px;
  }

  /* ABOUT */
  .about-title {
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 113.333% */
    letter-spacing: -1.2px;
    text-transform: uppercase;
    padding-block: 48px 16px;
    text-align: start;
    padding-inline: 16px;
  }

  .about-sub {
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 140% */
    letter-spacing: -0.6px;
    text-align: start;
    padding-inline: 16px;
    max-width: unset;
    padding-bottom: 24px;
  }

  .about-images {
    display: flex !important;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 48px;
    margin-left: 16px;
  }

  .about-images .bg {
    min-width: 300px;
    max-width: 300px;
    height: 480px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    border-radius: 20px;
    padding: 20px;
  }
  /* Remove column/row wrappers if present */
  .about-images > .flex,
  .about-images > .flex-column {
    display: contents;
  }

  .about-images .image-title-text .title {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 141.667% */
    letter-spacing: -0.96px;
  }

  .image-title-text {
    gap: 4px;
  }

  .about-images .image-title-text .text {
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 140% */
    letter-spacing: -0.6px;
  }

  /* WHY US */
  .why-us {
    padding: 0;
    flex-wrap: wrap;
    gap: 0;
  }

  .why-us-block {
    width: 100%;
    padding: 40px 16px;
    border-radius: 0;
  }

  .why-us-block {
    height: auto;
  }

  .why-us-block.image {
    height: 330px;
  }

  .why-us-block-item-mobile {
    flex-direction: column;
  }

  .why-us-block .gap-40 {
    gap: 20px;
  }

  .why-us-block .number {
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 113.333% */
    letter-spacing: -1.2px;
    text-transform: uppercase;
  }

  .why-us-block .text {
    max-width: 85%;
    min-width: 85%;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 140% */
    letter-spacing: -0.6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 16px;
  }

  .why-us-block .title {
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 113.333% */
    letter-spacing: -1.2px;
    text-transform: uppercase;
  }

  /* FAQ */

  .faq {
    flex-direction: column-reverse;
    padding-inline: 0;
    padding-top: 0;
    gap: 0;
  }

  .faq .subtext {
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 117.647% */
    letter-spacing: -0.68px;
  }

  .faq .title {
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 113.333% */
    letter-spacing: -1.2px;
    text-transform: uppercase;
  }

  .faq-text-container {
    padding: 40px 16px;
  }

  .faq-image,
  .faq-text-container {
    border-radius: 0;
    width: 100%;
  }

  .faq-text-container {
    width: calc(100% - 32px);
  }

  .accordion-question,
  .accordion-answer {
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 140% */
    letter-spacing: -0.6px;
  }

  .accordion-question {
    margin-bottom: 12px;
  }

  /* FOOTER */

  .footer-section {
    margin: 0;
    border-radius: 0;
    padding: 40px 16px;
  }

  .footer-content {
    gap: 60px;
  }

  .footer-main-text {
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 113.333% */
    letter-spacing: -1.2px;
    text-transform: uppercase;
  }

  .footer-info-main {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 141.667% */
    letter-spacing: -0.96px;
  }

  .footer-info-row {
    flex-direction: column;
    gap: 20px;
  }

  .footer-info-block:not(:last-of-type) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
  }
}
