/* ===== BASE ===== */
body {
  min-height: 100vh;
  margin: 0;
  background: #F5F7FA;
}

span, p, a, h3 {
  font-family: 'Mooli', sans-serif;
  margin: 0;
  padding: 0;
}

/* ===== HEADER / BURGER ===== */
.burger {
  background-color: #0081C9;
}

/* ===== HERO / MAIN ===== */
.main {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background: linear-gradient(
    180deg,
    #0A4DA6 0%,
    #0A6DB5 100%
  );
  border-radius: 30px 30px 0 0;
  margin: 10px 70px;
  padding: 60px;
}

.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

h3 {
  padding: 0;
}

.img {
  width: 20vw;
  padding: 20px;
  border-radius: 24px;
}

.par {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  width: 50vw;
  color: #ffffff;
}

/* ===== BUTTON ===== */
.button {
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  background-color: #101828;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
display: inline-block;
position: relative;
  z-index: 10;
  width: 20%;
}

.button:hover {
  background-color: #ffffff;
  color: #101828;
}
.contactBox {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.contactBox a {
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

.contactBox a:hover {
  text-decoration: underline;
}

/* когда открыто */
.contactBox.active {
  display: flex;
}
/* ===== ABOUT / CARDS SECTION ===== */
#about {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  background-color: #F5F7FA;
  margin: 0 70px;
  padding: 80px 30px;
}

/* ===== CARD ===== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20vw;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(16,24,40,0.12);
  margin-bottom: 40px;
  overflow: hidden;
}
.card.featured {
  border: 2px solid #2FB344;
  box-shadow: 0 18px 45px rgba(47,179,68,0.25);
}
.badgeLocation {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(47,179,68,0.9);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 300;
}
/* subtle background pattern */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(back.png);
  background-size: 180px;
  opacity: 0.04;
  pointer-events: none;
}

.cardImg {
  height: 400px;
  padding: 16px;
  z-index: 1;
}

.card:hover img {
  filter: brightness(0.9);
  transition: filter 0.2s ease;
}

/* ===== SPECS BLOCK ===== */
.brand {
  z-index: 1;
  width: 90%;
  margin: 16px 0 20px;
  padding: 16px;
  background: #EAF2FB;
  border-radius: 12px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* label / value rows */
.brand p {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.brand p span {
  text-align: right;
  color: #101828;
}

.brand p:first-child span {
  font-weight: 600;
}

/* ===== PRICE ===== */
.price {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #0081C9;
  text-align: right;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .main {
    margin: 12px 20px;
    padding: 40px;
  }

  .button {
    width: 45%;
  }
  .card {
    width: 30vw;
  }
}

@media (max-width: 1000px) {
  .main {
    flex-wrap: wrap-reverse;
  }

  .par {
    width: 100%;
    font-size: 16px;
  }

  .button {
    width: 65%;
  }
  .img {
    width: 60vw;
  }

  .card {
    width: 80vw;
  }
}
