/* =====================================================
   01. БАЗОВЫЕ ПЕРЕМЕННЫЕ И ФИРМЕННЫЕ ЦВЕТА
===================================================== */
:root {
  --bg:#06120a;
  --bg2:#0a1d10;
  --green:#94f238;
  --green2:#68ef3f;
  --cream:#f6f6f0;
  --ink:#172019;
  --muted:#a8b1a6;
  --line:rgba(148,242,56,.22);
  --radius:26px;
  --container:1450px
}


/* =====================================================
   02. СБРОС И ОБЩИЕ НАСТРОЙКИ
===================================================== */
* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:var(--bg);
  color:#fff;
  line-height:1.45
}

.container {
  width:min(var(--container),calc(100% - 64px));
  margin:auto
}


/* =====================================================
   03. ШАПКА САЙТА И НАВИГАЦИЯ
===================================================== */
.site-header {
  position:absolute;
  top:22px;
  left:0;
  right:0;
  z-index:20
}

.header-inner {
  min-height:86px;
  border:1px solid rgba(148,242,56,.18);
  border-radius:24px;
  background:rgba(4,14,7,.78);
  backdrop-filter:blur(16px);
  display:grid;
  grid-template-columns:250px 1fr auto auto;
  align-items:center;
  gap:22px;
  padding:12px 18px
}

.brand,.footer-brand {
  display:flex;
  align-items:center;
  gap: 20px;
  color:#fff;
  text-decoration:none
}

.brand img,.footer-brand img {
  width:72px;
  height:64px;
  object-fit:contain
}

.brand span,.footer-brand span {
  display:flex;
  flex-direction:column
}

.brand b,.footer-brand b {
  font-family:Georgia,serif;
  font-size:28px;
  letter-spacing:.04em
}

.brand small,.footer-brand small {
  font-size:9px;
  color:#d7ded5
}

.main-nav {
  display:flex;
  justify-content:center;
  gap:34px
}

.main-nav a {
  color:#fff;
  text-decoration:none;
  font-size:15px;
  padding:22px 0;
  position:relative
}

.main-nav a.active,.main-nav a:hover {
  color:var(--green)
}

.main-nav a.active:after {
  content:"";
  position:absolute;
  left:25%;
  right:25%;
  bottom:7px;
  height:3px;
  border-radius:3px;
  background:var(--green)
}

.header-contact {
  display:flex;
  flex-direction:column;
  white-space:nowrap
}

.header-contact a {
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:17px
}

.header-contact small {
  color:#aeb7ad
}


/* =====================================================
   04. КНОПКИ
===================================================== */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  text-decoration:none;
  border-radius:18px;
  padding:16px 28px;
  font-weight:650;
  border:1px solid transparent;
  cursor:pointer
}

