:root {
  --bg:#f6f7f9;
  --card:#ffffff;
  --accent:#27ae60;
  --accent-dark:#1e954d;
  --text:#1f2933;
  --muted:#6b7280;
  --radius:14px;
  --container:1040px;
}

/* Base */
*{box-sizing:border-box}

body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* Layout */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* Header */
.site-header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:90;
  border-bottom:1px solid rgba(16,24,40,0.06);
  backdrop-filter:blur(6px);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:68px;
  padding:0 6px;
}

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

.main-nav ul{
  display:flex;
  gap:18px;
  margin:0;
  padding:0;
  list-style:none;
}

.main-nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  padding:8px 12px;
}

.main-nav a:hover{
  color:var(--text);
  background:rgba(39,174,96,0.08);
  border-radius:8px;
}

/* Buttons */
.cta{
  background:var(--accent);
  color:#fff;
  font-weight:700;
  padding:12px 20px;
  border-radius:10px;
  text-decoration:none;
  transition:.2s;
}

.cta:hover{
  background:var(--accent-dark);
}

/* Hero */
.hero{
  padding:72px 0 60px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:40px;
  align-items:center;
}

.hero-text h1{
  margin:0 0 14px;
  font-size:2.4rem;
  font-weight:800;
}

.lead{
  color:var(--muted);
  margin-bottom:18px;
}

/* Исправленная картинка героя */
.hero-image{
  aspect-ratio:16 / 9;
  width:100%;
  border-radius:12px;
  background-size:cover;
  background-position:center;
  box-shadow:0 14px 40px rgba(0,0,0,0.08);
}

/* Sections */
section{
  background:var(--card);
  margin:80px 0;          /* больше отступы между блоками */
  padding:48px 36px;       /* немного больше внутренний отступ */
  border-radius:var(--radius);
  box-shadow:0 8px 32px rgba(16,24,40,0.05);
}

section h2{
  margin-top:0;
  font-size:1.9rem;
  font-weight:800;
  margin-bottom:16px;
  line-height:1.3;
}

section p{
  margin-bottom:14px;
}

/* Reviews */
.reviews blockquote{
  padding:18px 20px;
  margin:18px 0;
  background:#f8fbf8;
  border-left:5px solid var(--accent);
  border-radius:10px;
  opacity:0;
  transform:translateY(20px);
  transition:.8s;
}

.reviews blockquote.visible{
  opacity:1;
  transform:none;
}

/* Fade-in */
.fade-in{
  opacity:0;
  transform:translateY(28px);
  transition:.9s;
}

.fade-in.visible{
  opacity:1;
  transform:none;
}

/* Footer */
.site-footer{
  text-align:center;
  padding:18px 0;
  margin-top:60px;
  color:var(--muted);
  font-size:.9rem;
}

/* Responsive */
@media (max-width:760px){
  .header-inner{
    height:auto;
    padding:8px 12px;
    flex-wrap:wrap;
    gap:8px;
  }

  .brand{
    font-size:1.2rem;
  }

  .cta.small{
    padding:6px 10px;
    font-size:0.9rem;
  }

  /* Показываем меню и на мобильных, делаем его более компактным */
  .main-nav{
    width:100%;
    order:3;
    overflow-x:auto;
  }

  .main-nav ul{
    gap:8px;
    flex-wrap:wrap;
  }

  .main-nav a{
    padding:6px 10px;
    font-size:0.9rem;
  }

  .hero-text h1{
    font-size:1.6rem;
    line-height:1.25;
  }

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

  .hero-image{
    height:200px;
    aspect-ratio:auto;
    margin-top:12px;
  }

  section{
    margin:56px 0;
    padding:32px 20px;
  }
}
