:root {
  --bg: #f5f7fb;
  --bg-accent: radial-gradient(circle at 10% 10%, #dff6ff 0, transparent 35%),
    radial-gradient(circle at 90% 20%, #ffe9d6 0, transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  --text: #18202a;
  --muted: #4a5568;
  --primary: #0f766e;
  --primary-dark: #0b5f59;
  --surface: #ffffff;
  --border: #d9e1ec;
  --shadow: 0 10px 30px rgba(24, 32, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-accent);
}

h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.2;
}

.container {
  width: min(1040px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  background: rgba(248, 250, 252, 0.85);
  border-bottom: 1px solid rgba(217, 225, 236, 0.8);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 7rem 0 4rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #d5f5f3;
  color: #0b5f59;
  font-weight: 700;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 17ch;
  margin: 0.9rem 0;
}

.subtitle {
  max-width: 58ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
}

section {
  padding: 3.2rem 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card a {
  color: var(--primary-dark);
  font-weight: 700;
}

.contact a {
  color: var(--primary-dark);
  font-weight: 700;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero {
    padding-top: 5.5rem;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    font-weight: 700;
  }

  .menu {
    position: absolute;
    right: 4%;
    top: 68px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 180px;
    padding: 0.9rem;
    flex-direction: column;
    gap: 0.6rem;
    display: none;
  }

  .menu.open {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
    align-items: start;
  }
}
