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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #1f1f1f;
  background: #f6f7fb;
  line-height: 1.6;
}

/* ================= HEADER (glass) ================= */

header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  position: relative;
  transition: 0.2s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #2c7;
  transition: 0.3s;
}

nav a:hover {
  color: #2c7;
}

nav a:hover::after {
  width: 100%;
}

.contact-btn {
  padding: 8px 14px;
  background: #2c7;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 199, 119, 0.25);
}

/* ================= HERO ================= */

.hero {
  min-height: 85vh;
  background: url("images/hero.png") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.2)
  );
}

.overlay {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
}

.hero-text {
  max-width: 600px;
  color: white;
}

.hero-text h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 800;
}

.hero-text p {
  margin-top: 18px;
  font-size: 16px;
  opacity: 0.9;
  max-width: 420px;
}

.button {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 12px;
  background: white;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

/* ================= ADVANTAGES ================= */

.advantages {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: white;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.icon {
  font-size: 34px;
  margin-bottom: 10px;
}

/* ================= ABOUT ================= */

.about {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
}

.about h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.about p {
  text-align: left;
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

/* ================= FOOTER ================= */

footer {
  text-align: center;
  padding: 30px;
  color: #777;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  margin-top: 60px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .advantages {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
  }

  .hero-text p {
    font-size: 14px;
  }
}