:root{
  --bg:rgba(30, 34, 19, 1);
  --primary: rgb(210, 222, 38);
  --white: rgba(255, 255, 255, 1);
  --muted: rgba(136, 136, 136, 1);
  --primary-glow: rgba(210, 222, 38, 0.7); /* единый цвет */

  --card:#9BA420;

  --accent:#06b6d4;
  --glass: rgba(255,255,255,0.04);
  --radius:8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: dark;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #aabf22; /* чуть темнее при hover */
}
*{
  box-sizing:border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
  /*outline: 1px solid red;  //!****************************************!/*/
}

@font-face {
  font-family: 'AltoneTrial';
  src:  url('fonts/AltoneTrial-Regular.ttf') format('truetype');
  url('fonts/AltoneTrial-Regular.ttf') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'AltoneTrial';
  src: url('fonts/AltoneTrial-Bold.ttf') format('truetype'),
  url('fonts/AltoneTrial-Bold.ttf') format('woff');
  font-weight: bold;
  font-style: normal;
}

html, body {
  height: 100%;
  background-color: var(--bg);
  font-family: 'AltoneTrial', sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Контейнер с ограниченной шириной */
main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 90px;
  @media (max-width: 870px) {
    padding: 0 1rem;
  }
}

/********* GLOBAL * start *****/
h1, h2, h3,h4,h5, h6, p, a {
  margin: 0;
}
 p {
   font-family: "Poppins", sans-serif;
 }
li {
  list-style: none;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn {
  min-width: 13rem;
  max-width: 20rem;        /* <-- ограничиваем ширину */
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  padding: 0.6rem 1.2rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;

  white-space: nowrap;     /* не переносить текст */
  overflow: hidden;        /* скрывать лишнее */
  text-overflow: ellipsis; /* добавлять ... */

  &:hover {
    background-color: var(--primary-glow);
  }
}
/********* GLOBAL * end *******/

/******************** Навбар * start **/
nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  padding: 1rem;
}
nav .nav_ul {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav .nav_li {
  position: relative;
  cursor: pointer;
}
nav .nav_li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #C5D92D 0%, rgba(104, 115, 24, 0.85) 100%);
  transition: width 0.3s ease;
  border-radius: var(--radius);
}
nav .nav_li:hover::after,
nav .nav_li:focus::after,
nav .nav_li.active::after { /* добавляем класс active */
  width: 100%;
  border-radius: var(--radius);
}

/* cta button and change lang btn*/
.nav_btn-group {
  display: flex;
  align-items: center;
  gap: 1rem;

  @media (max-width: 1010px) {
    .btn {
      display: none;
    }

  }
}
/******************** Навбар * end **/

/******************** Change LANG * start **/
.lang-switch {
  position: relative;
  display: inline-block;
  font-family: Arial, sans-serif;
  user-select: none;
}
.lang-selected {
  padding: 6px 12px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  cursor: pointer;
  /*background: #fff;*/
  font-weight: 600;
}
.lang-options {
  position: absolute;
  top: 110%;
  left: 0;
  /*background: #fff;*/
  border: 1px solid var(--primary-glow);
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  width: 100%;
  z-index: 100;
}
.lang-option {
  padding: 6px 12px;
  cursor: pointer;
}
.lang-option:hover {
  /*background: #f0f0f0;*/
}
.hidden {
  display: none;
}
/******************** Change LANG * end **/

/*************************** burger menu * start */
#burgerMenu {
   cursor: pointer;
   display: none;
 }
