/* Тестовый вариант v2: структура v-meru.myshopius.ru в цветах и шрифтах В Меру. */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/IBMPlexMono-cyrillic-0.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/IBMPlexMono-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/IBMPlexMono-cyrillic-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/IBMPlexMono-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Manrope-cyrillic-4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Manrope-latin-5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Manrope-cyrillic-4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Manrope-latin-5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Manrope-cyrillic-4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Manrope-latin-5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/Manrope-cyrillic-4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/Manrope-latin-5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/SourceSerif4-cyrillic-6.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/SourceSerif4-latin-7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Палитра В Меру. */
:root {
  --ink: #073f36;
  --deep: #06483e;
  --lime: #c8f04a;
  --paper: #f4f0e7;
  --card: #ffffff;
  --violet: #9a7be8;
  --line: #cfd6c8;
  --muted: #4b5a55;
  --mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;
  --serif: 'Source Serif 4', Georgia, serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 Manrope, Arial, sans-serif;
  overflow-x: hidden
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

/* Всё содержимое — в центральной колонке шириной до 1240px. */
.wrap {
  width: min(1240px, 100% - 48px);
  margin: 0 auto
}

.section {
  padding: 96px 0
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500
}

h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 18px 0 22px
}

h2 {
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.03em
}

h3 {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.01em
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--violet)
}

.kicker,
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px
}

.kicker::before {
  content: '● ';
  color: var(--violet)
}

.lead {
  max-width: 560px;
  margin: 20px 0 0;
  opacity: .85
}

.note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 22px 0 0
}

/* Кнопки-«пилюли». */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  padding: 15px 18px 15px 26px;
  font-weight: 600;
  transition: .25s
}

.btn span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 13px
}

.btn-light {
  background: var(--card);
  color: var(--ink)
}

.btn-lime {
  background: var(--lime);
  color: var(--ink)
}

.btn:hover {
  transform: translateY(-2px)
}

.btn:focus-visible,
.icon-btn:focus-visible,
nav a:focus-visible,
summary:focus-visible,
.contact-card:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px
}

/* Шапка. */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 25px
}

/* Логотип — как на основном сайте: знак целиком, без обрезки. */
.logo-symbol {
  width: 58px;
  height: 42px
}

.logo-symbol img {
  width: 58px;
  height: 42px;
  max-width: none;
  object-fit: contain
}

.logo-word {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em
}

nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
  font-weight: 500
}

nav a:hover {
  color: var(--violet)
}

.top-actions {
  display: flex;
  gap: 10px
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: .25s
}

.icon-btn svg {
  width: 17px;
  height: 17px
}

.icon-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: white
}

/* Первый экран на всю ширину: текст слева, справа до края — сцена с ветряками и крупный график. */
.hero {
  background: var(--deep);
  color: white;
  overflow: hidden
}

/* Текст первого экрана начинается от центральной колонки, картинка тянется до правого края окна. */
.hero-inner {
  display: grid;
  grid-template-columns: max(24px, calc((100% - 1240px) / 2)) 470px 1fr;
  min-height: min(640px, calc(100vh - 84px))
}

.hero-inner>.hero-copy {
  grid-column: 2
}

.hero-copy {
  align-self: center;
  padding: 60px 48px 60px 0
}

.hero-copy .eyebrow {
  color: var(--lime)
}

.hero-copy em {
  color: #c3b2f3;
  font-size: .86em;
  white-space: nowrap
}

.hero-copy p {
  max-width: 470px;
  opacity: .85;
  margin: 0 0 34px
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden
}

.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.chart-card {
  position: absolute;
  left: 9%;
  width: min(84%, 780px);
  top: 50%;
  transform: translateY(-50%);
  background: #f7f4ed;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 40px 80px #00000040
}

.chart-card.reveal {
  transform: translateY(-46%)
}

.chart-card.reveal.visible {
  transform: translateY(-50%)
}

.saving {
  position: absolute;
  left: -34px;
  top: 74px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 12px;
  line-height: 1.3;
  transform: rotate(-4deg);
  box-shadow: 0 16px 30px #0000002b;
  z-index: 2
}

.saving strong {
  display: block;
  font-size: 34px;
  letter-spacing: -.03em;
  margin: 4px 0
}

.saving small {
  font-size: 10px;
  opacity: .75
}

.hero-caption {
  position: absolute;
  left: calc(9% + 20px);
  bottom: 28px;
  background: var(--ink);
  border: 1px solid #ffffff2b;
  border-radius: 14px;
  padding: 14px 18px;
  display: grid;
  gap: 2px;
  font-size: 13px;
  z-index: 2
}

.hero-caption span {
  font-size: 12px;
  opacity: .7
}

.btn-dark {
  background: var(--ink);
  color: white;
  padding: 12px 22px
}

