:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-text: #1a1d21;
  --color-text-muted: #5a6270;
  --color-accent: #1f6f5c;
  --color-accent-hover: #185a4a;
  --color-border: #e3e6ea;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
  white-space: nowrap;
}
.logo span { color: var(--color-accent); }

.nav { display: flex; gap: 22px; align-items: center; }
.nav a {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--color-accent); }

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
  white-space: nowrap;
}
.header__cta:hover { background: var(--color-accent-hover); color: #fff; }
.header__cta svg { width: 16px; height: 16px; fill: #fff; }

/* Иконка-логотип в хедере */
.header__logo-icon {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color .2s;
}
.header__logo-icon:hover { color: var(--color-accent-hover); }
.header__logo-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 4px 0;
  transition: .3s;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 99;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu__inner {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color .2s;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--color-accent); }
.mobile-menu a.btn--primary,
.mobile-menu a.btn--primary:hover {
  color: #fff;
  border-bottom: none;
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  justify-content: center;
}

.burger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* HERO */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero__text h1 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero__text h1 span { color: var(--color-accent); }
.hero__sub {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-hover); color: #fff; }
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--small { padding: 10px 18px; font-size: 14px; }

.hero__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.hero__card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
}
.hero__card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(31,111,92,0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.hero__card-name { font-size: 15px; font-weight: 700; }
.hero__card-status {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__card-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}
.hero__card-list { list-style: none; }
.hero__card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
}
.hero__card-list li:last-child { border-bottom: none; }
.hero__card-list .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(31,111,92,0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.hero__card-list .muted { color: var(--color-text-muted); }
.hero__card-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* SECTIONS */
.section { padding: 72px 0; }
.section--alt { background: var(--color-bg-alt); }

.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.section__head p { color: var(--color-text-muted); font-size: 17px; }

/* PAIN */
.pain__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.pain__item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.pain__item strong { color: var(--color-text); display: block; margin-bottom: 6px; font-size: 15px; }
.pain__resolve { font-size: 17px; font-weight: 600; color: var(--color-accent); }

/* SERVICES */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(31,111,92,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 20px;
  overflow: hidden;
}
.service-card__icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.service-card h3 { font-size: 17px; font-weight: 700; }
.service-card p { font-size: 14px; color: var(--color-text-muted); flex-grow: 1; }
.service-card__price { font-size: 14px; font-weight: 600; color: var(--color-accent); }
.service-card__price-rub {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 13px;
  margin-left: 4px;
}
.service-card__link { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* PILL (рубрика-пилюля) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(31,111,92,0.08);
  color: var(--color-accent);
  line-height: 1.4;
  white-space: nowrap;
}
.pill:hover { background: rgba(31,111,92,0.16); color: var(--color-accent-hover); }
.pill--gray {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.pill--gray:hover { background: var(--color-border); color: var(--color-text); }

/* SERVICES FOOTER BUTTON */
.services__footer {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.services__footer .btn { padding: 14px 32px; }

/* WHY */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.why__item { display: flex; gap: 14px; align-items: flex-start; }
.why__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.why__item p { font-size: 15px; }
.why__item strong { display: block; margin-bottom: 2px; }

/* STEPS */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step { position: relative; padding-top: 10px; }
.step__num {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--color-text-muted); }

/* FAQ */
.faq__layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.faq__item summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--color-accent);
  font-weight: 400;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin-top: 12px; font-size: 15px; color: var(--color-text-muted); }

.faq__aside {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 88px;
}
.faq__aside h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.faq__aside p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 18px; }
.faq__aside ul { list-style: none; margin-bottom: 22px; }
.faq__aside li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 7px 0 7px 22px;
  position: relative;
}
.faq__aside li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}
.faq__aside .btn { width: 100%; justify-content: center; }

/* CTA FINAL */
.cta-final {
  background: var(--color-text);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
}
.cta-final h2 { font-size: 30px; font-weight: 700; margin-bottom: 14px; color: #fff; }
.cta-final p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 28px;
}
.cta-final .btn--primary { background: #fff; color: var(--color-text); border: 1px solid #fff; }
.cta-final .btn--primary:hover { background: var(--color-bg-alt); border-color: var(--color-bg-alt); }
.cta-final .btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.cta-final .btn--outline:hover {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}
.cta-final__note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.55); }
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}
.cta-final__actions .btn {
  padding: 12px 22px;
  font-size: 15px;
}

