/* =========================================================
   Кейс внедрения стандарта СТИМУЛ — стили
   Шрифты, цвета и размеры взяты из реальных значений макета Figma
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,500;1,600;1,700&display=swap');

:root {
  --ink: #3b3b3b;
  --ink-soft: #6b6b64;
  --cream: #faf8f3;
  --cream-2: #f3efe4;
  --sage: #91aa86;
  --sage-dark: #728a68;
  --coral: #e06b65;
  --line: #3b3b3b;
  --white: #ffffff;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 10px 30px rgba(59, 59, 59, .08);
  --maxw: 1528px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin: 0 0 10px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
}

.section {
  padding: 70px 0;
  position: relative;
}

.section-head {
  max-width: 820px;
  margin: 0 0 32px;
}

.section-head h2 {
  font-size: clamp(24px, 3.4vw, 34px);
}

.lead {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 840px;
}

/* ---------------- HERO ---------------- */
/* Пиксель-в-пиксель канвас (референс 1920×900, см. images-list.md).
   Всё внутри позиционируется в % от контейнера — это даёт точное
   пропорциональное масштабирование на любых десктопных/широких
   экранах, а cqw (container query width) держит типографику
   и радиусы в той же пропорции, что и в макете. На ≤1024px канвас
   отключается и всё переходит в обычную поточную вёрстку (ниже). */
.hero {
  position: relative;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
}

.hero-canvas {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 1920/900;
  container-type: inline-size;
  isolation: isolate;
  /* Смещение вниз всех блоков хиро, кроме .hero-bg, на брейкпоинтах
     1600/1400/1200 (см. media-запросы ниже) — держит hero-breadcrumb
     на фиксированных 110px от верха экрана. */
  --hero-shift-y: 0px;
  /* Доп. смещение вниз всех блоков НИЖЕ hero-breadcrumb (кроме него
     самого и .hero-bg), когда текст в hero-breadcrumb переносится на
     несколько строк и занимает больше высоты, чем изначально заложено
     под одну строку — считается в script.js и пишется сюда через
     setProperty, чтобы соседние блоки не наезжали на breadcrumb. */
  --hero-extra-shift: 0px;
}

.hero-bg {
  position: absolute;
  left: .9375%;
  top: 0;
  width: 98.125%;
  height: 79.333%;
  border-radius: 20px;
  overflow: hidden;
  z-index: -2;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 248, 243, 0) 62%, var(--cream) 100%);
  pointer-events: none;
}

.hero-bg .hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  padding: 0 8px 0 8px;
}

.hero-chart {
  position: absolute;
  left: 64.375%;
  top: calc(22.889% + var(--hero-shift-y) + var(--hero-extra-shift));
  width: 25%;
  height: 44.889%;
  pointer-events: none;
}

.hero-chart img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-breadcrumb {
  position: absolute;
  left: 3.125%;
  top: calc(17.111% + var(--hero-shift-y));
  width: 93.073%;
  font-size: .923cqw;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: .3cqw;
}

.hero-breadcrumb .sep {
  opacity: .5;
}

.hero-badge {
  position: absolute;
  left: 10.104%;
  top: calc(26.889% + var(--hero-shift-y) + var(--hero-extra-shift));
  width: 42.1875%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.696cqw;
  line-height: 1.82cqw;
  letter-spacing: .0848cqw;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: .1cqw var(--ink);
  paint-order: stroke fill;
}

.hero-title {
  position: absolute;
  left: 10.104%;
  top: calc(34.333% + var(--hero-shift-y) + var(--hero-extra-shift));
  width: 49.427%;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2.268cqw;
  line-height: 1.085;
  letter-spacing: .005em;
  color: var(--ink);
  margin: 0;
}

.hero-title span {
  font-weight: 600;
  font-style: italic;
  display: block;
}

.hero-pills {
  position: absolute;
  left: 0;
  top: calc(52.667% + var(--hero-shift-y) + var(--hero-extra-shift));
  width: 100%;
  height: 3.667%;
  pointer-events: none;
}

.hero-pills .pill {
  position: absolute;
  left: var(--l);
  width: var(--w);
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: .0395cqw solid var(--ink);
  border-radius: .935cqw;
  font-size: .7934cqw;
  font-weight: 600;
  white-space: nowrap;
  background: transparent;
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
  pointer-events: auto;
}

.hero-pills .pill:hover,
.hero-pills .pill.active {
  background: var(--ink);
  color: #fff;
}

