@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  --color1: #efefef;
  --color2: #10151d;
  --color3: #727780;
  --color3Shadow: #72778045;
  --colorShadowAnimation: #5c97f65d;
  --colorAnimation: #dfe9f2;
  --colorMain: #4f7df5;
  --colorWrapper: #10151d6a;
  font-family: "Rubik", sans-serif;
  background-color: var(--color1);
  transition: 0.4s ease-in-out;

  &::-webkit-scrollbar {
    width: 6px;
    border-radius: 30px;
  }

  &::-webkit-scrollbar-track {
    background: #f3f4f6;
    /* Светло-серый фон трека */
    border-radius: 30px;
  }

  &::-webkit-scrollbar-thumb {
    background: var(--colorMain);
    /* Ваш синий цвет */
    border-radius: 30px;
    transition: background 0.3s ease;
  }
}

.scroll-none {
  overflow: hidden;
}

.container {
  max-width: 1500px;
  margin: auto;
  width: 100%;
  padding: 0 16px;
}

section {
  padding: 80px 0;
  position: relative;
}

.main-wrapper {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: var(--colorWrapper);
  z-index: 100;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
  padding: 16px;

  &._show {
    opacity: 1;
    visibility: visible;
  }

  & .modal-block {
    transition: 0.4s;
    pointer-events: fill;
    position: absolute;
    width: calc(100% - 80px);
    max-width: 800px;
    padding: 20px;
    border-radius: 20px;
    background-color: var(--color1);
    color: var(--color2);
    box-shadow:
      0px 0px 10px var(--color3Shadow),
      0px 4px 10px rgba(0, 180, 237, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
    height: fit-content;
    height: 100%;
    height: auto;
    max-height: 80vh;
    opacity: 0;
    visibility: hidden;

    &._show {
      opacity: 1;
      visibility: visible;
    }

    & button {
      border: none;
      font-size: 32px;
      position: absolute;
      right: 25px;
      cursor: pointer;
    }

    & h3 {
      margin-top: 40px;
      text-align: center;
      margin-bottom: 4px;
      font-size: 20px;
    }

    & h4 {
      font-size: 14px;
      margin-bottom: 6px;
      margin-top: 26px;
      text-transform: uppercase;
    }

    & p {
      font-size: 14px;
      line-height: 140%;
      margin-bottom: 6px;
    }
  }
}

nav {
  background-color: #f2f2f4;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  position: fixed;
  padding: 8px 0;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.106);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;

  & .nav__elements {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;

    & img {
      width: 60px;
    }

    & .nav__links {
      display: flex;
      gap: 40px;

      & a {
        font-size: 16px;
        text-decoration: none;
        color: var(--color2);
        transition: 0.4s;

        &:hover {
          color: #2d5efdbb;
        }

        & i {
          display: none;
        }
      }
    }

    & .nav__contacts {
      display: flex;
      gap: 10px;

      & a {
        font-size: 26px;
        color: var(--color2);
        transition: 0.4s;

        &:hover {
          color: var(--colorMain);
        }
      }
    }
  }
}

.hamburger {
  display: none;
}

header {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(107.93deg,
      var(--colorAnimation) 0%,
      var(--colorShadowAnimation) 100%);
  background-size: 400%;
  background-repeat: no-repeat;
  animation: headerBg 5s infinite linear alternate-reverse;
  border-radius: 0 0 50px 50px;
  box-shadow: 0px 0px 30px var(--colorShadowAnimation);

  & .header__elements {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;

    & .header__info {
      display: flex;
      flex-direction: column;

      & .title {
        display: flex;
        position: relative;

        & hr {
          position: absolute;
          left: 0;
          bottom: 30px;
          top: 0;
          width: 2px;
          background-color: var(--colorMain);
          margin-right: 20px;
          border: none;
          border-radius: 2px;
        }

        & h1 {
          font-size: 56px;
          color: var(--color2);
          margin: 0 0 28px 20px;
          line-height: 1.2;
        }
      }

      & p {
        font-size: 18px;
        max-width: 460px;
        line-height: 1.6;
        font-style: italic;
        font-weight: 400;
        margin-bottom: 28px;
        color: var(--color2);

        & .bold {
          font-weight: bold;
        }
      }

      & a {
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(79, 125, 245, 0.25);
        text-decoration: none;
        color: var(--color1);
        width: max-content;
        padding: 20px 40px;
        background-color: #4f7df5;
        transition: 0.3s;
        cursor: pointer;

        &:hover {
          background-color: #3e62be;
        }
      }
    }
  }

  & img {
    max-width: 500px;
    width: 100%;
  }
}

