/* ШРИФТЫ */
@font-face {
  font-family: "Foglihten";
  src: url("assets/fonts/Foglihten.otf") format("opentype");
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope.ttf") format("truetype");
}

/* БАЗА */
body {
  font-family: "Manrope", sans-serif;
  color: #111;
}

h1, h2 {
  font-family: "Foglihten", serif;
  color: #1a1a1a;
}

/* HERO */
.vn-hero {
  position: relative;
  background-image: url('assets/images/hero/hero2.png');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 40px;
}

/* .vn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
} */

.vn-hero-content {
  position: relative;
  width: 50%;
  background: rgba(0, 0, 0, 0.65);
  padding: 30px;
  border-radius: 12px;
  color: #fff;
}

.vn-hero h1 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #FAAB61;
}

.vn-hero p {
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 15px;
}

/* КНОПКА */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  background-color: #FAAB61;
  color: #1a1a1a;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 10px;
}

.btn:hover {
  opacity: 0.8;
  cursor: url("assets/images/icons/ok.png") 16 16, pointer;
}


/* БЛОКИ */
.vn-block {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  justify-content: space-evenly;
}

.vn-block h2 {
    margin-bottom: 20px;
}

.vn-block p {
    margin-bottom: 15px;
}

.vn-text {
  max-width: 500px;
}

.vn-image {
  display: flex;
  justify-content: center;
}

.vn-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

.vn-block a {
    width: 235px;
}

/* ФУТЕР */
.vn-footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  background-color: #3b3b3b;
}

/* АДАПТИВ */
@media (max-width: 1024px) {

  /* HERO */
  .vn-hero {
    padding: 60px 30px;
    min-height: 450px;
  }

  .vn-hero-content {
    width: 60%;
    padding: 25px;
  }

  .vn-hero h1 {
    font-size: 22px;
  }

  .vn-hero p {
    font-size: 14px;
  }

  /* БЛОКИ */
  .vn-block {
    padding: 50px 30px;
    gap: 30px;
  }

  .vn-text {
    max-width: 420px;
  }

  .vn-image img {
    max-width: 280px;
  }
}

@media (max-width: 768px) {

  /* HERO */
  .vn-hero {
    justify-content: center;
    padding: 20px;
    min-height: auto;
  }

  .vn-hero-content {
    width: 100%;
    padding: 20px;
  }

  .vn-hero h1 {
    font-size: 20px;
  }

  .vn-hero p {
    font-size: 14px;
  }

  /* БЛОКИ */
  .vn-block {
    flex-direction: column;
    padding: 40px 20px;
    gap: 25px;
    text-align: center;
  }

  .vn-text {
    max-width: 100%;
  }

  .img-none {
    display: none;
  }

  .vn-image img {
    max-width: 260px;
  }

  .vn-block2 {
    padding-top: 0px;
  }

  /* КНОПКА */
  .btn {
    height: 38px;
    font-size: 14px;
  }

  .vn-block a{
    width: 240px;
  }
}

@media (max-width: 480px) {

  .vn-hero h1 {
    font-size: 18px;
  }

  .vn-hero p {
    font-size: 13px;
  }

  .vn-block h2 {
    font-size: 18px;
  }

  .vn-block p {
    font-size: 13px;
  }

  .vn-image img {
    max-width: 220px;
  }

  .btn {
    width: 100%;
    max-width: 220px;
  }
}