:root{
  --bg:#f3fbf7;
  --white:#ffffff;
  --text:#1f2a2a;
  --muted:#6b7a7a;
  --accent:#19b97d;
  --accent-2:#0aa96f;
  --border:#e7f3ee;
  --shadow: 0 10px 30px rgba(10, 30, 25, 0.08);
  --shadow-soft: 0 8px 18px rgba(10, 30, 25, 0.06);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background:linear-gradient(#f6fffb85, #f3fbf766);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.container{
  width:min(1120px, calc(100% - 48px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(246,255,251,0.9);
  backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(231,243,238,0.8);
}

.header-row{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  font-weight:700;
  font-size:14px;
  color:var(--accent);
  letter-spacing:0.1px;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav__link{
  font-size:12px;
  color:#233;
  opacity:0.85;
  padding:6px 8px;
  border-radius:10px;
}
.nav__link:hover{background:rgba(25,185,125,0.08); opacity:1}

.hero{
  padding:34px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items:center;
  gap:46px;
}
.hero-title{
  margin:0 0 14px;
  font-size:36px;
  line-height:1.05;
  letter-spacing:-0.8px;
}
.hero-text{
  margin:0 0 10px;
  max-width:520px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.hero-actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 16px;
  border-radius:10px;
  font-weight:600;
  font-size:12px;
  border:1px solid transparent;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active{transform:translateY(1px)}
.btn--primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 10px 18px rgba(25,185,125,0.25);
}
.btn--primary:hover{background:var(--accent-2)}
.btn--ghost{
  background:#fff;
  color:#2a3b3b;
  border-color:var(--border);
  box-shadow:var(--shadow-soft);
}
.btn--ghost:hover{border-color:rgba(25,185,125,0.35)}
.btn--full{width:100%}
.btn--tg{gap:8px}

.photo-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.photo-card--large{border-radius:20px}
.photo{
  width:100%;
  height:100%;
  object-fit:cover;
}

.about{
  padding:18px 0 28px;
}
.about-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap:46px;
  align-items:center;
}
.section-title{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.2;
}
.center{text-align:center}
.muted{color:var(--muted)}
.small{font-size:13px; line-height:1.55}

.check-list{
  list-style:none;
  padding:0;
  margin:14px 0 0;
  display:grid;
  gap:10px;
  font-size:12px;
}
.check-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.check{
  width:16px;
  height:16px;
  margin-top:1px;
  border-radius:50%;
  background:rgba(25,185,125,0.12);
  border:1px solid rgba(25,185,125,0.35);
  position:relative;
  flex:0 0 16px;
}
.check:after{
  content:"";
  position:absolute;
  left:5px;
  top:3px;
  width:4px;
  height:7px;
  border-right:2px solid var(--accent);
  border-bottom:2px solid var(--accent);
  transform:rotate(45deg);
}

.features{
  background:var(--bg);
  padding:26px 0 34px;
  border-top:1px solid rgba(231,243,238,0.9);
  border-bottom:1px solid rgba(231,243,238,0.9);
}
.features-title{
  text-align:center;
  margin:0;
  font-size:22px;
  font-weight:700;
}
.features-sub{
  text-align:center;
  margin:8px 0 18px;
  font-size:11px;
  color:var(--muted);
}
.features-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.mini-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px 18px 16px;
  box-shadow:var(--shadow-soft);
  min-height:120px;
}
.mini-card h4{
  margin:8px 0 6px;
  font-size:15px;
}
.mini-card p{
  margin:0;
  font-size:11px;
  line-height:1.45;
  color:var(--muted);
}
.mini-icon{
  width:30px;
  height:30px;
  border-radius:999px;
  display:grid;
  place-items:center;
  border:1px solid rgba(25,185,125,0.22);
  background:rgba(25,185,125,0.10);
}
.mini-icon svg{
  width:16px;height:16px;
  fill:var(--accent);
}

.services{
  padding:30px 0 10px;
}
.cards-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
  align-items:stretch;
}
.service-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px;
  box-shadow:var(--shadow-soft);
  display:flex;
  flex-direction:column;
}
.service-card h4{
  margin:0 0 8px;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
}
.price{
  color:var(--accent);
  font-size:12px;
  font-weight:700;
  margin-bottom:10px;
}
.price span{font-size:14px}
.dot-list{
  margin:10px 0 16px;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
}
.dot-list li{
  position:relative;
  padding-left:16px;
}
.dot-list li:before{
  content:"";
  width:6px;height:6px;
  border-radius:50%;
  background:rgba(25,185,125,0.85);
  position:absolute;
  left:0;
  top:6px;
}
.services-note{
  text-align:center;
  font-size:10px;
  color:var(--muted);
  margin:18px 0 0;
}

