@import "./colors/neon.css";

:root {
  --main-border-radius: 4px;
  --mainBtn-border: none;
  font-family: Montserrat, serif;
}

@font-face {
  font-family: Montserrat;
  src: url(/fonts/Montserrat-Regular.ttf);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url(/fonts/Montserrat-Bold.ttf);
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

* {
  scroll-behavior: smooth;
  transition: all 0.5s;
  box-sizing: border-box;
}

html,
body {
  font-family: Montserrat;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: var(--bg-color);
  color: var(--card-color);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.12;
}

main {
  min-height: 95vh;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

nav ul {
  list-style: none;
  padding: 0;
}

h1 {
  font-size: 1.4em;
}

h2 {
  text-align: left;
  font-size: 36px;
  color: var(--title-color-hover);
}

h3 {
  font-size: 26px;
  color: var(--title-color-hover);
  margin-top: 20px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}

p {
  margin: 15px 0 0;
  line-height: 1.5;
  font-weight: 400;
  font-size: 16px;
  text-align: left;
}

p a {
  color: var(--mainBtn-background);
}

.imageWrapper {
  margin: 40px 0;
}

.imageWrapper img {
  max-width: 450px;
  aspect-ratio: 1/1;
  width: 100%;
  margin: 0 auto;
  display: block;
}

.header--left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.headerActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aboutBlock p a {
  font-weight: bold;
}

.aboutBlock p a:hover {
  opacity: 0.8;
}

.mainSection {
  padding-top: 70px !important;
}

.hero-list {
  display: flex;
  gap: 70px;
  justify-content: flex-start;
  text-align: center;
  list-style-type: none;
  padding: 0;
  width: 100%;
  margin: 60px auto 20px;
}

.hero-list__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 33%;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 3em 30px 3em 0;
  position: relative;
}

.hero-list__item::after {
  content: "→";
  position: absolute;
  width: 15px;
  height: 15px;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.hero-list__item:not(:first-child)::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  left: -20%;
  background: var(--card-color);
  top: 0;
}

.hero-list__title {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--card-background);
}

.mainImage {
  display: block;
  margin: 10px auto;
  width: min(100%, 950px);
  height: auto;
  max-height: 100%;
  border-radius: var(--main-border-radius);
  object-fit: contain;
}

.mainBlock,
.headerBlock,
.aboutBlock,
.footerBlock {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 20px;
}
.aboutBlock {
  border: 4px solid var(--main-color);
  padding: 50px;
  border-radius: 50px;
}
.mainBtn {
  margin: 0;
  padding: 15px 35px;
  border-radius: 12px;
  background: var(--bg-color);
  color: var(--title-color-hover);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s linear;
  font-size: 16px;

  align-content: center;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  height: 100%;
  text-align: center;
  word-break: break-word;
  box-shadow: 0 0 7px 3px var(--title-color-hover);
}

.mainBtn:hover {
  background: var(--main-color);
  color: var(--text-color);
}

.contentSection__actions .mainBtn:last-child {
  background: transparent;
  color: var(--white-color);
  border: 2px solid var(--mainBtn-background);
}

.contentSection__actions .mainBtn:last-child:hover {
  border-color: transparent;
  opacity: 1;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    background-color: var(--pulse-color-first);
    box-shadow: 0 0 6px rgba(var(--pulse-box-shadow), 0.7);
  }

  50% {
    transform: scale(1.02);
    background-color: var(--pulse-color-second);
    box-shadow: 0 0 12px rgba(var(--pulse-box-shadow), 0.9);
  }
}

.mainBlock__img a:hover img {
  transform: scale(1.05);
}

.link {
  color: #ab823f;
  text-decoration: none;
}

/* header */
.headerLogo {
  display: flex;
}

.headerLogo:last-child {
  display: flex;
  justify-content: center;
}

.headerLogo a {
  display: flex;
  align-items: center;
  gap: 7px;
}

.headerBlock nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

header {
  width: 100%;
  z-index: 2000;
  position: relative;
  background: var(--second-bg);
  border-bottom: 4px solid var(--bg-color);
}

.headerBlock {
  width: min(100%, 1420px);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 15px 20px;
}

.headerBlock ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
}

.headerBlock ul li a {
  font-size: 16px;
  position: relative;
  padding: 4px 2px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: 0.4s ease color;
  color: var(--text-color);
  line-height: 60px;
  text-transform: uppercase;
  transition: all 0.3s linear;
  border-bottom: 3px solid transparent;
}

.headerBlock ul li a.link,
.headerBlock ul li a.active,
.headerBlock ul li a:hover {
  border-color: var(--text-color);
}