svg {
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.active svg {
  transform: rotate(90deg);
}
path {
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1),
  stroke-dasharray 500ms cubic-bezier(0.4, 0, 0.2, 1),
  stroke-dashoffset 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
path:nth-child(1) {
  transform-origin: 36% 40%;
}
path:nth-child(2) {
  stroke-dasharray: 29 299;
}
path:nth-child(3) {
  transform-origin: 35% 63%;
}
path:nth-child(4) {
  stroke-dasharray: 29 299;
}
path:nth-child(5) {
  transform-origin: 61% 52%;
}
path:nth-child(6) {
  transform-origin: 62% 52%;
}
.active path:nth-child(1) {
  transform: translateX(9px) translateY(1px) rotate(45deg);
}
.active path:nth-child(2) {
  stroke-dasharray: 225 299;
  stroke-dashoffset: -72px;
}
.active path:nth-child(3) {
  transform: translateX(9px) translateY(1px) rotate(-45deg);
}
.active path:nth-child(4) {
  stroke-dasharray: 225 299;
  stroke-dashoffset: -72px;
}
.active path:nth-child(5) {
  transform: translateX(9px) translateY(1px) rotate(-45deg);
}
.active path:nth-child(6) {
  transform: translateX(9px) translateY(1px) rotate(45deg);
}

@media (max-width: 870px) {
  main {
    .nav_ul {
      display: none;
    }
    nav {
      padding: 16px 0;
    }
  }
  .nav_btn-group {
    display: none;
  }
  #burgerMenu {
    display: flex;
  }
}
/*************************** burger menu * end */

/*************** Mobile menu * start **/
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 300px;
  transform: translateY(-150%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  z-index: 999;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;

  &.open {
    transform: translateY(0);
  }

  ul {
    list-style: none;
    padding: 2rem;
    margin: 0;
    position: relative;

    li {
      margin-bottom: 1.5rem;
      font-size: 1.2rem;
    }
  }
}
/*************** Mobile menu * end **/

/* ************************************************  HERO */
.hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 20px;

  @media (max-width: 630px) {
    gap: 0;
  }

  & > div:first-child {
    height: 100%;
    display: flex;
    flex-direction: column-reverse;

    @media (max-width: 630px) {
      grid-row: 1 / 3;

      flex-direction: row;
      align-items: center;
    }

    h2 {
      font-weight: 700;
      font-size: 40px;
      line-height: 112.99999999999999%;
      letter-spacing: 1px;

      span {
        color: var(--primary);
      }

      @media (max-width: 1300px) {
        font-size: 30px;
      }
      @media (max-width: 1060px) {
        font-size: 26px;
      }
      @media (max-width: 807px) {
        font-size: 22px;
      }
      @media (max-width: 630px) {
        font-weight: 600;
        font-size: 20px;
        line-height: 112.99999999999999%;
      }
    }
  }
  & > div:nth-child(2) {

    @media (max-width: 630px) {
      grid-column: 1 / 3;
    }

    p {
      margin: 25px 0;
      font-weight: 400;
      font-size: 14px;
      line-height: 16px;
      letter-spacing: 1px;

      @media (max-width: 630px) {
        margin-top: 0;
        font-weight: 400;
        font-size: 12px;
        line-height: 17px;
        /*letter-spacing: 1px;*/
        /*text-align: justify;*/
        text-align: center;
      }
    }

    button {
      width: 100% !important;
      /*font-weight: 400;*/
      /*font-size: 18px;*/
      line-height: 100%;
      /*letter-spacing: 0%;*/
      text-align: center;

      @media (max-width: 630px) {
        font-weight: 700;
        font-size: 16px;
        /*line-height: 100%;*/
        text-align: center;
        /*letter-spacing: 0%;*/
      }
    }
  }
  & > div:last-child {
    grid-column: 2 / 4;
    grid-row: 1 / 3;



    img {
      width: 100%;
      max-width: 600px;
      height: auto;
      border-radius: 20px;
      object-fit: contain;
    }
  }
}
/********************  Why sport  */
.why-sport {
  margin: 40px 0 60px;

  & > h2:first-of-type {
    text-align: center;
    margin-bottom: 2rem;
    
    @media (max-width: 630px) {
      font-weight: 700;
      font-size: 20px;
      line-height: 100%;
    }

    span {
      color: var(--primary);
    }
  }

  .why-sport_box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
}
.why-sport_box {
  flex: 1 1 300px;
  max-width: 520px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.5rem 2.5rem;

  @media (max-width: 630px) {
    padding: 20px;

  }

  h1, p {
    margin: 0;
  }

  h1 {
    font-size: 1.5rem;

    @media (max-width: 630px) {
      font-weight: 700;
      font-size: 24px;
      line-height: 48px;
      /*letter-spacing: 0%;*/
    }
  }

  h2 {
    color: var(--primary);
    margin: 0.5rem 0;
    text-align: start;

    @media (max-width: 630px) {
      font-weight: 700;
      font-size: 24px;
      line-height: 32px;
      /*letter-spacing: 0%;*/
    }
  }

  p {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;

    @media (max-width: 630px) {
      font-weight: 400;
      font-size: 14px;
      line-height: 24px;
      /*letter-spacing: 0%;*/
    }
  }
}