.hero-tagline {
  position: absolute;
  left: 10.104%;
  top: calc(63.667% + var(--hero-shift-y) + var(--hero-extra-shift));
  /* width: 32.865%; */
  font-size: 1.25cqw;
  line-height: 1.35;
  opacity: .9;
  color: var(--ink);
  margin: 0;
}

.hero-buttons {
  position: absolute;
  left: 10.156%;
  top: calc(var(--hero-shift-y) + var(--hero-extra-shift));
  width: 17.76%;
  height: 100%;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5cqw;
  font-weight: 600;
  border: .044cqw solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  flex: 0 0 auto;
}

.hero-buttons .btn {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4.889%;
  justify-content: center;
  font-size: .8836cqw;
  pointer-events: auto;
}

.hero-buttons .btn-primary {
  top: 83.556%;
  background: var(--sage);
  color: #fff;
  border-radius: 2.07cqw;
}

.hero-buttons .btn-primary:hover {
  box-shadow: 0 10px 22px rgba(145, 170, 134, .4);
}

.hero-buttons .btn-secondary {
  top: 90.444%;
  border-color: var(--ink);
  color: var(--ink);
  border-radius: 1.319cqw;
  background: linear-gradient(168deg, #fff 56%, #f8efe6 88%);
}

.hero-buttons .btn-secondary:hover {
  box-shadow: 0 10px 22px rgba(59, 59, 59, .15);
}

.btn:focus-visible {
  outline: 3px solid var(--sage-dark);
  outline-offset: 2px;
}

/* ---------------- Stat cards (glass) ---------------- */
.hero-stats {
  position: absolute;
  left: 0;
  top: calc(75.889% + var(--hero-shift-y) + var(--hero-extra-shift));
  width: 100%;
  height: 19.444%;
  pointer-events: none;
}

.stat-card {
  position: absolute;
  left: var(--l);
  width: var(--w);
  top: 0;
  height: 100%;
  backdrop-filter: blur(2px);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: 1.5625cqw;
  padding: 1.35cqw 1.04cqw;
  text-align: left;
  pointer-events: auto;
}

.stat-card .nums {
  display: flex;
  align-items: baseline;
  gap: .5cqw;
  flex-wrap: wrap;
}

.stat-card .from {
  font-weight: 300;
  font-size: 1.8229cqw;
  color: var(--ink);
}

.stat-card .arrow {
  color: var(--ink);
  /* font-size: .9cqw; */
  font-size: 20px;
}

.stat-card .to {
  font-weight: 600;
  font-size: 2.0833cqw;
  color: var(--ink);
}

.stat-card p {
  margin: 0;
  font-size: .9375cqw;
  color: var(--ink);
  line-height: 1.3;
}

.hero-desc {
  max-width: 100%;
  color: var(--ink);
  font-size: 16px;
  margin-top: 32px;
}

/* Контейнер описания под хиро должен иметь ту же "систему координат",
   что и .hero-canvas (max-width:1920px + width:100% + margin:0 auto),
   иначе процентный left у .hero-tagline (10.104%) и фиксированный
   padding у .container (24px в рамках max-width:1528px) расходятся
   на любой ширине экрана > 1024px. */
.hero>.container {
  max-width: 1920px;
  padding-left: 10.104%;
  padding-right: 10.104%;
}

/* ---------------- Отступ hero-breadcrumb: 110px от верха экрана ---------------- */
/* Пробовали зашить конкретные пиксельные значения --hero-shift-y под
   брейкпоинты 1600/1400/1200 — но на боевом сайте связь "ширина окна
   -> реальная ширина .hero-canvas" непредсказуема (CMS оборачивает блок
   в свой контейнер, и его фактическая ширина не совпадает с шириной окна
   и не равна ни одному "круглому" значению). Из-за этого любые
   зашитые в CSS цифры почти гарантированно окажутся немного не те.
   Поэтому сдвиг больше не считается через @media — он измеряется и
   выставляется в JS (см. script.js), где берётся РЕАЛЬНАЯ высота
   .hero-canvas в моменте и вычисляется точный --hero-shift-y так, чтобы
   hero-breadcrumb всегда оказывался ровно на 110px от верха экрана —
   независимо от того, что и как оборачивает блок на конкретном сайте.
   Ниже — только "нулевой" фолбэк на случай отключённого JS. */

/* ---------------- ≤1024px: канвас выключается, обычная поточная вёрстка ---------------- */
@media (max-width:1024px) {
  .hero {
    padding-bottom: 40px;
  }

  .hero-canvas {
    aspect-ratio: auto;
    height: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    container-type: normal;
  }

  .hero-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 460px;
    border-radius: 0;
  }

  .hero-chart {
    display: none;
  }

  .hero-breadcrumb {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 155px 24px 0;
    font-size: 13px;
    gap: 6px;
  }

  .hero-badge {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    display: inline-flex;
    margin: 22px 24px 16px;
    font-size: clamp(18px, 2.6vw, 24px);
    line-height: 1.3;
    letter-spacing: .05em;
    -webkit-text-stroke: 1.3px var(--ink);
  }

  .hero-title {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin: 0 24px 18px;
    font-size: clamp(24px, 3.4vw, 32px);
    line-height: 1.2;
  }

  .hero-pills {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 24px 26px;
  }

  .hero-pills .pill {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    padding: 8px 16px;
    border-width: 1.2px;
    border-radius: 18px;
    font-size: 13px;
  }

  .hero-tagline {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin: 0 24px 24px;
    font-size: clamp(16px, 1.8vw, 19px);
  }

  .hero-buttons {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    display: flex;
    gap: 14px;
    margin: 0 24px 30px;
  }

  .hero-buttons .btn {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    padding: 14px 24px;
    font-size: 14.5px;
    border-radius: 40px;
  }

  .hero-stats {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 24px;
    margin-bottom: 8px;
  }

  .stat-card {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    border-radius: 24px;
    padding: 20px 18px;
  }

  .stat-card .from {
    font-size: 26px;
  }

  .stat-card .to {
    font-size: 30px;
  }

  .stat-card p {
    font-size: 13.5px;
  }

  .hero>.container {
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width:640px) {
  .hero-bg {
    height: 220px;
  }

  .hero-bg::after {
    background: linear-gradient(180deg, rgba(250, 248, 243, 0) 42%, var(--cream) 100%);
  }

  .hero-bg .hero-photo {
    object-position: center 18%;
  }

  .hero-badge {
    margin: 18px 20px 14px;
  }

  .hero-title {
    margin: 0 20px 16px;
  }

  .hero-pills {
    display: none;
  }

  .hero-tagline {
    margin: 0 20px 20px;
  }

  .hero-buttons {
    flex-direction: column;
    margin: 0 20px 26px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .hero>.container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ---------------- Description paragraph under hero ---------------- */
.hero-desc {
  /* max-width: 1100px; */
  color: var(--ink);
  font-size: 16px;
  margin-top: 56px;
}

/* ---------------- Org card ---------------- */
.org-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 59, 59, .12);
  box-shadow: var(--shadow);
  padding: 34px clamp(20px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.org-card h3 {
  font-size: clamp(19px, 2.2vw, 24px);
  margin-bottom: 14px;
}

.org-card .facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-content: start;
}

.org-card .facts div {
  background: var(--cream-2);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
}

.org-card .facts strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

/* ---------------- Team ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.team-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--sage-dark);
  margin-bottom: 14px;
}

.person {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.person .avatar {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(59, 59, 59, .15);
  background: var(--cream-2);
}

.person .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person p {
  margin: 0;
  font-size: 14.5px;
}

.person b {
  font-weight: 700;
}

/* ---------------- Stepper (Этапы внедрения) ---------------- */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 760px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: center;
}


/* 
цифры списка с двойным кружочком, перенёс в .feature>h3 .num
.step .num {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink); 
}
.step .num::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: .4;
} 
*/


.step h4 {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
}

.stimul-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.stimul-intro p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------------- Split text+card ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.85fr 1fr;
}

