/* Новая главная (превью, шаблон «Главная — новый дизайн»).
   Всё скоуплено body.home2, на остальные страницы не влияет. */

html:has(> body.home2) { overflow-x: clip; }
.home2 {
	--h2-ink: #1F2410;
	--h2-mint: #F4FAE5;
	--h2-gray: #F8F8F8;
	--h2-line: #E8ECE1;
	--h2-orange: #E8A436;
	--h2-ease: cubic-bezier(.22, 1, .36, 1);
	overflow-x: clip;
}

/* ---------- Полоса прогресса чтения ---------- */
.h2-progress {
	position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none;
	background: linear-gradient(90deg, var(--primary), var(--h2-orange));
	transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* ---------- Фоновые полосы секций (на всю ширину окна) ---------- */
.h2-band {
	position: relative; isolation: isolate;
	padding-block: clamp(48px, 6vw, 96px);
	--band: #fff;
}
.h2-band::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw;
	transform: translateX(-50%); background: var(--band); z-index: -1;
}
.h2-band_gray { --band: var(--h2-gray); }
.h2-band_mint { --band: var(--h2-mint); }
.h2-band_tight { padding-block: clamp(24px, 3vw, 48px); }
.h2-band > .section { margin: 0; }

.h2-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 14px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
	color: var(--primary); margin-bottom: 14px;
}
.h2-eyebrow::before {
	content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
	box-shadow: 0 0 0 4px rgba(122, 151, 45, .18);
}
.h2-lead { font-size: 18px; line-height: 1.5; color: var(--secondary-text); max-width: 620px; }
@media screen and (max-width: 768px) { .h2-lead { font-size: 16px; } }

/* Волна внизу секции – цвет фона следующей полосы */
.h2-wave {
	position: absolute; left: 50%; bottom: -1px; width: 100vw; transform: translateX(-50%);
	height: clamp(24px, 4vw, 64px); max-width: none; pointer-events: none; color: #fff; z-index: 1;
}

/* ---------- Анимированный логотип ---------- */
.home2 .logo_anim {
	position: relative; background: none !important; font-size: 0; overflow: visible;
	text-indent: 0;
}
.logo_anim__l, .logo_anim__veg { position: absolute; inset: 0; pointer-events: none; }
.logo_anim__l { background: center / contain no-repeat; }
.logo_anim__f { background-image: url(../img/home2/logo-f.png); }
.logo_anim__t { background-image: url(../img/home2/logo-t.png); }
.logo_anim__m { background-image: url(../img/home2/logo-menu.png); }
.logo_anim__c { background-image: url(../img/home2/logo-carrot.png); transform-origin: 51% 21%; }
.logo_anim__lv { background-image: url(../img/home2/logo-leaves.png); transform-origin: 55% 19%; }
.logo_anim__veg { transform-origin: 51% 60%; }

@media (prefers-reduced-motion: no-preference) {
	.logo_anim__f { animation: h2-logo-f .7s var(--h2-ease) .15s both; }
	.logo_anim__t { animation: h2-logo-t .7s var(--h2-ease) .25s both; }
	.logo_anim__m { animation: h2-logo-m .9s var(--h2-ease) .7s both; }
	.logo_anim__veg { animation: h2-logo-drop .9s cubic-bezier(.34, 1.56, .64, 1) .45s both; }
	.logo_anim__c { animation: h2-logo-sway 6s ease-in-out 2s infinite; }
	.logo_anim__lv { animation: h2-logo-wiggle 6s ease-in-out 2.4s infinite; }
	.logo_anim:hover .logo_anim__veg, .logo_anim:focus-visible .logo_anim__veg { animation: h2-logo-hop .7s var(--h2-ease); }
	.logo_anim:hover .logo_anim__lv { animation: h2-logo-shake .7s ease-in-out; }
}
@keyframes h2-logo-f { from { opacity: 0; transform: translateX(-35%) skewX(12deg); } }
@keyframes h2-logo-t { from { opacity: 0; transform: translateX(35%) skewX(-12deg); } }
@keyframes h2-logo-m { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes h2-logo-drop {
	0% { opacity: 0; transform: translateY(-90%) rotate(-25deg); }
	55% { opacity: 1; transform: translateY(5%) rotate(6deg); }
	75% { transform: translateY(-4%) rotate(-3deg); }
	100% { transform: none; }
}
@keyframes h2-logo-sway { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(5deg); } 90% { transform: rotate(-4deg); } 95% { transform: rotate(2deg); } }
@keyframes h2-logo-wiggle { 0%, 78%, 100% { transform: none; } 82% { transform: rotate(-12deg); } 86% { transform: rotate(10deg); } 90% { transform: rotate(-6deg); } 94% { transform: rotate(3deg); } }
@keyframes h2-logo-hop { 0% { transform: none; } 35% { transform: translateY(-22%) rotate(-8deg); } 65% { transform: translateY(0) rotate(4deg); } 82% { transform: translateY(-6%) rotate(-2deg); } 100% { transform: none; } }
@keyframes h2-logo-shake { 0%, 100% { transform: none; } 20% { transform: rotate(-16deg); } 45% { transform: rotate(14deg); } 70% { transform: rotate(-8deg); } }