/*************************** AI COACH * start **/
.ai-coach {
  margin-bottom: 60px;

  & > h2:first-of-type {
    text-align: center;
    margin-bottom: 2rem;

    span {
      color: var(--primary);
    }

    @media (max-width: 630px) {
      font-weight: 700;
      font-size: 20px;
      line-height: 100%;
      text-align: center;
    }
  }
}
.ai-coach_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.ai-coach_box {
  flex: 1 1 400px;
  padding: 1rem 0;
  max-width: 500px;
  text-align: center;

  @media (max-width: 841px) {
    position: relative;

    &:before {
      content: "";
      height: 3px;
      position: absolute;
      bottom: 0;
      left: 50%; /* ставим в центр */
      transform: translateX(-50%); /* смещаем на половину ширины */
      width: 140px; /* толщина бордера */
      border-radius: var(--radius);
      background: linear-gradient(180deg, #C5D92D 0%, rgba(104, 115, 24, 0.85) 100%);

    }
  }

  p {
    margin: 0;
    color: var(--muted);

    @media (max-width: 630px) {
      font-weight: 400;
      font-size: 12px;
      line-height: 100%;
      /*letter-spacing: 0%;*/
      text-align: center;
    }
  }

  @media (min-width: 841px) {
    &.box2 {
      position: relative;
      &:before,
      &:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 3px; /* толщина бордера */
        border-radius: var(--radius);
      }

      &:before {
        left: 0;
        background: linear-gradient(180deg, #C5D92D 0%, rgba(104, 115, 24, 0.85) 100%);
      }
      &:after {
        right: 0;
        background: linear-gradient(180deg, #C5D92D 0%, rgba(104, 115, 24, 0.85) 100%);
      }
    }
    @media (max-width: 1241px) {
      &.box2::after {
        display: none;
      }
    }
    @media (max-width: 841px) {
      &.box2::before {
        display: none;
      }
    }

  }
}
.ai-coach_box-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  h4 {
    margin: 0;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;

    @media (max-width: 630px) {
      font-weight: 400;
      font-size: 14px;
      line-height: 100%;
      /*letter-spacing: 0%;*/
      text-align: center;
    }
  }
}
.ai-coach_box-title img {
  width: 32px;
  height: 32px;

  @media (max-width: 630px) {
    width: 24px;
    height: 24px;
  }
}
.ai-coach_hr-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  .ai-coach_hr {
    width: 650px;
    height: 4px;
    margin: 2rem 0;
    border: none;
    border-radius: var(--radius);
    background: linear-gradient(
            90deg,
            #C5D92D 0%,
            rgba(104, 115, 24, 0.85) 100%
    );
  }
  @media (max-width: 841px) {
    .ai-coach_hr {
      display: none;
    }
  }
}
/*************************** AI COACH * end **/