@keyframes headerBg {
  0% {
    background-position: top 20% left 20%;
  }

  100% {
    background-position: bottom 20% right 20%;
  }
}

.about-me {
  & h2 {
    font-size: 46px;
    font-weight: 800;
    line-height: 40px;
    color: var(--color2);
    margin-bottom: 60px;
  }

  & .about-me__elements {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;

    & img {
      max-width: 500px;
      width: 100%;
    }

    & p {
      font-weight: 400;
      font-size: 16px;
      color: var(--color2);
      line-height: 150%;
      border-radius: 20px;
      box-shadow: 0px 0px 50px var(--color3Shadow);
      padding: 24px 32px;

      & .bold-text {
        font-weight: bold;
      }
    }
  }
}

.projects {
  background:
    radial-gradient(circle at top left, rgba(79, 125, 245, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(16, 21, 29, 0.06), transparent 24%);

  & h2 {
    text-align: center;
    font-size: 46px;
    line-height: 40px;
    font-weight: 800;
    color: var(--color2);
    margin-bottom: 28px;
  }

  & .projects__intro {
    max-width: 920px;
    margin: 0 auto 56px;
    text-align: center;

    & p {
      font-size: 17px;
      line-height: 160%;
      color: var(--color3);
      margin-bottom: 28px;
    }


  }

  & .projects__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    margin: 32px auto 0;
    padding: 14px 22px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--color1);
    background: var(--colorMain);
    box-shadow: 0 10px 22px rgba(79, 125, 245, 0.22);
    transition: 0.3s ease;

    &:hover {
      transform: translateY(-2px);
      background: #3f69da;
    }
  }

  & .projects__filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    & .projects__filter {
      border: 1px solid rgba(79, 125, 245, 0.18);
      background-color: rgba(255, 255, 255, 0.75);
      color: var(--color2);
      border-radius: 999px;
      padding: 12px 18px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(16, 21, 29, 0.08);
      }

      &.is-active {
        background-color: var(--colorMain);
        color: var(--color1);
        box-shadow: 0 14px 30px rgba(79, 125, 245, 0.22);
      }
    }
  }

  & .projects__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 30px;

    & .project__item {
      border-radius: 28px;
      padding: 24px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 20px;
      justify-content: space-between;
      transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        opacity 0.25s ease;
      position: relative;
      border: 1px solid rgba(79, 125, 245, 0.12);
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(16px);
      box-shadow:
        0px 18px 35px rgba(16, 21, 29, 0.08),
        0px 0px 20px var(--color3Shadow);

      &:hover {
        border-color: rgba(79, 125, 245, 0.26);
        box-shadow:
          0px 24px 40px rgba(16, 21, 29, 0.12),
          0px 12px 30px rgba(79, 125, 245, 0.12);
      }

      &.is-hidden {
        display: none;
      }

      & .project__top {
        display: flex;
        align-items: center;
        gap: 18px;
      }

      & img {
        width: 92px;
        height: 92px;
        object-fit: contain;
        flex-shrink: 0;
        border-radius: 18px;
        background: linear-gradient(180deg, #ffffff, #eef4ff);
        padding: 12px;
        box-shadow: inset 0 0 0 1px rgba(79, 125, 245, 0.08);
      }

      & .project__meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }

      & .project__type {
        font-size: 13px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--colorMain);
        padding: 8px 12px;
        border-radius: 999px;
        background-color: rgba(79, 125, 245, 0.1);
      }

      & .project__stack {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;

        & span {
          font-size: 13px;
          color: var(--color2);
          background-color: rgba(16, 21, 29, 0.06);
          border-radius: 999px;
          padding: 7px 10px;
        }
      }

      & .project__content {
        display: flex;
        flex-direction: column;
        gap: 16px;

        & h3 {
          font-size: 24px;
          line-height: 120%;
          color: var(--color2);
        }

        & .project__lead {
          font-size: 15px;
          line-height: 150%;
          color: var(--color2);
        }
      }

      & .project__benefits {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;

        & span {
          font-size: 13px;
          color: var(--color2);
          padding: 8px 11px;
          border-radius: 12px;
          background-color: rgba(79, 125, 245, 0.08);
          border: 1px solid rgba(79, 125, 245, 0.1);
        }
      }

      & .project__facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;

        & div {
          background-color: rgba(16, 21, 29, 0.04);
          border-radius: 18px;
          padding: 14px;
          display: flex;
          flex-direction: column;
          gap: 8px;
        }

        & strong {
          font-size: 13px;
          line-height: 1;
          color: var(--color3);
          text-transform: uppercase;
        }

        & span {
          font-size: 14px;
          line-height: 145%;
          color: var(--color2);
        }
      }

      & .project__details {
        border-top: 1px solid rgba(16, 21, 29, 0.08);
        padding-top: 16px;

        & summary {
          list-style: none;
          cursor: pointer;
          font-size: 14px;
          font-weight: 600;
          color: var(--color2);
          display: flex;
          align-items: center;
          justify-content: space-between;

          &::-webkit-details-marker {
            display: none;
          }

          &::after {
            content: "+";
            font-size: 18px;
            line-height: 1;
            color: var(--colorMain);
          }
        }

        &[open] summary::after {
          content: "–";
        }

        & p {
          margin-top: 12px;
          font-size: 14px;
          line-height: 155%;
          color: var(--color2);
        }
      }

      & .project__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;

        & a {
          background-color: var(--colorMain);
          flex: 1 1 210px;
          padding: 13px 14px;
          border-radius: 14px;
          font-size: 15px;
          font-weight: 500;
          text-align: center;
          cursor: pointer;
          text-decoration: none;
          border: 1px solid var(--colorMain);
          color: var(--color1);
          transition: 0.4s;

          &:hover {
            background-color: #3e62be;
          }
        }

        & .project__action-secondary {
          background-color: transparent;
          color: var(--color2);
          border-color: rgba(16, 21, 29, 0.12);

          &:hover {
            background-color: rgba(16, 21, 29, 0.05);
          }
        }
      }
    }
  }
}

