:root {
  --main-color: #EBA81F;
  --secondary-color: #3A3A3A;
  --tertiary-color: #22272B;
  --contrast-color: #1B2022;
  --border-radius: 30px;
  --font-size: 16px;
  --transition: 0.4s ease-in-out;
}
body {
  font-family: 'Rubik', 'Tahoma', sans-serif;
  font-size: var(--font-size);
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
p {
  line-height: 1.6;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: xx-large;
  text-align: center;
}
h3 {
  font-size: x-large;
}
big {
  font-weight: 500;
}
.container {
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
header {
  background-color: var(--tertiary-color);
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
}
.header .logo {
  height: auto;
}
.header-menus {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}
.main-nav a, .header-menus a {
  color: var(--main-color);
  text-decoration: none;
}
header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}
header nav ul li {
  display: inline;
}
.header-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.menu-toggle {
  display: none;
}
.btn {
  font-weight: 500;
  font-size: var(--font-size);
  border-radius: var(--border-radius);
  padding: 0.6rem 1.4rem;
  text-align: center;
  text-decoration: none;
  border-style: solid;
  border-width: 2px;
}
.btn-style-1 {
  background-color: transparent;
  border-color: white;
  color: white;
}
.btn-style-1:hover {
  background-color: #FFFFFF33;
}
.btn-style-2 {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: var(--contrast-color);
}
.btn-style-2:hover {
  background-color: #cc7a36;
  border-color: #cc7a36;
}
.btn-style-2.ico_right-arrow {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
}
.btn-style-2.ico_right-arrow img {
  max-height: 20px;
  height: auto;
}
section {
  position: relative;
  padding: 5rem 1rem;
}
#hero {
  background-image: url('images/50-fpv-droniv.webp');
  background-color: #080808;
  background-position: center left;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  text-align: center;
  margin-top: 8rem;
}
#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #080808;
  opacity: 0.76;
}
#hero .container {
  position: relative;
  text-align: center;
}
.container-buttons {
  padding: 2rem;
}
.container-buttons a {
  margin: 20px;
}
#hero h1 {
  margin-bottom: 1rem;
  color: var(--main-color);
}
#preliminary {
  background-color: var(--main-color);
}
#faq h2 {
  color: white;
}
#preliminary h2 {
  color: white;
}
.flex {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.flex .card {
  border-radius: var(--border-radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}
.flex .card.visible {
  opacity: 1;
  transform: translateY(0);
}
.flex .card img {
  max-width: 100%;
  height: auto;
}
.container.flex {
  padding: 0.5rem;
}
#faq {
  background-color: var(--tertiary-color);
}
#faq .faq-item {
  margin-bottom: 1rem;
}
#faq .faq-item h3 {
  margin-bottom: 0.5rem;
}
.faq__footer {
  color: white;
  opacity: .7;
  margin: 1.5rem 0 0;
}
footer a, footer {
  background-color: var(--secondary-color);
  color: white;
}
footer .container {
  text-align: center;
  padding: 1rem;
}
footer > div:last-of-type {
  background-color: var(--tertiary-color);
  text-align: center;
  padding: 1rem;
}
.footer-icon svg {
  fill: white;
  width: 30px;
  margin: 0 5px;
}
a.footer-icon {
  text-decoration: none
}
/*accordion*/
.accordion__wrapper {
  border-bottom: 5px solid var(--secondary-color);
  width: 100%;
  max-width: 60rem;
  margin: auto;
}
.accordion {
  border: 5px solid var(--secondary-color);
  border-bottom: none;
  padding: 1rem;
}
.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  position: relative;
}
.accordion__header.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  background-color: var(--main-color);
  transition: width var(--transition);
  width: 100%;
}
.accordion__header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background-color: var(--secondary-color);
  transition: width var(--transition);
}
.accordion__header.active::after {
  width: 100%;
}
.accordion__icon {
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--main-color);
  font-size: x-large;
}
.accordion__question {
  color: var(--main-color);
  font-size: large;
}
.accordion__answer {
  padding: 1rem 0;
  color: white;
}
.accordion__answer a {
  color: var(--main-color);
}
.accordion__content {
  overflow: hidden;
  height: 0;
  transition: var(--transition);
}
/* добавляем стиль для скрытого текста для программ чтения с экрана */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/* Mobile Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 24px;
  }
  h3 {
    font-size: large;
  }
  #hero h3 {
    font-size: 30px;
    font-weight: normal;
  }
  .header-buttons {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
  }
  .header-menus {
    order: 2;
    width: 40%;
    justify-content: center;
    align-items: center;
    margin: auto;
  }
  .main-nav {
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
    display: block;
    width: 100%;
    position: absolute;
    top: 200px;
    background-color: white;
    left: 0;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
    text-align: center;
    font-size: x-large;
    gap: 2rem;
  }
  .main-nav ul li {
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 10px;
  }
  .main-nav.active {
    transform: scaleY(1);
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
    height: 2rem;
  }
  .menu-toggle .menu-icon {
    font-size: 2rem;
    color: white;
  }
  .flex {
    flex-direction: column;
  }
  .container-buttons {
    display: flex;
    flex-direction: column;
    padding: 0rem;
  }
  .header-container {
    flex-direction: row;
  }
  .btn {
    font-size: large;
    padding: 0.5rem 0.1rem;
  }
  .container-buttons .btn {
    font-size: x-large;
    font-weight: bold;
    margin: 5px;
  }
  section {
    padding: 2rem 1rem;
  }
  .logo {
    max-height: 65px;
    width: auto;
  }
  #hero {
    margin-top: 5rem;
  }
}