@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

/* ПЕРЕМННЫЕ */
:root {
  --header-height: 75px;
  --text-color: rgba(250, 250, 250, 1);
  --secondary-color: rgba(97, 97, 97, 1);
  --orange-color: rgba(249, 79, 13, 1);
  --gap: 32px;
  --gap-small: 20px;
  --gap-mini: 10px;
  --font-size-large: 60px;
  --font-size-sub-large: 40px;
}

/* ГЛОБАЛЬНЫЕ СТИЛИ*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

* {
  padding: 0px;
  margin: 0px;
  border: none;
  font-family: "Inter";
  text-decoration: none;
  color: var(--text-color);
}

body {
  background: rgba(8, 8, 8, 1);
}

img {
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
}

.wrapper {
  min-height: 100vh;
  background: rgba(8, 8, 8, 1);
}

/* HEADER */
.wrapper__header {
  position: fixed;
  top: 0px;
  left: 0;
  z-index: 100;
}

.header {
  width: 100%;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  padding: 12px 12px;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.header__content {
  width: min(100%, 1200px);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.header__logo {
  display: flex;
  color: rgba(255, 255, 255, 1);
  font-family: "Inter";
  font-weight: 700;
  align-items: center;
  gap: var(--gap-mini);
}

.header__logo p {
  user-select: none;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header_link {
  color: rgba(255, 255, 255, 1);
  padding: 8px 16px;
}

.header__button {
  justify-self: right;
}
/* HEADER END --------- */

/* PAGE-SECTION */
.page-section {
  min-height: 95vh;
  display: flex;
  justify-content: center;
}

.page-section__content {
  width: min(90%, 1200px);
  padding-top: var(--header-height);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 30px;
  gap: var(--gap);
}

.page-section__content_second {
  gap: 90px;
}

.page-section__content_centred {
  justify-content: center;
  align-items: center;
}

.page-section__content_s-between {
  flex-direction: row;
  justify-content: space-between;
}

.page-section__left {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  flex: 1 1;
}

.page-section__right {
  flex: 1 1;
}

.page-section__block {
  /* width: 90%; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: var(--gap);
}

.text {
  color: var(--secondary-color);
  text-align: center;
}

.page-section__buttons-line {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  gap: var(--gap);
}

.page-section__big-logo {
  width: 180px;
}

.page-section__stack-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-small);
}

.page-section__span_orange {
  color: var(--orange-color);
}

.page-section__pricing-text {
  margin-top: -60px;
  font-size: 18px;
}

/* TITLE */
.title {
  font-weight: 700;
  text-align: center;
}

.title_h1 {
  font-size: 72px;
}

.title_h2 {
  font-size: var(--font-size-sub-large);
}

.title_h3 {
  font-size: 32px;
}

.title_h4 {
  font-size: 24px;
  text-align: unset;
}

.button-contuct-us {
  padding: 16px 20px;
  width: fit-content;
  color: white;
  font-weight: 700;
  background: var(--orange-color);
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
}

.button-outline {
  padding: 16px 42px;
  border-radius: 8px;
  border: 2px solid rgba(249, 79, 13, 1);
  color: rgba(249, 79, 13, 1);
  text-wrap: nowrap;
  text-align: center;
  user-select: none;
  cursor: pointer;
}

.button-outline:hover {
  background: rgba(125, 125, 125, 0.1);
}

.stack-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-mini);
}

.stack-icon__box {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(28.62deg, #080808 0%, #131313 100%);
  border-radius: 6px;
}

/* GRID */
.base-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gap);
}

.grid-card {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.grid-card__li,
.grid-card__text {
  color: var(--secondary-color);
  font-size: 14px;
}

.grid-card__icon-circle {
  background: linear-gradient(135.95deg, #ff7038 0%, #ff4700 100%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-card__title {
  text-align: start;
  font-size: var(--font-size-large);
}

.grid-card__title_orange {
  color: var(--orange-color);
}

/* SECTION 1 */
.page-section_1 {
  background-image: url("./Documents/mainBg.png");
  background-size: cover;
}

/* SECTION-4 */
.page-section_4 {
  background-image: url("./Documents/section3.png");
  background-size: cover;
}

/* SECTION 6 */
/* FORM */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
  max-width: 80%;
}

.form__label {
  display: flex;
  flex-direction: column;
  color: var(--secondary-color);
  gap: 5px;
}

.form__input,
.form__textarea {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  padding: 12px 16px;
  border-radius: 6px;
  outline: none;
}

.form__textarea {
  resize: none;
}

.form__button {
  width: 100%;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  padding: 15px 0px;
  background: rgba(250, 250, 250, 1);
  min-height: var(--header-height);
  background: transparent;
  gap: 10px;
}

.footer__logo {
  display: flex;
  color: rgba(255, 255, 255, 1);
  font-family: "Inter";
  font-weight: 700;
  align-items: center;
  gap: var(--gap-mini);
}

.footer__logo p {
  user-select: none;
}

/* MODAL */
.modal-req {
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.5s;
  pointer-events: none;
}

.modal-req__content {
  padding: 30px 30px;
  border-radius: 8px;
  width: 70vw;
  transition: 0.2s all;
  transform: scale(0); /*  ${(props) => (props.$active ? "scale(1)" : "scale(0.3)")}; */
  overflow: auto;
  box-sizing: border-box;
  max-height: 95vh;

  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
  background: linear-gradient(28.62deg, #080808 0%, #131313 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-req__close {
  position: absolute;
  align-self: end;
  padding: 10px;
}

.modal-req__close:hover {
  background: rgba(125, 125, 125, 0.1);
  cursor: pointer;
}

/* TABLE */
.req-table {
  display: flex;
  flex-direction: column;
  position: relative;
}

.req-table__line:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}

.req-table__line {
  display: flex;
}

.req-table__left-cell {
  color: var(--secondary-color);
}

.req-table__right-cell {
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.req-table__cell {
  flex: 1 1;
  padding: 16px;
}

@media screen and (max-width: 767px) {
  .modal-req__content {
    width: 95vw;
    padding: 16px;
  }
}

@media screen and (max-width: 1439px) {
  .title_h1 {
    font-size: var(--font-size-large);
  }

  .title_h2 {
    font-size: 35px;
  }

  .title_h3 {
    font-size: 30px;
  }

  .base-grid,
  .grid-card {
    gap: var(--gap-small);
  }

  .grid-card__title {
    font-size: 55px;
  }
}

@media screen and (max-width: 1023px) {
  .title_h1 {
    font-size: var(--font-size-sub-large);
  }

  .title_h2 {
    font-size: 30px;
  }

  .title_h3 {
    font-size: 27px;
  }

  .base-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-section__right {
    display: none;
  }

  .form {
    gap: var(--gap-small);
    max-width: unset;
  }

  .form__label {
    font-size: 13px;
  }
}

@media screen and (max-width: 767px) {
  .header__content {
    grid-template-columns: 30px 1fr auto;
  }

  .header {
    padding: 8px;
  }
  .header_link {
    padding: unset;
    font-size: 14px;
  }
  .header__logo p {
    display: none;
  }
  .base-grid {
    grid-template-columns: 1fr;
  }
  .button-contuct-us {
    padding: 10px 14px;
    font-size: 13px;
    align-self: center;
  }

  .title_h1 {
    font-size: 27px;
  }

  .title_h2 {
    font-size: 20px;
  }

  .title_h3 {
    font-size: 18px;
  }

  .title_h4 {
    font-size: 20px;
  }

  .text {
    font-size: 14px;
  }
  .grid-card__icon-circle {
    width: 40px;
    height: 40px;
  }
  .grid-card__icon-circle img {
    width: 20px;
  }

  .grid-card__text,
  .grid-card__li {
    font-size: 13px;
  }

  .page-section__content_second {
    gap: 40px;
  }

  .page-section__big-logo {
    width: 150px;
  }

  .button-outline {
    flex: 1 1;
    padding: 16px 32px;
  }

  .page-section__buttons-line {
    gap: var(--gap);
  }

  .grid-card__title {
    font-size: var(--font-size-sub-large);
  }
  .grid-card {
    padding: 25px;
  }

  .req-table__cell {
    font-size: 14px;
    padding: 12px;
  }

  .req-table__right-cell {
    font-size: 12px;
  }

  .page-section__pricing-text {
    margin-top: -30px;
  }
}

@media screen and (max-width: 424px) {
  .header_link {
    padding: unset;
    font-size: 12px;
  }

  .button-contuct-us {
    padding: 9px 12px;
    font-size: 12px;
  }

  .page-section__big-logo {
    width: 130px;
  }

  .req-table__cell {
    padding: 10px;
  }

  .modal-req__content {
    gap: 15px;
  }

  .text {
    font-size: 12px;
  }

  .modal-req__close {
    padding: 7px;
  }
}