.project-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16, 21, 29, 0.45);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 100;
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
}

.project-modal__dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: min(84vh, 760px);
  overflow: auto;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 21, 29, 0.08);
  box-shadow: 0 24px 60px rgba(16, 21, 29, 0.2);
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 125, 245, 0.62) rgba(79, 125, 245, 0.08);
}

.project-modal__dialog::-webkit-scrollbar {
  width: 8px;
}

.project-modal__dialog::-webkit-scrollbar-track {
  background: rgba(79, 125, 245, 0.08);
  border-radius: 999px;
  margin: 10px 0;
}

.project-modal__dialog::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(79, 125, 245, 0.8), rgba(79, 125, 245, 0.55));
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.project-modal__dialog::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(63, 105, 218, 0.9), rgba(79, 125, 245, 0.7));
}

.project-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(16, 21, 29, 0.06);
  color: var(--color2);
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s ease;
}

.project-modal__close:hover {
  background: rgba(79, 125, 245, 0.12);
  color: var(--colorMain);
}

.project-modal__eyebrow {
  display: inline-flex;
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 125, 245, 0.1);
  color: var(--colorMain);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.project-modal__title {
  color: var(--color2);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 20px;
  padding-right: 56px;
}

.project-modal__field,
.project-modal__section {
  border-radius: 20px;
  background: rgba(16, 21, 29, 0.03);
  border: 1px solid rgba(16, 21, 29, 0.06);
}

.project-modal__field {
  padding: 18px 20px;
  margin-bottom: 16px;
}

