:root {
  --bg: #f8f5ec;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #243222;
  --muted: #5c6d59;
  --line: rgba(36, 50, 34, 0.08);
  --accent: #6fa36c;
  --accent-strong: #4f7d4e;
  --shadow: 0 24px 60px rgba(78, 93, 69, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(177, 219, 159, 0.45), transparent 32%),
    radial-gradient(circle at top right, rgba(250, 224, 177, 0.4), transparent 28%),
    linear-gradient(180deg, #fbf8ef 0%, #f6f1e5 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.hero,
.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 24px 0 56px;
}

.hero__glow {
  position: absolute;
  inset: auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.65;
  z-index: 0;
}

.hero__glow--left {
  top: 84px;
  left: -40px;
  background: rgba(187, 220, 165, 0.7);
}

.hero__glow--right {
  top: 140px;
  right: 12px;
  background: rgba(248, 217, 170, 0.75);
}

.nav,
.hero__content,
.card,
.about,
.socials a,
.socials-panel {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.nav__logo {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav__link {
  color: var(--muted);
}

.hero__content {
  max-width: 700px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero__eyebrow,
.section__label {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.05;
}

.hero__text,
.card p,
.about p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.hero__actions,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

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

.button--primary {
  background: var(--accent);
  color: white;
}

.button--primary:hover {
  background: var(--accent-strong);
}

.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.section {
  padding: 22px 0 0;
}

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

.card,
.about,
.socials a,
.footer {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.card {
  padding: 28px;
}

.card__number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-weight: 800;
}

.section--about,
.section--socials {
  padding-top: 18px;
}

.about {
  padding: 36px;
}

.socials-panel {
  padding: 32px;
  border: 1px solid rgba(111, 163, 108, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(187, 220, 165, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(253, 251, 245, 0.98), rgba(241, 248, 234, 0.98));
  box-shadow: 0 28px 70px rgba(78, 93, 69, 0.14);
}

.socials__title {
  max-width: 560px;
  margin-bottom: 18px;
}

.socials {
  gap: 16px;
}

.socials a {
  flex: 1 1 160px;
  padding: 22px 20px;
  text-align: center;
  font-weight: 700;
  border-color: rgba(111, 163, 108, 0.2);
  background: rgba(255, 255, 255, 0.94);
}

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

@media (max-width: 640px) {
  .hero {
    padding-top: 18px;
  }

  .nav {
    margin-bottom: 36px;
  }

  .hero__content,
  .card,
  .about,
  .socials-panel {
    padding: 24px;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem);
  }
}