/* ---------- Кнопки: блик и магнит ---------- */
.home2 .btn { position: relative; overflow: hidden; isolation: isolate; transition: background .2s ease, color .2s ease, box-shadow .3s ease, transform .3s var(--h2-ease); }
.home2 .btn::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
	transform: skewX(-20deg); pointer-events: none; opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
	.home2 .btn:hover { box-shadow: 0 14px 30px -12px rgba(122, 151, 45, .7); }
	.home2 .btn:hover::after { opacity: 1; animation: h2-shine .8s ease; }
	.home2 .btn_outline:hover { box-shadow: 0 14px 30px -14px rgba(23, 23, 23, .25); border-color: var(--primary); }
}
@keyframes h2-shine { from { left: -60%; } to { left: 130%; } }
.btn_white { background: #fff; color: var(--h2-ink); }
.home2 .btn_white:hover { background: var(--h2-mint); color: var(--h2-ink); }
.btn_ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.home2 .btn_ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Появление при прокрутке ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--h2-ease), transform .8s var(--h2-ease); transition-delay: calc(var(--i, 0) * 90ms); }
	.js-reveal .reveal.is-in { opacity: 1; transform: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.h2-hero {
	position: relative; isolation: isolate;
	display: grid; grid-template-columns: minmax(0, 680px) 1fr; align-items: center; gap: 40px;
	padding-bottom: clamp(72px, 8vw, 120px);
}
.h2-hero::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -2;
	background:
		radial-gradient(60% 70% at 85% 30%, rgba(122, 151, 45, .16), transparent 60%),
		radial-gradient(40% 50% at 10% 90%, rgba(232, 164, 54, .12), transparent 60%),
		linear-gradient(180deg, #fff 0%, var(--h2-mint) 100%);
}
.h2-hero::after { /* зерно */
	content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none;
	opacity: .35; mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.h2-hero__pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; margin-bottom: 22px;
	background: #fff; border: 1px solid var(--h2-line); border-radius: 999px; font-size: 14px; color: var(--primary-text);
	box-shadow: 0 8px 24px -16px rgba(31, 36, 16, .35);
}
.h2-hero__pill img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.h2-hero__pill b { color: var(--primary); }
.h2-hero h1 {
	font-size: clamp(34px, 4.8vw, 68px); line-height: 1.04; letter-spacing: -2px; text-transform: none; margin-bottom: 22px;
}
.h2-hero h1 .w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
	.h2-hero h1 .w { animation: h2-word .9s var(--h2-ease) both; animation-delay: calc(.1s + var(--i) * 80ms); }
	.h2-hero__pill, .h2-hero__text > p, .h2-hero__buttons, .h2-hero__stats { animation: h2-word .9s var(--h2-ease) both; }
	.h2-hero__text > p { animation-delay: .55s; }
	.h2-hero__buttons { animation-delay: .7s; }
	.h2-hero__stats { animation-delay: .85s; }
}
@keyframes h2-word { from { opacity: 0; transform: translateY(40%) rotate(2deg); filter: blur(6px); } }
.h2-scribble { position: relative; white-space: nowrap; color: var(--primary); }
.h2-scribble svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.h2-scribble path { fill: none; stroke: var(--h2-orange); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
	.h2-scribble path { animation: h2-draw 1.2s var(--h2-ease) 1s both; }
}
@keyframes h2-draw { from { stroke-dashoffset: 420; } }
.h2-hero__text > p { font-size: 20px; line-height: 1.5; color: var(--secondary-text); max-width: 540px; margin-bottom: 30px; }
.h2-hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.h2-hero__stats { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(31, 36, 16, .1); }
.h2-stat__num { display: block; font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; letter-spacing: -1px; color: var(--h2-ink); line-height: 1; }
.h2-stat__num small { font-size: .55em; font-weight: 600; color: var(--primary); margin-left: 2px; }
.h2-stat__label { display: block; margin-top: 6px; font-size: 14px; color: var(--secondary-text); line-height: 1.3; }

.h2-chip {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(31, 36, 16, .45);
	font-size: 15px; font-weight: 600; color: var(--h2-ink); white-space: nowrap;
}
.h2-chip i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--h2-mint); color: var(--primary); font-style: normal; }
.h2-chip i svg { width: 18px; height: 18px; }
.h2-chip small { display: block; font-size: 12px; font-weight: 400; color: var(--secondary-text); }
.h2-pos_3 { bottom: 6%; left: 2%; }
@media (prefers-reduced-motion: no-preference) {
	.h2-chip { animation: h2-pop .8s cubic-bezier(.34, 1.56, .64, 1) both; }
	.h2-pos_1 .h2-chip { animation-delay: 1s; } .h2-pos_2 .h2-chip { animation-delay: 1.3s; }
	.h2-float { animation: h2-bob 5s ease-in-out infinite; }
	.h2-float_2 { animation-duration: 6.5s; animation-delay: -2s; }
	.h2-float_3 { animation-duration: 7.5s; animation-delay: -4s; }
}
@keyframes h2-pop { from { opacity: 0; transform: scale(.6) translateY(20px); } }
@keyframes h2-bob { 50% { translate: 0 -12px; } }

/* Баннер на весь экран, шапка лежит поверх */
.home2 .header { position: absolute; top: 0; left: 0; right: 0; z-index: 7; }
.home2 .overlay { z-index: 8; }
.home2 .cart-container { z-index: 9; }
.h2-hero { min-height: clamp(640px, 46vw, 100svh); padding-top: 120px; }
.h2-hero__text { position: relative; z-index: 2; order: -1; /* текст слева: в DOM фото стоит первым */ }
/* Фотография справа — прежнее изображение баннера (hero1), фон вырезан
   (hero-cut*, прозрачный PNG/WebP), поэтому без рамки и тени — вырезка
   «плавает» на градиенте. Стоит на месте: ни kenburns, ни параллакса —
   движение картинок при скролле считаем дефектом (см. чанк home2-choice). */