.project-modal__field span,
.project-modal__section h3 {
  display: block;
  color: var(--colorMain);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project-modal__field strong {
  color: var(--color2);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
}

.project-modal__sections {
  display: grid;
  gap: 12px;
}

.project-modal__section {
  padding: 18px 20px;
}

.project-modal__section p {
  color: var(--color2);
  font-size: 15px;
  line-height: 1.65;
}

/* .price {
  border-radius: 24px;
  background-color: #4f7ef50f;
  background-size: 400%;
  background-repeat: no-repeat;
  animation: headerBg 5s infinite linear alternate-reverse;
  box-shadow: 0px 0px 30px #f0f5ff;

  & h2 {
    font-size: 46px;
    text-align: center;
    color: var(--color2);
    font-weight: 800;
    line-height: 40px;
    margin-bottom: 60px;
  }

  & .price__elements {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;

    & .card__price {
      max-width: 420px;
      box-shadow: 0px 0px 20px var(--color3Shadow);
      border-radius: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      overflow: hidden;
      text-align: center;
      border: 1px solid #e5e7eb;
      transition: transform 0.3s ease;
      background-color: white;
      &:hover {
        transform: translateY(-5px);
      }

      & .price-title {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 0 20px 0;
        border-bottom: 1px solid var(--colorMain);
        width: 100%;

        & h3 {
          font-size: 28px;
          color: var(--colorMain);
          text-align: center;
          padding: 25px 20px 0 20px;
          margin: 0;
        }

        & p {
          line-height: 150%;
          font-size: 16px;
          color: var(--color2);
          font-weight: 400;
          padding: 0 20px;
          margin: 0;
          text-align: left;
        }
      }

      & .price-advantage {
        display: flex;
        flex-direction: column;
        padding: 25px 20px;
        border-bottom: 1px solid var(--colorMain);
        width: 100%;

        & ul {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: flex-start;
          padding-left: 0;
          margin: 0;

          & li {
            font-size: 16px;
            font-weight: 400;
            color: var(--color2);
            line-height: 160%;
            list-style: none;
            padding-left: 28px;
            position: relative;
            margin-bottom: 12px;
            text-align: left;
            width: 100%;

            &::before {
              content: "✓";
              position: absolute;
              left: 0;
              top: 2px;
              color: var(--colorMain);
              font-weight: bold;
              font-size: 1.1em;
            }
          }
        }
      }

      & .price-action {
        display: flex;
        flex-direction: column;
        padding: 25px 20px;
        width: 100%;
        align-items: center;
        gap: 12px;

        & p {
          font-size: 14px;
          color: var(--color2);
          font-weight: 400;
          text-align: center;
          margin: 0;
        }

        & p:first-child {
          font-size: 14px;
          color: var(--color2);
          margin-bottom: 5px;
        }

        & p:first-child::after {
          content: "";
          display: block;
          font-size: 32px;
          font-weight: 700;
          color: var(--color1);
          margin-top: 5px;
        }

        & a {
          background-color: var(--colorMain);
          width: 100%;
          padding: 16px 24px;
          border-radius: 12px;
          font-size: 18px;
          text-align: center;
          cursor: pointer;
          text-decoration: none;
          border: 2px solid var(--colorMain);
          color: white;
          transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          font-weight: 600;
          margin-top: 10px;
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

          &:hover {
            background-color: transparent;
            color: var(--colorMain);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
          }

          &:active {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          }
        }
      }
    }
  }
} */

.process {
  border-radius: 24px;
  background-color: #4f7ef50f;
  background-size: 400%;
  background-repeat: no-repeat;
  animation: headerBg 5s infinite linear alternate-reverse;
  box-shadow: 0px 0px 30px #4f7ef50f;
}

.process h2 {
  font-size: 46px;
  text-align: center;
  color: var(--color2);
  font-weight: 800;
  line-height: 115%;
  margin-bottom: 20px;
}

.process .process__subtitle {
  max-width: 760px;
  margin: 0 auto 60px auto;
  text-align: center;
  font-size: 18px;
  line-height: 160%;
  color: var(--color3);
}

.process .process__elements {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.process .process__card {
  width: calc(50% - 14px);
  max-width: 520px;
  box-shadow: 0px 0px 10px var(--color3Shadow);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  background-color: white;
  position: relative;
}

.process .process__card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 10px 25px var(--color3Shadow);
  border: 1px solid rgba(79, 125, 245, 0.18);
}

.process .process__card-title {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 28px 24px;
  width: 100%;
  position: relative;
}

.process .process__number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: rgba(79, 125, 245, 0.12);
  pointer-events: none;
  transition: color 0.3s ease;
  margin-left: 30px;
}

.process .process__card:hover .process__number {
  color: rgba(79, 125, 245, 0.22);
}

.process .process__card-title h3 {
  font-size: 24px;
  color: var(--color2);
  margin: 0;
  padding-right: 70px;
  line-height: 120%;
}

.process .process__card-title p {
  line-height: 160%;
  font-size: 16px;
  color: var(--color3);
  font-weight: 400;
  margin: 0;
  text-align: left;
}

