* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */
a,
a:link,
a:visited {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/* Form */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
}

input::-ms-clear {
  display: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type='number'] {
  -moz-appearance: textfield;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
/* no-scroll */
.no-scroll {
  position: fixed;
  overflow-y: hidden;
  width: 100vw;
}

html,
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex-grow: 1;
  margin-top: 68px;
}

footer {
  flex-shrink: 0;
}

body {
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  background-color: rgb(51, 51, 51);
  color: #fff;
}

.container {
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: clamp(20px, 5vw, 34px);
  margin-bottom: 30px;
}

h3 {
  font-size: clamp(18px, 5vw, 26px);
  margin-top: 20px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 10px;
}

.p-80 {
  padding: 40px 0;
}
@media (max-width: 768px) {
  .p-80 {
    padding: 30px 0;
  }
}
@media (max-width: 560px) {
  .p-80 {
    padding: 20px 0;
  }
}

.btn {
  display: inline-block;
  margin-top: 30px;
  font-size: 18px;
  font-weight: 600;
  padding: 20px 30px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  border: 1px solid #fff;
}
@media (hover: hover) {
  .btn:hover {
    border-color: rgb(149, 145, 137);
    color: rgb(255, 255, 255);
    background-color: rgba(122, 122, 122, 0.952);
  }
}

li {
  margin: 15px 0;
}

ul {
  margin-bottom: 30px;
}

ol {
  margin-left: 15px;
}

.link {
  transition: all 0.3s ease-in-out;
}
@media (hover: hover) {
  .link:hover {
    color: #B57D34;
  }
}

.img__wrapp {
  width: 50%;
  text-align: center;
  @media (max-width: 850px) {
    width: 100%;
  }
}

.wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  @media (max-width: 850px) {
    flex-direction: column;
  }
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.text__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  @media (max-width: 850px) {
    width: 100%;
  }
}

.contact h3 {
  margin-top: 40px;
}

.contact__item p {
  margin: 15px 0;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lato-regular.woff") format("woff"),
    url("fonts/lato-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/lato-bold.woff") format("woff"),
    url("fonts/lato-bold.woff2") format("woff2");
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 5px;
  color: #FADB3A;
  background: #1E1E1E;
  z-index: 20;
}
.header__logo {
  font-size: clamp(24px, 4vw, 32px);
  margin: 0;
  max-width: 140px;
}
@media (max-width: 768px) {
  .header {
    padding: 10px 0;
  }
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 560px) {
  .header__phone {
    display: none;
  }
}

.burger__btn {
  display: none;
}
@media (max-width: 930px) {
  .burger__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }
}

/* burger__btn */
.burger__btn span {
  position: relative;
  width: 30px;
  height: 2px;
  background-color: #fff;

}
.burger__btn span::before {
  content: "";
  position: absolute;
  display: block;
  width: 30px;
  height: 2px;
  top: -3px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.burger__btn span::before {
  top: -5px;
}

.burger__btn span::after {
  content: "";
  position: absolute;
  display: block;
  width: 30px;
  height: 2px;
  bottom: -3px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

  .burger__btn span::after {
    bottom: -5px;
  }

.burger__btn-active span::before {
  transform: rotate(45deg);
  top: -1px;
}

.burger__btn-active span::after {
  transform: rotate(-45deg);
  bottom: -1px;
}

.burger__btn-active span {
  height: 0;
}

@media (max-width: 930px) {
  .nav {
    position: absolute;
    background: #6b6b6b;
    padding: 40px;
    width: 100%;
    left: 0;
    top: 69px;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    z-index: 5;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
  }
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-bottom: 0;
}
.nav__item .btn {
  margin-top: 0;
  padding: 10px 20px;
  animation: btn 2s ease-in-out infinite;
}

.nav__item .btn:hover {
  animation: none;
}

@keyframes btn {
  0% {
    transform: scale(1);
    background-color: transparent;
  }
  50% {
    transform: scale(1.03);
    background-color: rgba(255, 230, 230, 0.377);
  }
  100% {
    transform: scale(1);
    background-color: transparent;
  }
}

@media (max-width: 930px) {
  .nav__list {
    flex-direction: column;
    gap: 5px;
  }
}

/* nav__active */
.nav__active {
  display: flex;
  justify-content: center;
  visibility: visible;
  opacity: 1;
  transform: translateY(0%);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 80px;
}

.form__fieldset {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  gap: 30px;
  margin: 0 auto;
}
.form__fieldset:last-child {
  display: block;
}
@media (max-width: 768px) {
  .form__fieldset {
    flex-wrap: wrap;
  }
}
.form__input {
  border: 1px solid #665f55;
  border-radius: 5px;
  width: 100%;
  padding: 10px 20px;
}
@media (max-width: 768px) {
  .form__input {
    max-width: 100%;
  }
}
.form__label {
  display: block;
  margin-bottom: 10px;
}

.form__textarea {
  width: 100%;
  border: 1px solid #665f55;
  border-radius: 5px;
  padding: 10px 20px;
  resize: none;
}
.form__btn {
  width: 280px;
  padding: 15px 35px;
  border-radius: 5px;
  font-weight: 600;
  color: #ffffff;
  border: solid 1px #f0f0f0;
  transition: all 0.3s ease-in-out;
}
@media (hover: hover) {
  .form__btn:hover {
    background-color: #e5e5e5;
    color: #202020;
    border-color: #403f3d;
  }
}
.form__fieldset-send {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .form__fieldset-send {
    flex-wrap: wrap;
  }
}

.footer {
  color: #FADB3A;
  background: #1E1E1E;
  padding: 40px 0;

}
.footer__container {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}
@media (max-width: 560px) {
  .footer__container {
    flex-direction: column;
    gap: 10px;
    align-items: start;
  }
}
.footer span {
  display: block;
  text-align: center;
  margin-top: 15px;
}
.footer ul {
  margin-bottom: 0;
}

.footer__item {
  max-width: 300px;
}


.thanks {
  position: relative;
}

.thanks h1 {
  margin-bottom: 20px;
}

.thanks p {
  margin-bottom: 15px;
}

.thanks a {
  color: #c0c0c0;
}

.thanks__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 670px;
  margin: auto;
  transform: translateY(50%);
}

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) ,url("img/hero.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 200px 0 100px;
  color: #fff;
}

.hero h2 {
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 600;
  max-width: 670px;
}

.hero p {
  font-size: clamp(16px, 2vw, 24px);
}

.hero__wrapper {
  max-width: 600px;
}

.card__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  @media (max-width: 720px) {
    grid-template-columns: repeat(1, 1fr);
  }
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: 1px solid #fddcae;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 5px 5px 5px #babecc;
  background-color: #FCFCFC;
  color: #000;
}

.card span {
  display: block;
  margin-top: auto;
  font-size: 18px;
  font-weight: 600;
}

.card img {
  border-radius: 0;
}

.bg {
  background: #0C0E12;
  color: #fff;
}

.promo {
  font-size: 20px;
}

.item__wrapp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  @media (max-width: 720px) {
    grid-template-columns: repeat(1, 1fr);
  }
}

.item {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fddcae;
}

.item__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.item__text span {
  font-size: 20px;
  font-weight: 600;
}

.reviews {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/reviews.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.offer {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/offer.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.offer .card, 
.reviews .card {
  background-color: #ffffff8e;
}

.li-style li {
  position: relative;
  margin-left: 15px;
}

.li-style li::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 5px;
  border-radius: 50%;
  background-color: goldenrod;
  left: -20px;
  transform: translate(5px);
}

.img__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