.btn-primary {
  background:linear-gradient(135deg,#a6ff43,#75e92f);
  color:#10200c
}

.btn-outline {
  border-color:rgba(255,255,255,.28);
  color:#fff;
  background:rgba(5,18,9,.55)
}

.btn-dark {
  background:#0a1c0f;
  color:#fff
}

.header-cta {
  white-space:nowrap
}

.menu-toggle {
  display:none
}


/* =====================================================
   05. ГЛАВНЫЙ HERO-БЛОК
===================================================== */
.hero {
  min-height:980px;
  padding:155px 0 36px;
  background:radial-gradient(circle at 72% 38%,rgba(84,214,31,.19),transparent 31%),linear-gradient(180deg,#041007,#07180c);
  position:relative;
  overflow:hidden
}

.hero:after {
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:280px;
  background:linear-gradient(transparent,rgba(0,0,0,.26));
  pointer-events:none
}

.hero-grid-lines {
  position:absolute;
  inset:110px 0 200px;
  background-image:linear-gradient(rgba(105,239,63,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(105,239,63,.035) 1px,transparent 1px);
  background-size:62px 62px;
  mask-image:radial-gradient(circle at 72% 45%,#000,transparent 65%)
}

.hero-layout {
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  min-height:620px;
  position:relative;
  z-index:2
}

.eyebrow,.section-kicker {
  text-transform:uppercase;
  color:var(--green);
  font-size:13px;
  letter-spacing:.03em
}

.eyebrow {
  display:inline-flex;
  border:1px solid rgba(148,242,56,.45);
  border-radius:99px;
  padding:11px 20px;
  margin-bottom:36px
}

.hero h1 {
  font-family:"Arial Narrow",Impact,sans-serif;
  font-stretch:condensed;
  font-size:68px;
  line-height:1.03;
  margin:0 0 30px;
  letter-spacing:-.035em;
  max-width:820px
}

.hero h1 em {
  color:var(--green);
  font-style:normal
}

.hero-copy>p {
  font-size:19px;
  color:#c5ccc3;
  max-width:660px;
  line-height:1.65
}

.hero-actions {
  display:flex;
  gap:20px;
  margin-top:38px
}

.hero-visual {
  height:650px;
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center
}

.hero-visual img {
  position:relative;
  z-index:2;
  width:min(740px,110%);
  max-height:650px;
  object-fit:contain;
  filter:drop-shadow(0 28px 45px rgba(0,0,0,.55))
}

.hero-orbit {
  position:absolute;
  width:580px;
  height:580px;
  border-radius:50%;
  border:1px solid rgba(148,242,56,.38);
  box-shadow:0 0 90px rgba(105,239,63,.2),inset 0 0 100px rgba(105,239,63,.08);
  top:25px
}


/* =====================================================
   06. СТАТИСТИКА
===================================================== */
.stats-grid {
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px
}

.stat {
  min-height:130px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(5,21,10,.7);
  display:flex;
  align-items:center;
  gap:22px;
  padding:22px
}

.stat i {
  width:64px;
  height:64px;
  border-radius:50%;
  background:rgba(148,242,56,.08);
  display:grid;
  place-items:center
}

.stat img {
  width:34px;
  filter:invert(78%) sepia(95%) saturate(824%) hue-rotate(34deg)
}

.stat div {
  display:flex;
  flex-direction:column
}

.stat b {
  color:var(--green);
  font-size:25px
}

.stat span {
  color:#fff;
  font-size:14px
}


/* =====================================================
   07. ОБЩИЕ СЕКЦИИ
===================================================== */
.section {
  padding:76px 0
}

.light-section {
  background:var(--cream);
  color:var(--ink)
}

.rounded-top {
  border-radius:34px 34px 0 0
}

.section-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:36px
}

.section-head h2 {
  font-family:Georgia,serif;
  font-size:38px;
  line-height:1.08;
  margin:8px 0 0
}

.text-link {
  color:inherit;
  text-decoration:none
}


/* =====================================================
   08. УСЛУГИ
===================================================== */
.service-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px
}

.service-grid article {
  border:1px solid #dde1d8;
  border-radius:20px;
  padding:24px 20px;
  min-height:270px;
  position:relative;
  background:rgba(255,255,255,.52)
}

.service-grid i {
  width:45px;
  height:45px;
  border-radius:50%;
  background:#dff0c9;
  display:grid;
  place-items:center
}

.service-grid i img {
  width:24px
}

.service-grid h3 {
  font-family:Georgia,serif;
  font-size:20px;
  line-height:1.2;
  margin:18px 0 12px
}

.service-grid p {
  font-size:14px;
  color:#566057
}

.service-grid article>a {
  position:absolute;
  right:18px;
  bottom:18px;
  width:34px;
  height:34px;
  background:#dff0c9;
  color:#193019;
  border-radius:50%;
  display:grid;
  place-items:center;
  text-decoration:none
}


/* =====================================================
   09. ЭТАПЫ РАБОТЫ
===================================================== */
.process-section {
  background:linear-gradient(135deg,#06120a,#0b2111);
  position:relative;
  overflow:hidden
}

.dark-head h2 {
  color:#fff
}

.light-link {
  color:#dce5dc
}

.process-line {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:34px;
  position:relative
}

.process-line:before {
  content:"";
  position:absolute;
  left:7%;
  right:7%;
  top:42px;
  height:1px;
  background:linear-gradient(90deg,var(--green),rgba(148,242,56,.4))
}

.process-line article {
  position:relative;
  z-index:1
}

.process-line i {
  width:82px;
  height:82px;
  border-radius:50%;
  background:#0b1e10;
  border:1px solid rgba(148,242,56,.55);
  display:grid;
  place-items:center;
  margin-bottom:26px
}

.process-line i img {
  width:36px;
  filter:invert(82%) sepia(90%) saturate(600%) hue-rotate(32deg)
}

.process-line span {
  color:var(--green)
}

.process-line h3 {
  font-size:19px;
  margin:6px 0
}

.process-line p {
  color:#c0c8c0;
  font-size:14px;
  max-width:220px
}


/* =====================================================
   10. БЛОК О КОМПАНИИ
===================================================== */
.about-grid {
  display:grid;
  grid-template-columns:.95fr 1.25fr;
  gap:30px;
  align-items:stretch
}

.about-copy h2 {
  font-family:Georgia,serif;
  font-size:42px;
  line-height:1.06
}

.about-copy>p {
  color:#596259;
  font-size:17px;
  max-width:650px
}

.mini-stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid #d9dfd5;
  border-radius:18px;
  margin:30px 0
}

.mini-stats div {
  padding:20px;
  border-right:1px solid #d9dfd5;
  display:flex;
  flex-direction:column
}

.mini-stats div:last-child {
  border:0
}

.mini-stats b {
  color:#3d8c15;
  font-size:23px
}

.mini-stats span {
  font-size:12px
}

.founder-card {
  border-radius:24px;
  background:linear-gradient(110deg,#07170c,#0d2a14);
  display:grid;
  grid-template-columns:1fr 1.05fr;
  overflow:hidden;
  overflow:clip;
  isolation:isolate;
  color:#fff;
  min-height:420px
}

/* Фотография основателя занимает всю высоту левой части карточки.
   object-fit обрезает лишнее без искажения, а overflow у карточки
   удерживает изображение строго внутри скруглённых углов. */
.founder-card>img {
  display:block;
  width:100%;
  height:100%;
  min-height:420px;
  align-self:stretch;
  object-fit:cover;
  object-position:center 18%;
  border-radius:24px 0 0 24px
}

.founder-card>div {
  padding:46px 38px;
  display:flex;
  flex-direction:column;
  justify-content:center
}

.founder-card span {
  color:var(--green);
  text-transform:uppercase;
  font-size:12px
}

.founder-card h3 {
  font-family:Georgia,serif;
  font-size:30px;
  margin:10px 0
}

.founder-card p {
  color:#c4cdc4
}

.founder-card a {
  color:var(--green);
  text-decoration:none;
  margin-top:20px
}


/* =====================================================
   11. КЕЙСЫ И ПАРТНЁРЫ
===================================================== */
.cases-section {
  background:#fff;
  color:var(--ink)
}

.case-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px
}

.case-grid article {
  min-height:285px;
  border-radius:18px;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  position:relative;
  color:#fff;
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end
}

.case-grid article:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(transparent 10%,rgba(2,12,6,.9))
}

.case-grid article>* {
  position:relative
}

.case-grid article>span {
  align-self:flex-start;
  background:rgba(23,65,12,.78);
  border:1px solid rgba(148,242,56,.4);
  color:var(--green);
  border-radius:99px;
  padding:5px 12px;
  font-size:11px
}

.case-grid h3 {
  font-size:21px;
  line-height:1.18
}

.case-grid article>div {
  display:flex;
  justify-content:space-between;
  gap:10px
}

.case-grid b,.case-grid em {
  color:var(--green);
  font-size:18px;
  font-style:normal
}

.case-grid a {
  color:#fff;
  text-decoration:none;
  margin-top:15px;
  font-size:13px
}

.trust-row {
  margin-top:38px;
  padding-top:28px;
  border-top:1px solid #e0e4dc;
  display:flex;
  align-items:center;
  gap:50px
}

.trust-row>span {
  color:#68a83e;
  text-transform:uppercase;
  font-size:12px
}

.partner-logos {
  display:flex;
  align-items:center;
  justify-content:space-around;
  gap:45px;
  flex:1
}

.partner-logos img {
  height:42px;
  width:auto;
  max-width:180px;
  object-fit:contain;
  filter:none;
  opacity:.72;
  display:block
}


/* =====================================================
   12. ОТЗЫВЫ И ФОРМЫ
===================================================== */
.bottom-grid {
  display:grid;
  grid-template-columns:.9fr 1.25fr;
  gap:34px
}

.review-block,.lead-card {
  border-radius:20px
}

.review-block {
  padding:28px;
  border:1px solid #dce1d9
}

.review-block blockquote {
  font-family:Georgia,serif;
  font-size:20px;
  line-height:1.5;
  margin:28px 0
}

.review-block small,.review-block b {
  display:block
}

.stars {
  color:#6db72a;
  margin-top:20px
}


.lead-card {
  background:#07190d;
  color:#fff;
  padding:30px;
  position:relative;
  overflow:hidden
}

.lead-card h2 {
  font-family:Georgia,serif;
  margin:8px 0;
  font-size:30px
}

.lead-card p {
  color:#b9c4ba
}

.lead-card form {
  display:flex;
  flex-direction:column;
  gap:11px
}

.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px
}

