* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #e8edf2;
  background: linear-gradient(180deg, #0b0d10, #12151a);
}
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.section {
  padding: 72px 0;
}
h1,
h2 {
  line-height: 1.1;
  margin: 0 0 16px;
}
h2 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
}
.subtitle {
  color: #a7b0ba;
  margin: 8px 0 24px;
}
.muted {
  color: #a7b0ba;
}
.small {
  font-size: .9rem;
}
.accent {
  color: #5eead4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.2rem;
  border-radius: 12px;
  background: #5eead4;
  color: #062a25;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: .2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: #e8edf2;
  border: 1px solid #1e2430;
}
.btn--ghost:hover {
  border-color: #5eead4;
  color: #5eead4;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(11, 13, 16, .6);
  border-bottom: 1px solid #1e2430;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 14px 0;
}
.logo {
  font-weight: 800;
  text-decoration: none;
  color: #e8edf2;
  font-size: 1.1rem;
}
.logo span {
  color: #5eead4;
}
.nav__menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  color: #a7b0ba;
  text-decoration: none;
  padding: .4rem .6rem;
  border-radius: 8px;
}
.nav__menu a:hover,
.nav__menu a.is-active {
  color: #e8edf2;
  background: #12151a;
}
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid #1e2430;
  color: #e8edf2;
  border-radius: 10px;
  padding: .4rem .6rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
  padding: 56px 0;
}
.hero__img img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  image-rendering: auto;
}
.hero__cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin: 16px 0 12px;
}
.social {
  display: flex;
  gap: 12px;
}
.social a {
  color: #a7b0ba;
  text-decoration: none;
}
.social a:hover {
  color: #5eead4;
}

.highlights {
  display: grid;
  gap: .4rem;
  padding-left: 1.2rem;
}
.highlights li {
  color: #a7b0ba;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: .45rem .7rem;
  border: 1px solid #1e2430;
  border-radius: 999px;
  color: #e8edf2;
  background: #0f1319;
  font-size: .9rem;
}
.chip.is-active {
  outline: 2px solid #5eead4;
  outline-offset: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: #0f1319;
  border: 1px solid #1e2430;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.card__img {
  aspect-ratio: 16/9;
  background: #0c1117;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card__body {
  padding: 14px;
}
.card__title {
  margin: 0 0 6px;
  font-weight: 700;
}
.card__desc {
  margin: 0 0 10px;
  color: #a7b0ba;
}
.card__tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.card__badges {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.badge {
  font-size: .75rem;
  padding: .25rem .5rem;
  border: 1px dashed #1e2430;
  border-radius: 8px;
  color: #a7b0ba;
}
.card__actions {
  display: flex;
  gap: .6rem;
  margin-top: auto;
}
.card__actions a {
  flex: 1;
  text-align: center;
}

.filters {
  display: flex;
  gap: .5rem;
  margin-bottom: 16px;
}
.contact-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid #1e2430;
  padding: 22px 0;
  margin-top: 40px;
}
.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.to-top {
  text-decoration: none;
  color: #a7b0ba;
}
.to-top:hover {
  color: #5eead4;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .nav__toggle {
    display: inline-block;
  }
  .nav__menu {
    position: absolute;
    right: 4%;
    top: 64px;
    background: #12151a;
    border: 1px solid #1e2430;
    padding: 10px;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    width: min(240px, 92vw);
  }
  .nav__menu.open {
    display: flex;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
