:root {
  --bg: #0b0b0b;
  --card: #151515;
  --muted: #8f8f8f;
  --text: #f2f2f2;
  --accent: #b4ff2f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.hero {
  position: relative;
  height: 860px;
  border-radius: 28px;
  background: url("bg-img.png") 55% 38% / cover no-repeat;
  overflow: hidden;
}

.hero__badge {
  position: absolute;
  top: 150px;
  right: 230px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--accent);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6d6d6d;
}

.hero__badge .dot {
  background: #6a6a6a;
}

.portfolio-btn {
  position: absolute;
  right: 130px;
  top: 420px;
  background: var(--accent);
  color: #1b1b1b;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(180, 255, 47, 0.2);
}

.portfolio-btn .chev {
  font-size: 18px;
  line-height: 1;
}

.projects {
  margin-top: 70px;
}

.section-title {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 28px;
}

.section-title .accent {
  color: var(--accent);
  display: block;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #1a1a1a;
  border-radius: 18px;
  padding: 20px 20px 24px;
  min-height: 320px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  margin-top: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #b7b7b7;
}

.footer a {
  color: #b7b7b7;
  text-decoration: none;
  margin-left: 24px;
}

.footer .say {
  color: #b7b7b7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer .say .dot {
  background: var(--accent);
}

@media (max-width: 1024px) {
  .hero {
    height: 620px;
  }
  .hero__badge {
    right: 140px;
    top: 110px;
  }
  .portfolio-btn {
    right: 80px;
    top: 320px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 24px 16px 40px;
  }
  .hero {
    background: url("bg-img-mob.png") center/cover no-repeat;
    height: 540px;
  }
  .hero__badge {
    right: 60px;
    top: 80px;
  }
  .portfolio-btn {
    right: 40px;
    top: 260px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .footer {
    flex-direction: column;
    gap: 16px;
  }
  .footer a {
    margin-left: 16px;
  }
}