/* Шапка раздела: заголовок слева, пояснение справа. */
.head {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: end
}

.head p {
  margin: 0;
  color: var(--muted);
  max-width: 420px
}

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

.grid3 article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 28px 34px
}

.grid3 small,
.stages small,
.flow small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--violet)
}

.grid3 h3 {
  margin: 34px 0 12px
}

.grid3 p {
  margin: 0;
  font-size: 14px;
  color: var(--muted)
}

/* Как устроена система. */
.system {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px
}

.flow div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px 20px;
  display: grid;
  gap: 8px;
  align-content: start
}

.flow b {
  font-size: 15px
}

.flow span {
  font-size: 12px;
  color: var(--muted)
}

.scenario {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 26px 22px
}

.scenario figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px
}

.scenario figcaption span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted)
}

.scenario svg {
  width: 100%;
  height: auto
}

.legend {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px
}

.legend i {
  display: inline-block;
  width: 26px;
  vertical-align: middle;
  margin-right: 8px;
  border-top: 3px dashed var(--violet)
}

.legend i.solid {
  border-top: 4px solid var(--ink)
}

.modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin-top: 64px;
  border-top: 1px solid var(--line)
}

.modules article {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line)
}

.modules h3 {
  font-size: 18px;
  margin-bottom: 6px
}

.modules p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 400px
}

.tag {
  flex: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--muted)
}

.tag-on {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink)
}

/* Тёмный блок «Сначала — целесообразность». */
.feasibility {
  background: var(--deep);
  color: white;
  border-radius: 32px;
  padding: 64px 60px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center
}

.feasibility em {
  color: #c3b2f3
}

.feasibility .kicker::before {
  color: var(--lime)
}

.feasibility p {
  opacity: .8;
  margin: 18px 0 0;
  max-width: 520px
}

.feasibility-card {
  border-left: 1px solid #ffffff33;
  padding-left: 48px
}

.feasibility-card p {
  margin: 12px 0 28px
}

/* Кому подходит. */
.audience article {
  padding: 14px 14px 28px
}

.audience h3,
.audience p,
.audience .chips {
  padding: 0 14px
}

.audience h3 {
  margin: 26px 0 10px
}

.tile {
  height: 210px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 64px;
  position: relative;
  overflow: hidden
}

.tile::after {
  content: '';
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 70%;
  border-radius: 50%;
  border-top: 3px solid currentColor;
  opacity: .35
}

.tile-green {
  background: var(--deep);
  color: var(--lime)
}

.tile-violet {
  background: linear-gradient(160deg, #b9a5f0, #8e72dc);
  color: white
}

.tile-lime {
  background: var(--lime);
  color: var(--ink)
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px
}

.chips span {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px
}

.caveat {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line)
}

.caveat b {
  font-size: 18px;
  font-weight: 600
}

.caveat p {
  margin: 0;
  color: var(--muted)
}

/* Тёмные разделы на всю ширину. */
.dark-section {
  background: var(--deep);
  color: white
}

.dark-section em {
  color: #c3b2f3
}

.dark-section .kicker::before {
  color: var(--lime)
}

.principles article {
  background: var(--card);
  color: var(--ink);
  border: 0
}

.principles small {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line)
}

.principles-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid #ffffff33;
  font-size: 13px
}

.principles-foot p {
  margin: 0;
  opacity: .75;
  max-width: 720px
}

.principles-foot a {
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--lime)
}

/* Этапы сотрудничества. */
.stages {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px
}

.stages li {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px
}

.stages h3 {
  margin: 16px 0 10px
}

.stages p {
  margin: 0;
  font-size: 14px;
  color: var(--muted)
}

/* О проекте. */
.about {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px
}

.about p {
  color: var(--muted);
  max-width: 560px
}

.about h2 {
  margin-bottom: 26px
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: center
}

.values li {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  gap: 6px
}

.values li:last-child {
  border-bottom: 1px solid var(--line)
}

.values b {
  font-weight: 600;
  font-size: 16px
}

.values span {
  font-size: 13px;
  color: var(--muted)
}

/* Частые вопросы. */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start
}

.faq-list {
  border-top: 1px solid var(--line)
}

.faq details {
  border-bottom: 1px solid var(--line)
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 50px 24px 0;
  font-size: 17px;
  font-weight: 600;
  position: relative
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 400;
  transition: .25s
}

.faq details[open] summary::after {
  content: '−';
  background: var(--lime);
  border-color: var(--lime)
}

.faq details p {
  margin: -8px 0 26px;
  max-width: 640px;
  color: var(--muted)
}

/* Контакты. */
.contacts {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start
}

.contacts .lead {
  margin-bottom: 32px
}

.contact-cards {
  display: grid;
  gap: 12px
}