.header-toggler {
  display: none;
  color: var(--title-color);
  font-size: 24px;
  height: 30px;
}

.header-menu-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.header-toggler::after {
  content: "\f0c9";
  font-family: "FontAwesome", sans-serif;
}

.header-toggler--open::after {
  content: "\f00d";
  font-family: "FontAwesome", sans-serif;
}

.header-menu-toggle:checked ~ .header--left .header-toggler::after {
  content: "\f00d";
  font-family: "FontAwesome", sans-serif;
}

header .mainBtn {
  padding: 7px 10px;
  font-size: 14px;
  border-radius: 8px;
}

.headerLogo img {
  width: 80px;
  object-position: left;
  object-fit: contain;
  border-radius: 4px;
}

.headerLogo a span {
  box-sizing: border-box;
  color: var(--text-color);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 24px;
}

.headerLogo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.headerLogo-div {
  display: flex;
  gap: 10px;
}

.dropdown {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.language {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language__flag {
  width: 20px;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  overflow: hidden;
}

.language__flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown .dropdown__arrow::after {
  content: "\f107";
  font-family: "FontAwesome", sans-serif;
  font-size: 25px;
}

.dropdownActive .dropdown__arrow {
  transform: rotate(180deg);
}

.dropdownList {
  display: none;
  position: absolute;
  top: 25px;
  right: 0;
  margin: 0;
  padding: 20px 25px;
  border-radius: 4px;
  background: #2e3d35;
  color: #ffffff;
  z-index: 9999;
  list-style-type: none;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.dropdownActive .dropdownList {
  display: block;
}

/* aboutSection */
.aboutSection {
  position: relative;
  padding: 40px 15px;
}

.list .aboutBlock,
.faq-block .aboutBlock {
  border: none;
  padding: 0;
  border-radius: 0;
}

.faq__title {
  border-top-left-radius: 44px;
  border-bottom-right-radius: 44px;
  color: var(--text-color);
  padding: 4px 0;

  background: var(--main-color);
  padding: 4px 20px;
  text-align: center;
  margin: 0 auto;
  font-size: 1.4em;
}
.faq-block h3 {
  font-size: 0.9em;
}
.contentSection__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.cardsList.list-basic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.cardsList h3 {
  text-align: center;
  background-color: var(--main-color);
  border-top-left-radius: 44px;
  border-bottom-right-radius: 44px;
  font-weight: normal;
  color: var(--text-color);
  padding: 4px 0;
  font-size: 1.2em;
}

.cardsList .list-large {
  text-align: center;
  gap: 30px;
}

.list-large h3 {
  width: fit-content;
  padding: 4px 20px;
  text-align: center;
  margin: 0 auto;
  font-size: 1.4em;
}

/* footer */
footer {
  position: relative;
  padding: 40px 30px;
  color: var(--text-color);
  overflow: hidden;
  background: var(--footer-bg);
  width: 100%;
  bottom: 0;
  left: 0;
}

footer h3 {
  color: var(--text-color);
  text-align: center;
  font-family: "Montserrat";
  font-size: 1em;
}

footer p {
  text-align: center;
}

.logo {
  display: block;
  text-decoration: none;
  color: inherit;
}

.logo_large .logo__img {
  width: 120px;
  object-fit: contain;
  border-radius: 4px;
}

.iconCards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
}

.iconCards__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: var(--icon-background);
  overflow: hidden;
  aspect-ratio: 90 / 48;
  height: 48px;
  padding: 5px 15px;
  transition: 0.4s ease background;
}

.iconCards__icon_circle {
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  padding: 12px;
}

.iconCards__icon:hover {
  background: var(--icon-background-hover);
}

.iconCards__icon svg {
  width: 100%;
  height: 100%;
  fill: #fff;
}

.footer__title {
  font-size: 20px;
  font-family: Montserrat;
  color: var(--text-color);
  text-transform: uppercase;
  text-align: center;
  margin: 1em auto;
}

.mainSection {
  width: 100%;
  text-align: center;
  padding: 40px 0 0;
  background: var(--second-bg);
  color: var(--text-color);
}

.hero-decor {
  display: flex;
  opacity: 0.7;
}
.hero-decor svg {
  fill: var(--main-color);
}
.mainBlock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.mainBlock .mainBlock__btns {
  margin-bottom: 20px;
}

.imageWrapper img {
  flex-shrink: 0;
  display: block;
  width: min(100%, 250px);
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 50%;
  overflow: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
  scale: 0.9;
  box-shadow:
    inset 0 0 10px #0009,
    0 5px 15px #00000080;
}
.mainBlock__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  backface-visibility: hidden;
}

