:root {
  --ink: #16170f;
  --muted: #4d5342;
  --bg: #f4f5ef;
  --paper: #ffffff;
  --line: #d6dcc8;
  --brand-900: #202814;
  --brand-700: #3c5121;
  --brand-500: #6f9040;
  --brand-200: #d7e4be;
  --radius-lg: 24px;
  --radius-md: 14px;
  --max: 1160px;
  --shadow-soft: 0 12px 30px rgba(24, 32, 14, 0.1);
  --anchor-offset: 105px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at 6% 4%, rgba(111, 144, 64, 0.22), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(32, 40, 20, 0.18), transparent 38%),
    linear-gradient(150deg, #f4f5ef 0%, #ecefe6 100%);
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

.topbar {
  background: var(--brand-900);
  color: #eff3e4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  font-size: 1.14rem;
  line-height: 1.45;
  flex-wrap: wrap;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(244, 245, 239, 0.83);
  border-bottom: 1px solid rgba(32, 40, 20, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  border-radius: 10px;
}

.brand-name {
  display: none;
  font-family: "Noto Serif Armenian", serif;
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--brand-900);
  font-weight: 700;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu a {
  text-decoration: none;
  color: #253017;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 9px 14px;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease;
}

.menu a:hover,
.menu a:focus-visible {
  background: #dce8c8;
  color: #192010;
  outline: none;
}

.hero {
  padding: 42px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.hero-main,
.hero-side {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(251, 252, 247, 0.95));
  box-shadow: var(--shadow-soft);
}

.hero-main {
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.hero-main::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -70px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(111, 144, 64, 0.22), transparent 65%);
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #edf3e3;
  border: 1px solid #d5e2bb;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #2d3d19;
  margin-bottom: 14px;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Noto Serif Armenian", serif;
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 18ch;
}

.hero-text {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 54ch;
  margin-bottom: 18px;
}

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

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 11px 17px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(26, 34, 16, 0.12);
}

.btn-primary {
  background: linear-gradient(130deg, var(--brand-700), var(--brand-900));
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-soft {
  color: #1b250f;
  border: 1px solid #c8d3b4;
  background: #f4f8ed;
}

.hero-side {
  padding: 24px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.mini {
  border: 1px solid var(--line);
  background: #fbfcf8;
  border-radius: var(--radius-md);
  padding: 14px;
}

.mini strong {
  display: block;
  margin-bottom: 6px;
  color: #202913;
}

main {
  padding-bottom: 40px;
}

section {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

section[id],
header[id] {
  scroll-margin-top: var(--anchor-offset);
}

section h2 {
  font-size: clamp(1.38rem, 3vw, 2.05rem);
  margin-bottom: 10px;
}

.lead {
  color: #3f4933;
  font-size: 1.03rem;
  max-width: 70ch;
}

.service-grid {
  list-style: none;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-grid li {
  border: 1px solid #dbe2cc;
  background: #f9fcf3;
  border-radius: 11px;
  padding: 11px 12px 11px 34px;
  position: relative;
  color: #202814;
  font-weight: 600;
}

.service-grid li::before {
  content: "▸";
  position: absolute;
  left: 13px;
  top: 10px;
  color: #53702b;
  font-size: 0.95rem;
}

.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.work-card {
  border: 1px solid #dae0ca;
  border-radius: var(--radius-md);
  background: #fcfdf9;
  padding: 16px;
}

.work-card h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.work-card ul {
  list-style: none;
  display: grid;
  gap: 7px;
  color: #2f3822;
}

.work-card li {
  position: relative;
  padding-left: 19px;
}

.work-card li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #53702b;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.contact-item {
  border: 1px solid #dbe2cc;
  border-radius: 12px;
  background: #f9fcf3;
  padding: 14px;
}

.contact-item p {
  color: #3e4930;
  margin-top: 4px;
  font-size: 1rem;
}

.contact-item a {
  color: #1c2610;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

footer {
  margin-top: 22px;
  border-top: 1px solid rgba(32, 40, 20, 0.14);
  padding: 20px 0 32px;
  color: #4f5741;
  font-size: 0.97rem;
}

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

  .brand-logo {
    max-width: 220px;
  }
}

@media (max-width: 840px) {
  .menu-btn {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(247, 248, 241, 0.98);
    padding: 10px;
    display: none;
    flex-direction: column;
  }

  .menu.open {
    display: flex;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    width: 100%;
    text-align: center;
  }

  .navbar {
    position: relative;
  }
}

@media (max-width: 620px) {
  :root {
    --anchor-offset: 88px;
  }

  .topbar .container {
    font-size: 1.02rem;
    line-height: 1.4;
  }

  .hero-main,
  .hero-side,
  section {
    padding: 20px;
  }

  .brand-logo {
    display: none;
  }

  .brand-name {
    display: block;
  }

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