.lead-card input,.lead-card textarea {
  width:100%;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  background:rgba(255,255,255,.05);
  color:#fff
}

.lead-card textarea {
  min-height:90px;
  resize:vertical
}

.lead-card label {
  font-size:11px;
  color:#bcc6bc
}

.lead-card label input {
  width:auto
}


/* =====================================================
   13. ПОДВАЛ САЙТА
===================================================== */
.footer {
  padding:52px 0;
  background:#041007
}

.footer-grid {
  display:grid;
  grid-template-columns:1.2fr .85fr .8fr 1.05fr 1.2fr;
  gap:42px
}

.footer-grid h4 {
  margin-top:0
}

.footer-grid a {
  display:block;
  color:#c7d0c6;
  text-decoration:none;
  margin:8px 0
}

.footer-grid p {
  color:#aeb8ae
}

.footer-brand img {
  width:68px
}

.social {
  display:flex;
  gap:10px
}

.social a {
  width:38px;
  height:38px;
  border:1px solid rgba(148,242,56,.25);
  border-radius:50%;
  display:grid;
  place-items:center
}

.social img {
  width:18px;
  filter:invert(1)
}

.footer-cta {
  border:1px solid rgba(148,242,56,.2);
  border-radius:20px;
  padding:24px
}

.footer-cta h3 {
  font-family:Georgia,serif;
  font-size:25px;
  margin-top:0
}


/* =====================================================
   15. АДАПТИВНОСТЬ И МОБИЛЬНЫЕ СТИЛИ
===================================================== */
@media(max-width:1100px) {
  .header-inner {
    grid-template-columns:220px 1fr auto
  }
  .header-contact {
    display:none
  }
  .service-grid {
    grid-template-columns:repeat(3,1fr)
  }
  .stats-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .hero-layout {
    grid-template-columns:1fr
  }
  .hero {
    padding-top:145px
  }
  .hero-visual {
    height:510px
  }
  .hero-visual img {
    max-height:520px
  }
  .hero-orbit {
    width:470px;
    height:470px
  }
  .about-grid {
    grid-template-columns:1fr
  }
  .case-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .bottom-grid {
    grid-template-columns:1fr 1fr
  }
  .lead-card {
    grid-column:1/-1
  }
  .footer-grid {
    grid-template-columns:repeat(3,1fr)
  }
}

@media(max-width:780px) {
  .container {
    width:min(100% - 28px,var(--container))
  }
  .site-header {
    top:10px
  }
  .header-inner {
    grid-template-columns:1fr auto;
    padding:8px 12px;
    min-height:70px
  }
  .brand img {
    width:55px;
    height:50px
  }
  .brand b {
    font-size:22px
  }
  .brand small {
    font-size:7px
  }
  .menu-toggle {
    display:block;
    background:none;
    border:0;
    color:#fff;
    font-size:26px
  }
  .main-nav {
    display:none;
    position:absolute;
    left:14px;
    right:14px;
    top:74px;
    background:#06140a;
    border:1px solid var(--line);
    border-radius:18px;
    padding:16px;
    flex-direction:column;
    gap:4px
  }
  .main-nav.open {
    display:flex
  }
  .main-nav a {
    padding:12px
  }
  .header-cta {
    display:none
  }
  .hero {
    min-height:auto;
    padding:112px 0 24px
  }
  .hero-layout {
    min-height:auto
  }
  .hero h1 {
    font-size:42px
  }
  .hero-copy>p {
    font-size:16px
  }
  .hero-actions {
    flex-direction:column;
    align-items:stretch
  }
  .hero-visual {
    height:380px;
    margin-top:20px
  }
  .hero-orbit {
    width:340px;
    height:340px
  }
  .stats-grid,.service-grid,.case-grid,.bottom-grid,.footer-grid {
    grid-template-columns:1fr
  }
  .stat {
    min-height:100px
  }
  .section {
    padding:54px 0
  }
  .section-head {
    align-items:flex-start;
    gap:20px
  }
  .section-head h2 {
    font-size:31px
  }
  .section-head>.text-link {
    display:none
  }
  .service-grid article {
    min-height:210px
  }
  .process-line {
    grid-template-columns:1fr
  }
  .process-line:before {
    left:40px;
    right:auto;
    top:0;
    bottom:0;
    width:1px;
    height:auto
  }
  .process-line article {
    padding-left:104px;
    min-height:110px
  }
  .process-line i {
    position:absolute;
    left:0;
    top:0
  }
  .founder-card {
    grid-template-columns:1fr
  }
  .founder-card>img {
    height:420px;
    min-height:420px;
    border-radius:24px 24px 0 0;
    object-position:center 18%
  }
  .mini-stats {
    grid-template-columns:1fr 1fr
  }
  .mini-stats div:nth-child(2) {
    border-right:0
  }
  .partner-logos {
    flex-wrap:wrap
  }
  .trust-row {
    align-items:flex-start;
    flex-direction:column;
    gap:20px
  }
  .form-row {
    grid-template-columns:1fr
  }
  .footer-grid {
    gap:28px
  }
}