.mainBlock__content {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.mainBlock__content .mainBtn {
  padding: 5px 10px;
  font-size: 14px;
}

.mainBlock__content .mainBtn:hover {
  background-color: #3c4b41;
  border-color: #3c4b41;
}

.mainBlock__desc p {
  text-align: center;
  margin-top: 60px;
}

.mainBlock__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px auto;
  align-items: center;
  justify-content: center;
}

.mainBlock__advantages {
  margin: 20px 0 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 15px;
}

.mainBlock__advantages li {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: min(100%, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.mainBlock__advantages-number {
  font-size: 24px;
  color: #8acc25;
  font-weight: 700;
}

@media (max-width: 900px) {
  .mainBlock__desc {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 850px) {
  .mainBlock--4 {
    grid-template-columns: 1fr;
  }

  .mainBlock--4 .mainBlock__img {
    margin: 0 auto;
  }
}

.cardsList {
  padding: 0;
  list-style-type: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.card {
  color: var(--card-color);

  text-align: left;
}

.card.card_large {
  width: clamp(240px, 33.33% - 20px, 450px);
}

.card p {
  font-weight: 400;
  margin: 0;
}

.card-img {
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  width: 100%;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s scale cubic-bezier(0.39, 0.575, 0.565, 1);
  cursor: pointer;
}

.card:hover .card-img img {
  scale: 1.05;
}

/* cardsList--1 */

.cardsList li h3 {
  font-size: 1.2em;
  font-weight: normal;
  margin-top: 0 !important;
}

.cardsList li p {
  margin-bottom: 15px;
}

.ordered-list {
  list-style-type: decimal;
}
/* media */
@media (max-width: 1084px) {
  main {
    margin-top: 114px;
  }
  .headerBlock ul li a {
    color: var(--title-color-hover);
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
  }

  .header--left::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 1002;
  }

  .headerMenu {
    position: fixed;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    width: min(82vw, 360px);
    height: 100%;
    background-color: var(--bg-color);
    transition: 0.3s ease-in-out;
    z-index: 1002;
    padding: 100px 30px 30px 30px;
    align-items: baseline;
  }

  .headerBlock {
    z-index: 2;
  }

  .header-menu--open {
    opacity: 1;
    transform: translateX(0);
  }

  .header-menu-toggle:checked ~ .header--left::before {
    opacity: 1;
    pointer-events: auto;
  }

  .header-menu-toggle:checked ~ .header--left .headerMenu {
    opacity: 1;
    transform: translateX(0);
  }

  header nav ul {
    flex-direction: column;
  }

  .header-toggler {
    display: flex;
    padding-right: 15px;
    z-index: 1003;
    align-items: center;
  }

  .header-menu-toggle:checked ~ .header--left .header-toggler {
    position: fixed;
    top: 28px;
    left: 30px;
    color: var(--title-color);
  }

  .headerBlock__logo::before {
    display: none;
  }

  .headerBlock__logo {
    justify-content: space-between;
  }

  .headerBlock ul {
    padding: 80px 20px;
    align-items: flex-end;
  }

  .headerBlock .headerMenu {
    padding: 100px 30px 30px;
    align-items: flex-start;
  }

  .header-menu--open + span {
    position: fixed;
  }
}

@media (max-width: 900px) {
  .mainBlock {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cardsList.list-basic {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mainBlock--style2 {
    flex-direction: column-reverse;
  }

  .mainBlock__btns,
  .mainBlock__content {
    justify-content: center;
  }

  .mainBlock__desc p {
    text-align: center;
  }

  .cardsList--1 .card {
    width: calc(50% - 20px);
  }
}
@media (max-width: 700px) {
  .logo-text {
    display: none;
  }
  .list-large h3 {
    font-weight: normal;
    font-size: 1.2em;
    padding: 4px 0;
  }
  .imageWrapper {
    margin: 0;
  }
  .aboutBlock {
    padding: 30px;
  }
  ul.hero-list {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .hero-list__item {
    padding: 1.5em 20px;
  }

  span.hero-list__text {
    width: 100%;
  }

  .hero-list__item::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    left: 0 !important;
    background: var(--card-color);
    top: 0;
  }
  .hero-list__title {
    text-align: center;
    margin: 0 auto;
  }
  .hero-list__item::after {
    display: none;
  }
  .hero-list__item {
    width: 80%;
  }
}
@media (max-width: 620px) {
  main {
    margin-top: 94px;
  }
  .headerLogo img {
    width: 60px;
  }

  h2 {
    font-size: 24px;
  }

  .logo-text {
    display: none;
  }
  .header--left {
    gap: 12px;
  }
  .headerActions {
    flex-direction: column;
  }
  a.mainBtn {
    width: 100%;
  }
}