/*************************** HOW IT WORKS * start **/
.hiw {
  & > h2:first-of-type {
    text-align: center;
    margin-bottom: 2rem;

    span {
      color: var(--primary);
    }
    @media (max-width: 630px) {
      font-weight: 700;
      font-size: 20px;
      line-height: 100%;
      text-align: center;
    }
  }


  .hiw_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;

    .hiw_left {
      flex: 1 1 400px;

      display: flex;
      justify-content: center;
      align-items: center;

    }

    .hiw_left img {
      width: 100%;
      max-width: 500px;
      height: auto;
      border-radius: 20px;
      object-fit: contain;
    }

    .hiw_right {
      flex: 1 1 400px;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;

      .hiw_box {
        gap: 38px;
        border: solid 1px var(--primary);
        border-radius: var(--radius);
        padding: 2rem 1rem 2rem 2rem;
        position: relative;

        div {
          min-width: 175px;
          /*border: 1px solid red;*/
          position: relative;
          text-align: center;

          @media (max-width: 630px) {
            min-width: 110px;
          }

          h2 {
            text-align: center;
            color: var(--primary);
          }

          &:after {
            content: "";
            position: absolute;
            height: 70px;
            right: -10px;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            border-radius: var(--radius);
            background: linear-gradient(180deg, #C5D92D 0%, rgba(104, 115, 24, 0.85) 100%);
          }
        }

        &:before {
         content: '';
          width: 50px;
          height: 50px;
          border-radius: 50%;
          background: var(--primary);
          position: absolute;
          top: 50%;
          left: -4%;
          transform: translateY(-50%);
          display: flex;
          justify-content: center;
          align-items: center;

          font-weight: 700;
          font-size: 20px;
          line-height: 32px;
          color: var(--bg);
        }

        &:nth-child(1):before {
          content: "01";
        }
        &:nth-child(2):before {
          content: "02";
        }
        &:nth-child(3):before {
          content: "03";
        }
        &:nth-child(4):before {
          content: "04";
        }
        &:nth-child(5):before {
          content: "05";
        }
        &:last-child:before {
          content: "06";
        }

        @media (max-width: 1222px) {
          &:before {
           display: none;
          }
        }

        @media (max-width: 630px) {
          width: 100%;
          padding: 20px 5px;
        }

      }
    }
    @media (max-width: 1190px) {
      .hiw_box:after {
        left: 28% !important;
      }
    }
    @media (max-width: 887px) {
      .hiw_right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
      }
    }
    @media (max-width: 852px) {
      .hiw_right {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
      }

      .hiw_box {
        width: max-content;
        box-sizing: border-box;
      }
      .hiw_box:after {
        left: 26% !important;
      }
    }
    @media (max-width: 558px) {
      .hiw_box {
        gap: 10px !important;
        h2 {
          font-weight: 700;
          font-size: 14px;
          line-height: 32px;
          text-align: right;
        }
        p {
          font-weight: 400;
          font-size: 12px;
          line-height: 18px;
          margin-left: 10px;
          text-align: center;
        }
      }
      .hiw_box:after {
        left: 22% !important;
      }
    }
  }
}
/*************************** HOW IT WORKS * end **/