.contact-card {
  background: var(--card);
  color: var(--ink);
  border-radius: 18px;
  padding: 18px 22px;
  display: grid;
  gap: 3px;
  transition: .25s
}

.contact-card:hover {
  transform: translateY(-2px)
}

.contact-card small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--violet)
}

.contact-card b {
  font-size: 20px;
  font-weight: 600
}

.contact-card span {
  font-size: 13px;
  color: var(--muted)
}

.brief {
  border: 1px solid #ffffff33;
  border-radius: 18px;
  padding: 18px 22px
}

.brief p {
  margin: 8px 0 0;
  font-size: 13px;
  opacity: .75
}

.consent-note {
  font-size: 11px;
  opacity: .65;
  margin: 4px 0 0
}

.consent-note a,
.foot-legal a {
  text-decoration: underline;
  text-underline-offset: 3px
}

/* Поддержка Фонда. */
.support {
  padding: 70px 0 50px;
  text-align: center
}

.support-logos {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  background: white;
  border-radius: 16px;
  padding: 16px 28px
}

.support-logos img {
  height: 46px;
  width: auto
}

.support p {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 12px;
  color: var(--muted)
}

/* Подвал. */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 32px
}

.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px
}

.foot-row>span {
  opacity: .7
}


.foot-legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  opacity: .6
}

/* Появление блоков при прокрутке. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}

@media (max-width: 1000px) {
  nav {
    display: none
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    padding: 0;
    min-height: 0
  }

  .hero-visual {
    border-radius: 0
  }

  .hero-inner>.hero-copy {
    grid-column: auto;
    padding: 56px 32px 40px
  }

  .hero-visual {
    min-height: 520px
  }

  .top-cta {
    display: none
  }

  .system,
  .about,
  .faq,
  .contacts,
  .feasibility {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .feasibility-card {
    border-left: 0;
    border-top: 1px solid #ffffff33;
    padding: 32px 0 0
  }

  .grid3,
  .stages {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 32px)
  }

  .section {
    padding: 70px 0
  }

  .top {
    height: 72px
  }

  .logo {
    font-size: 18px
  }

  .hero-inner>.hero-copy {
    padding: 44px 16px 32px
  }

  .hero-visual {
    min-height: 480px
  }

  .chart-card {
    left: 16px;
    right: 16px;
    width: auto;
    padding: 12px;
    border-radius: 16px
  }

  .saving {
    left: -4px;
    top: 34px;
    padding: 8px 12px;
    font-size: 10px
  }

  .saving strong {
    font-size: 22px;
    margin: 2px 0
  }

  .saving small {
    font-size: 9px
  }


  .hero-caption {
    left: 16px;
    right: 16px;
    bottom: 16px
  }

  .head,
  .caveat,
  .modules,
  .flow,
  .grid3,
  .stages {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .head {
    gap: 18px
  }

  .modules article {
    flex-direction: column;
    gap: 12px
  }

  .feasibility {
    padding: 44px 24px;
    border-radius: 24px
  }

  .principles-foot,
  .foot-row {
    flex-direction: column;
    align-items: flex-start
  }

  .support-logos {
    gap: 18px;
    padding: 12px 16px
  }

  .support-logos img {
    height: 34px
  }
}

/* Переключатель языка RU/EN в шапке. */
.top-actions {
  align-items: center
}

.lang {
  display: flex;
  gap: 2px;
  font-family: var(--mono);
  font-size: 11px;
  margin-right: 6px
}

.lang a,
.lang span {
  padding: 7px 8px;
  border-radius: 999px
}

.lang span {
  background: var(--lime);
  font-weight: 600
}

.lang a {
  opacity: .6
}

.lang a:hover {
  opacity: 1
}

.lang a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px
}

/* ===== Блоки из презентации ===== */

/* Цифры проблемы. */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px
}

.facts div {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  display: grid;
  gap: 4px;
  align-content: start
}

.facts strong {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1
}

.facts b {
  font-weight: 600;
  margin-top: 8px
}

.facts span {
  font-size: 13px;
  color: var(--muted)
}

/* Сравнение решений. */
.solutions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px
}

.solutions article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 22px 28px
}

.solutions small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: .04em
}

.solutions h3 {
  margin: 22px 0 8px
}

.solutions p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px
}

.solutions ul {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  font-size: 13px
}

.solutions li::before {
  display: inline-block;
  width: 18px;
  font-weight: 700
}

.solutions li.pro::before {
  content: "+";
  color: #4f8f2a
}

.solutions li.con::before {
  content: "−";
  color: #b0506b
}

.solutions .ours {
  background: var(--deep);
  color: white;
  border-color: var(--deep)
}

.solutions .ours small {
  color: var(--lime)
}

.solutions .ours p {
  color: #ffffffb3
}

.solutions .ours ul {
  border-color: #ffffff33
}

.solutions .ours li.pro::before {
  color: var(--lime)
}

