/* fonts */

/* -------- END -------- */

/*========== fonts | colors | typography ==========*/

:root {
  --body-font: 'Gilroy', sans-serif;

  --color-dark-1: #000;
  --color-dark-2: #333;
  --color-white: #ffffff;
}

/* -------- END -------- */

/* BASE */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
}

html {
  scroll-behavior: smooth;
}

html.lock,
body.lock,
.locker {
  overflow: hidden;
}

body {
  color: var(--color-dark-1);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: fixed;
  transform: scale(0);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.overlay.active {
  display: block;
}

.hidden {
  position: absolute;
  transform: scale(0);
}

/* -------- END -------- */

/* WRAPPER */

.container {
  max-width: 1560px;
  margin: 0 auto;
}

.container-xl {
  max-width: 1920px;
  margin: 0 auto;
}

@media (max-width: 1600px) {
  .container-xl {
    max-width: 100%;
    padding: 0px 40px;
  }
}

@media (max-width: 1240px) {
  .container-xl {
    max-width: 100%;
    padding: 0px 20px;
  }
}

/* -------- END -------- */

/* BUTTONS */

.btn {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 10px;
  background-color: #4474ee;
  transition: all 0.3s ease-in;
  border: none;
  cursor: pointer;
}

.btn span {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.btn:hover {
  background-color: #325cc7;
}

.btn:active {
  background-color: #1b3b8b;
}

@media (max-width: 490px) {
  .btn span {
    font-size: 16px;
  }
}

/* -------- END -------- */

/* CUSTOM SELECT & INPUTS & TEXTAREA */

.select-box {
  position: relative;
  display: flex;
  width: 244px;
  flex-direction: column;
}

.select-box .options-container {
  background: #fff;
  color: #525252;
  max-height: 0;
  width: 100%;
  opacity: 0;
  border-radius: 8px;
  overflow: hidden;

  order: 1;
}

.selected {
  display: flex;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  font-size: 18px;
  font-weight: 500;
  color: #525252;
  position: relative;
  border: 1px solid #959595;
  order: 0;
  cursor: pointer;
}

.selected::after {
  content: '';
  background: url('../images/icons/icon-arrow-blue.svg');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  height: 24px;
  width: 24px;
  right: 20px;
  transition: all 0.4s;
}

.select-box .options-container.active {
  position: absolute;
  top: 60px;
  max-height: 215px;
  margin-top: 20px;
  opacity: 1;
  overflow-y: scroll;
  box-shadow: 0px 0px 24.9px 0px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.select-box .options-container.active + .selected::after {
  background: url('../images/icons/icon-arrow-black.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.select-box .options-container::-webkit-scrollbar {
  width: 8px;
  background: #9a9a9a;
  border-radius: 8px;
}

.select-box .options-container::-webkit-scrollbar-thumb {
  background: #525861;
  border-radius: 8px;
}

.select-box .option {
  padding: 10px 20px;
  cursor: pointer;
}

.select-box .option:first-child {
  padding-top: 20px;
}

.select-box .option:last-child {
  padding-bottom: 20px;
}

.select-box .option:hover {
  background: transparent;
  text-decoration: underline;
}

.select-box label {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.select-box .option .radio {
  display: none;
}

.selected:focus,
.textarea:focus,
.input:focus {
  border: 1px solid #000;
  outline: none;
}

.selected:hover,
.textarea:hover,
.input:hover {
  border: 1px solid #000;
}

.textarea {
  max-width: 1034px;
  width: 100%;
  height: 212px;
  display: flex;
  border-radius: 10px;
  border: 1px solid#959595;
  padding: 20px 0px 0px 20px;
  font-size: 18px;
  font-weight: 500;
  resize: none;
}

.input {
  padding: 17px 20px;
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: 10px;
  border: 1px solid #959595;
}

.input::placeholder {
  color: #646464;
}

.input._error {
  border-color: red;
}

.input__hidden {
  display: none;
}

.search {
  margin: 20px 20px 10px 20px;
}

.search input {
  width: 100%;
  padding: 10px 20px;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: 10px;
  outline: none;
  border: 1px solid #959595;
}

.inputs {
  max-width: 100%;
  width: 100%;
  display: flex;
  gap: 20px;
}

.inputs .input {
  max-width: 49%;
  width: 100%;
}

@media (max-width: 490px) {
  .select-box {
    width: 100%;
  }

  .selected {
    width: 100%;
    font-size: 16px;
    color: #000;
  }

  .textarea {
    height: 150px;
    padding: 15px 26px 15px 20px;
    font-size: 16px;
  }

  .input {
    padding: 15px 20px;
    font-size: 16px;
  }

  .inputs {
    flex-direction: column;
  }

  .inputs .input {
    max-width: 100%;
  }
}

/* POPUP */

.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(41, 41, 41, 0.6);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-transition: all 0.8s ease 0s;
  -o-transition: all 0.8s ease 0s;
  transition: all 0.8s ease 0s;
  z-index: 999;
}

.popup.open {
  opacity: 1;
  visibility: visible;
}

.popup.open .popup__content {
  -webkit-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
  opacity: 1;
}

.popup__body {
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1024px;
  padding: 30px;
  margin: 0px 20px;
  text-align: center;
  box-shadow: 0px 2px 35px 14px rgba(13, 13, 13, 0.04);
  border-radius: 9px;
  background-color: #fff;
  transition: all 0.8s ease 0s;
  opacity: 0;
  transform: translate(0px, -100%);
}

.popup__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: url('../images/icons/icon-close.svg') center/32px no-repeat;
  transition: all 0.3s ease-in-out;
}

/* -------- END -------- */

/* HEADER */

.header {
  position: relative;
  width: 100%;
  margin-top: 50px;
  z-index: 100;
}

.header__nav {
  display: flex;
  justify-content: center;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__container-mob {
  display: none;
}

.header__logo span {
  position: relative;
  font-size: 20px;
  font-weight: 600;
}

.header__menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.menu__burger {
  display: none;
}

.menu__item {
  display: flex;
  align-items: center;
}

.menu__link {
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 890px) {
  .header__container {
    display: none;
  }

  .header__container-mob {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header__nav-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #959595;
  }

  .menu__item-mob {
    padding: 20px;
    border-bottom: 1px solid #959595;
    font-size: 16px;
    font-weight: 500;
  }

  .menu__img {
    position: absolute;
    right: 20px;
  }

  .menu__burger {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    z-index: 3;
    opacity: 0;
  }

  .menu__burger:before {
    content: '';
    background-color: var(--color-dark-1);
    position: absolute;
    width: 24px;
    height: 2px;
    right: 0;
    transition: all 0.3s ease-out;
  }

  .menu__burger:before {
    top: 0;
  }

  .menu__burger:after {
    content: '';
    background-color: var(--color-dark-1);
    position: absolute;
    width: 24px;
    height: 2px;
    right: 0;
    transition: all 0.3s ease-out;
  }

  .menu__burger:after {
    bottom: 0;
  }

  .menu__burger span {
    background-color: var(--color-dark-1);
    position: absolute;
    width: 24px;
    height: 2px;
    top: 9px;
    right: 0;
    transition: all 0.3s ease-out;
  }

  .menu__burger.active span {
    transform: scale(0);
  }

  .menu__burger.active:before {
    width: 100%;
    transform: rotate(45deg);
    top: 9px;
  }

  .menu__burger.active:after {
    width: 100%;
    transform: rotate(-45deg);
    bottom: 9px;
  }

  .menu__burger.active > span {
    background-color: var(--color-dark-1);
  }

  .header__nav-mob.active {
    transform: translateX(0);
  }

  .header__nav-mob {
    position: fixed;
    top: 10px;
    right: 0;
    width: 100%;
    max-width: 375px;
    height: 100%;
    transform: translateX(110%);
    transition: transform 0.5s;
    overflow: auto;
    z-index: 2;
    border-radius: 10px 10px 0px 0px;
    background-color: #fff;
  }

  .header__menu-mob {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 490px) {
  .header {
    margin-top: 33px;
  }

  .header__logo span {
    font-size: 16px;
  }
}

/* -------- END -------- */

/* HERO */

.hero {
  margin-top: 127px;
}

.hero__wrapper {
  display: flex;
  gap: 95px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 45px;
  margin: 66px 0px 26px 0px;
}

.hero__title {
  font-size: 36px;
  font-weight: 600;
}

.hero__title span {
  color: #4474ee;
}

.hero__btn {
  max-width: 219px;
}

.hero__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.hero__item span {
  font-size: 18px;
  font-weight: 500;
}

.hero__img {
  max-width: 800px;
  max-height: 500px;
}

.hero__img-mob,
.hero__list-mob {
  display: none;
}

@media (max-width: 1439px) {
  .hero__wrapper {
    align-items: center;
    gap: 50px;
  }

  .hero__content {
    margin: 0px;
  }

  .hero__img {
    max-width: 600px;
  }
}

@media (max-width: 1119px) {
  .hero {
    margin-top: 100px;
  }

  .hero__wrapper {
    gap: 25px;
  }

  .hero__img {
    max-width: 500px;
  }
}

@media (max-width: 890px) {
  .hero {
    margin-top: 50px;
  }

  .hero__wrapper {
    flex-direction: column;
  }

  .hero__img {
    max-width: 100%;
  }
}

@media (max-width: 490px) {
  .hero {
    margin-top: 22px;
  }

  .hero__title {
    width: 336px;
    font-size: 20px;
  }

  .hero__title span > span {
    color: #000;
  }

  .hero__list {
    position: absolute;
    transform: scale(0);
  }

  .hero__content {
    gap: 30px;
  }

  .hero__img-mob {
    display: flex;
    order: 2;
  }

  .hero__list-mob {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
  }

  .hero__list-mob .hero__item {
    gap: 10px;
  }

  .hero__list-mob .hero__item img {
    width: 24px;
    height: 24px;
  }

  .hero__list-mob .hero__item span {
    font-size: 16px;
  }

  .hero__img {
    display: none;
  }

  .hero__btn {
    max-width: 100%;
    padding: 15px 0px;
    order: 3;
  }
}

/* -------- END -------- */

/* LIST FORM */

.list {
  margin-top: 49px;
}

.list__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.list__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.section__title {
  font-size: 36px;
  font-weight: 600;
}

.list__subtitle {
  font-size: 20px;
  font-weight: 500;
}

.list__form-wrapper {
  margin-top: 50px;
}

.list__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 0px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 0px 49.5px 0px rgba(0, 0, 0, 0.1);
}

.list__form-inner {
  max-width: 1034px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.list__form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.list__form-row .select-box:nth-child(2),
.list__form-row .select-box:nth-child(3) {
  max-width: 243px;
}

.list__form-message {
  color: #606060;
  font-size: 16px;
  font-weight: 500;
}

.list__form-message a {
  color: #4474ee;
}

@media (max-width: 1119px) {
  .list__form {
    padding: 40px 0px;
  }

  .list__form-inner {
    padding: 20px;
  }
}

@media (max-width: 490px) {
  .list {
    margin-top: 40px;
  }

  .list__title {
    gap: 10px;
  }

  .section__title {
    font-size: 20px;
  }

  .list__subtitle {
    font-size: 16px;
  }

  .list__form {
    padding: 0px;
  }

  .list__form-wrapper {
    margin-top: 20px;
  }

  .list__form-inner {
    padding: 20px 10px;
  }

  .list__form-row {
    width: 100%;
    flex-direction: column;
  }

  .list__form-row .select-box:nth-child(2),
  .list__form-row .select-box:nth-child(3) {
    max-width: 100%;
  }

  .list__form-message {
    font-size: 13px;
  }

  .list__form-message a {
    color: #000;
  }
}

/* -------- END -------- */

/* WORKS */

.works {
  margin-top: 100px;
}

.works__wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.works__cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.works__card {
  position: relative;
  max-width: 507px;
  width: 100%;
  height: 333px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 0px 49.5px 0px rgba(0, 0, 0, 0.1);
}

.works__card-number {
  position: absolute;
  top: 10px;
  left: 20px;
  color: #e3e3e3;
  font-size: 64px;
  font-weight: 600;
}

.works__card-img {
  max-width: 130px;
  max-height: 130px;
}

.works__subtitle {
  margin-bottom: 70px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
}

.works__card:nth-child(1) .works__subtitle {
  margin-top: 14px;
}

.works__card:nth-child(2) .works__subtitle {
  margin-top: 17px;
}

.works__card:nth-child(3) .works__subtitle {
  margin-top: 33px;
}

@media (max-width: 890px) {
  .works__cards {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 490px) {
  .works {
    margin-top: 40px;
  }

  .works__wrapper {
    gap: 20px;
  }

  .works__card {
    height: 240px;
  }

  .works__card-number {
    font-size: 48px;
  }

  .works__subtitle {
    margin-bottom: 32px;
    font-size: 16px;
  }

  .works__card:nth-child(1) .works__subtitle,
  .works__card:nth-child(2) .works__subtitle {
    margin-top: 10px;
  }

  .works__card:nth-child(3) .works__subtitle {
    margin-top: 20px;
  }

  .works__card:nth-child(3) .works__card-img {
    width: 116px;
    height: 116px;
  }
}

/* -------- END -------- */

/* QUESTIONS */

.questions {
  margin-top: 100px;
}

.questions__container {
  max-width: 601px;
  width: 100%;
  margin: 0 auto;
}

.questions__wrapper {
  display: flex;
  flex-direction: column;
  gap: 52px;
  justify-content: center;
  align-items: center;
}

.section__title span {
  color: #4474ee;
}

.questions__form {
  max-width: 507px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 0px 49.5px 0px rgba(0, 0, 0, 0.1);
}

.questions__form-title {
  font-size: 20px;
  font-weight: 500;
}

.questions__form-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 490px) {
  .questions {
    margin-top: 40px;
  }

  .questions__wrapper {
    gap: 20px;
  }

  .questions__form-title {
    max-width: 301px;
    font-size: 16px;
  }

  .questions__form {
    padding: 20px 10px;
    gap: 20px;
  }

  .questions__form-title > br {
    display: none;
  }
}

/* -------- END -------- */

/* FOOTER */

.footer {
  margin-top: 100px;
  background-color: #f0f0f0;
}

.footer__content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0px;
}

.footer__copy,
.footer__company {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.footer__text {
  font-size: 18px;
  font-weight: 500;
}

.footer__texts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.footer__col {
  max-width: 25%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__col a {
  text-align: center;
}

@media (max-width: 768px) {
  .footer {
    margin-top: 40px;
  }

  .footer__content {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0px;
  }

  .footer__copy {
    flex-direction: row;
    gap: 10px;
  }

  .footer__text {
    font-size: 16px;
  }

  .footer__col {
    max-width: 100%;
  }
}

/* -------- END -------- */