/* Multipage additions */


/* =====================================================
   14. ВНУТРЕННИЕ СТРАНИЦЫ
===================================================== */
.page-hero {
  padding:170px 0 86px;
  background:radial-gradient(circle at 82% 28%,rgba(104,239,63,.18),transparent 30%),linear-gradient(180deg,#041007,#0a1d10);
  position:relative;
  overflow:hidden
}

.page-hero:after {
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(104,239,63,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(104,239,63,.03) 1px,transparent 1px);
  background-size:56px 56px;
  mask-image:linear-gradient(#000,transparent 90%);
  pointer-events:none
}

.page-hero .container {
  position:relative;
  z-index:1
}

.breadcrumbs {
  display:flex;
  gap:10px;
  align-items:center;
  color:#aeb8ae;
  font-size:13px;
  margin-bottom:26px
}

.breadcrumbs a {
  color:#cbd5cb;
  text-decoration:none
}

.page-hero h1 {
  font-family:"Arial Narrow",Impact,sans-serif;
  font-size:72px;
  line-height:.98;
  max-width:1000px;
  margin:0 0 24px;
  letter-spacing:-.035em
}

.page-hero h1 em {
  color:var(--green);
  font-style:normal
}

.page-hero p {
  max-width:760px;
  font-size:19px;
  color:#c3ccc3
}

.content-section {
  padding:76px 0;
  background:var(--cream);
  color:var(--ink)
}

.content-section.alt {
  background:#fff
}

.content-grid {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:54px;
  align-items:start
}

.content-grid h2,.page-section-title {
  font-family:Georgia,serif;
  font-size:42px;
  line-height:1.1;
  margin:0 0 22px
}

.content-grid p,.rich-text p {
  color:#596259;
  font-size:17px
}

.feature-list {
  display:grid;
  gap:14px
}

.feature-item {
  border:1px solid #dce1d9;
  border-radius:18px;
  padding:20px 22px;
  background:rgba(255,255,255,.65)
}

.feature-item b {
  display:block;
  font-size:18px;
  margin-bottom:6px
}

.feature-item span {
  color:#657066
}

.service-catalog {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}

.service-catalog article {
  border:1px solid #dbe1d7;
  border-radius:22px;
  padding:28px;
  background:#fff;
  min-height:245px;
  display:flex;
  flex-direction:column
}

.service-catalog i {
  width:52px;
  height:52px;
  border-radius:50%;
  background:#e5f4d5;
  display:grid;
  place-items:center
}

.service-catalog i img {
  width:28px
}

.service-catalog h3 {
  font-family:Georgia,serif;
  font-size:24px;
  margin:20px 0 10px
}

.service-catalog p {
  color:#5e685f;
  flex:1
}

.service-catalog a {
  color:#317d14;
  text-decoration:none;
  font-weight:650
}

.detail-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:36px
}

.detail-card,.sidebar-card {
  border:1px solid #dce1d9;
  border-radius:22px;
  background:#fff;
  padding:30px
}

.detail-card h2,.detail-card h3 {
  font-family:Georgia,serif
}

.detail-card h2 {
  font-size:38px
}

.detail-card h3 {
  font-size:25px;
  margin-top:34px
}

.check-list {
  list-style:none;
  padding:0;
  margin:20px 0;
  display:grid;
  gap:12px
}

.check-list li {
  position:relative;
  padding-left:30px;
  color:#4d584e
}

.check-list li:before {
  content:"✓";
  position:absolute;
  left:0;
  color:#3d9b16;
  font-weight:800
}

.sidebar-card {
  position:sticky;
  top:120px;
  background:#08190d;
  color:#fff
}

.sidebar-card h3 {
  font-family:Georgia,serif;
  font-size:27px;
  margin-top:0
}

.sidebar-card p {
  color:#c5cec5
}

.sidebar-card .btn {
  width:100%;
  margin-top:12px
}

.case-list {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px
}

.case-list article {
  border-radius:22px;
  min-height:360px;
  background-size:cover;
  background-position:center;
  position:relative;
  overflow:hidden;
  color:#fff;
  padding:28px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end
}

.case-list article:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(transparent,rgba(1,10,4,.92))
}

.case-list article>* {
  position:relative
}

.case-list span {
  align-self:flex-start;
  border:1px solid rgba(148,242,56,.45);
  color:var(--green);
  padding:6px 12px;
  border-radius:999px;
  font-size:12px
}

.case-list h3 {
  font-family:Georgia,serif;
  font-size:28px;
  max-width:90%
}

.case-meta {
  display:flex;
  gap:24px;
  color:#d7dfd7
}

.contact-grid {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:26px
}

.contact-card {
  border:1px solid #dce1d9;
  border-radius:22px;
  padding:30px;
  background:#fff
}

.contact-card h3 {
  font-family:Georgia,serif;
  font-size:27px
}

.contact-card a {
  color:#2d7414;
  text-decoration:none
}

.map-placeholder {
  min-height:420px;
  border-radius:22px;
  background:radial-gradient(circle at 70% 30%,rgba(104,239,63,.2),transparent 35%),#09200f;
  display:grid;
  place-items:center;
  color:#fff;
  text-align:center;
  padding:30px
}

.news-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}