/* Система: 4 шага (2×2) и особенности. */
.flow {
  grid-template-columns: 1fr 1fr
}

.feats {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: center;
  display: grid;
  gap: 14px
}

.feats li {
  background: var(--deep);
  color: white;
  border-radius: 20px;
  padding: 24px 26px;
  display: grid;
  gap: 6px
}

.feats b {
  font-size: 18px;
  font-weight: 600
}

.feats b::before {
  content: "● ";
  color: var(--lime);
  font-size: 12px;
  vertical-align: middle
}

.feats span {
  font-size: 14px;
  opacity: .78
}

/* Эффект: анимация + текст. */
.effect {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 56px
}

.effect-rev .anim-card {
  order: 2
}

.anim-card {
  margin: 0;
  background: #f7f4ed;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 24px 18px;
  box-shadow: 0 20px 50px #073f3614
}

.anim-card figcaption {
  display: grid;
  gap: 2px;
  margin-bottom: 12px
}

.anim-card figcaption b {
  font-size: 20px
}

.anim-card figcaption span {
  font-size: 13px;
  color: var(--muted)
}

.anim-chart {
  width: 100%;
  height: auto;
  display: block
}

.gif-card {
  padding: 0;
  overflow: hidden
}

.gif-card img {
  width: 100%;
  height: auto
}

.legend .sw {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 7px;
  vertical-align: -1px;
  border: 0
}

.legend .sw-load {
  background: #b4a4ec
}

.legend .sw-cut {
  border: 1.5px dashed var(--violet)
}

.legend .sw-shift {
  background: #8cc63f
}

.legend .sw-limit {
  height: 3px;
  width: 18px;
  vertical-align: 3px;
  background: var(--lime)
}

.effect-text h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.02em
}

.effect-text>p {
  color: var(--muted);
  margin: 12px 0 22px
}

.bill {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--muted)
}

.bill li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line)
}

.bill b {
  color: var(--ink);
  font-weight: 600
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.mini-stats.three {
  grid-template-columns: repeat(3, 1fr)
}

.mini-stats div {
  background: var(--deep);
  color: white;
  border-radius: 18px;
  padding: 18px 18px 20px;
  display: grid;
  gap: 6px;
  align-content: start
}

.mini-stats strong {
  color: var(--lime);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1
}

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

/* Гипотезы в «Кому подходит». */
.hypotheses {
  margin-top: 40px
}

.hypotheses>p {
  margin: 0 0 16px;
  color: var(--muted)
}

.hypotheses>p b {
  color: var(--ink);
  font-weight: 600
}

.hypotheses ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.hypotheses li {
  border: 1px dashed #b9c4b5;
  border-radius: 18px;
  padding: 16px 20px;
  display: grid;
  gap: 2px
}

.hypotheses small {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--violet)
}

.hypotheses b {
  font-weight: 600
}

.hypotheses span {
  font-size: 13px;
  color: var(--muted)
}

.hypotheses .yours {
  border: 0;
  background: var(--lime)
}

.hypotheses .yours small,
.hypotheses .yours span {
  color: var(--ink)
}

/* Типы нагрузок на тёмном фоне. */
.loads {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18px;
  margin-top: 18px
}

.loads small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px
}

.loads-kinds,
.loads-ex {
  border: 1px solid #ffffff2b;
  border-radius: 22px;
  padding: 24px 26px
}

.loads-kinds div {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid #ffffff22
}

.loads-kinds b,
.loads-ex b {
  font-weight: 600
}

.loads-kinds span,
.loads-ex span {
  font-size: 13px;
  opacity: .7
}

.loads-ex ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px
}

.loads-ex li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid #ffffff22
}

/* Больше, чем экономия. */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px
}

.benefits article {
  border-top: 2px solid var(--violet);
  padding-top: 18px
}

.benefits small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--violet)
}

.benefits h3 {
  margin: 14px 0 8px
}

.benefits p {
  margin: 0;
  font-size: 14px;
  color: var(--muted)
}

/* Вам — энергоаудит, нам — данные. */
.deal {
  margin-top: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 36px 40px
}

.deal h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -.02em
}

.deal-cols {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
  margin-top: 24px
}

.deal-cols>div {
  border-radius: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line)
}

.deal-cols small {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--violet)
}

.deal-cols ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 14px
}

.deal-cols>.deal-we {
  background: var(--lime);
  border-color: var(--lime)
}

.deal-we small {
  color: var(--ink)
}

/* Дорожная карта. */
.roadmap {
  margin-top: 56px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px 34px
}

.roadmap-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap
}

.trl {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 999px;
  padding: 6px 12px
}