.split.reverse .solution-card {
  order: -1;
}

.split h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 16px;
}

.split p {
  color: var(--ink-soft);
  margin: 0 0 14px;
  font-size: 15px;
}

.split ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  list-style: none;
}

.split li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-dark);
}

.solution-card {
  background: linear-gradient(180deg, #fff, var(--cream-2));
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.solution-card .icon-photo {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1.4px dashed var(--ink);
  overflow: hidden;
  position: relative;
}

.solution-card .icon-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-card h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--sage-dark);
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  font-style: italic;
}

/* ---------------- Checklist card ---------------- */
.checklist-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 34px;
  max-width: 640px;
}

.checklist-card h4 {
  font-size: 18px;
  margin-bottom: 18px;
}

.checklist-card ul {
  list-style: none;
}

.checklist-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.checklist-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-dark);
}

/* ---------------- Callout ---------------- */
.callout {
  background: linear-gradient(135deg, rgba(145, 170, 134, .16), rgba(224, 107, 101, .10));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px clamp(22px, 4vw, 46px);
}

.callout h4 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin-bottom: 12px;
}

.callout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 820px;
}

/* ---------------- Gallery ---------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 26px;
}

.gallery.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery.cols-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid rgba(59, 59, 59, .12);
  background: var(--cream-2);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- Feature blocks (Что сделано) ---------------- */
