:root {
  --bg: #ecf2d9;
  --panel: #ffffff;
  --text: #3a3a3a;
  --muted: #7a7a7a;
  --brand: #6bbf59; /* зелёный пастельный */
  --brand-600: #4d9f3a;
  --accent: #a7f3d0; /* мята для декоративных акцентов */
  --ring: rgba(107, 191, 89, 0.35);
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(900px 500px at -10% -10%, rgba(107, 191, 89, 0.10), transparent),
    radial-gradient(700px 400px at 110% 0%, rgba(167, 243, 208, 0.12), transparent),
    radial-gradient(600px 400px at 50% 100%, rgba(255, 255, 255, 0.7), transparent),
    var(--bg);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(140%) blur(8px);
  background: color-mix(in oklab, #ffffff 70%, transparent);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 700; }
.logo-image { height: 40px; width: auto; display: block; }

/* навигация убрана по требованиям */

.hero {
  position: relative;
  /* fallback for older browsers */
  min-height: 100vh;
  /* modern dynamic viewport units */
  min-height: 100svh;
  min-height: 100dvh;
  /* iOS Safari fallback */
  height: -webkit-fill-available;
  padding: 0;
  display: flex;
  align-items: center;
  text-align: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.9) saturate(1.05);
}
.hero-blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px) saturate(120%);
  background: rgba(255,255,255,0.28);
  opacity: 0;
  transition: opacity .6s ease-out;
}
.hero-logo { position: absolute; top: 14px; left: 16px; height: 40px; width: auto; z-index: 1; }
.hero-card {
  margin: 0 auto;
  max-width: 760px;
  padding: 24px 18px 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.78));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.hero h1 {
  margin: 0 0 8px;
  font-size: 42px;
  letter-spacing: -0.5px;
}
.lead { color: var(--muted); margin: 0 auto 24px; max-width: 560px; }

.cta-group { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }
.cta-group .btn { min-width: 220px; }
.cta-group .btn { opacity: 0; transform: translateY(8px); transition: opacity .6s ease-out, transform .6s ease-out; }
body.show-ctas .cta-group .btn { opacity: 1; transform: translateY(0); }
body.show-ctas .cta-group .btn:nth-child(2) { transition-delay: .06s; }
body.show-ctas .cta-group .btn:nth-child(3) { transition-delay: .12s; }
body.show-ctas .hero-blur { opacity: 1; }

.social-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #ffffff;
  color: #1a1a1a;
  text-decoration: none;
}
.social-link:hover { transform: translateY(-1px); }
body.show-ctas .social-row { opacity: 1; transform: translateY(0); transition-delay: .18s; }

.contact-inline {
  margin-top: 10px;
  color: #1a1a1a;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.contact-inline .contact-line + .contact-line { margin-top: 2px; }
body.show-ctas .contact-inline { opacity: 1; transform: translateY(0); transition-delay: .22s; }
.hero-card { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
body.show-ctas .hero-card { opacity: 1; transform: translateY(0); }
body.show-ctas .hero-card { opacity: 1; transform: translateY(0); }
.note { color: var(--muted); margin-top: 12px; font-size: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 0;
  text-decoration: none;
  color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.10);
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(77, 159, 58, 0.12);
  transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(0,0,0,0.12); }
.btn:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--ring); }

.btn-primary { background: #ffffff; border-color: rgba(0,0,0,0.10); color: #1a1a1a; }

.btn-ghost { background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.6)); }

.contacts {
  padding: 24px 0 56px;
}
.contacts h2 { text-align: center; margin: 0 0 16px; letter-spacing: -0.2px; }
.contact-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 560px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.contact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
}
.contact-list .label { color: var(--muted); }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 16px 0 40px;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 720px) {
  .hero { min-height: 100vh; }
  .hero h1 { font-size: 56px; }
}