.roadmap ol {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.roadmap li {
  border-top: 3px solid var(--line);
  padding-top: 14px;
  display: grid;
  gap: 4px;
  align-content: start
}

.roadmap li.done {
  border-color: var(--ink)
}

.roadmap li.now {
  border-color: var(--lime)
}

.roadmap li small {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted)
}

.roadmap li b {
  font-weight: 600
}

.roadmap li span {
  font-size: 13px;
  color: var(--muted)
}

/* Команда. */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px
}

.team article {
  background: #ffffff0f;
  border: 1px solid #ffffff22;
  border-radius: 22px;
  padding: 24px 22px 26px
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #b9a5f0, #8e72dc);
  font-weight: 700;
  font-size: 18px
}

.team h3 {
  margin: 20px 0 4px
}

.team small {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--lime)
}

.team p {
  margin: 10px 0 0;
  font-size: 13px;
  opacity: .75
}

.dark-section .head p {
  color: #ffffffb3
}

.achievements {
  margin-top: 28px;
  border-top: 1px solid #ffffff22;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px
}

.achievements b {
  font-size: 18px;
  font-weight: 600
}

.achievements ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  font-size: 14px;
  opacity: .85
}

.achievements li::before {
  content: "— ";
  color: var(--lime)
}

.contact-person {
  font-size: 14px;
  opacity: .75;
  margin: -14px 0 26px
}

@media (max-width: 1000px) {
  .solutions,
  .benefits,
  .team,
  .roadmap ol {
    grid-template-columns: 1fr 1fr
  }

  .effect,
  .loads,
  .deal-cols,
  .achievements {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .effect-rev .anim-card {
    order: 0
  }
}

@media (max-width: 680px) {
  .facts,
  .solutions,
  .benefits,
  .team,
  .roadmap ol,
  .hypotheses ul,
  .loads-ex ul,
  .achievements ul,
  .mini-stats,
  .mini-stats.three,
  .flow {
    grid-template-columns: 1fr
  }

  .bill li {
    grid-template-columns: 1fr;
    gap: 2px
  }

  .anim-card {
    padding: 16px 14px 12px
  }

  .gif-card {
    padding: 0
  }

  .deal,
  .roadmap {
    padding: 24px 20px
  }
}

/* ===== Выравнивание по сетке и подстраницы ===== */

/* Шапка раздела делится на те же колонки, что и карточки под ней:
   пояснение справа начинается ровно над последней карточкой. */
.head {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 18px;
  row-gap: 18px
}

.head h2 {
  grid-column: span 2
}

.head.h4 {
  grid-template-columns: repeat(4, 1fr);
  column-gap: 14px
}

.head.h4 h2 {
  grid-column: span 3
}

.head.h4 p {
  grid-column: span 1
}

.stages {
  column-gap: 18px
}

/* Цифры проблемы — карточки в одну высоту. */
.facts div {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  padding: 26px 26px 28px
}

/* Четыре шага в ряд и три особенности в ряд. */
.flow {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px
}

.flow div {
  padding: 22px 22px 24px
}

.feats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px
}

.more {
  display: inline-block;
  margin-top: 28px;
  font-weight: 600;
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px
}

.more:hover {
  color: var(--violet)
}

/* Иллюстрации отраслей. */
.tile {
  display: block;
  background: none
}

.tile::after {
  display: none
}

.tile svg {
  width: 100%;
  height: 100%;
  display: block
}

.legend .sw-sun {
  background: #e2f3b0;
  border: 1.5px solid #9cc84a
}

/* Активный пункт меню. */
nav a[aria-current="page"] {
  color: var(--violet)
}

/* Шапка подстраниц. */
.page-hero {
  background: var(--deep);
  color: white;
  padding: 64px 0 70px;
  position: relative;
  overflow: hidden
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, #9a7be84d, transparent 70%)
}

.crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .7
}

.crumbs a {
  color: var(--lime)
}

.page-hero h1 {
  margin: 18px 0 16px
}

.page-hero em {
  color: #c3b2f3
}

.page-hero p {
  max-width: 620px;
  opacity: .85;
  margin: 0
}

@media (max-width: 1000px) {
  .flow,
  .feats {
    grid-template-columns: 1fr 1fr
  }

  .head,
  .head.h4 {
    grid-template-columns: 1fr
  }

  .head h2,
  .head.h4 p {
    grid-column: auto
  }
}

@media (max-width: 680px) {
  .flow,
  .feats {
    grid-template-columns: 1fr
  }

  .page-hero {
    padding: 44px 0 50px
  }
}


/* ===== Оригинальные анимации, отступы и разделители ===== */
.media-card {
  padding: 0;
  overflow: hidden;
  background: #f2eee7
}

.media-card svg {
  display: block;
  width: 100%;
  height: auto
}

.media-card video,
.media-card img {
  display: block;
  width: 100%;
  height: auto
}