.programs{
  background:var(--bg);
  padding:26px 0 34px;
  margin-top:18px;
  border-top:1px solid rgba(231,243,238,0.9);
  border-bottom:1px solid rgba(231,243,238,0.9);
}
.program-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px;
  box-shadow:var(--shadow-soft);
  position:relative;
}
.program-card--featured{
  border:2px solid rgba(25,185,125,0.55);
  box-shadow:0 14px 34px rgba(10, 30, 25, 0.10);
}
.badge{
  position:absolute;
  left:16px;
  top:14px;
  background:rgba(25,185,125,0.15);
  color:var(--accent);
  font-size:10px;
  font-weight:700;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(25,185,125,0.25);
}
.program-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-top:2px;
}
.program-top h4{margin:0; font-size:15px}
.program-meta{font-size:10px; color:var(--muted)}
.program-price{
  margin-top:10px;
  color:var(--accent);
  font-weight:800;
  font-size:16px;
}
.telegram{
  padding:26px 0 10px;
}
.tg-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:16px;
}
.tg-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
  padding-bottom:14px;
}
.tg-card img{
  width:100%;
  height:150px;
  object-fit:cover;
}
.tg-card h4{margin:10px 14px 6px; font-size:15px}
.tg-card p{margin:0 14px 10px}
.tg-card .btn{margin:0 14px}

.reviews{
  background:var(--bg);
  padding:26px 0 34px;
  margin-top:20px;
  border-top:1px solid rgba(231,243,238,0.9);
}
.reviews-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
  margin-top:16px;
}
.review-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px 16px 14px;
  box-shadow:var(--shadow-soft);
}
.stars{
  color:#f5b400;
  letter-spacing:2px;
  font-size:12px;
  margin-bottom:8px;
}
.review-footer{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:10px;
}
.review-result{color:var(--accent); font-weight:700}

.contacts{
  padding:28px 0 40px;
}
.contact-box{
  width:min(520px, 100%);
  margin:14px auto 0;
  background:var(--bg);
  border:1px solid rgba(231,243,238,0.9);
  border-radius:14px;
  padding:18px;
  text-align:center;
}
.phone{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  height:38px;
  font-weight:700;
  font-size:12px;
  box-shadow:var(--shadow-soft);
}
.social-title{
  margin:12px 0 10px;
  font-size:10px;
  color:var(--muted);
}
.social-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
.social{
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 10px 8px;
  display:grid;
  place-items:center;
  gap:6px;
  box-shadow:var(--shadow-soft);
}
.social-name{font-size:12px; color:var(--muted)}

.footer{
  background:#262b2f;
  color:#fff;
  padding:16px 0 18px;
}
.footer-inner{
  text-align:center;
}
.footer-name{
  font-weight:700;
  font-size:12px;
}
.footer-sub{
  margin-top:6px;
  font-size:10px;
  opacity:0.8;
}
.footer-links{
  margin-top:10px;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  font-size:9px;
  opacity:0.6;
}
.footer-links a:hover{opacity:1}

.ico, .social-ico{
  display:inline-block;
  width:14px;
  height:14px;
  border-radius:999px;
  background:rgba(25,185,125,0.12);
  border:1px solid rgba(25,185,125,0.35);
  position:relative;
}
.ico--phone:after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:4px;
  border:2px solid var(--accent);
  transform:rotate(-20deg);
}
.ico--tg:after,
.social-ico--tg:after{
  content:"";
  position:absolute;
  left:4px; top:4px;
  width:0; height:0;
  border-left:6px solid var(--accent);
  border-top:3px solid transparent;
  border-bottom:3px solid transparent;
}
.social-ico{width:26px;height:26px}
.social-ico--wa:after{
  content:"";
  position:absolute;
  inset:6px;
  border:2px solid var(--accent);
  border-radius:999px;
}
.social-ico--vk:after{
  content:"vk";
  position:absolute;
  left:6px; top:5px;
  font-size:10px;
  font-weight:800;
  color:var(--accent);
}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; gap:18px}
  .about-grid{grid-template-columns:1fr; gap:18px}
  .features-grid{grid-template-columns:repeat(2, 1fr)}
  .cards-3{grid-template-columns:1fr}
  .tg-grid{grid-template-columns:1fr}
  .reviews-grid{grid-template-columns:1fr}
  .nav{display:none}
  .hero-title{font-size:40px}
}

/* === 1) Typography: unify paragraph style in Hero + About === */
.text{
  margin:0 0 10px;
  max-width:520px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.about .text{max-width:none}

/* === 2) Features: center titles/icons + slightly larger icons === */
.mini-card{ text-align:center; }
.mini-icon{
  width:40px;
  height:40px;
  margin:0 auto;
}
.mini-icon svg{ width:20px; height:20px; }

/* === 3) Services: bigger centered titles === */
.service-card h4{
  text-align:center;
  font-size:15px;
  margin:0 0 10px;
}
.service-card .price{ text-align:center; }
.service-card .btn{ margin-top:auto; }

/* === 4) Programs: prevent badge overlapping title === */
.program-card--featured{ padding-top:44px; }
.program-card--featured .badge{ top:14px; }

/* === 5) Telegram cards: center button, equal side padding, add bottom spacing === */
.tg-card{ padding-bottom:18px; }
.tg-card p{ margin:0 14px 8px; }
.tg-card .btn{
  width:calc(100% - 28px);
  margin:10px 10px 10px 10px;
}

/* === 6) Contacts: show proper SVG icons for Telegram/WhatsApp/VK === */
.social{ padding:12px 10px 10px; }
.social-svg{
  width:26px;
  height:26px;
  fill:var(--accent);
  display:block;
}
