/*
Theme Name: Zemguru
Theme URI: https://zemgu.ru
Description: Custom theme for zemgu.ru — земельный эксперт
Version: 1.0.0
Author: zemgu.ru
Text Domain: zemguru
*/

:root {
  --g: #6e8760;
  --g-dark: #556b4a;
  --g-light: #f0f4ed;
  --g-pale: #f7f9f5;
  --text: #1a1f16;
  --text2: #5a6454;
  --border: #dde5d8;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.14);
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* Typography */
.h1 { font-size: clamp(28px,4.5vw,52px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-size: clamp(22px,3vw,38px); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 12px; }
.h3 { font-size: clamp(16px,2vw,20px); font-weight: 700; line-height: 1.3; }
.lead { font-size: clamp(15px,1.6vw,17px); color: var(--text2); line-height: 1.7; max-width: 600px; }
.tag {
  display: inline-flex;
  align-items: center;
  background: var(--g);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-green { background: var(--g); color: #fff; }
.btn-green:hover { background: var(--g-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(110,135,96,.35); }
.btn-outline { background: transparent; border: 2px solid var(--g); color: var(--g); }
.btn-outline:hover { background: #fff; color: var(--g) !important; border-color: #fff; }
.btn-white { background: #fff; color: var(--g); }
.btn-white:hover { background: #f0f0f0; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--g);
  box-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.site-logo img { width: 44px; height: 44px; object-fit: contain; }
.logo-name { font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.logo-sub { font-size: 11px; opacity: .7; font-weight: 400; }

.site-nav ul { display: flex; gap: 24px; list-style: none; }
.site-nav a { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.82); transition: color .2s; }
.site-nav a:hover { color: #fff; }

.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone { color: #fff; font-size: 17px; font-weight: 700; white-space: nowrap; }
.header-phone small { display: block; font-size: 10px; opacity: .6; font-weight: 400; }
.btn-header {
  background: rgba(255,255,255,.18);
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: all .2s;
}
.btn-header:hover { background: rgba(255,255,255,.28); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; flex-shrink: 0; }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; display: block; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; background: var(--g-dark); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 4px 0; }
.mobile-nav ul li a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.mobile-nav ul li a:hover { background: rgba(255,255,255,.06); }
.mobile-nav-cta { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav-cta a { color: #fff; font-size: 15px; font-weight: 700; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--g-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .65;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.65) 38%, rgba(0,0,0,.20) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-text { flex: 1; max-width: 560px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .02em;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { color: #b5d49a; font-style: normal; }
.hero-desc {
  font-size: clamp(15px,1.7vw,18px);
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-info {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 32px 28px;
  flex-shrink: 0;
  min-width: 260px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-stat-num { font-size: 34px; font-weight: 800; color: #b5d49a; line-height: 1; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 5px; }
.hero-info-divider { height: 1px; background: rgba(255,255,255,.12); }

/* ─── TRUST BAR ─── */
.trust { background: var(--g-light); border-bottom: 1px solid var(--border); }
.trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon {
  width: 36px; height: 36px;
  background: var(--g);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-icon svg { stroke: #fff; fill: none; }
.trust-label { font-size: 13px; font-weight: 600; line-height: 1.3; }
.trust-label small { font-weight: 400; color: var(--text2); display: block; }

/* ─── RISKS ─── */
.risks-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: stretch;
}
.risks-image {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}
.risks-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 28px; }
.risk-card {
  background: var(--g-pale);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 3px solid var(--g);
}
.risk-icon {
  width: 44px; height: 44px;
  background: rgba(110,135,96,.15);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.risk-icon svg { stroke: var(--g); fill: none; }
.risk-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.risk-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ─── SERVICES ─── */
.services-bg { background: var(--g-pale); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.svc-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  transition: box-shadow .25s, transform .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--g); }
.svc-card.featured { border-color: var(--g); box-shadow: var(--shadow); }
.svc-badge {
  display: none;
  position: absolute;
  top: 0;
  right: 20px;
  background: var(--g);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 8px 14px 22px;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%);
  pointer-events: none;
}
.svc-card.featured .svc-badge { display: block; }
.svc-num { font-size: 11px; font-weight: 700; color: var(--g); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.svc-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.svc-desc { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 20px; }
.svc-items { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; flex: 1; }
.svc-items li { font-size: 13px; color: var(--text2); padding-left: 16px; position: relative; line-height: 1.5; }
.svc-items li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--g);
  border-radius: 50%;
  position: absolute;
  left: 0; top: 6px;
}
.svc-footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.svc-price { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1; }
.svc-price small { font-size: 12px; font-weight: 400; color: var(--text2); display: block; }
.svc-btn {
  padding: 9px 16px;
  background: var(--g);
  color: #fff;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s;
  white-space: nowrap;
}
.svc-btn:hover { background: var(--g-dark); }

/* ─── HOW IT WORKS ─── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 48px; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5%); right: calc(12.5%);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px;
  background: var(--g);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  position: relative;
  z-index: 2;
}
.step-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--text2); line-height: 1.55; }

/* ─── CTA BANNER ─── */
.cta-banner { background: var(--g); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-title { font-size: clamp(22px,3vw,36px); font-weight: 800; line-height: 1.2; max-width: 520px; }
.cta-sub { font-size: 16px; opacity: .82; margin-top: 8px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 48px; }
.contact-info p { font-size: 15px; color: var(--text2); line-height: 1.7; margin-bottom: 24px; }
.contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-icon {
  width: 40px; height: 40px;
  background: var(--g-light);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-icon svg { stroke: var(--g); fill: none; }
.contact-item-text { font-size: 15px; font-weight: 600; }
.contact-item-text small { font-size: 13px; font-weight: 400; color: var(--text2); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.social-link {
  width: 40px; height: 40px;
  background: var(--g-light);
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: background .2s;
}
.social-link:hover { background: var(--g); }
.social-link:hover svg { fill: #fff; }
.social-link svg { fill: var(--g); transition: fill .2s; width: 18px; height: 18px; }

/* Form */
.form-card { background: var(--g-pale); border-radius: var(--radius); padding: 36px; border: 1px solid var(--border); }
.form-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.form-sub { font-size: 14px; color: var(--text2); margin-bottom: 24px; }
.form-field { margin-bottom: 16px; }
.form-label { font-size: 12px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; display: block; }
.form-input, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  background: #fff;
  color: var(--text);
}
.form-input:focus, .form-textarea:focus { border-color: var(--g); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--g);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}
.form-submit:hover { background: var(--g-dark); }
.form-note { font-size: 11px; color: var(--text2); text-align: center; margin-top: 12px; line-height: 1.5; }

/* ─── BLOG / ARCHIVE ─── */
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.post-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--g-light); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card-meta { font-size: 12px; color: var(--text2); margin-bottom: 10px; }
.post-card-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.post-card-title a:hover { color: var(--g); }
.post-card-excerpt { font-size: 13px; color: var(--text2); line-height: 1.6; }
.post-card-link { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--g); }

/* Single post */
.single-content { max-width: 760px; margin: 0 auto; padding: 60px 20px; }
.single-content h1 { font-size: clamp(24px,3.5vw,40px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.single-content .post-meta { font-size: 13px; color: var(--text2); margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.single-content .entry-content h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; }
.single-content .entry-content h3 { font-size: 19px; font-weight: 700; margin: 32px 0 12px; }
.single-content .entry-content p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; color: var(--text); }
.single-content .entry-content ul, .single-content .entry-content ol { margin: 0 0 20px 24px; }
.single-content .entry-content li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.single-content .entry-content img { border-radius: 8px; margin: 24px 0; }

/* Expert byline in articles */
.expert-byline { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; padding: 14px 18px; background: var(--g-pale); border-radius: 10px; border: 1px solid var(--border); }
.expert-byline-photo { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid var(--g); display: block; }
.expert-byline-photo img { width: 48px !important; height: 48px !important; max-width: 48px !important; object-fit: cover; object-position: center 15%; border-radius: 0; margin: 0; }
.expert-byline-info { display: flex; flex-direction: column; gap: 2px; }
.expert-byline-info strong { font-size: 15px; color: var(--text); }
.expert-byline-info span { font-size: 13px; color: var(--text2); }

/* FAQ block for Neiro */
.faq-block { margin: 40px 0; border-top: 2px solid var(--g); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { font-size: 17px; font-weight: 600; color: var(--text); padding: 18px 0 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 22px; color: var(--g); font-weight: 400; flex-shrink: 0; margin-left: 12px; }
.faq-answer { font-size: 15px; line-height: 1.75; color: var(--text2); padding-bottom: 18px; }

/* ─── PAGE ─── */
.page-hero {
  position: relative;
  color: #fff;
  padding: 60px 0;
  background: var(--g) url(assets/img/hero.jpg) center/cover no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.20) 0%, rgba(0,0,0,.65) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 700px; }
.page-hero .lead { color: rgba(255,255,255,.8); margin-top: 16px; }
.page-content { padding: 60px 0; }

/* Breadcrumbs */
.breadcrumbs { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.breadcrumbs a { color: rgba(255,255,255,.75); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { margin: 0 6px; }

/* ─── FOOTER ─── */
.site-footer { background: #1f2a1a; color: rgba(255,255,255,.55); padding: 52px 0 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { width: 80px; height: 80px; object-fit: contain; opacity: .85; }
.footer-logo-name { font-size: 18px; font-weight: 800; color: #fff; }
.footer-logo-sub { font-size: 11px; opacity: .5; }
.footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.footer-phone { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-email { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.footer-col-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.35); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contacts .footer-links li:first-child a { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.footer-social { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 7px; display: grid; place-items: center; transition: background .2s; }
.footer-social:hover { background: var(--g); }
.footer-social svg { fill: rgba(255,255,255,.6); width: 16px; height: 16px; transition: fill .2s; }
.footer-social:hover svg { fill: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,.25); max-width: 600px; line-height: 1.5; margin-top: 16px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .risks-layout { grid-template-columns: 1fr 300px; }
  .risks-image { min-height: 400px; }
  .hero-info { min-width: 220px; max-width: 260px; }
}
@media (max-width: 900px) {
  .hero-content { flex-direction: column; align-items: flex-start; }
  .hero-info { max-width: 100%; width: 100%; }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .site-nav, .header-phone, .btn-header { display: none; }
  .burger { display: flex; }
  .hero { min-height: 480px; }
  .hero-content { padding: 56px 0; }
  .risks-layout { grid-template-columns: 1fr; }
  .risks-image { height: 240px; order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .posts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .form-card { padding: 24px; }
  .risks-grid { grid-template-columns: 1fr; }
  .hero-info { min-width: 0; }
  .hero-stat-value { font-size: 28px; }
  .service-cta-form { padding: 20px; }
}

/* Services index */
.services-index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-index-card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s; }
.svc-index-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.svc-index-icon { width: 48px; height: 48px; background: var(--g-light); border-radius: 10px; display: grid; place-items: center; color: var(--g); }
.svc-index-icon svg { width: 24px; height: 24px; }
.svc-index-title { font-size: 20px; font-weight: 700; }
.svc-index-excerpt { font-size: 14px; line-height: 1.7; color: var(--text2); flex: 1; }
.svc-index-link { font-size: 13px; font-weight: 700; color: var(--g); }
@media (max-width: 600px) { .services-index-grid { grid-template-columns: 1fr; } }

/* Service pages */
.service-content .entry-content { max-width: 780px; }
.service-content .entry-content h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; color: var(--text); }
.service-content .entry-content h3 { font-size: 19px; font-weight: 700; margin: 28px 0 12px; color: var(--text); }
.service-content .entry-content p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.service-content .entry-content ul { margin: 0 0 20px 24px; }
.service-content .entry-content ul li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.service-content .entry-content strong { color: var(--text); }

.service-cta { background: var(--g-pale); border-top: 1px solid var(--border); }
.service-cta-inner { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: start; }
.service-cta-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.service-cta-text p { font-size: 16px; line-height: 1.7; color: var(--text2); margin-bottom: 24px; }
.service-cta-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.service-cta-list li { font-size: 15px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.service-cta-list li::before { content: '✓'; color: var(--g); font-weight: 700; flex-shrink: 0; }
.service-cta-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }

@media (max-width: 900px) {
  .service-cta-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* About expert page */
.about-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.about-photo-img { width: 100%; border-radius: 16px; display: block; }
.about-bio h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--text); }
.about-bio p { font-size: 16px; line-height: 1.8; margin-bottom: 16px; color: var(--text); }
.about-bio ul { margin: 0 0 20px 20px; }
.about-bio ul li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.about-bio a { color: var(--g); }
/* ─── PAYMENT LOGOS ─── */
.footer-payment { margin-top: 20px; }
.footer-payment-title { font-size: 11px; color: var(--text2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.footer-payment-logos { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-logo { height: 32px; width: auto; border-radius: 5px; object-fit: contain; }

/* ─── FOOTER REQUISITES ─── */
.footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer-requisites { font-size: 11px; color: var(--text2); line-height: 1.6; padding: 10px 0 4px; margin-top: 4px; }

/* Form consent checkbox */
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.form-consent input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; margin-top: 2px; accent-color: var(--g); cursor: pointer; }
.form-consent label { font-size: 12px; color: var(--text2); line-height: 1.5; cursor: pointer; }
.form-consent a { color: var(--g); text-decoration: none; }
.form-consent a:hover { text-decoration: underline; }

/* Legal pages */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h1 { font-size: 30px; font-weight: 800; margin-bottom: 32px; }
.legal-content h2 { font-size: 20px; font-weight: 700; margin: 36px 0 12px; }
.legal-content p { font-size: 16px; line-height: 1.85; margin-bottom: 16px; color: var(--text); }
.legal-content a { color: var(--g); }

/* Service steps */
.service-steps { display: flex; flex-direction: column; gap: 20px; margin: 28px 0; }
.service-step { display: flex; gap: 18px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 36px; height: 36px; background: var(--g); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.step-body strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.step-body p { font-size: 15px; color: var(--text2); line-height: 1.7; margin: 0; }

/* Service table */
.service-table { width: 100%; border-collapse: collapse; margin: 20px 0 8px; font-size: 15px; }
.service-table th { background: var(--g-pale); color: var(--text); padding: 10px 14px; text-align: left; font-weight: 600; border: 1px solid var(--border); }
.service-table td { padding: 10px 14px; border: 1px solid var(--border); color: var(--text2); vertical-align: top; }
.service-table tr:last-child td { font-weight: 700; color: var(--text); background: var(--g-pale); }

@media (max-width: 700px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-photo-img { max-width: 220px; }
  .service-table { font-size: 13px; }
  .service-table th, .service-table td { padding: 8px 10px; }
}

/* ─── BLOG PAGE ─── */
.page-hero--blog { padding: 56px 0 48px; }
.page-hero--blog .lead { max-width: 560px; }

/* Category chips bar */
.blog-chips-bar { background: #fff; position: sticky; top: 64px; z-index: 90; }
.blog-chips { display: flex; gap: 8px; padding: 12px 0 8px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.blog-chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--text2); background: var(--g-light); border: 1px solid var(--border); text-decoration: none; transition: background .15s, color .15s; white-space: nowrap; }
.chip:hover { background: var(--g); color: #fff; border-color: var(--g); }
.chip--active { background: var(--g); color: #fff; border-color: var(--g); }
.chip-count { font-size: 11px; font-weight: 700; background: rgba(255,255,255,.3); border-radius: 10px; padding: 0 5px; }
.chip--active .chip-count { background: rgba(255,255,255,.3); }

/* Blog search bar */
.blog-search-bar { background: #fff; padding: 8px 0 14px; }
.blog-search-inner { position: relative; display: flex; align-items: center; }
.blog-search-icon { position: absolute; left: 14px; color: var(--text2); flex-shrink: 0; pointer-events: none; }
.blog-search-input { width: 100%; padding: 11px 40px 11px 42px; font-size: 15px; border: 2px solid var(--border); border-radius: 10px; background: var(--g-pale); color: var(--text); outline: none; transition: border-color .18s, box-shadow .18s, background .18s; }
.blog-search-input:focus { border-color: var(--g); background: #fff; box-shadow: 0 0 0 3px rgba(110,135,96,.14); }
.blog-search-input::placeholder { color: var(--text2); }
.blog-search-clear { position: absolute; right: 14px; color: var(--text2); font-size: 14px; text-decoration: none; line-height: 1; padding: 4px; }
.blog-search-clear:hover { color: var(--text); }
.blog-search-inner--open .blog-search-input { border-color: var(--g); background: #fff; border-radius: 10px 10px 0 0; box-shadow: none; }
.blog-search-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 2px solid var(--g); border-top: none; border-radius: 0 0 10px 10px; box-shadow: 0 10px 32px rgba(110,135,96,.15); z-index: 300; display: none; overflow: hidden; }
.bsd-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; border-bottom: 1px solid var(--border); transition: background .12s; }
.bsd-item:last-child { border-bottom: none; }
.bsd-item:hover, .bsd-item.bsd-active { background: var(--g-light); }
.bsd-thumb { width: 54px; height: 54px; flex-shrink: 0; border-radius: 8px; object-fit: cover; background: var(--g-light); display: block; }
.bsd-thumb-ph { width: 54px; height: 54px; flex-shrink: 0; border-radius: 8px; background: var(--g-light); display: flex; align-items: center; justify-content: center; }
.bsd-thumb-ph svg { opacity: .4; }
.bsd-info { flex: 1; min-width: 0; }
.bsd-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bsd-excerpt { font-size: 12px; color: var(--text2); margin-top: 3px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bsd-empty { padding: 14px 16px; font-size: 14px; color: var(--text2); }

/* Category label on card */
.post-card-cat { display: inline-block; font-size: 11px; font-weight: 700; color: var(--g); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; text-decoration: none; }
.post-card-cat:hover { color: var(--g-dark); }

/* Blog pagination */
.blog-pagination { margin-top: 56px; display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: 6px; 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-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text2); background: var(--g-light); border: 1px solid var(--border); text-decoration: none; transition: background .15s, color .15s; }
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current { background: var(--g); color: #fff; border-color: var(--g); }
.blog-pagination .page-numbers.dots { background: none; border: none; }

.blog-section { padding-top: 0 !important; }
.payment-img { max-width: 180px; height: auto; }

@media (max-width: 768px) {
  .blog-chips-bar { top: 56px; }
  .chip { font-size: 12px; padding: 5px 12px; }
}