/* Отступ после тёмной плашки «Сначала — целесообразность», чтобы она не сливалась со следующим тёмным блоком. */
.feas-wrap {
  padding-bottom: 96px
}

/* Тонкая линия между соседними светлыми разделами. */
.wrap.section + .wrap.section {
  border-top: 1px solid #bfc9ba
}

.section {
  padding: 84px 0
}

@media (max-width: 680px) {
  .feas-wrap {
    padding-bottom: 64px
  }

  .section {
    padding: 64px 0
  }
}

/* ===== Контраст и мобильный первый экран ===== */

/* Белые карточки с мягкой тенью — отделяются от бежевого фона. */
.grid3 article,
.facts div,
.solutions article:not(.ours),
.flow div,
.deal,
.roadmap,
.anim-card {
  box-shadow: 0 1px 2px #073f360d, 0 8px 24px #073f360f
}

/* Планшет и телефон: ветряки — полосой сверху, график и подпись — ниже, в потоке. */
@media (max-width: 1000px) {
  .hero-visual {
    min-height: 0;
    padding: 330px 32px 28px;
    background: #06483e
  }

  .hero-scene {
    height: 400px;
    bottom: auto
  }

  .chart-card,
  .chart-card.reveal,
  .chart-card.reveal.visible {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    transform: none
  }

  .hero-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 16px
  }
}

@media (max-width: 680px) {
  .hero-visual {
    padding: 230px 16px 22px
  }

  .hero-scene {
    height: 300px
  }
}

/* Телефон: плашка «−28%» компактнее, чтобы не перекрывать график. */
@media (max-width: 680px) {
  .saving {
    left: -6px;
    top: 46px;
    padding: 6px 10px 7px;
    border-radius: 11px;
    font-size: 8.5px;
    line-height: 1.25;
    transform: rotate(-3deg)
  }

  .saving strong {
    font-size: 17px;
    margin: 1px 0
  }

  .saving small {
    font-size: 7.5px
  }
}

/* Достижения: тире висит слева, перенесённые строки выравниваются по тексту. */
.achievements li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45
}

.achievements li::before {
  position: absolute;
  left: 0;
  top: 0
}

.achievements ul {
  align-items: start;
  row-gap: 12px
}

/* Раздел на цветной подложке во всю ширину окна (на главной — «Как это работает»). */
.tinted {
  background: #eeebef;
  box-shadow: 0 0 0 100vmax #eeebef;
  clip-path: inset(0 -100vmax)
}

.wrap.section.tinted,
.wrap.section.tinted + .wrap.section {
  border-top: 0
}

/* ===== Калькулятор гибкости ===== */
.calc {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 40px;
  align-items: start
}

.calc-lead {
  color: var(--muted);
  max-width: 620px;
  margin: 18px 0 26px
}

.calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.calc-presets button,
.calc-add,
.calc-copy {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: .2s
}

.calc-presets button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: white
}

.calc-presets button:hover,
.calc-add:hover {
  border-color: var(--ink)
}

.calc-types {
  display: grid;
  gap: 4px;
  margin: 22px 0 18px;
  font-size: 13px;
  color: var(--muted)
}

.calc-types b {
  color: var(--ink);
  font-weight: 600
}

.calc-rows {
  display: grid;
  gap: 8px
}

.calc-row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) .8fr .7fr .8fr minmax(0, 1.4fr) 36px;
  gap: 8px;
  align-items: end;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 10px 10px 14px;
  box-shadow: 0 1px 2px #073f360d
}

.calc-row label {
  display: grid;
  gap: 2px
}

.calc-row label span {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted)
}

.calc input,
.calc select {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  background: #f7f5ef;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 10px
}

.calc input:focus,
.calc select:focus,
.calc button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 1px
}

.calc-row .c-name {
  background: transparent;
  font-weight: 600;
  padding-left: 0
}

.c-del {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer
}

.c-del:hover {
  border-color: #b0506b;
  color: #b0506b
}

.calc-add {
  margin-top: 10px;
  background: none;
  border-style: dashed
}

.calc-tariff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line)
}

.calc-tariff label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600
}

.calc-tariff input {
  background: var(--card);
  border-color: var(--line)
}

.calc-tariff p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: var(--muted)
}

/* Карточка результата. */
.calc-result {
  position: sticky;
  top: 20px;
  background: var(--deep);
  color: white;
  border-radius: 26px;
  padding: 30px 28px 26px
}

.calc-result small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lime)
}

.calc-result>strong {
  display: block;
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 10px 0 14px
}

.calc-meter,
.calc-peak-bar {
  height: 10px;
  border-radius: 999px;
  background: #ffffff1f;
  overflow: hidden
}

.calc-meter i,
.calc-peak-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  transition: width .4s ease
}

.calc-peak-bar i {
  width: 100%;
  background: #b4a4ec
}

.calc-peak-bar.new i {
  background: var(--lime)
}