/* FOOTER */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 32px;
  margin-top: 80px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer__grid--4 {
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer__grid--4 > div:first-child p {
  max-width: 260px;
}
.footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: var(--color-text);
}
.footer p, .footer a {
  font-size: 14px;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 8px;
}
.footer a:hover { color: var(--color-accent); }

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 8px;
}
.social-list a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  margin: 0;
}
.social-list a:hover { border-color: var(--color-accent); background: rgba(31,111,92,0.06); }
.social-list svg { width: 18px; height: 18px; fill: var(--color-text-muted); }
.social-list a:hover svg { fill: var(--color-accent); }
.social-list img { width: 18px; height: 18px; object-fit: contain; }

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer__legal {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.footer__legal a,
.footer__legal span {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
  vertical-align: baseline;
}

.footer__legal a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color .2s;
}

.footer__legal a:hover {
  color: var(--color-accent);
}

.footer__legal-sep {
  opacity: 0.5;
}

.footer__copy {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* WORDPRESS DEFAULTS */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
}

.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--color-border); padding: 20px 0; }
.comment-list .comment-author { font-weight: 700; margin-bottom: 6px; }
.comment-list .comment-meta { font-size: 13px; color: var(--color-text-muted); margin-bottom: 10px; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 12px;
}
.comment-form input[type="submit"] {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

/* BLOG FILTERS */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg);
  transition: all .2s;
}
.blog-filter:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.blog-filter.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.blog-filter__count {
  font-size: 12px;
  opacity: 0.7;
}

/* BLOG HERO */
.blog-hero {
  text-align: center;
  margin-bottom: 48px;
}
.blog-hero__title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.blog-hero__desc {
  color: var(--color-text-muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* POPULAR CATEGORIES (blog bottom) */
.popular-cats {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.popular-cats__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.2px;
}
.popular-cats__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* POSTS GRID */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.post-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.post-card:hover .post-card__thumb img {
  transform: scale(1.03);
}

.post-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.post-card__meta {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-card__dot { opacity: 0.5; }

.post-card__title {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.post-card__title a { color: var(--color-text); }
.post-card__title a:hover { color: var(--color-accent); }

.post-card__excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.post-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.post-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.post-card__link {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* PAGINATION */
.blog-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: all .2s;
}
.blog-pagination .page-numbers:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.blog-pagination .page-numbers.current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.blog-pagination .page-numbers.dots {
  border: none;
  color: var(--color-text-muted);
}
.blog-pagination .prev,
.blog-pagination .next { padding: 0 16px; }

/* EMPTY STATE */
.blog-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}
.blog-empty h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.blog-empty p {
  color: var(--color-text-muted);
  font-size: 16px;
}

/* NAV RESET */
.nav ul,
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav li,
.mobile-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu ul {
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}
.mobile-menu li { width: 100%; }

/* ============ SERVICES ARCHIVE ============ */

.services-archive-head {
  text-align: center;
  margin-bottom: 56px;
}
.services-archive-head__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.services-archive-head__desc {
  color: var(--color-text-muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 48px;
}
.services-archive-head__filters {
  justify-content: center;
  margin-bottom: 24px;
}

.services-search { margin-bottom: 32px; }
.services-search form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
}
.services-search__input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color .2s;
}
.services-search__input:focus {
  outline: none;
  border-color: var(--color-accent);
}
.services-search__input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}
.services-search__btn {
  padding: 12px 24px;
  flex-shrink: 0;
}

.services-count {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-top: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  max-width: 640px;
  margin: 0 auto;
}

.services-archive-grid { margin-top: 8px; }

.services-cta {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--color-border);
}
.services-cta__inner {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.services-cta__title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.services-cta__desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
}
.services-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.services-cta__actions .btn {
  padding: 12px 22px;
  font-size: 15px;
}

/* ============ SINGLE SERVICE ============ */

.service-single {
  max-width: 860px;
}

/* Шапка услуги — сетка: иконка | пилюля → заголовок → подзаголовок */
.service-single__head {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 16px;
  row-gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.service-single__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(31,111,92,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  overflow: hidden;
  grid-column: 1;
  grid-row: 1;
}
.service-single__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.service-single__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
}

.service-single__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0;
  grid-column: 1 / -1;
  grid-row: 2;
}

.service-single__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  margin: 0;
  grid-column: 1 / -1;
  grid-row: 3;
}

.service-single__thumb {
  margin: 24px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
}
.service-single__thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* Цена + кнопка справа */
.service-single__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 32px 0 40px;
}
.service-single__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}
.service-single__price-note {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 4px;
}
.service-single__cta-top { flex-shrink: 0; }

/* Контент услуги — типографика */
.service-single__content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 56px;
}
.service-single__content p { margin: 0 0 20px; }
.service-single__content p:last-child { margin-bottom: 0; }