.news-grid article {
  border:1px solid #dce1d9;
  border-radius:22px;
  background:#fff;
  overflow:hidden
}

.news-cover {
  height:190px;
  background:linear-gradient(135deg,#0a2110,#2f7c1a);
  position:relative
}

.news-cover:after {
  content:"Грант";
  position:absolute;
  right:18px;
  bottom:12px;
  color:rgba(255,255,255,.18);
  font:700 42px Georgia
}

.news-body {
  padding:24px
}

.news-body time {
  color:#4a8f2b;
  font-size:12px
}

.news-body h3 {
  font-family:Georgia,serif;
  font-size:22px
}

.news-body p {
  color:#5e685f
}

.news-body a {
  color:#2e7615;
  text-decoration:none;
  font-weight:650
}

.legal-note {
  font-size:12px;
  color:#758076;
  margin-top:14px
}

@media(max-width:980px) {
  .content-grid,.detail-layout,.contact-grid {
    grid-template-columns:1fr
  }
  .sidebar-card {
    position:static
  }
  .service-catalog,.news-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .page-hero h1 {
    font-size:56px
  }
}

@media(max-width:680px) {
  .page-hero {
    padding:120px 0 58px
  }
  .page-hero h1 {
    font-size:42px
  }
  .service-catalog,.case-list,.news-grid {
    grid-template-columns:1fr
  }
  .content-section {
    padding:52px 0
  }
  .content-grid h2,.page-section-title {
    font-size:32px
  }
}

/* V11 — interaction, accessibility and polish */

html {
  scroll-behavior:smooth;
  scroll-padding-top:96px
}

body.menu-open,body.modal-open {
  overflow:hidden
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #68ef3f;
  outline-offset:3px
}

.main-nav a.is-current {
  color:#68ef3f
}

.footer a.is-current {
  text-decoration:underline;
  text-decoration-color:#68ef3f;
  text-underline-offset:5px
}

.reveal-item {
  opacity:0;
  transform:translateY(22px);
  transition:opacity .65s ease,transform .65s ease
}

.reveal-item.is-visible {
  opacity:1;
  transform:none
}

.field-error {
  border-color:#d84b4b!important;
  box-shadow:0 0 0 3px rgba(216,75,75,.15)!important
}

.site-modal {
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  opacity:0;
  visibility:hidden;
  transition:.25s ease
}

.site-modal.open {
  opacity:1;
  visibility:visible
}

.site-modal__backdrop {
  position:absolute;
  inset:0;
  background:rgba(4,14,8,.76);
  backdrop-filter:blur(8px)
}

.site-modal__panel {
  position:relative;
  width:min(92vw,480px);
  padding:40px;
  border:1px solid rgba(104,239,63,.28);
  border-radius:28px;
  background:#122314;
  color:#fff;
  text-align:center;
  box-shadow:0 24px 80px rgba(0,0,0,.4)
}

.site-modal__panel h2 {
  margin:12px 0 10px;
  font-size:30px
}

.site-modal__panel p {
  margin:0 0 24px;
  color:#b7bda5;
  line-height:1.6
}

.site-modal__icon {
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  margin:auto;
  border-radius:50%;
  background:#68ef3f;
  color:#122314;
  font-size:34px;
  font-weight:700
}

.site-modal__close {
  position:absolute;
  top:14px;
  right:18px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:34px;
  cursor:pointer
}

.back-to-top {
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:1000;
  width:48px;
  height:48px;
  border:1px solid rgba(104,239,63,.4);
  border-radius:50%;
  background:#122314;
  color:#68ef3f;
  font-size:24px;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:.25s ease;
  box-shadow:0 12px 32px rgba(0,0,0,.25)
}

.back-to-top.visible {
  opacity:1;
  visibility:visible;
  transform:none
}

.back-to-top:hover {
  background:#68ef3f;
  color:#122314
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  .reveal-item {
    opacity:1;
    transform:none;
    transition:none
  }
  * {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important
  }
}

/* V13: clean case cards — source photos contain no embedded text */

.case-grid article, .case-list article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-grid article::before, .case-list article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:     linear-gradient(180deg, rgba(4,16,9,.08) 0%, rgba(4,16,9,.35) 45%, rgba(4,16,9,.94) 100%);
}

.case-grid article > *, .case-list article > * {
  position: relative;
  z-index: 1;
}

.case-card-link {
  position:absolute!important;
  inset:0;
  z-index:5!important
}

@media(max-width:800px) {
  .content-section .container>div[style*="grid-template-columns"] {
    grid-template-columns:1fr!important
  }
}

/* V15 — correct fitting of case photos */

.case-grid article, .case-list article {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  aspect-ratio: 4 / 3;
  min-height: 0 !important;
}

.case-grid article {
  padding: 22px !important;
}

.case-list article {
  padding: 28px !important;
}