.calc-hint {
  font-size: 12px;
  opacity: .7;
  margin: 10px 0 0
}

.calc-peak {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #ffffff22
}

.calc-peak>div:not(.calc-peak-bar) {
  display: flex;
  justify-content: space-between;
  font-size: 14px
}

.calc-peak span {
  opacity: .85
}

.calc-cut {
  margin: 4px 0 0;
  color: var(--lime);
  font-weight: 700;
  font-size: 18px
}

.calc-result dl {
  margin: 20px 0 0;
  display: grid;
  gap: 8px;
  font-size: 13px
}

.calc-result dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ffffff1a
}

.calc-result dt {
  opacity: .75
}

.calc-result dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap
}

.calc-total {
  margin-top: 18px;
  background: #ffffff12;
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 4px
}

.calc-total span {
  font-size: 13px;
  opacity: .8
}

.calc-total strong {
  font-size: 34px;
  color: var(--lime);
  letter-spacing: -.02em
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px
}

.calc-copy {
  background: none;
  color: white;
  border-color: #ffffff4d
}

.calc-copy:hover {
  border-color: white
}

.calc-note {
  font-size: 11px;
  line-height: 1.5;
  opacity: .6;
  margin: 16px 0 0
}

.calc-note+.calc-note {
  margin-top: 8px
}

@media (max-width: 1000px) {
  .calc {
    grid-template-columns: 1fr
  }

  .calc-result {
    position: static
  }
}

@media (max-width: 680px) {
  .calc-row {
    grid-template-columns: 1fr 1fr 1fr 36px;
    padding: 10px 12px
  }

  .calc-row .c-name {
    grid-column: 1 / -1
  }

  .calc-row .c-type {
    grid-column: 1 / 4
  }

  .calc-tariff {
    grid-template-columns: 1fr
  }

  .calc-result>strong {
    font-size: 52px
  }
}

/* График суточного профиля в калькуляторе. */
.calc-chart {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ffffff22
}

.calc-chart-head b {
  font-size: 14px;
  font-weight: 600
}

.calc-chart svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 10px
}

.calc-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  opacity: .85;
  margin-top: 6px
}

.calc-legend i {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px
}

.lg-before {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #b4a4ec
}

.lg-after {
  width: 18px;
  height: 3px;
  background: var(--lime)
}

.calc-peak {
  margin-top: 18px;
  padding-top: 16px
}

/* ===== Калькулятор: пояснения и конструктор ===== */
.calc-explain {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 24px 18px;
  box-shadow: 0 1px 2px #073f360d, 0 8px 24px #073f360f;
  margin-bottom: 28px
}

.calc-explain h3 {
  font-size: 18px;
  margin-bottom: 14px
}

.calc-kinds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.calc-kinds article {
  border-radius: 16px;
  padding: 16px 16px 14px;
  background: #f7f5ef;
  display: grid;
  gap: 6px;
  align-content: start
}

.calc-kinds b {
  font-size: 15px
}

.calc-kinds p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5
}

.calc-kinds small {
  font-size: 12px;
  font-weight: 600
}

.k-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9aa59f
}

.k-shift .k-dot {
  background: #8cc63f
}

.k-adjust .k-dot {
  background: var(--violet)
}

.calc-fields {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6
}

.calc-fields b {
  color: var(--ink)
}

.calc-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin: 26px 0 12px
}

.calc-step span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: none
}

.calc-step:first-of-type {
  margin-top: 0
}

/* Каталог оборудования. */
.calc-catalog {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 1px 2px #073f360d
}

.cat-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin
}

.cat-tabs button {
  flex: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #f2efe7;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer
}

.cat-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: white
}

.cat-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px
}

.cat-item {
  font: inherit;
  text-align: left;
  color: var(--ink);
  background: #f7f5ef;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 40px 12px 14px;
  cursor: pointer;
  position: relative;
  display: grid;
  gap: 3px;
  transition: .2s
}

.cat-item:hover {
  border-color: var(--ink);
  background: white
}

.cat-item b {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px
}

.cat-item .k-dot {
  position: absolute;
  top: 17px;
  left: 14px
}

.cat-item b {
  padding-left: 18px
}

.cat-item small {
  font-size: 12px;
  color: var(--muted);
  padding-left: 18px
}

.cat-item i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700
}

.cat-item.added i {
  animation: pop .4s ease
}

.calc-row.flash {
  animation: flash 1s ease
}

@keyframes pop {
  50% {
    transform: translateY(-50%) scale(1.35)
  }
}

@keyframes flash {
  0% {
    box-shadow: 0 0 0 3px var(--lime)
  }

  100% {
    box-shadow: 0 0 0 0 transparent
  }
}

.calc-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center
}

.cat-tabs button:focus-visible,
.cat-item:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px
}