/*************************** HOW IT WORKS * start **/
.opt {
  & > h2:first-of-type {
    text-align: center;
    margin-bottom: 2rem;

    span {
      color: var(--primary);
    }
    @media (max-width: 630px) {
      font-weight: 700;
      font-size: 20px;
      line-height: 100%;
      text-align: center;
    }
  }
  .opt_container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    .box {
      display: flex;
      gap: 30px;

      .hexagon-border-alt {
        --b: 2px;
        height: 276px;
        aspect-ratio: cos(30deg);
        clip-path: polygon(50% 0, -50% 50%, 50% 100%, 150% 50%, 50% 0,
        50% var(--b),
        calc(100% - var(--b) * sin(60deg)) calc(25% + var(--b) * cos(60deg)),
        calc(100% - var(--b) * sin(60deg)) calc(75% - var(--b) * cos(60deg)),
        50% calc(100% - var(--b)),
        calc(var(--b) * sin(60deg)) calc(75% - var(--b) * cos(60deg)),
        calc(var(--b) * sin(60deg)) calc(25% + var(--b) * cos(60deg)),
        50% var(--b));
        background: linear-gradient(180deg, #D2DE26 0%, #727815 100%);
        z-index: 10;
      }
      .box_container {
        position: relative;
      }
      .hex-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* центр по X и Y */
        text-align: center;
        padding: 10px;
        z-index: 99999;
        width: 80%;
        max-width: 240px;
        h2 {
          color: var(--primary);
          font-size: 18px;
        }
      }
    }

    .box:nth-child(2) {
      transform: translateY(-40px);
    }
    @media (max-width: 1090px) {
      .box_container:nth-child(4) {
        display: none;
      }
      .box:nth-child(2) {
        transform: translateY(20px)
      }
    }
  }
  @media (max-width: 851px) {

    .box:first-child, .box:nth-child(2) {
      flex-wrap: wrap;
      justify-content: center;
    }
    .box_container:nth-child(3) {
      transform: translateY(-70px)
    }

    .opt_container > .box:nth-child(2) {
      transform: translateY(-110px);
    }
  }
  @media (max-width: 844px) {
    .opt_container {
      /*margin-bottom: -150px;*/
    }
  }
  @media (max-width: 851px) {
    .box:first-of-type {
      .box_container:nth-child(3) {
        transform: translateY(0px);
      }
    }
    .box:nth-child(2) {
      transform: translateY(0px) !important;
      .box_container:nth-child(3) {
        transform: translateY(0px);
      }
    }
  }

  @media (max-width: 830px) {
    .opt_container {
      margin-bottom: -150px;
    }
    .box:first-of-type {
      .box_container:nth-child(3) {
        transform: translateY(-70px);
      }
    }

    .box:nth-child(2) {
      transform: translateY(-110px) !important;
      .box_container:nth-child(3) {
        transform: translateY(-70px);
      }
    }
  }
  @media (max-width: 558px) {

    .opt_container {
      margin-bottom: -150px;
    }

    .box .hexagon-border-alt {
      height: 190px !important;
      aspect-ratio: cos(30deg);
    }
    .box_container .hex-text {
      h2 {
        font-weight: 700;
        font-size: 20px;
        line-height: 22px;
        text-align: center;
      }
      p {
        font-weight: 400;
        font-size: 12px;
        line-height: 18px;
        text-align: center;
      }
    }
  }
  @media (max-width: 830px) {
    .opt_container {
      /*margin-bottom: -150px;*/
    }
    .box:first-of-type {
      /*border: 1px solid var(--primary);*/
      gap: 5px;
      .box_container:nth-child(3) {
        transform: translateY(-40px);
      }
    }

    .box:nth-child(2) {
      /*border: 1px solid red;*/
      gap: 5px;
      transform: translateY(-80px) !important;
      margin-bottom: 40px;

      .box_container:nth-child(3) {
        transform: translateY(-40px);
      }
    }
  }
  @media (max-width: 389px) {
    .opt_container {
      /*margin-bottom: -150px;*/
    }
    .box:first-of-type {
      /*border: 1px solid var(--primary);*/
      gap: 5px;
      .box_container:nth-child(3) {
        transform: translateY(0px);
      }
    }

    .box:nth-child(2) {
      /*border: 1px solid red;*/
      gap: 5px;
      transform: translateY(5px) !important;
      margin-bottom: 150px;

      .box_container:nth-child(3) {
        transform: translateY(0px);
      }
    }
  }
}
/*************************** HOW IT WORKS * end **/

/*************************** NAF LINE * start **/
.naff_line {
  margin: 20px 0 60px 0;
  width: 100%;
  max-width: 1440px;

  img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }
}
/*************************** NAF LINE * end **/

/*************************** WHY NAF * start **/
.why-naff {
  margin-bottom: 50px;
  & > h2:first-of-type {
    text-align: center;
    margin-bottom: 2rem;
    span {
      color: var(--primary);
    }
    @media (max-width: 630px) {
      margin-bottom: 1rem;
      font-weight: 700;
      font-size: 20px;
      line-height: 100%;
      /*letter-spacing: 0%;*/
      text-align: center;
    }
  }
  & > p:first-of-type {
    text-align: center;
    margin-bottom: 2rem;
    @media (max-width: 630px) {
      font-weight: 400;
      font-size: 12px;
      line-height: 100%;
      text-align: center;
    }
  }

  & > div {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;

    & > div:first-child {
      flex: 1 1 400px;
      display: flex;
      flex-direction: column;
      gap: 40px;
      /*border: solid 1px red;*/

      @media (max-width: 630px) {
       gap: 16px;
      }

      & > div {
        width: 100%;
        max-height: 66px;
        border: solid 1px var(--primary);
        border-radius: 48px 14px 14px 48px;
        padding-left: 6px;
        display: flex;
        align-items: center;
        /*border: solid 1px red;*/


        @media (max-width: 630px) {
          height: auto;
          padding: 6px;

          p {
            font-weight: 500;
            font-size: 10px;
            line-height: 10px;
          }
        }

        & > div {
          width: 54px;
          height: 54px;
          margin-right: 18px;
          border-radius: 50%;
          background-color: var(--primary);

          @media (max-width: 630px) {
            width: 24px;
            height: 24px;
            margin-right: 10px;

            img {
              width: 13px;
            }
          }
        }
      }
    }
    & > div:nth-child(2) {
      flex: 1 1 400px;
      /*border: solid 1px red;*/
      img {
        width: 100%;
        height: auto;
        object-fit: contain;
      }
    }
  }
}
/*************************** WHY NAF * end **/