.process .process__bottom {
  margin-top: 35px;
  box-shadow: 0px 0px 20px var(--color3Shadow);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #e5e7eb;
  background-color: white;
  padding: 24px 24px;
}

.process .process__bottom p {
  font-size: 15px;
  color: var(--color3);
  line-height: 160%;
  margin: 0;
  max-width: 780px;
}

.process .process__bottom a {
  background-color: var(--colorMain);
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid var(--colorMain);
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.process .process__bottom a:hover {
  background-color: #3e62be;
  border-color: #3e62be;
}

.faq {
  & h2 {
    font-weight: 800;
    font-size: 46px;
    line-height: 40px;
    color: var(--color2);
    margin: 0px 0px 60px;
    text-align: center;
  }

  & .faq__list {
    display: flex;
    flex-direction: column;
    max-width: 768px;
    gap: 16px;
    margin: auto;

    & .faq__item {
      box-shadow: 0 0 20px var(--color3Shadow);
      overflow: hidden;
      transition: height 0.4s;
      height: 56px;
      border-radius: 16px;

      & .faq__question {
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        position: relative;
        background-color: var(--colorMain);
        color: var(--color1);
        opacity: 0.8;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-radius: 10px;
        transition: 0.3s;
        gap: 30px;

        &:hover {
          opacity: 1;
        }

        &::after {
          content: "+";
          position: relative;
          font-size: 20px;
          transition: transform 0.3s;
        }
      }

      & .faq__answer {
        font-size: 14px;
        line-height: 1.5;
        padding: 12px 20px;
      }

      .faq__item.active .faq__answer {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
        /* Достаточно для любого контента */
        padding-bottom: 20px;
        /* Добавляем отступ снизу */
      }
    }
  }
}

.faq__item.active {
  & .faq__question {
    &::after {
      content: "-" !important;
    }
  }
}

/* Секция */
.contact {
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;

  & h2 {
    text-align: center;
    font-size: 46px;
    margin-bottom: 10px;
  }

  & .subtitle {
    text-align: center;
    color: var(--color3);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  & .contact-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);

    & .form-group {
      margin-bottom: 24px;

      & label {
        display: block;
        font-size: 16px;
        color: #374151;
        margin-bottom: 8px;
        font-weight: 500;
      }

      & input {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
        color: #111827;
        background: #f9fafb;
        transition: all 0.2s ease;
        font-family: inherit;

        &:focus {
          outline: none;
          border-color: #4f7df5;
          background: white;
          box-shadow: 0 0 0 3px rgba(79, 125, 245, 0.1);
        }

        &::placeholder {
          color: #9ca3af;
        }
      }

      & textarea {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
        color: #111827;
        background: #f9fafb;
        transition: all 0.1s ease;
        font-family: inherit;
        resize: vertical;
        min-height: 120px;
        max-height: 350px;

        &:focus {
          outline: none;
          border-color: #4f7df5;
          background: white;
          box-shadow: 0 0 0 3px rgba(79, 125, 245, 0.1);
        }

        &::placeholder {
          color: #9ca3af;
        }
      }
    }

    & .submit-btn {
      width: 100%;
      padding: 14px;
      background: #4f7df5;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-top: 10px;

      &:hover {
        background: #3b69d4;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(79, 125, 245, 0.25);
      }

      &:active {
        transform: translateY(0);
      }
    }

    & .form-note {
      font-size: 12px;
      color: #9ca3af;
      text-align: center;
      margin-top: 10px;
      line-height: 1.4;

      & span {
        color: var(--colorMain);
        cursor: pointer;
      }
    }
  }
}

footer {
  width: 100%;
  padding: 16px 0;
  background-color: var(--color2);
  border-radius: 20px 20px 0 0;

  & .footer__elements {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 768px;
    padding: 0 16px;
    margin: auto;

    & .footer__links {
      display: flex;
      gap: 18px;

      & a {
        font-size: 22px;
        color: var(--color1);
        transition: 0.4s;

        &:hover {
          color: var(--colorMain);
        }
      }
    }

    & .email {
      font-size: 22px;
      color: var(--color1);
      text-decoration: none;
      transition: 0.4s;

      &:hover {
        color: var(--colorMain);
      }
    }

    & .footer__logo {
      width: 65px;
    }
  }
}