.h2-hero__media { position: relative; z-index: 1; justify-self: end; align-self: center; }
.h2-hero__media img { display: block; width: 100%; max-width: 520px; height: auto; }

@media screen and (max-width: 950px) {
	.h2-hero { grid-template-columns: 1fr; min-height: 0; padding: 88px 0 64px; }
	.h2-hero__media { order: 2; justify-self: center; margin-top: 32px; width: 100%; max-width: 420px; }
	.h2-hero__media img { max-width: none; }
}
@media screen and (max-width: 650px) {
	.h2-hero { padding-top: 72px; }
	.h2-hero h1 { letter-spacing: -1px; margin-bottom: 14px; }
	.h2-hero__pill { display: none; }
	.h2-hero__text > p { font-size: 16px; margin-bottom: 20px; }
	.h2-hero__stats { gap: 16px; margin-top: 24px; padding-top: 20px; }
	.h2-stat__label { font-size: 12px; }
}

/* ---------- Инфо-карточки: зелёные, наклон и фонарик ---------- */
.home2 .info-card {
	position: relative; overflow: hidden; isolation: isolate;
	background: linear-gradient(150deg, #8DAA3A 0%, var(--primary) 55%, var(--primary-darked) 100%);
	border-color: transparent; color: #fff;
	transition: transform .5s var(--h2-ease), box-shadow .5s var(--h2-ease);
	box-shadow: 0 18px 36px -24px rgba(90, 111, 36, .9);
}
.home2 .info-card::after { /* фонарик */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
	background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .38), rgba(255, 255, 255, .08) 40%, transparent 70%);
}
.home2 .info-card__title { color: #fff; }
.home2 .info-card__text { color: rgba(255, 255, 255, .85); }
.home2 .info-card__link { color: #F4FAE5; text-decoration: underline; text-underline-offset: 3px; }
.home2 .info-card__icon { background: #fff; border-radius: 50%; }
@media (hover: hover) and (pointer: fine) {
	.home2 .info-card:hover { box-shadow: 0 30px 50px -26px rgba(90, 111, 36, 1); }
	.home2 .info-card:hover::after { opacity: 1; }
	.home2 .info-card:hover .info-card__icon { animation: h2-jelly .6s ease; }
}
@keyframes h2-jelly { 30% { transform: scale(1.2, .85); } 50% { transform: scale(.9, 1.12); } 70% { transform: scale(1.06, .95); } }

/* =========================================================
   ЭМОЦИЯ 1 – «Яблоко или пирожное?»
   ========================================================= */
.h2-choice { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.h2-choice h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -1.2px; }
.h2-choice__art { position: relative; border-radius: 28px; overflow: hidden; background: #FFF6EA; box-shadow: 0 30px 60px -30px rgba(31, 36, 16, .4); }
/* Картинка статична: параллакс (data-speed) с неё снят по решению клиента —
   при прокрутке ползла светлая щель от сдвига. Параллакс остался только
   у фото в блоке «Вы не одна», там запас -10%/120% закрывает сдвиг целиком. */
.h2-choice__art img { display: block; width: 100%; height: auto; }
.h2-choice__badge {
	position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
	padding: 10px 18px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap;
	box-shadow: 0 12px 24px -10px rgba(90, 111, 36, .8);
}
.h2-choice__hint { font-size: 14px; color: var(--secondary-text); margin: 6px 0 18px; }
.h2-flips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; perspective: 1200px; }
.h2-flip {
	position: relative; min-height: 170px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
	font: inherit; color: inherit;
}
.h2-flip__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s var(--h2-ease); }
.h2-flip.is-flipped .h2-flip__inner { transform: rotateY(180deg); }
.h2-flip__face {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
	padding: 20px; border-radius: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.h2-flip__front { background: #fff; border: 1px dashed #CFCFCF; color: var(--secondary-text); }
.h2-flip__front b { font-size: 18px; font-weight: 600; color: var(--primary-text); line-height: 1.3; }
.h2-flip__front span { font-size: 13px; display: flex; align-items: center; gap: 6px; }
.h2-flip__back { background: var(--primary); color: #fff; transform: rotateY(180deg); box-shadow: 0 20px 40px -20px rgba(90, 111, 36, .9); }
.h2-flip__back b { font-size: 17px; font-weight: 600; line-height: 1.35; }
.h2-flip__back span { font-size: 13px; opacity: .85; display: flex; align-items: center; gap: 6px; }
.h2-flip__mood { font-size: 26px; line-height: 1; }
.h2-flip:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 20px; }
@media (hover: hover) and (pointer: fine) {
	.h2-flip:hover .h2-flip__front { border-color: var(--primary); }
}
@media screen and (max-width: 950px) {
	.h2-choice { grid-template-columns: 1fr; }
	.h2-choice__art { max-width: 520px; }
}
@media screen and (max-width: 468px) {
	.h2-flips { grid-template-columns: 1fr; }
	.h2-flip { min-height: 140px; }
}

/* =========================================================
   ЭМОЦИЯ 2 – «Что будет у вас на тарелке»
   ========================================================= */
.h2-plate__head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.h2-plate__head h2, .h2-calc__head h2 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -1.2px; line-height: 1.1; }
.h2-plate__head .h2-lead, .h2-calc__head .h2-lead { margin-inline: auto; }
.h2-plate__tabs {
	display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px;
}
.h2-plate__pick { text-align: center; font-size: 14px; font-weight: 600; color: var(--primary-darked); margin: 0 0 12px; }
.h2-plate__pick::after { content: " ↓"; }
.h2-tab {
	padding: 12px 18px; border-radius: 999px; border: 1px solid #DCE6C2; background: #fff; cursor: pointer;
	font: inherit; font-size: 15px; font-weight: 500; color: var(--primary-text);
	transition: background .25s, color .25s, border-color .25s, transform .3s var(--h2-ease), box-shadow .3s;
}
.h2-tab:hover { border-color: var(--primary); transform: translateY(-2px); }
.h2-tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(90, 111, 36, .9); }
.h2-plate__grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.h2-plate__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.h2-plate__days { display: inline-flex; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid #DCE6C2; }
.h2-day {
	padding: 9px 16px; border: 0; border-radius: 10px; background: none; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; color: var(--secondary-text);
	transition: background .25s, color .25s;
}
.h2-day[aria-pressed="true"] { background: var(--h2-ink); color: #fff; }
.h2-plate__dice {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px dashed var(--primary);
	background: transparent; color: var(--primary-darked); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .25s;
}
.h2-plate__dice svg { width: 20px; height: 20px; }
.h2-plate__dice:hover { background: #fff; }
.h2-plate__dice:hover svg, .h2-plate__dice.is-rolling svg { animation: h2-roll .6s var(--h2-ease); }
@keyframes h2-roll { to { transform: rotate(360deg); } }
.h2-plate__meals { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.h2-meal {
	display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center;
	padding: 16px 20px 16px 16px; background: #fff; border-radius: 18px; border: 1px solid #E5EDD2;
	transition: transform .4s var(--h2-ease), box-shadow .4s var(--h2-ease);
}
.h2-meal:hover { transform: translateX(6px); box-shadow: 0 16px 30px -22px rgba(31, 36, 16, .5); }
.h2-meal__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--h2-mint); color: var(--primary); }
.h2-meal__ico svg { width: 26px; height: 26px; }
.h2-meal__when { display: block; font-size: 13px; color: var(--secondary-text); margin-bottom: 3px; }
.h2-meal__dish { display: block; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--primary-text); }
.h2-meal__bju { display: block; font-size: 13px; color: var(--secondary-text); margin-top: 4px; }
.h2-meal__kcal { padding: 8px 12px; border-radius: 12px; background: var(--h2-mint); color: var(--primary-darked); font-weight: 700; font-size: 15px; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
	.h2-plate__meals.is-anim .h2-meal { animation: h2-meal-in .6s var(--h2-ease) both; animation-delay: calc(var(--i) * 70ms); }
}
@keyframes h2-meal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.h2-plate__meals.is-rolling .h2-meal__dish { filter: blur(1.5px); }

.h2-plate__sum {
	position: sticky; top: 24px; padding: 28px; border-radius: 24px; background: var(--h2-ink); color: #fff; text-align: center;
	box-shadow: 0 30px 60px -30px rgba(31, 36, 16, .7); overflow: hidden; isolation: isolate;
}
.h2-plate__sum::before { content: ""; position: absolute; width: 300px; height: 300px; top: -150px; right: -120px; border-radius: 50%; background: rgba(122, 151, 45, .45); filter: blur(50px); z-index: -1; }
.h2-ring { position: relative; width: 210px; margin: 0 auto 22px; }
.h2-ring svg { display: block; width: 100%; height: auto; transform: rotate(-90deg); }
.h2-ring circle { fill: none; stroke-width: 12; }
.h2-ring__bg { stroke: rgba(255, 255, 255, .1); }
.h2-ring__arc { stroke-linecap: butt; stroke-dasharray: 0 314.16; transition: stroke-dasharray .9s var(--h2-ease), stroke-dashoffset .9s var(--h2-ease); }
.h2-ring__arc_p { stroke: #B9D36B; }
.h2-ring__arc_f { stroke: var(--h2-orange); }
.h2-ring__arc_c { stroke: #6FB8E8; }
.h2-ring__center { position: absolute; inset: 0; display: grid; place-content: center; }
.h2-ring__center b { font-size: 46px; font-weight: 900; letter-spacing: -1.5px; line-height: 1; }
.h2-ring__center span { font-size: 13px; opacity: .7; margin-top: 4px; }
.h2-macros { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; text-align: left; }
.h2-macro { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14px; }
.h2-macro span { opacity: .8; }
.h2-macro b { font-weight: 700; }
.h2-macro i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.h2-macro em { display: block; height: 100%; width: 0; border-radius: 6px; transition: width .9s var(--h2-ease); }
.h2-macro_p em { background: #B9D36B; } .h2-macro_f em { background: var(--h2-orange); } .h2-macro_c em { background: #6FB8E8; }
.h2-plate__go { width: 100%; }
.h2-plate__note { font-size: 12px; opacity: .6; margin: 14px 0 0; line-height: 1.4; }
@media screen and (max-width: 950px) {
	.h2-plate__grid { grid-template-columns: 1fr; }
	.h2-plate__sum { position: relative; top: 0; }
	.h2-plate__tabs { gap: 8px; margin-bottom: 24px; }
	.h2-tab { padding: 10px 14px; font-size: 14px; }
}
@media screen and (max-width: 468px) {
	.h2-meal { grid-template-columns: 40px 1fr; gap: 12px; padding: 14px; }
	.h2-meal__ico { width: 40px; height: 40px; border-radius: 12px; }
	.h2-meal__ico svg { width: 20px; height: 20px; }
	.h2-meal__kcal { grid-column: 2; justify-self: start; padding: 4px 10px; font-size: 13px; }
	.h2-meal__dish { font-size: 15px; }
}

/* ---------- Каталог: наклон и блик по картинке, как на кнопке ---------- */
.home2 .program-card, .home2 .product-featured { transition: transform .5s var(--h2-ease), box-shadow .5s var(--h2-ease); }
.h2-imgshine { position: relative; display: block; width: fit-content; max-width: 100%; margin: 0 auto; border-radius: 16px; overflow: hidden; isolation: isolate; }
.h2-imgshine > img { margin: 0 !important; transition: transform .6s var(--h2-ease); }
.product-featured__media .h2-imgshine { height: 100%; }
.h2-imgshine::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 2; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
	transform: skewX(-20deg); opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
	.home2 .program-card:hover, .home2 .product-featured:hover { box-shadow: 0 30px 50px -30px rgba(31, 36, 16, .45); }
	.home2 .program-card:hover .h2-imgshine::after, .home2 .product-featured:hover .h2-imgshine::after { opacity: 1; animation: h2-shine .8s ease; }
	.home2 .program-card:hover .h2-imgshine > img, .home2 .product-featured:hover .h2-imgshine > img { transform: scale(1.05); }
}

/* =========================================================
   КАК ЭТО РАБОТАЕТ – линия заполняется прокруткой
   ========================================================= */
.h2-steps__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.h2-steps__head h2 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -1.2px; line-height: 1.1; }
.h2-steps__list { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; --p: 0; }
.h2-steps__list::before, .h2-steps__list::after {
	content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; background: #E0E0E0; z-index: 0;
}
.h2-steps__list::after { background: linear-gradient(180deg, var(--primary), var(--h2-orange)); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.h2-step { position: relative; z-index: 1; width: 50%; padding: 0 56px 56px 0; }
.h2-step:nth-child(even) { margin-left: 50%; padding: 0 0 56px 56px; }
.h2-step__dot {
	position: absolute; top: 0; right: -26px; z-index: 1; display: grid; place-items: center;
	width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 3px solid #E0E0E0;
	font-weight: 900; font-size: 18px; color: #B5B5B5; transition: all .5s var(--h2-ease);
}
.h2-step:nth-child(even) .h2-step__dot { right: auto; left: -26px; }
.h2-step.is-active .h2-step__dot { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 8px rgba(122, 151, 45, .18); }
.h2-step__card {
	background: #fff; border-radius: 20px; padding: 26px 28px; border: 1px solid var(--h2-line);
	transition: transform .6s var(--h2-ease), box-shadow .6s var(--h2-ease), opacity .6s; opacity: .55; transform: translateY(10px);
}
.h2-step.is-active .h2-step__card { opacity: 1; transform: none; box-shadow: 0 24px 48px -28px rgba(31, 36, 16, .35); }
.no-js-steps .h2-step__card { opacity: 1; transform: none; }
.h2-step__card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.h2-step__card p { color: var(--secondary-text); line-height: 1.5; margin: 0; }
.h2-step__note { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--h2-mint); color: var(--primary-darked); font-size: 14px; font-weight: 500; }
@media screen and (max-width: 768px) {
	.h2-steps__list::before, .h2-steps__list::after { left: 22px; }
	.h2-step, .h2-step:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 32px 68px; }
	.h2-step__dot, .h2-step:nth-child(even) .h2-step__dot { left: -4px; right: auto; width: 48px; height: 48px; }
	.h2-step__card { padding: 20px; }
}

/* =========================================================
   ЭМОЦИЯ 3 – «Вы не одна»
   ========================================================= */
.h2-together { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.h2-together__photo { position: relative; max-width: 480px; justify-self: center; width: 100%; margin-bottom: 40px; }
.h2-badges { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 10px; width: max-content; }
@media screen and (max-width: 1280px) {
	.h2-together__photo { margin-bottom: 0; }
	.h2-together__photo::before { display: none; }
	.h2-badges { position: static; transform: none; width: auto; margin-top: 16px; justify-content: center; flex-wrap: wrap; }
}
.h2-together__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 28px 28px; overflow: hidden; background: var(--h2-mint); box-shadow: 0 40px 80px -40px rgba(31, 36, 16, .55); }
/* Запас -10%/120% вместо -8%/116%: при speed=-.08 сдвиг доходит до ~60px,
   прежнего запаса (8%) на больших экранах не хватало впритык. */
.h2-together__frame img { position: absolute; inset: -10% 0 auto; width: 100%; height: 120%; object-fit: cover; object-position: 50% 8%; }
.h2-together__photo::before { content: ""; position: absolute; inset: -18px -18px 30px 30px; border-radius: 240px 240px 28px 28px; border: 2px solid var(--primary); opacity: .35; z-index: -1; }
.h2-badge {
	position: relative; padding: 12px 16px; background: #fff; border-radius: 18px;
	box-shadow: 0 24px 40px -20px rgba(31, 36, 16, .45); line-height: 1.2;
}
.h2-badge b { display: block; font-size: 24px; font-weight: 900; letter-spacing: -1px; color: var(--primary); }
.h2-badge > span { font-size: 13px; color: var(--secondary-text); }
.h2-badge_2 { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.h2-badge_2 i { font-style: normal; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--h2-orange); color: #fff; }
.h2-together h2 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -1.2px; line-height: 1.1; }
.h2-together__text p { font-size: 18px; line-height: 1.55; color: #3d3d3d; }
.h2-perks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.h2-perks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--h2-line); font-size: 15px; line-height: 1.35; transition: transform .4s var(--h2-ease), border-color .3s; }
.h2-perks li svg { flex: none; width: 22px; height: 22px; color: var(--primary); }
@media (hover: hover) and (pointer: fine) { .h2-perks li:hover { transform: translateY(-4px); border-color: var(--primary); } }
.h2-creds { font-size: 13px; color: var(--secondary-text); margin-top: 18px; }
@media screen and (max-width: 950px) {
	.h2-together { grid-template-columns: 1fr; }
	.h2-together__photo { max-width: 380px; }
}
@media screen and (max-width: 650px) {
	.h2-perks { grid-template-columns: 1fr; }
	.h2-together__text p { font-size: 16px; }
	.h2-together__frame, .h2-together__photo::before { border-radius: 150px 150px 24px 24px; }
	.h2-together__frame img { object-position: 50% 0; }
	.h2-badge b { font-size: 22px; }
}

/* =========================================================
   ФИНАЛЬНЫЙ ПРИЗЫВ
   ========================================================= */
.h2-cta {
	position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; color: #fff; text-align: center;
	padding: clamp(48px, 7vw, 104px) clamp(20px, 5vw, 80px);
	background: linear-gradient(135deg, #8DAA3A 0%, var(--primary) 45%, var(--primary-darked) 100%);
}
.h2-cta__blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); opacity: .55; }
.h2-cta__blob_1 { width: 420px; height: 420px; background: #C9E17A; top: -160px; left: -100px; }
.h2-cta__blob_2 { width: 360px; height: 360px; background: var(--h2-orange); bottom: -180px; right: -60px; opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
	.h2-cta__blob_1 { animation: h2-drift 12s ease-in-out infinite alternate; }
	.h2-cta__blob_2 { animation: h2-drift 15s ease-in-out infinite alternate-reverse; }
}
@keyframes h2-drift { to { transform: translate(80px, 60px) scale(1.15); } }
.h2-cta h2 { color: #fff; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -1.6px; max-width: 900px; margin: 0 auto 18px; }
.h2-cta h2 b { color: #fff; background: linear-gradient(transparent 62%, rgba(232, 164, 54, .75) 62%); }
.h2-cta p { font-size: 18px; line-height: 1.5; opacity: .9; max-width: 640px; margin: 0 auto 32px; }
.h2-cta__buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =========================================================
   КВИЗ – новая обёртка и стили поверх общего чанка quiz-block
   ========================================================= */
.h2-quizwrap { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.h2-quizside { position: sticky; top: 24px; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--h2-line); }
.h2-quizside__art { margin: -8px -8px 14px; border-radius: 18px; background: var(--h2-mint); overflow: hidden; }
.h2-quizside__art img { display: block; width: 100%; height: auto; }
.h2-quizside__title { font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.6px; margin-bottom: 14px; }
.h2-quizside__title b { color: var(--primary); }
.h2-quizside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.h2-quizside__list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.4; color: #444; }
.h2-quizside__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }

.home2 .quiz {
	--quiz-accent: var(--primary); --quiz-accent-hover: var(--primary-darked); --quiz-border: #E3EAD3; --quiz-text-light: var(--secondary-text);
}
.home2 .quiz > h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -1px; margin-bottom: 18px; }
.home2 .quiz__body { border: 0; border-radius: 28px; box-shadow: 0 40px 80px -50px rgba(31, 36, 16, .55), 0 0 0 1px rgba(31, 36, 16, .05); }
.home2 .quiz .progress-wrap { height: 8px; margin: 26px 30px 0; border-radius: 8px; background: #EEF3E2; overflow: visible; }
.home2 .quiz .progress-bar { position: relative; border-radius: 8px; background: linear-gradient(90deg, #B9D36B, var(--primary)); transition: width .6s var(--h2-ease); min-width: 8px; }
.home2 .quiz .progress-bar::after { content: ""; position: absolute; right: -6px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-shadow: 0 0 0 6px rgba(122, 151, 45, .18); }
.h2-quiz-count { display: block; margin: 0 30px; padding-top: 14px; font-size: 13px; color: var(--secondary-text); }
.home2 .quiz .step-container { padding: 18px 30px 30px; min-height: 320px; }
.home2 .quiz .step-header { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.5px; }
.home2 .quiz .options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home2 .quiz .option {
	display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 16px 14px 14px;
	border: 1.5px solid #E3EAD3; border-radius: 16px; background: #fff; font-size: 15px; line-height: 1.35;
	transition: border-color .2s, background-color .2s, transform .3s var(--h2-ease), box-shadow .3s;
}
.home2 .quiz .option::before {
	content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #C9D6AE; background: #fff center / 14px no-repeat;
	transition: all .25s var(--h2-ease);
}
.home2 .quiz .option[data-type="multi"]::before { border-radius: 7px; }
.home2 .quiz .option:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(90, 111, 36, .8); }
.home2 .quiz .option.selected { border-color: var(--primary); background: var(--h2-mint); font-weight: 500; }
.home2 .quiz .option.selected::before {
	border-color: var(--primary); background-color: var(--primary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E");
	animation: h2-tick .35s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes h2-tick { from { transform: scale(.4); } }
.home2 .quiz .input-field { border: 1.5px solid #E3EAD3; border-radius: 14px; padding: 16px; background: #FBFCF8; }
.home2 .quiz .input-field:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(122, 151, 45, .15); }
@media (prefers-reduced-motion: no-preference) {
	.home2 .quiz .step-container.is-new .step-header,
	.home2 .quiz .step-container.is-new .step-sub,
	.home2 .quiz .step-container.is-new .option,
	.home2 .quiz .step-container.is-new .input-field { animation: h2-step-in .55s var(--h2-ease) both; }
	.home2 .quiz .step-container.is-new .option:nth-child(2) { animation-delay: .04s; }
	.home2 .quiz .step-container.is-new .option:nth-child(3) { animation-delay: .08s; }
	.home2 .quiz .step-container.is-new .option:nth-child(4) { animation-delay: .12s; }
	.home2 .quiz .step-container.is-new .option:nth-child(5) { animation-delay: .16s; }
	.home2 .quiz .step-container.is-new .option:nth-child(n+6) { animation-delay: .2s; }
}
@keyframes h2-step-in { from { opacity: 0; transform: translateX(24px); } }
.home2 .quiz .nav-buttons { padding: 18px 30px; background: #FAFBF7; border-top: 1px solid #EEF3E2; }
.home2 .quiz .btn-next, .home2 .quiz .btn-prev { padding: 14px 26px; border-radius: 12px; font-size: 16px; font-family: inherit; }
.home2 .quiz .btn-next { background: var(--primary); box-shadow: 0 12px 24px -14px rgba(90, 111, 36, .9); }
.home2 .quiz .btn-next::after { content: " →"; }
.home2 .quiz .btn-next:hover { background: var(--primary-darked); }
.home2 .quiz .btn-next:disabled { background: #D9DFCB; box-shadow: none; }
.home2 .quiz .result-card { position: relative; text-align: center; padding: 10px 0; }
.home2 .quiz .result-title { font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -1px; color: var(--h2-ink); }
.home2 .quiz .result-program { display: inline-block; margin: 10px 0 16px; padding: 12px 22px; border-radius: 16px; background: var(--h2-mint); color: var(--primary-darked); font-size: 22px; font-weight: 700; }
.home2 .quiz .result-cal { color: var(--primary); }
.home2 .quiz .result-restart::after { content: ""; }
.h2-confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.h2-confetti i { position: absolute; top: 30%; left: 50%; width: 9px; height: 14px; border-radius: 2px; animation: h2-confetti 1.6s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes h2-confetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
@media screen and (max-width: 950px) {
	.h2-quizwrap { grid-template-columns: 1fr; }
	.h2-quizside { position: relative; top: 0; display: grid; grid-template-columns: 110px 1fr; gap: 0 16px; align-items: center; padding: 18px; }
	.h2-quizside__art { grid-row: span 3; margin: 0; }
	.h2-quizside__title { font-size: 20px; margin-bottom: 0; }
	.h2-quizside .h2-eyebrow { margin-bottom: 4px; }
	.h2-quizside__list { display: none; }
}
@media screen and (max-width: 650px) {
	.home2 .quiz .options { grid-template-columns: 1fr; }
	.home2 .quiz .step-container { padding: 16px 18px 22px; min-height: 0; }
	.home2 .quiz .progress-wrap { margin: 20px 18px 0; }
	.h2-quiz-count { margin: 0 18px; }
	.home2 .quiz .nav-buttons { padding: 14px 18px; }
}

/* =========================================================
   КАЛЬКУЛЯТОР
   ========================================================= */
.h2-calc__head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.h2-calc__card { display: grid; grid-template-columns: 1.2fr .8fr; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -50px rgba(31, 36, 16, .55), 0 0 0 1px rgba(31, 36, 16, .05); }
.h2-calc__form { padding: clamp(22px, 3vw, 40px); display: grid; gap: 26px; }
.h2-range { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px; }
.h2-range label { font-weight: 600; font-size: 16px; }
.h2-range output { font-size: 15px; color: var(--secondary-text); }
.h2-range output b { font-size: 26px; font-weight: 900; color: var(--h2-ink); letter-spacing: -.5px; }
.h2-range input[type=range] {
	grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; max-width: none; height: 10px; border-radius: 10px; margin: 4px 0 0; cursor: pointer;
	padding: 0; border: 0; box-shadow: none; font-size: inherit;
	--pos: calc(14px + (100% - 28px) * var(--f, .5));
	background: linear-gradient(90deg, var(--primary) 0 var(--pos), #EEF3E2 var(--pos) 100%);
}
.h2-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 5px solid var(--primary); box-shadow: 0 6px 14px -4px rgba(90, 111, 36, .7); transition: transform .2s; }
.h2-range input[type=range]::-moz-range-thumb { box-sizing: border-box; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 5px solid var(--primary); box-shadow: 0 6px 14px -4px rgba(90, 111, 36, .7); }
.h2-range input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
.h2-range input[type=range]:focus { border: 0; }
.h2-range input[type=range]:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; }
.h2-pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.h2-pick legend { font-weight: 600; font-size: 16px; margin-bottom: 10px; padding: 0; }
.h2-pick__list { display: grid; gap: 8px; }
.h2-pick__list_act { grid-template-columns: repeat(5, 1fr); }
.h2-pick__list_goal { grid-template-columns: repeat(3, 1fr); }
.h2-pick label { position: relative; cursor: pointer; }
.h2-pick input { position: absolute; opacity: 0; pointer-events: none; }
.h2-pick span {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 54px; padding: 10px 8px;
	border: 1.5px solid #E3EAD3; border-radius: 14px; font-size: 13px; font-weight: 500; text-align: center; line-height: 1.25; background: #fff;
	transition: border-color .2s, background .2s, transform .3s var(--h2-ease), color .2s;
}
.h2-pick span i { font-style: normal; }
.h2-lvl { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.h2-lvl em { display: block; width: 5px; border-radius: 3px; background: #DCE3CC; transition: background .25s, transform .3s var(--h2-ease); }
.h2-lvl em:nth-child(1) { height: 30%; } .h2-lvl em:nth-child(2) { height: 47%; } .h2-lvl em:nth-child(3) { height: 64%; } .h2-lvl em:nth-child(4) { height: 82%; } .h2-lvl em:nth-child(5) { height: 100%; }
.h2-lvl em.on { background: #B9C99A; }
.h2-pick input:checked + span .h2-lvl em.on { background: var(--primary); }
.h2-pick label:hover .h2-lvl em.on { transform: scaleY(1.12); }
.h2-pick label:hover span { border-color: var(--primary); transform: translateY(-2px); }
.h2-pick input:checked + span { border-color: var(--primary); background: var(--h2-mint); color: var(--primary-darked); box-shadow: inset 0 0 0 1px var(--primary); }
.h2-pick input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.h2-calc__result {
	position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 3vw, 40px); color: #fff; text-align: center;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: linear-gradient(160deg, var(--h2-ink) 0%, #2C3618 100%);
}
.h2-calc__result::before { content: ""; position: absolute; width: 360px; height: 360px; bottom: -200px; left: -120px; border-radius: 50%; background: rgba(122, 151, 45, .5); filter: blur(60px); z-index: -1; }
.h2-gauge { position: relative; width: min(280px, 100%); }
.h2-gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.h2-gauge path { fill: none; stroke-width: 16; stroke-linecap: round; }
.h2-gauge__bg { stroke: rgba(255, 255, 255, .1); }
.h2-gauge__fill { stroke-dasharray: 251.3; stroke-dashoffset: 251.3; transition: stroke-dashoffset .9s var(--h2-ease); filter: drop-shadow(0 0 10px rgba(185, 211, 107, .5)); }
.h2-gauge__val { position: absolute; left: 0; right: 0; bottom: 0; }
.h2-gauge__val b { display: block; font-size: 54px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.h2-gauge__val span { font-size: 14px; opacity: .7; }
.h2-calc__hint { margin: 22px 0 18px; font-size: 17px; opacity: .9; }
.h2-calc__hint b { color: #B9D36B; }
.h2-calc__small { margin: 16px 0 0; font-size: 12px; opacity: .55; line-height: 1.4; max-width: 280px; }
@media screen and (max-width: 950px) {
	.h2-calc__card { grid-template-columns: 1fr; }
	.h2-pick__list_act { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 468px) {
	.h2-pick__list_act { grid-template-columns: repeat(2, 1fr); }
	.h2-pick__list_goal { grid-template-columns: 1fr; }
	.h2-pick__list_goal span { min-height: 46px; }
}

/* =========================================================
   ПОДВАЛ И ИКОНКИ МЕССЕНДЖЕРОВ
   ========================================================= */
.home2 .footer { position: relative; margin-top: clamp(40px, 5vw, 72px); background: var(--h2-mint); }
.home2 .footer::before { /* волна сверху */
	content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(24px, 4vw, 56px); background: var(--h2-mint);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C240,60 480,0 720,22 C960,44 1200,8 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C240,60 480,0 720,22 C960,44 1200,8 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.home2 .footer-menu a { color: #4F5A3A; }
.home2 .footer-menu li a:hover { color: var(--primary); }
.home2 .footer__line { background: rgba(31, 36, 16, .12); }
.home2 .footer .copyright, .home2 .footer__legal a { color: #4F5A3A; }

.home2 .social-list a {
	position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; isolation: isolate;
	box-shadow: 0 8px 18px -10px rgba(31, 36, 16, .55), 0 0 0 3px #fff;
	transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}
.home2 .social-list img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.home2 .social-list a::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%; z-index: 1; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg); opacity: 0;
}
.home2 .header .social-list a { width: 40px; height: 40px; }
@media (hover: hover) and (pointer: fine) {
	.home2 .social-list a:hover { transform: translateY(-4px) rotate(-6deg) scale(1.06); box-shadow: 0 14px 24px -10px rgba(31, 36, 16, .6), 0 0 0 3px #fff; }
	.home2 .social-list a:hover::after { opacity: 1; animation: h2-shine-ico .7s ease; }
}
@keyframes h2-shine-ico { from { left: -80%; } to { left: 130%; } }

/* ---------- Отключение движения ---------- */
@media (prefers-reduced-motion: reduce) {
	.home2 *, .home2 *::before, .home2 *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.h2-flip__inner { transition: none; }
}

/* =========================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (body.home2.home2-inner)
   Шапка и подвал home2 теперь на всех страницах. На главной шапка
   absolute поверх hero, здесь — обычная, в потоке, с белым фоном.
   ========================================================= */
body.home2.home2-inner .header {
	position: relative; top: auto; left: auto; right: auto;
	background: #fff;
	border-bottom: 1px solid var(--h2-line);
}

/* ---------- Акция на баннере главной (TV actionon) ---------- */
.h2-hero__promo {
	display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
	margin: 0 0 16px; padding: 8px 18px 8px 8px;
	background: var(--h2-mint); border: 1px solid var(--h2-line); border-radius: 999px;
}
.h2-hero__promo-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 56px; height: 40px; padding: 0 10px; border-radius: 999px;
	background: var(--h2-orange); color: #fff;
	font-weight: 800; font-size: 20px; letter-spacing: -.5px;
}
.h2-hero__promo-text { color: var(--h2-ink); font-size: 16px; line-height: 1.25; }
.h2-hero__promo-text .accent { color: var(--primary); font-weight: 700; }
.h2-hero__promo-date { font-size: 14px; color: #6B7A4A; }