/*************************** OUR MISSION * start **/
.our-mission {
  height: 270px;
  padding: 30px 20px;
  margin-bottom: 70px;
  border-radius: 30px;
  background: linear-gradient(90deg, rgba(210, 222, 38, 0.7) 0%, rgba(30, 34, 19, 0.7) 100%);
  /*border: solid 1px chocolate;*/

  div:first-child {
    /*border: solid 1px red;*/
    display: flex;
    justify-content: space-between;
    margin-bottom: 23px;

    div:first-child {
      h2 {
        font-weight: 700;
        font-size: 32px;
        line-height: 100%;
        text-transform: capitalize;

        span {
          color: var(--primary);
        }
      }
      @media (max-width: 630px) {
        h2 {
          font-weight: 700;
          font-size: 20px;
        }
      }
    }
    @media (max-width: 450px) {
      img {
        width: 54px;
      }
    }
  }
  div:nth-child(2) {
    h6 {
      font-weight: 400;
      font-size: 26px;
      line-height: 32px;
      text-align: justify;
      text-transform: capitalize;
      color: rgba(255, 255, 255, 1);
      /*letter-spacing: 5px;*/
    }
    @media (max-width: 816px) {
      h6 {
        font-size: 22px;
      }
    }
    @media (max-width: 630px) {
      h6 {
        font-size: 12px;
        font-weight: 400;
        line-height: 15px;
      }
    }
  }
  @media (max-width: 450px) {
    height: 200px;
  }
}
/*************************** OUR MISSION * end **/

/*************************** CONTACT US * start **/
.contact-us {
  display: flex;
  justify-content: space-between;
  /*align-items: flex-start;*/
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;

  > div:first-child {
    flex: 1 1 400px;
    /*border: 3px solid var(--primary);*/

    @media (max-width: 630px) {
      flex: 1 1 auto;
    }
    > div:first-child {

      > h2:first-of-type {
        margin-bottom: 30px;

        span {
          color: var(--primary);
        }

        @media (max-width: 630px) {
          font-weight: 700;
          font-size: 20px;
        }
      }

      > div {
        /*border: 3px solid var(--primary);*/
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly; /* теперь сработает */
        gap: 20px;

        @media (max-width: 630px) {
          height: 250px;
        }

        > div {
          display: flex;
          align-items: center;
          gap: 15px;

          > div:first-child {
            img {
              width: 50px;
              height: auto;
              display: block;
              @media (max-width: 630px) {
                width: 40px;
              }
            }
          }

          > div:nth-child(2) {
            p {
              margin: 0;
              font-weight: 400;
              font-size: 16px;
              line-height: 1.2;
              text-align: left;
              text-transform: capitalize;
            }
          }
        }
      }
    }
  }

  > form {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--primary);
    background-color: var(--bg);
    gap: 15px;

    @media (max-width: 630px) {
      padding: 20px;
    }

    h2 {
      text-align: center;
      font-size: 20px;
      line-height: 1.4;
      span {
        color: var(--primary);
      }

      @media (max-width: 630px) {
        font-weight: 700;
        font-size: 20px;
        line-height: 100%;
        letter-spacing: 0.5px;
        text-align: center;

      }
    }

    label {
      &:first-child {
        margin-bottom: 10px;
      }
      display: flex;
      flex-direction: column;
      font-size: 14px;
      color: #fff;
      position: relative;

      div {
        margin-bottom: 5px;
        font-weight: 500;
        sup {
          color: red;
        }
      }

      input {
        width: 100%;
        padding: 12px 35px;
        border-radius: 12px;
        border: 1px solid #444;
        background-color: transparent;
        color: #fff;

        &::placeholder {
          color: #888;
        }
      }
      input:focus {
        outline: none;
      }
      img {
        position: absolute;
        top: 30px;
        left: 8px;
      }
    }

    .btn {
      margin-top: 10px;

      @media (max-width: 630px) {
        font-weight: 700;
        font-size: 16px;
        line-height: 100%;
        text-align: center;
      }
    }
  }

  @media (max-width: 851px) {
    flex-direction: column;
    gap: 30px;

    > div {
      flex: 1 1 100%;
    }
  }
}
/*************************** CONTACT US * end **/