@media (prefers-reduced-motion: reduce) {
  .cat-item.added i,
  .calc-row.flash {
    animation: none
  }
}

@media (max-width: 680px) {
  .calc-kinds {
    grid-template-columns: 1fr
  }

  .calc-explain {
    padding: 18px 16px 14px
  }

  .cat-items {
    grid-template-columns: 1fr
  }
}

/* Колонки калькулятора могут сжиматься: длинный ряд вкладок каталога прокручивается внутри, а не распирает страницу. */
.calc > *,
.calc-catalog {
  min-width: 0
}

/* Цветная точка в одной строке с названием типа нагрузки. */
.calc-kinds b {
  display: flex;
  align-items: center;
  gap: 8px
}

.calc-kinds .k-dot {
  flex: none
}

/* Калькулятор: крупный график экономии за 5 лет. */
.calc-money {
  grid-column: 1 / -1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px 32px 26px;
  box-shadow: 0 1px 2px #073f360d, 0 8px 24px #073f360f
}

.calc-money-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap
}

.calc-money-head small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--violet)
}

.calc-money-head strong {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-top: 6px
}

.calc-legend.money {
  color: var(--ink);
  opacity: 1
}

.calc-legend.money i {
  width: 12px;
  height: 12px;
  border-radius: 3px
}

.m-cap {
  background: #06483e
}

.m-en {
  background: #c8f04a
}

.m-infra {
  background: #9a7be8
}

.calc-money svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px
}

.calc-plus {
  list-style: none;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  font-size: 13px;
  color: var(--muted)
}

.calc-plus b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 4px
}

@media (max-width: 680px) {
  .calc-money {
    padding: 22px 16px 18px
  }

  .calc-plus {
    grid-template-columns: 1fr
  }
}

/* Карточка результата не «прилипает» при прокрутке: иначе она наезжает на график экономии под ней. */
.calc-result {
  position: static
}

/* Пример графика экономии в разделе «Больше, чем экономия» — прямо на лавандовой подложке, без карточки. */
.money-demo {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #073f361f
}

.money-demo .calc-money-head strong {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-top: 6px
}

.money-demo svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 22px
}

.calc-note.dark {
  color: var(--muted);
  opacity: 1;
  font-size: 12px
}

/* График экономии в калькуляторе — на той же светло-лавандовой подложке, что и на главной, без белой карточки. */
.calc-money {
  background: #eeebef;
  border: 0;
  box-shadow: none
}

/* Легенда графика «без управления / с В Меру». */
.m-before {
  background: #cfc6e6
}

.m-after {
  background: #06483e
}

.m-save {
  background: #c8f04a
}

/* ===== Боковое меню на телефоне и планшете ===== */
.menu-btn,
.side-menu,
.side-overlay {
  display: none
}

@media (max-width: 1000px) {
  .menu-btn {
    display: grid;
    align-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--card);
    cursor: pointer
  }

  .menu-btn span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink)
  }

  .menu-btn:focus-visible,
  .side-close:focus-visible,
  .side-nav a:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 2px
  }

  .side-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: #06483e66;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 90
  }

  .side-menu {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    padding: 18px 24px 28px;
    background: var(--deep);
    color: white;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    z-index: 100;
    overflow-y: auto;
    box-shadow: -20px 0 50px #00000033
  }

  body.menu-open {
    overflow: hidden
  }

  body.menu-open .side-overlay {
    opacity: 1;
    pointer-events: auto
  }

  body.menu-open .side-menu {
    transform: none
  }

  .side-head {
    display: flex;
    align-items: center;
    justify-content: space-between
  }

  .side-head .logo {
    font-size: 20px
  }

  .side-head .logo-word {
    color: white
  }

  .side-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #ffffff40;
    background: none;
    color: white;
    font-size: 24px;
    line-height: 1;
    cursor: pointer
  }

  .side-nav {
    display: grid
  }

  .side-nav a {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.01em;
    padding: 14px 0;
    border-bottom: 1px solid #ffffff1f
  }

  .side-nav a[aria-current="page"] {
    color: var(--lime)
  }

  .side-cta {
    justify-content: space-between
  }

  .side-contacts {
    display: grid;
    gap: 12px;
    font-size: 15px
  }

  .side-contacts a {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .9
  }

  .side-contacts svg {
    width: 18px;
    height: 18px;
    color: var(--lime)
  }

  .side-lang .lang a {
    color: white
  }

  .side-lang .lang span {
    color: var(--ink)
  }
}

@media (max-width: 680px) {
  /* В шапке остаются логотип, язык и кнопка меню; телефон и Telegram — в меню. */
  .top-actions .icon-btn {
    display: none
  }
}

@media (prefers-reduced-motion: reduce) {
  .side-menu,
  .side-overlay {
    transition: none
  }
}
