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

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Mon, Helvetica, sans-serif;
  color: #f5f5f5;
  background-color: #0b0b0b;
  position: relative;
  overflow-x: hidden;
}

/* Background texture layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("img/noise.png");
  background-repeat: repeat; 
  background-size: 1024 1024;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle, black 45%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle, black 45%, transparent 75%);
}

/* Glow layer */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, #dcc15d15, transparent 30%),
    radial-gradient(circle at 80% 35%, #dcc15d15, transparent 25%),
    radial-gradient(circle at 50% 80%, #dcc15d15, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

/* Main page wrapper */
.page {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo */
.logo {
  display: block;
  width: min(420px, 85vw);
  height: auto;
  margin-bottom: 2rem;
}

/* Hero text */
.hero-text {
  text-align: center;
  max-width: 700px;
  margin-bottom: 3rem;
  color: #dcc15d;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 800;
}

p {
  margin: 0;
  color: #d0d0d0;
  line-height: 1.6;
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 40ch;
  margin: 0 auto 1.5rem;
}

/* Contact button */
.contact-button {
   position: relative;
  z-index: 2;
  cursor: pointer;
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #DCC15D;
}

.contact-button:hover {
  transform: translateY(-2px);
  /* background: rgba(255, 255, 255, 0.08); */
  box-shadow:
    0 0 18px rgba(255, 214, 10, 0.18),
    0 0 35px rgba(255, 214, 10, 0.08);
}

/* Services section */
.services {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Cards */
.card {
  padding: 1.5rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 214, 10, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 36px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(255, 214, 10, 0.06);
    
}

.card-icon {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
}

.card h2 {
  color: #DCC15D;
  text-align: center;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #c8c8c8;
}

.card li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem 2rem;
}

.site-footer p {
  font-size: 0.85rem;
  color: #8d8d8d;
}

/* Tablet */
@media (max-width: 900px) {
  .services {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .card {
    width: 100%;
    max-width: 350px;
    text-align: left;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .page {
    width: min(100%, 350px);
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .logo {
    width: min(320px, 82vw);
    margin-bottom: 1.5rem;
  }

  h1 {
    letter-spacing: 0.05em;
  }

  .hero-text {
    margin-bottom: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .card {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
  }
}