/*************************** FAQ * start **/
#faq {
  margin-top: 70px;
  h2 {
    text-align: center;

    @media (max-width: 630px) {
      font-weight: 700;
      font-size: 20px;
      line-height: 100%;
    }
  }
}
.faq {
  /*max-width: 700px;*/
  margin: 20px auto;
  font-family: sans-serif;
  border: solid 1px var(--primary);
  border-radius: var(--radius);

}
.accordion-item {
  border: 1px solid var(--primary);
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;

  @media (max-width: 630px) {
    button {
      font-weight: 700;
      font-size: 12px;
      line-height: 100%;

      img {
        width: 16px;
      }
    }
  }
}
.accordion-item:last-child {
  margin-bottom: 0;
}
.accordion-header {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--white);
  padding: 14px 18px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-header .arrow {
  transition: transform 0.3s ease;

}
.accordion-item.active .arrow {
  transform: rotate(180deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  color: #ddd;
  padding: 0 18px;
  /*transition: all 0.5s;*/
  transition: all .5s ease;
  opacity: 0;

  p {
    color: var(--muted);
    @media (max-width: 630px) {
      font-weight: 400;
      font-size: 12px;
      line-height: 100%;
      text-transform: capitalize;
    }
  }
}
.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 14px 18px;
  opacity: 1;
}
/*************************** FAQ * end **/

/*************************** FOOTER * start **/
footer {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 90px;

  @media (max-width: 480px) {
    padding: 60px 1rem 20px 1rem;
  }

  background-color: #16190F;

  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;

  & > div:first-child {
    flex: 1 1 300px;
    /*border: solid 1px red;*/
     p {
       margin-top: 20px;
       font-weight: 400;
       font-size: 12px;
       line-height: 17px;
       text-align: justify;

       color: var(--muted);

       span {
         font-weight: 400;
         font-size: 16px;
         line-height: 100%;
         text-align: justify;
         color: var(--primary);
       }
     }
    @media (max-width: 630px) {
      flex: 1 1 auto;
    }
  }
  & > div:nth-child(2) {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    @media (max-width: 630px) {
      margin-top: 20px;
    }

    & > div:first-child {
      flex: 1;
      text-align: center;

      @media (max-width: 630px) {
        text-align: start;
      }

      h2 {
        color: var(--primary);

        @media (max-width: 630px) {
          font-weight: 700;
          font-size: 20px;
          line-height: 100%;
        }
      }
      /*border: solid 1px red;*/

      ul {
        display: flex;
        flex-direction: column;
        padding: 0;
        li {
          margin-bottom: 10px;
          color: var(--muted);

          @media (max-width: 630px) {
            font-weight: 400;
            font-size: 12px;
            line-height: 100%;
            text-transform: capitalize;
          }
        }
      }
    }
    & > div:last-child {
      flex: 1;
      h2 {
        color: var(--primary);
        @media (max-width: 630px) {
          font-weight: 700;
          font-size: 18px;
          line-height: 100%;
        }
      }
      ul {
        display: flex;
        flex-direction: column;
        padding: 0;
        li {
          margin-bottom: 10px;
          display: flex;
          align-items: center;
          gap: 10px;
          color: var(--muted);

          @media (max-width: 630px) {
            font-weight: 400;
            font-size: 12px;
            line-height: 100%;
            text-transform: capitalize;
          }

        }
      }
    }
  }

}
/*************************** FOOTER * end **/