.service-single__content h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 56px 0 20px;
  padding-top: 8px;
}
.service-single__content h2:first-child { margin-top: 0; }
.service-single__content h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 40px 0 16px;
}
.service-single__content h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.service-single__content ul,
.service-single__content ol {
  margin: 20px 0 24px;
  padding-left: 26px;
}
.service-single__content ul li,
.service-single__content ol li {
  margin-bottom: 10px;
  padding-left: 6px;
  line-height: 1.7;
}
.service-single__content ul li:last-child,
.service-single__content ol li:last-child { margin-bottom: 0; }
.service-single__content ul li::marker { color: var(--color-accent); }
.service-single__content ol li::marker { color: var(--color-accent); font-weight: 700; }

.service-single__content ul ul,
.service-single__content ol ol,
.service-single__content ul ol,
.service-single__content ol ul { margin: 8px 0; }

.service-single__content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.service-single__content a:hover {
  color: var(--color-accent-hover);
  text-decoration-thickness: 2px;
}

.service-single__content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text-muted);
}

.service-single__content img {
  border-radius: var(--radius);
  margin: 24px 0;
  height: auto;
}
.service-single__content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 40px 0;
}
.service-single__content strong { font-weight: 700; color: var(--color-text); }
.service-single__content em { font-style: italic; }

/* Блоки услуги */
.service-single__block { margin-top: 56px; }
.service-single__block-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}
.service-single__list { list-style: none; padding: 0; margin: 0; }
.service-single__list li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 16px;
  border-bottom: 1px solid var(--color-border);
}
.service-single__list li:last-child { border-bottom: none; }
.service-single__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.service-single__cta-final { margin-top: 72px; }

/* ============ POST SINGLE (блог) ============ */

.post-single {
  max-width: 760px;
  margin: 0 auto;
}
.post-single__thumb {
  margin: 0 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
}
.post-single__thumb img { width: 100%; height: auto; display: block; }

.post-single__title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.post-single__meta {
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.post-single__meta-item { display: inline-flex; align-items: center; gap: 6px; }

.post-single__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.post-single__terms-label {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-right: 8px;
  align-self: center;
}

/* Контент статьи — типографика */
.post-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}
.post-content p { margin: 0 0 20px; }
.post-content p:last-child { margin-bottom: 0; }

.post-content h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 56px 0 20px;
}
.post-content h2:first-child { margin-top: 0; }
.post-content h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 40px 0 16px;
}
.post-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.post-content ul,
.post-content ol {
  margin: 20px 0 24px;
  padding-left: 26px;
}
.post-content ul li,
.post-content ol li {
  margin-bottom: 10px;
  padding-left: 6px;
  line-height: 1.7;
}
.post-content ul li:last-child,
.post-content ol li:last-child { margin-bottom: 0; }
.post-content ul li::marker { color: var(--color-accent); }
.post-content ol li::marker { color: var(--color-accent); font-weight: 700; }

.post-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.post-content a:hover {
  color: var(--color-accent-hover);
  text-decoration-thickness: 2px;
}

.post-content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text-muted);
}

.post-content img {
  border-radius: var(--radius);
  margin: 24px 0;
  height: auto;
}
.post-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 40px 0;
}
.post-content strong { font-weight: 700; color: var(--color-text); }

/* CONTENT TABLES */
.post-content table,
.service-single__content table,
.entry-content table,
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 15px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.post-content table th,
.service-single__content table th,
.entry-content table th,
.wp-block-table th {
  background: var(--color-bg-alt);
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.post-content table td,
.service-single__content table td,
.entry-content table td,
.wp-block-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: top;
}
.post-content table tr:last-child td,
.service-single__content table tr:last-child td,
.entry-content table tr:last-child td,
.wp-block-table tr:last-child td { border-bottom: none; }

.post-content table tr:hover td,
.service-single__content table tr:hover td,
.entry-content table tr:hover td,
.wp-block-table tr:hover td { background: rgba(31,111,92,0.03); }

/* SCROLL TO TOP */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(31,111,92,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s;
  z-index: 90;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}
.scroll-top:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.scroll-top svg { width: 22px; height: 22px; display: block; }

/* SERVICE CARD — TOP ROW (иконка + пилюля) */
.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.service-card__top .service-card__icon {
  margin-bottom: 0;
}

