/* Внутренние страницы (шаблон shablon) — поверх panda.css */

.btn.on-dark{
  background:var(--bamboo);
  border-color:var(--bamboo);
  color:var(--white);
}
.btn.on-dark:hover{
  background:var(--leaf-light);
  border-color:var(--leaf-light);
  color:var(--ink);
}
.btn.outline-light{
  background:transparent;
  color:var(--paper);
  border-color:rgba(250,250,246,.35);
}
.btn.outline-light:hover{
  background:var(--paper);
  color:var(--ink);
  border-color:var(--paper);
}

/* breadcrumbs */
.crumbs{
  background:var(--paper);
  border-bottom:1px solid var(--line);
  padding:12px 0;
}
.crumbs .wrap{
  display:flex;
  gap:8px;
  align-items:center;
  font-size:13px;
  font-weight:600;
  color:var(--steel);
  flex-wrap:wrap;
}
.crumbs a:hover{color:var(--bamboo-dark);}
.crumbs .sep{opacity:.45;}
.crumbs .current{color:var(--ink);}

/* ========== Service hero ========== */
.service-hero{
  position:relative;
  background:var(--ink);
  color:var(--paper);
  padding:56px 0 64px;
  overflow:hidden;
}
.service-hero__bg{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 45%, rgba(111,175,51,.28), transparent 62%),
    radial-gradient(circle at 12% 18%, rgba(183,222,126,.1), transparent 38%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 56px,
      rgba(255,255,255,.028) 56px,
      rgba(255,255,255,.028) 58px
    );
  pointer-events:none;
}
.service-hero__inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:40px;
  align-items:center;
}
.service-hero__eyebrow{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 18px;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--leaf-light);
}
.service-hero__eyebrow a{
  color:inherit;
  border-bottom:1px solid rgba(183,222,126,.35);
}
.service-hero__eyebrow a:hover{border-color:var(--leaf-light);}
.service-hero__title{
  font-size:clamp(36px,5.2vw,64px);
  line-height:.98;
  letter-spacing:-0.045em;
  margin:0 0 18px;
  max-width:14ch;
}
.service-hero__lede{
  margin:0 0 28px;
  font-size:clamp(16px,1.5vw,18.5px);
  line-height:1.5;
  color:#C5C9C0;
  font-weight:500;
  max-width:38ch;
}
.service-hero__cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:28px;
}
.service-hero__perks{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
}
.service-hero__perks li{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:600;
  color:#D8DAD4;
}
.service-hero__perk-ico{
  width:8px;height:8px;
  border-radius:50%;
  background:var(--bamboo);
  box-shadow:0 0 0 4px rgba(111,175,51,.18);
  flex-shrink:0;
}

.service-hero__visual{
  position:relative;
  display:grid;
  place-items:center;
  min-height:320px;
}
.service-hero__glow{
  position:absolute;
  width:min(78%,340px);
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle, rgba(111,175,51,.35) 0%, transparent 68%);
  filter:blur(8px);
  animation:serviceGlow 4.8s ease-in-out infinite;
}
.service-hero__stage{
  position:relative;
  width:min(100%,380px);
  animation:serviceFloat 5.2s ease-in-out infinite;
  transform-origin:50% 90%;
}
.service-hero__stage img{
  width:100%;
  height:auto;
  display:block;
  filter:drop-shadow(0 22px 36px rgba(0,0,0,.5));
}
.service-hero__badge{
  position:absolute;
  bottom:8px;
  left:50%;
  transform:translateX(-50%);
  margin:0;
  padding:10px 16px;
  font-size:13px;
  font-weight:700;
  color:var(--ink);
  background:var(--leaf-light);
  border-radius:999px;
  white-space:nowrap;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
  animation:serviceBadge 5.2s ease-in-out infinite;
}

@keyframes serviceFloat{
  0%,100%{transform:translateY(0) rotate(0deg);}
  50%{transform:translateY(-14px) rotate(-1.2deg);}
}
@keyframes serviceGlow{
  0%,100%{opacity:.7;transform:scale(1);}
  50%{opacity:1;transform:scale(1.06);}
}
@keyframes serviceBadge{
  0%,100%{transform:translateX(-50%) translateY(0);}
  50%{transform:translateX(-50%) translateY(-10px);}
}

.service-body{
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(111,175,51,.06), transparent 50%),
    var(--paper);
}

/* контент из редактора MODX */
.article-content{max-width:820px;}
.article-content h2{
  font-size:clamp(24px,3vw,30px);
  margin:44px 0 16px;
}
.article-content h2:first-child{margin-top:0;}
.article-content h3{font-size:20px;margin:32px 0 12px;}
.article-content h4{font-size:17px;margin:24px 0 10px;}
.article-content p{color:var(--steel);margin:0 0 16px;font-weight:500;}
.article-content ul,
.article-content ol{
  margin:0 0 20px;
  padding-left:22px;
  color:var(--steel);
}
.article-content li{margin-bottom:8px;}
.article-content li::marker{color:var(--bamboo);}
.article-content strong,
.article-content b{color:var(--ink);font-weight:700;}
.article-content a{
  color:var(--bamboo-dark);
  text-decoration:underline;
  text-underline-offset:2px;
}
.article-content a:hover{color:var(--bamboo);}
.article-content table{
  width:100%;
  border-collapse:collapse;
  margin:12px 0 28px;
  font-size:14.5px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}
.article-content th,
.article-content td{
  padding:12px 16px;
  border-bottom:1px solid var(--line);
  text-align:left;
}
.article-content th{
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--steel);
  background:var(--paper-2);
  font-weight:700;
}
.article-content tr:last-child td{border-bottom:none;}
.article-content blockquote{
  border-left:3px solid var(--bamboo);
  padding:4px 0 4px 20px;
  color:var(--ink);
  font-style:italic;
  margin:24px 0;
}
.article-content img{border-radius:12px;margin:20px 0;}
.article-content hr{
  border:none;
  border-top:1px solid var(--line);
  margin:36px 0;
}

@media (max-width:980px){
  .service-hero{padding:36px 0 48px;}
  .service-hero__inner{
    grid-template-columns:1fr;
    gap:28px;
    text-align:center;
  }
  .service-hero__title{
    max-width:none;
    margin-left:auto;
    margin-right:auto;
  }
  .service-hero__lede{
    margin-left:auto;
    margin-right:auto;
  }
  .service-hero__eyebrow,
  .service-hero__cta,
  .service-hero__perks{justify-content:center;}
  .service-hero__visual{order:-1;min-height:240px;}
  .service-hero__stage{width:min(68vw,280px);}
  .service-hero__badge{font-size:12px;padding:8px 14px;}
}
@media (max-width:640px){
  .crumbs{padding:10px 0;}
  .service-hero__title{font-size:clamp(30px,9vw,40px);}
  .service-hero__cta .btn{width:100%;}
  .service-hero__perks{
    flex-direction:column;
    align-items:center;
    gap:10px;
  }
  .article-content{font-size:15.5px;}
  .hide-xs{display:none;}
}
@media (prefers-reduced-motion: reduce){
  .service-hero__stage,
  .service-hero__glow,
  .service-hero__badge{animation:none !important;}
}