.feature {
  margin-bottom: 58px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature>h3 {
  font-size: clamp(19px, 2.4vw, 24px);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature>h3 .num,
.step .num {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.feature p {
  color: var(--ink-soft);
  font-size: 15px;
  /* max-width: 920px; */
}

.feature ul {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 920px;
  margin: 12px 0;
  list-style: none;
}

.feature li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-dark);
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 8px;
}

.mini-card {
  background: var(--white);
  border: 1px solid rgba(59, 59, 59, .12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px;
}

.mini-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 0;
  background-image: url('assets/icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-bottom: 14px;
}

.mini-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------------- Results ---------------- */
.result-hero {
  background: linear-gradient(to bottom right, #d1dcbe, #91aa86);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 50px);
  margin-bottom: 32px;
}

.result-hero .badge5 {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--sage);
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.result-hero h3 {
  font-size: clamp(20px, 3vw, 28px);
  max-width: 820px;
  line-height: 1.35;
  font-weight: 600;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.result-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.result-stat .val {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: var(--ink);
}

.result-stat p {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.result-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 34px;
  margin-bottom: 26px;
}

.result-list ul {
  list-style: none;
  color: var(--ink-soft);
  font-size: 15px;
}

.result-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 22px;
}

.result-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-dark);
}

.result-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-gallery figure {
  margin: 0;
  border: 1px solid rgba(59, 59, 59, .15);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/11;
}

.result-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- Recommendations ---------------- */
.reco-list {
  display: grid;
  gap: 16px;
}

.reco-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px 26px;
  align-items: start;
}

.reco-item .n {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
}

.reco-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.reco-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------------- Experts ---------------- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.expert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 24px;
}

.expert-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.expert-card>p {
  font-style: italic;
}

/* ---------------- Final CTA ---------------- */
.cta-final {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 54px);
  display: grid;
  grid-template-columns: 70px 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}

.cta-final img {
  width: 70px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.cta-final h3 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.35;
  font-weight: 700;
}

.cta-final .btn-primary {
  background: #fff;
  color: var(--sage-dark);
}

.cta-final .btn-primary:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
}

.cta-actions {
  display: flex;
  justify-content: flex-end;
}

footer {
  padding: 30px 0 50px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------------- scroll reveal ---------------- */
/* По умолчанию (без JS или без IntersectionObserver) весь контент виден сразу. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ===================== RESPONSIVE (остальная часть страницы) ===================== */
@media (max-width:1024px) {
  .org-card {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stimul-intro {
    grid-template-columns: 1fr;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .solution-card {
    order: 0;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery.cols-5,
  .gallery.cols-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .mini-cards {
    grid-template-columns: 1fr 1fr;
  }

  .result-stats {
    grid-template-columns: 1fr 1fr;
  }

  .result-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .expert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-final {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-final img {
    margin: 0 auto;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width:640px) {
  .section {
    padding: 48px 0;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery.cols-3,
  .gallery.cols-5,
  .gallery.cols-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-cards {
    grid-template-columns: 1fr;
  }

  .result-stats {
    grid-template-columns: 1fr;
  }

  .result-gallery {
    grid-template-columns: 1fr;
  }

  .expert-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    flex-direction: column;
    text-align: center;
  }

  .reco-item {
    grid-template-columns: 40px 1fr;
    padding: 18px;
  }

  .org-card .facts {
    grid-template-columns: 1fr;
  }

  .pill-nav {
    display: none;
  }

  .person .avatar {
    flex: 0 0 40px;
    height: 40px;
  }
}


.hide-desktop,
.hide-mobile {
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none;
  }
}

@media (max-width: 767.9px) {
  .hide-mobile {
    display: none;
  }
}