/* SERVICE CARD — INCLUDES (пункты «Что входит») */
.service-card__includes {
  list-style: none;
  padding: 10px 0 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed var(--color-border);
}
.service-card__includes li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.service-card__includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 12px;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .header__inner { justify-content: space-between; position: relative; }
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
  }

  .footer { padding: 40px 0 28px; margin-top: 56px; }
  .footer__grid,
  .footer__grid--4 {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    max-width: 420px;
    margin: 0 auto 32px;
  }
  .footer__grid--4 > div:first-child p { max-width: 100%; }
  .footer .social-list { justify-content: center; }
  .footer h4 { font-size: 16px; letter-spacing: 0.6px; margin-bottom: 14px; }
  .footer p, .footer a { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
  .social-list a { width: 44px; height: 44px; border-radius: 10px; }
  .social-list svg { width: 20px; height: 20px; }
  .social-list img { width: 20px; height: 20px; }

  /* Футер — вертикальный стек */
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
  }

  .footer__legal {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    justify-content: center;
    text-align: center;
  }

  .footer__legal a,
  .footer__legal span {
    font-size: 15px;
  }

  .footer__legal-sep {
    display: none;
  }

  .footer__copy {
    font-size: 15px;
    text-align: center;
  }

  .services__footer { margin-top: 40px; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__card { max-width: 480px; }
  .faq__layout { grid-template-columns: 1fr; gap: 32px; }
  .faq__aside { position: static; }
  .pain__list { grid-template-columns: repeat(2, 1fr); }

  .services-archive-head { margin-bottom: 40px; }
  .services-archive-head__desc { margin-bottom: 36px; }
  .services-cta__inner { padding: 36px 28px; }

  .service-single__block { margin-top: 48px; }
}

@media (max-width: 860px) {
  .posts-grid { grid-template-columns: 1fr; }
  .blog-filters { margin-bottom: 28px; }
  .blog-pagination { margin-top: 40px; }
  .hero { padding: 56px 0 48px; }
  .hero__text h1 { font-size: 32px; }
  .section { padding: 56px 0; }
  .section__head h2 { font-size: 26px; }

  .blog-hero__title { font-size: 30px; }
  .blog-hero__desc { font-size: 16px; }

  /* Цена + кнопка — вертикально на планшетах */
  .service-single__bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 20px;
  }
  .service-single__cta-top { width: 100%; }
  .service-single__cta-top .btn { width: 100%; justify-content: center; }

  .post-single__title { font-size: 30px; }
}

@media (max-width: 600px) {
  /* Шапка услуги на мобильном: иконка слева, пилюля справа, заголовок и подзаголовок под ними */
  .service-single__head {
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
    row-gap: 10px;
  }

  .service-single__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
  }

  .service-single__title {
    font-size: 24px;
    line-height: 1.25;
  }

  .service-single__subtitle {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero__text h1 { font-size: 27px; }
  .hero__sub { font-size: 16px; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions { flex-direction: column; }
  .cta-final { padding: 40px 24px; }
  .cta-final h2 { font-size: 24px; }
  .pain__list { grid-template-columns: 1fr; }
  .logo { font-size: 15px; }

  .footer__grid,
  .footer__grid--4 { max-width: 100%; }
  .footer h4 { font-size: 17px; }
  .footer p, .footer a { font-size: 18px; }
  .footer__bottom { font-size: 15px; }
  .social-list a { width: 48px; height: 48px; }
  .social-list svg { width: 22px; height: 22px; }
  .social-list img { width: 22px; height: 22px; }

  .services-archive-head__title { font-size: 26px; }
  .services-archive-head__desc { font-size: 16px; margin-bottom: 28px; }
  .services-search form { flex-direction: column; }
  .services-search__btn { width: 100%; }
  .services-count { padding-bottom: 20px; }
  .services-cta { margin-top: 56px; padding-top: 40px; }
  .services-cta__inner { padding: 28px 20px; }
  .services-cta__title { font-size: 20px; }
  .services-cta__desc { font-size: 15px; margin-bottom: 24px; }
  .services-cta__actions .btn { width: 100%; }

  .service-single__title { font-size: 24px; }
  .service-single__subtitle { font-size: 15px; }
  .service-single__price { font-size: 20px; }
  .service-single__block { margin-top: 40px; }
  .service-single__block-title { font-size: 20px; }
  .service-single__cta-final { margin-top: 56px; }
  .cta-final__actions .btn { width: 100%; }

  .post-single__title { font-size: 24px; }
  .post-single__meta { font-size: 13px; gap: 8px; }

  .blog-hero__title { font-size: 26px; }
  .popular-cats { margin-top: 48px; padding-top: 40px; }
  .popular-cats__title { font-size: 20px; }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
  .scroll-top svg { width: 20px; height: 20px; }

  /* Таблицы — горизонтальный скролл */
  .post-content table,
  .service-single__content table,
  .entry-content table,
  .wp-block-table table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .post-content table th,
  .post-content table td,
  .service-single__content table th,
  .service-single__content table td,
  .entry-content table th,
  .entry-content table td,
  .wp-block-table th,
  .wp-block-table td { padding: 10px 14px; font-size: 14px; }
}