.case-grid .case-badge, .case-list .case-badge {
  display: inline-flex !important;
  width: fit-content;
  align-self: flex-start;
  margin-bottom: auto;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(15,55,10,.82);
  border: 1px solid rgba(148,242,56,.45);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.case-grid article::before, .case-list article::before {
  background: linear-gradient(     180deg,     rgba(3,14,7,.04) 0%,     rgba(3,14,7,.10) 34%,     rgba(3,14,7,.74) 67%,     rgba(3,14,7,.96) 100%   ) !important;
}

@media (max-width: 680px) {
  .case-grid article,   .case-list article {
    aspect-ratio: 16 / 11;
  }
}

/* V18 — final cross-page QA, responsive geometry and accessibility */

:root {
  --content-gutter:clamp(18px,4vw,32px)
}

html {
  overflow-x:hidden
}

body {
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility
}

img,svg,video {
  max-width:100%;
  height:auto
}

img[width][height] {
  height:auto
}

main {
  min-width:0
}

.container {
  width:min(var(--container),calc(100% - (var(--content-gutter) * 2)))
}

h1,h2,h3,h4,p,a,button,label,span {
  overflow-wrap:anywhere
}

.skip-link {
  position:fixed;
  top:10px;
  left:10px;
  z-index:100000;
  transform:translateY(-160%);
  padding:12px 18px;
  border-radius:12px;
  background:#68ef3f;
  color:#122314;
  font-weight:700;
  text-decoration:none;
  transition:transform .18s ease
}

.skip-link:focus {
  transform:none
}

.brand img,.footer-brand img {
  flex:0 0 auto
}

.main-nav a.is-current:after {
  content:"";
  position:absolute;
  left:25%;
  right:25%;
  bottom:7px;
  height:3px;
  border-radius:3px;
  background:var(--green)
}

.service-grid>article,.service-catalog>article,.news-grid>article,.feature-item,.detail-card,.contact-card {
  min-width:0
}

.service-grid>article,.service-catalog>article {
  height:100%
}

.case-grid,.case-list {
  align-items:stretch
}

.case-grid article,.case-list article {
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  isolation:isolate;
  background-color:#102015
}

.case-grid article::before,.case-list article::before {
  z-index:0!important;
  pointer-events:none
}

.case-grid article>*:not(.case-card-link),.case-list article>*:not(.case-card-link) {
  z-index:1!important
}

.case-card-link {
  border-radius:inherit
}

.case-card-link:focus-visible {
  outline:3px solid #68ef3f;
  outline-offset:-6px
}

.partner-logos img {
  display:block;
  max-width:180px;
  max-height:54px;
  object-fit:contain
}

input,textarea,select,button {
  font:inherit
}

textarea {
  resize:vertical;
  min-height:130px
}

table {
  width:100%;
  border-collapse:collapse
}

.rich-text table,.detail-card table {
  display:block;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch
}

@media(max-width:1180px) {
  .header-inner {
    grid-template-columns:220px 1fr auto;
    gap:14px
  }
  .header-contact {
    display:none
  }
  .main-nav {
    gap:20px
  }
  .header-cta {
    padding-inline:20px
  }
  .hero h1 {
    font-size:clamp(48px,6vw,64px)
  }
}

@media(max-width:980px) {
  .site-header {
    top:12px
  }
  .header-inner {
    min-height:72px;
    grid-template-columns:1fr auto auto;
    padding:8px 12px;
    border-radius:20px
  }
  .brand img {
    width:58px;
    height:54px
  }
  .brand b {
    font-size:23px
  }
  .menu-toggle {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    border:1px solid rgba(104,239,63,.35);
    border-radius:14px;
    background:rgba(5,18,9,.8);
    color:#fff;
    font-size:0
  }
  .menu-toggle::before {
    content:"☰";
    font-size:24px
  }
  .main-nav {
    position:fixed;
    top:96px;
    left:var(--content-gutter);
    right:var(--content-gutter);
    display:grid;
    gap:0;
    padding:12px;
    border:1px solid rgba(104,239,63,.25);
    border-radius:20px;
    background:#08190d;
    box-shadow:0 22px 70px rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    transition:.22s ease
  }
  .main-nav.open {
    opacity:1;
    visibility:visible;
    transform:none
  }
  .main-nav a {
    padding:15px 14px;
    border-radius:12px
  }
  .main-nav a:hover,.main-nav a.is-current {
    background:rgba(104,239,63,.08)
  }
  .main-nav a:after {
    display:none!important
  }
  .hero {
    min-height:auto;
    padding-top:125px
  }
  .hero-layout {
    grid-template-columns:1fr;
    min-height:0
  }
  .hero-copy {
    text-align:center
  }
  .hero-copy>p {
    margin-inline:auto
  }
  .hero-actions {
    justify-content:center;
    flex-wrap:wrap
  }
  .hero-visual {
    height:min(72vw,560px)
  }
  .hero-orbit {
    width:min(70vw,520px);
    height:min(70vw,520px)
  }
  .stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}

@media(max-width:680px) {
  .header-cta {
    display:none
  }
  .header-inner {
    grid-template-columns:1fr auto
  }
  .brand small {
    display:none
  }
  .hero h1 {
    font-size:clamp(40px,12vw,54px)
  }
  .hero-copy>p,.page-hero p {
    font-size:16px
  }
  .hero-actions .btn {
    width:100%
  }
  .stats-grid,.mini-stats {
    grid-template-columns:1fr
  }
  .stat {
    min-height:105px
  }
  .case-grid article,.case-list article {
    aspect-ratio:auto!important;
    min-height:360px!important
  }
  .case-list article {
    padding:22px!important
  }
  .case-list h3 {
    font-size:24px;
    max-width:100%
  }
  .case-meta {
    flex-wrap:wrap;
    gap:12px
  }
  .partner-logos {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
    gap:20px
  }
  .partner-logos img {
    margin:auto;
    max-width:140px
  }
  .footer-grid {
    grid-template-columns:1fr!important
  }
  .site-modal__panel {
    padding:32px 22px
  }
  .back-to-top {
    right:16px;
    bottom:16px
  }
}

@media(max-width:420px) {
  .brand b {
    font-size:20px
  }
  .brand img {
    width:50px;
    height:48px
  }
  .page-hero h1 {
    font-size:38px
  }
  .partner-logos {
    grid-template-columns:1fr 1fr
  }
}

.social-placeholder {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity:.55;
  cursor:not-allowed
}

.disabled-link {
  color:inherit;
  opacity:.6;
  cursor:default;
  pointer-events:none
}

.social-placeholder img {
  pointer-events:none
}

/* Combined update — raise hero CTA buttons away from statistics cards */

@media (min-width: 981px) {
  .hero-actions {
    position: relative;
    transform: translateY(-28px);
  }
}

/* Hero background image — replace assets/backgrounds/hero-background.webp with your own file */

.hero {
  background-image:     linear-gradient(90deg, rgba(3, 12, 7, .94) 0%, rgba(3, 12, 7, .78) 42%, rgba(3, 12, 7, .38) 72%, rgba(3, 12, 7, .74) 100%),     linear-gradient(180deg, rgba(3, 12, 7, .18) 0%, rgba(3, 12, 7, .24) 65%, rgba(3, 12, 7, .92) 100%),     url("backgrounds/hero-background.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #041007;
}

@media (max-width: 980px) {
  .hero {
    background-position: 62% center;
  }
}

/* Fix: readable consultation button in footer CTA */

.footer-grid .footer-cta .btn.btn-primary {
  color: #10200c;
  font-weight: 750;
  text-shadow: none;
}

.footer-grid .footer-cta .btn.btn-primary:hover, .footer-grid .footer-cta .btn.btn-primary:focus-visible {
  color: #081407;
}

/* =====================================================
   РЕАЛЬНЫЕ РЕЗУЛЬТАТЫ — общий показатель и пять отраслей
===================================================== */
.results-total {
  margin: 0 0 22px;
  padding: clamp(24px,4vw,42px);
  border-radius: 22px;
  background: linear-gradient(135deg,#07190d 0%,#12351b 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 45px rgba(7,25,13,.14);
}
.results-total span,
.results-total p {
  display: block;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.results-total span {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.results-total strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--green);
  font-family: Georgia,serif;
  font-size: clamp(34px,5vw,64px);
  line-height: 1.05;
}
.results-total p {
  font-size: clamp(12px,1.5vw,16px);
  color: #e8efe8;
}
.results-grid {
  grid-template-columns: repeat(5,minmax(0,1fr));
}
.results-grid article {
  aspect-ratio: 4 / 5;
}
.results-grid article > div {
  justify-content: flex-start;
}
.results-grid h3 {
  min-height: 2.5em;
}
.results-grid b {
  font-size: clamp(18px,1.5vw,24px);
}
@media (max-width: 1180px) {
  .results-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .results-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .results-grid article { aspect-ratio: 4 / 4.6; }
}
@media (max-width: 560px) {
  .results-grid { grid-template-columns: 1fr; }
  .results-grid article { aspect-ratio: 16 / 11; }
}


/* =====================================================
   ЕДИНЫЙ РАЗДЕЛ КЕЙСОВ — общие результаты, карточки и страницы кейсов
===================================================== */
.cases-summary{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;margin-bottom:34px}
.cases-summary-total,.cases-summary-facts{border-radius:26px;padding:34px;background:#f5f8f5;border:1px solid rgba(22,93,66,.12)}
.cases-summary-total{background:linear-gradient(145deg,var(--bg),var(--bg2));color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:260px;border-color:rgba(148,242,56,.22);box-shadow:inset 0 0 0 1px rgba(148,242,56,.04)}
.cases-summary-total span{font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;opacity:.75}
.cases-summary-total strong{display:block;font-size:clamp(32px,4vw,58px);line-height:1.02;margin:12px 0 14px;letter-spacing:-.03em}
.cases-summary-total p{margin:0;font-weight:800;line-height:1.45;text-transform:uppercase}
.cases-summary-facts{display:flex;flex-direction:column;justify-content:center;gap:15px}
.cases-summary-facts p{margin:0;font-weight:750;line-height:1.55;color:#173c30}
.unified-case-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.unified-case-list article{min-height:380px}
.case-detail-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:32px;align-items:start}
.case-detail-image{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:24px;display:block}
.case-detail-description{margin-top:24px;padding:10px 28px}
.case-detail-block{display:grid;grid-template-columns:54px 1fr;gap:18px;padding:28px 0;border-bottom:1px solid rgba(17,75,54,.12)}
.case-detail-block:last-child{border-bottom:0}
.case-detail-block h2{margin:0 0 8px}
.case-detail-block p{margin:0}
.case-detail-label{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e5f4eb;color:#146747;font-weight:850}
.case-detail-aside{position:sticky;top:110px}
.case-detail-aside h2{font-size:clamp(30px,3.4vw,50px);line-height:1.05;color:#116044;margin:16px 0 8px}
.case-detail-aside h3{margin:20px 0 8px}
.case-detail-aside .btn{width:100%;text-align:center;margin-top:18px}
.case-back-link{display:inline-block;margin-top:18px}
@media(max-width:980px){.cases-summary,.case-detail-layout{grid-template-columns:1fr}.unified-case-list{grid-template-columns:repeat(2,minmax(0,1fr))}.case-detail-aside{position:static}}
@media(max-width:640px){.cases-summary-total,.cases-summary-facts{padding:24px}.unified-case-list{grid-template-columns:1fr}.unified-case-list article{min-height:330px}.case-detail-description{padding:4px 20px}.case-detail-block{grid-template-columns:42px 1fr;gap:12px}}

/* =====================================================
   РАБОЧИЕ ФОРМЫ: статусы отправки и антиспам-поле
===================================================== */
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-status {
  min-height: 22px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status.is-pending { color: #55615b; }
.form-status.is-success { color: #168447; }
.form-status.is-warning { color: #8a6500; }
.form-status.is-error { color: #b42318; }

form button[type="submit"]:disabled {
  cursor: wait;
  opacity: .72;
}

.site-modal.is-error .site-modal__icon {
  background: #fee4e2;
  color: #b42318;
}

.site-modal.is-warning .site-modal__icon {
  background: #fff4cc;
  color: #8a6500;
}

/* =====================================================
   ЕДИНЫЙ ВИД КАРТОЧЕК УСЛУГ И КЛИКАБЕЛЬНЫХ СТРЕЛОК
===================================================== */
.service-grid article {
  display:flex;
  flex-direction:column;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.service-grid article:hover {
  border-color:var(--green);
  background:#fff;
  box-shadow:0 16px 38px rgba(6,18,10,.10);
  transform:translateY(-3px);
}

.service-grid article > p {
  margin-bottom:52px;
}

.service-grid article > a {
  right:20px;
  bottom:20px;
  background:var(--green);
  color:#071108;
  border:1px solid var(--green);
  font-size:20px;
  line-height:1;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.service-grid article > a:hover,
.service-grid article > a:focus-visible {
  background:var(--bg);
  color:#fff;
  border-color:var(--bg);
  transform:translateX(2px);
  box-shadow:0 8px 18px rgba(6,18,10,.20);
}

.service-grid article > a:focus-visible {
  outline:3px solid rgba(104,239,63,.45);
  outline-offset:3px;
}

.service-grid i {
  background:rgba(104,239,63,.18);
  border:1px solid rgba(104,239,63,.30);
}


/* =====================================================
   ЗАМЕТНЫЕ КНОПКИ TELEGRAM И MAX
===================================================== */
.social {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 18px;
  max-width: 280px;
}
.social .social-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 48px;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(126, 242, 47, .52);
  border-radius: 12px;
  background: #18341d;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.social .social-button:hover,
.social .social-button:focus-visible {
  transform: translateY(-2px);
  background: #244d29;
  border-color: #8cff36;
  box-shadow: 0 10px 28px rgba(86, 225, 42, .22);
  outline: none;
}
.social .social-button img,
.social .social-max-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}
.social .social-button img {
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.social .social-max-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #8cff36;
  color: #102313;
  font-size: 17px;
  font-weight: 900;
}
@media (max-width: 720px) {
  .social { max-width: none; }
  .social .social-button { min-height: 52px; font-size: 15px; }
}


/* =====================================================
   УВЕДОМЛЕНИЕ ДЛЯ НЕПОДКЛЮЧЕННЫХ TELEGRAM И MAX
===================================================== */
.social-link-notice {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10000;
  width: min(520px, calc(100% - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(140, 255, 54, .55);
  border-radius: 14px;
  background: #17331c;
  color: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.social-link-notice.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* =====================================================
   ДИНАМИЧЕСКИЕ НОВОСТИ И БЛОК НА ГЛАВНОЙ
===================================================== */
.news-cover--image{display:block;background-size:cover;background-position:center}.news-pagination{display:flex;justify-content:center;gap:8px;margin-top:30px}.news-pagination a{padding:9px 13px;border:1px solid rgba(24,169,88,.35);border-radius:8px;text-decoration:none}.news-pagination a.active{background:#18a958;color:#fff}.news-article{max-width:960px}.news-article-image{width:100%;max-height:560px;object-fit:cover;border-radius:22px;margin-bottom:28px}.news-article-content{background:#fff;color:#17231b;border-radius:18px;padding:clamp(22px,4vw,46px);line-height:1.75;box-shadow:0 12px 35px rgba(13,37,20,.08)}.news-article-content h2,.news-article-content h3{color:#122314;margin-top:1.5em}.latest-news-section{background:#f5f8f6}.latest-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.latest-news-grid article{background:#fff;border-radius:18px;padding:20px;box-shadow:0 10px 30px rgba(18,35,20,.08)}.latest-news-image{height:190px;display:block;background-size:cover;background-position:center;border-radius:13px;margin:-4px -4px 17px}.latest-news-grid time{color:#178e4d;font-weight:700;font-size:13px}.latest-news-grid h3 a{color:#132319;text-decoration:none}.latest-news-grid>article>a:last-child{color:#15914e;font-weight:800;text-decoration:none}@media(max-width:900px){.latest-news-grid{grid-template-columns:1fr}}

.case-description{max-width:38rem;margin:8px 0 80px;color:#fff;opacity:.86;line-height:1.45}.service-price{display:block;margin:8px 0;color:var(--green,#159447)}


/* Карта офиса */
.map-shell{min-height:420px;border-radius:22px;overflow:hidden;background:#09200f}
.office-map{display:block;width:100%;height:420px;border:0;background:#09200f}
@media(max-width:720px){.map-shell,.office-map{min-height:340px;height:340px}}


/* CONTACTS FIX 2026-08-13 v4: карта строится по адресу, форма снова в колонке */
.contact-info-stack{display:flex;flex-direction:column;gap:22px;min-width:0}
.contact-grid>.lead-card{align-self:start;min-width:0}
.map-shell[hidden]{display:none!important}
.map-shell{width:100%;min-height:360px;border-radius:22px;overflow:hidden;background:#eef2ed}
.office-map{display:block;width:100%;height:360px;border:0;background:#eef2ed}
@media(max-width:980px){.contact-grid{grid-template-columns:1fr}.contact-grid>.lead-card{width:100%}.map-shell,.office-map{min-height:320px;height:320px}}


/* VISUAL STABILITY 2026-08-13: preserve approved hero typography */
.hero-copy>p{color:#c5ccc3}
.hero h1 em{color:var(--green);font-style:normal}
@media (min-width:981px){.hero h1{font-size:68px;line-height:1.03;letter-spacing:-.035em;max-width:820px}}

/* Reviews slider */
.reviews-viewport{position:relative;min-height:215px;overflow:hidden}
.review-slide{display:none;animation:reviewFade .28s ease}
.review-slide.is-active{display:block}
.reviews-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px}
.review-arrow{width:40px;height:40px;border:1px solid #cfd8d1;border-radius:999px;background:#fff;color:#183a25;font-size:20px;cursor:pointer;transition:.18s}
.review-arrow:hover{border-color:#6db72a;background:#f0f8e8}
.review-dots{display:flex;align-items:center;justify-content:center;gap:8px;flex:1}
.review-dot{width:9px;height:9px;border:0;border-radius:999px;background:#cdd5cf;padding:0;cursor:pointer;transition:.18s}
.review-dot.is-active{width:24px;background:#6db72a}
.reviews-empty{color:#66736a;margin:28px 0}
@keyframes reviewFade{from{opacity:.25;transform:translateX(10px)}to{opacity:1;transform:none}}
@media(max-width:700px){.reviews-viewport{min-height:245px}.review-block blockquote{font-size:18px}}
