:root {
  --bg: #f8f5ef;
  --bg-accent: #efe3ce;
  --text: #1e2220;
  --muted: #5d635e;
  --brand: #0f766e;
  --brand-strong: #0a5a54;
  --line: #d9cfbc;
  --card: #fffdf8;
  --shadow: 0 20px 45px rgba(24, 39, 35, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% -20%, #f7d9a7 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 10%, #b4e2d8 0%, transparent 55%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.section {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: min(1100px, 92vw);
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(217, 207, 188, 0.85);
  border-radius: 999px;
  backdrop-filter: blur(7px);
  background: rgba(255, 253, 248, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.menu a:hover {
  color: var(--text);
}

.cta {
  text-decoration: none;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  padding: 74px 0 60px;
}

.eyebrow {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  color: var(--brand-strong);
  padding: 4px 10px;
  border: 1px solid rgba(15, 118, 110, 0.35);
  border-radius: 999px;
}

h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.06;
}

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

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
}

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

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

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-card {
  align-self: start;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 22px;
}

.card-label {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.card-link {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  font-weight: 700;
}

.card-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.services {
  padding: 30px 0;
}

.section-title {
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 26px;
}

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

.service {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.service h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.about {
  padding: 38px 0 24px;
}

.about-wrap {
  background: linear-gradient(145deg, #fffdf8 0%, #fff8e7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.facts {
  margin: 18px 0 0;
  padding-left: 18px;
}

.contacts {
  padding: 40px 0 64px;
}

.contacts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contacts-list a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
}

.copyright {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 550ms ease, transform 550ms ease;
}

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

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

  .hero-card {
    max-width: 420px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    border-radius: 14px;
    padding: 12px;
  }

  .menu {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }
}
