/* ==========================================================================
   YM — yaroslav-marketing.com
   Визуальная система: графит, кремовый, терракота; Oswald + Manrope.
   ========================================================================== */

/* Шрифты (свои, с сервера) ------------------------------------------------ */
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("../fonts/oswald-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("../fonts/oswald-latin-600-normal.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: "Oswald"; font-weight: 700; font-display: swap; src: url("../fonts/oswald-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url("../fonts/oswald-latin-700-normal.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-weight: 400; font-display: swap; src: url("../fonts/manrope-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.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-weight: 600; font-display: swap; src: url("../fonts/manrope-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.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-weight: 700; font-display: swap; src: url("../fonts/manrope-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.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: #1E2124;
	--ink-2: #292D31;
	--ink-line: #3A3F44;
	--paper: #F1ECE4;
	--paper-2: #E7E0D5;
	--paper-line: #D3CABD;
	--clay: #B5532E;
	--clay-dark: #974423;
	--clay-light: #E08A63;
	--stone: #6B6F73;
	--stone-light: #A9A49C;

	--font-head: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--section-y: clamp(72px, 9vw, 136px);
	--radius: 3px;

	color-scheme: light;
}

/* База --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding: 0; }

:focus-visible { outline: 3px solid var(--clay-light); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ym-skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--clay); color: #fff; padding: 10px 16px; text-decoration: none;
}
.ym-skip:focus { top: 12px; }

.ym-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ym-wrap--text { max-width: calc(820px + var(--gutter) * 2); }

/* Незаполненные места */
.ym-todo {
	background: #F6D77A; color: var(--ink);
	font: 600 0.8em/1.4 var(--font-body); letter-spacing: 0;
	padding: 0.1em 0.45em; border-radius: 2px; text-transform: none;
}

/* Типографика -------------------------------------------------------------- */
.ym-h1, .ym-h2, .ym-h3, .ym-hero__title {
	font-family: var(--font-head);
	text-transform: uppercase;
	margin: 0;
	font-weight: 700;
	text-wrap: balance;
}
.ym-h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); line-height: 1.1; margin-bottom: 0.5em; }
.ym-h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem); line-height: 1.1; letter-spacing: 0.002em; }
.ym-h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.18; font-weight: 600; letter-spacing: 0.01em; }

.ym-prose > *:last-child { margin-bottom: 0; }
.ym-prose strong { font-weight: 700; }
.ym-prose ul { list-style: none; }
.ym-prose ul li { position: relative; padding-left: 1.4em; margin-bottom: 0.3em; }
.ym-prose ul li::before {
	content: ""; position: absolute; left: 0; top: 0.8em;
	width: 0.75em; height: 2px; background: var(--clay);
}
.ym-section--dark .ym-prose ul li::before { background: var(--clay-light); }

/* Короткие строки-абзацы: плотнее, как перечень мыслей */
.ym-prose--lines p { margin-bottom: 0.55em; }
.ym-prose--lines p + ul { margin-top: -0.1em; }
.ym-prose--lines ul { margin-bottom: 0.9em; }

/* Выделенный вывод */
.ym-accent {
	margin-top: 1.6em;
	padding-left: 1.1em;
	border-left: 3px solid var(--clay);
	font-weight: 700;
	font-size: 1.15em;
	line-height: 1.45;
	max-width: 44em;
}
.ym-accent p { margin: 0; }
.ym-accent--small { font-size: 1em; margin-top: 1.2em; }
.ym-section--dark .ym-accent { border-color: var(--clay-light); }

/* Секции ------------------------------------------------------------------- */
.ym-section { padding: var(--section-y) 0; position: relative; }
.ym-section--light { background: var(--paper); color: var(--ink); }
.ym-section--dark { background: var(--ink); color: var(--paper); }
.ym-section--light + .ym-section--light { border-top: 1px solid var(--paper-line); }
.ym-section--dark + .ym-section--dark { border-top: 1px solid var(--ink-line); }

.ym-section__head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 58rem; }
.ym-section__title { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 22ch; }
.ym-section__head .ym-section__title { margin-bottom: 0; }
.ym-section__intro { color: inherit; max-width: 44em; }
.ym-section__foot { margin-top: clamp(2.5rem, 4vw, 3.5rem); }

/* Кнопки ------------------------------------------------------------------- */
.ym-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 52px; padding: 0.85em 1.6em;
	font: 700 1rem/1.2 var(--font-body);
	border-radius: var(--radius); border: 1.5px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ym-btn--primary { background: var(--clay); color: #fff; border-color: var(--clay); }
.ym-btn--primary:hover { background: var(--clay-dark); border-color: var(--clay-dark); }
.ym-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.ym-btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ym-section--dark .ym-btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ym-btn--small { min-height: 42px; padding: 0.55em 1.1em; font-size: 0.9rem; }
.ym-btn--wide { width: 100%; }

/* Шапка -------------------------------------------------------------------- */
.ym-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--ink); color: var(--paper);
	border-bottom: 1px solid var(--ink-line);
}
.ym-header__inner {
	max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
	min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.ym-brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.ym-brand__name { font: 600 1.15rem/1.1 var(--font-head); text-transform: uppercase; letter-spacing: 0.02em; }
.ym-brand__tagline { font-size: 0.8rem; color: var(--stone-light); margin-top: 3px; }

.ym-nav { display: flex; align-items: center; gap: 1.75rem; }
.ym-nav__list { list-style: none; display: flex; gap: 1.5rem; margin: 0; }
.ym-nav__list a { text-decoration: none; font-size: 0.95rem; color: var(--paper); opacity: .85; }
.ym-nav__list a:hover { opacity: 1; text-decoration: underline; }

.ym-burger { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.ym-burger__lines, .ym-burger__lines::before, .ym-burger__lines::after {
	display: block; width: 24px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s ease;
}
.ym-burger__lines::before, .ym-burger__lines::after { content: ""; position: absolute; left: 0; }
.ym-burger__lines::before { top: -7px; }
.ym-burger__lines::after { top: 7px; }
.ym-burger[aria-expanded="true"] .ym-burger__lines { background: transparent; }
.ym-burger[aria-expanded="true"] .ym-burger__lines::before { transform: translateY(7px) rotate(45deg); }
.ym-burger[aria-expanded="true"] .ym-burger__lines::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.ym-burger { display: block; }
	.ym-nav {
		position: fixed; inset: 72px 0 auto 0; background: var(--ink);
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 1rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--ink-line);
		display: none;
	}
	.ym-nav.is-open { display: flex; }
	.ym-nav__list { flex-direction: column; gap: 0; margin-bottom: 1rem; }
	.ym-nav__list a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--ink-line); font-size: 1.05rem; }
}

/* Первый экран ------------------------------------------------------------- */
.ym-hero { padding-top: clamp(48px, 6vw, 88px); overflow: hidden; }
.ym-hero__grid {
	display: grid; gap: clamp(2rem, 4vw, 4.5rem);
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
	align-items: start;
}
.ym-hero__title {
	font-size: clamp(2.1rem, 1.4rem + 2.9vw, 3.9rem);
	line-height: 1.1;
	margin-bottom: 0.55em;
	max-width: 20ch;
}
.ym-hero__lead {
	font-weight: 700; font-size: 1.15em; line-height: 1.4;
	color: var(--clay-light); margin-bottom: 1.4em; max-width: 36em;
}
.ym-hero__body { max-width: 38em; color: var(--paper); }
.ym-hero__body p { margin-bottom: 0.8em; }
.ym-hero__industries { color: var(--stone-light); font-size: 0.95em; margin: 1.4em 0 0; max-width: 38em; }
.ym-hero__actions { margin-top: 2rem; }
.ym-hero__proof {
	margin: 1.4rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--ink-line);
	font-size: 0.95em; color: var(--stone-light); max-width: 34em;
}
.ym-hero__photo { margin: 0; position: relative; }
.ym-hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.ym-hero__photo::after {
	content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 42%;
	border-left: 3px solid var(--clay); border-bottom: 3px solid var(--clay); pointer-events: none;
}

@media (max-width: 960px) {
	.ym-hero__grid { grid-template-columns: 1fr; }
	.ym-hero__photo { order: -1; max-width: 420px; }
	.ym-hero__photo img { aspect-ratio: 1 / 1; object-position: 50% 20%; }
	.ym-hero__photo::after { display: none; }
}

/* Текст с выводом ---------------------------------------------------------- */
.ym-manifesto__grid {
	display: grid; gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
}
.ym-manifesto__title { position: sticky; top: 112px; }
.ym-manifesto__content { font-size: 1.08em; max-width: 40em; }
@media (max-width: 960px) {
	.ym-manifesto__grid { grid-template-columns: 1fr; }
	.ym-manifesto__title { position: static; }
}

/* Ситуации ----------------------------------------------------------------- */
.ym-situations__list { display: grid; }
.ym-situation {
	display: grid; gap: clamp(1.25rem, 4vw, 4rem);
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	padding: clamp(2rem, 3.5vw, 3rem) 0;
	border-top: 2px solid var(--ink);
}
.ym-section--dark .ym-situation { border-color: var(--paper); }
.ym-situation__body { max-width: 40em; }
@media (max-width: 860px) { .ym-situation { grid-template-columns: 1fr; } }

/* Сетка пунктов ------------------------------------------------------------ */
.ym-grid__items { display: grid; gap: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3rem); }
.ym-grid__items--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ym-grid__items--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ym-grid__item { padding-top: 1.1rem; border-top: 1px solid var(--paper-line); }
.ym-section--dark .ym-grid__item { border-color: var(--ink-line); }
.ym-grid__title { margin-bottom: 0.75rem; }
.ym-grid__closing { margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 960px) { .ym-grid__items--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ym-grid__items--3, .ym-grid__items--2 { grid-template-columns: 1fr; } }

/* Этапы -------------------------------------------------------------------- */
.ym-steps__list { list-style: none; margin: 0; counter-reset: none; }
.ym-step {
	display: grid; gap: clamp(1rem, 3vw, 3rem);
	grid-template-columns: 7.5rem minmax(0, 1fr) minmax(0, 0.9fr);
	padding: clamp(2rem, 3.5vw, 3rem) 0;
	border-top: 1px solid var(--paper-line);
	align-items: start;
}
.ym-section--dark .ym-step { border-color: var(--ink-line); }
.ym-step__num {
	font: 700 clamp(3rem, 2.4rem + 2.4vw, 4.75rem)/0.85 var(--font-head);
	color: var(--clay);
}
.ym-section--dark .ym-step__num { color: var(--clay-light); }
.ym-step__title { margin-bottom: 0.8rem; }
.ym-step__result {
	background: var(--paper-2); padding: 1.25rem 1.4rem; border-radius: var(--radius);
	font-weight: 600; line-height: 1.45;
}
.ym-section--dark .ym-step__result { background: var(--ink-2); }
.ym-step__result p { margin: 0; }
.ym-step__result-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--stone); margin-bottom: 0.35rem; }
.ym-section--dark .ym-step__result-label { color: var(--stone-light); }
@media (max-width: 960px) {
	.ym-step { grid-template-columns: 4.5rem minmax(0, 1fr); }
	.ym-step__result { grid-column: 2; }
}
@media (max-width: 560px) {
	.ym-step { grid-template-columns: 1fr; }
	.ym-step__result { grid-column: auto; }
}

/* Кейсы -------------------------------------------------------------------- */
.ym-cases__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.ym-case { border-top: 2px solid currentColor; padding-top: 1.25rem; }
.ym-case__company { font-size: 0.95rem; color: var(--stone-light); margin-bottom: 1.25rem; }
.ym-section--light .ym-case__company { color: var(--stone); }
.ym-case__value {
	font: 700 clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem)/1.1 var(--font-head);
	text-transform: uppercase; color: var(--clay-light); margin-bottom: 1.25rem; text-wrap: balance;
}
.ym-section--light .ym-case__value { color: var(--clay); }
.ym-case__body { font-size: 0.97em; }
@media (max-width: 960px) { .ym-cases__list { grid-template-columns: 1fr; max-width: 40em; } }

/* Форматы работы ----------------------------------------------------------- */
.ym-services__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.ym-service {
	display: flex; flex-direction: column; gap: 1.1rem;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	border: 1px solid var(--paper-line); border-radius: var(--radius);
	background: var(--paper);
}
.ym-service .ym-btn { margin-top: auto; align-self: flex-start; }
.ym-service--main {
	grid-column: 1 / -1;
	background: var(--ink); color: var(--paper); border-color: var(--ink);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); row-gap: 1.1rem;
}
.ym-service--main .ym-service__name { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); grid-column: 1 / -1; }
.ym-service--main .ym-service__fit { grid-column: 1; }
.ym-service--main .ym-service__body { grid-column: 2; grid-row: 2 / span 2; }
.ym-service--main .ym-service__meta { grid-column: 1; }
.ym-service--main .ym-btn { grid-column: 1; margin-top: 0.5rem; justify-self: start; }
.ym-service__label { font-size: 0.85rem; font-weight: 600; color: var(--stone); margin-bottom: 0.3rem; }
.ym-service--main .ym-service__label { color: var(--stone-light); }
.ym-service__fit { font-size: 0.97em; }
.ym-service__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--paper-line); }
.ym-service--main .ym-service__meta { border-color: var(--ink-line); }
.ym-service__meta div { display: flex; flex-direction: column; }
.ym-service__meta dt { font-size: 0.85rem; color: var(--stone); }
.ym-service--main .ym-service__meta dt { color: var(--stone-light); }
.ym-service__meta dd { margin: 0; font-weight: 700; }
.ym-service--main .ym-btn--primary:hover { background: var(--clay-light); border-color: var(--clay-light); color: var(--ink); }
@media (max-width: 1080px) { .ym-services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
	.ym-services__list { grid-template-columns: 1fr; }
	.ym-service--main { display: flex; }
}

/* Обо мне ------------------------------------------------------------------ */
.ym-about__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 1fr); }
.ym-about--photo .ym-about__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: start; }
.ym-about__photo { margin: 0; }
.ym-about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: grayscale(0.15); }
.ym-about__text .ym-h2 { margin-bottom: 1.5rem; max-width: 20ch; }
.ym-about__text .ym-prose { max-width: 40em; }
@media (max-width: 860px) { .ym-about--photo .ym-about__grid { grid-template-columns: 1fr; } .ym-about__photo { max-width: 360px; } }

/* Карта спроса — главный выразительный блок -------------------------------- */
.ym-lead__grid {
	display: grid; gap: clamp(2.5rem, 6vw, 6rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
}
.ym-lead__text .ym-h2 { margin-bottom: 1.5rem; }
.ym-lead__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.ym-lead__note { margin: 0; color: var(--stone-light); font-size: 0.95em; }

.ym-season { margin: 0; }
.ym-season__bars {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(4px, 1vw, 12px);
	height: clamp(240px, 30vw, 380px);
	align-items: end;
	border-bottom: 2px solid var(--paper);
	padding-bottom: 0;
}
.ym-season__col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; position: relative; }
.ym-season__bar {
	display: block; width: 100%;
	height: var(--h);
	background: var(--stone);
	border-radius: 2px 2px 0 0;
	transform-origin: bottom;
}
.ym-season__col--peak .ym-season__bar { background: var(--clay-light); }
.ym-season__col--dip .ym-season__bar { background: transparent; box-shadow: inset 0 0 0 2px var(--stone-light); }
.ym-season__month {
	position: absolute; bottom: -1.9rem; left: 50%; transform: translateX(-50%);
	font-size: clamp(0.62rem, 0.55rem + 0.3vw, 0.8rem); color: var(--stone-light); white-space: nowrap;
}
.ym-season__legend { list-style: none; display: flex; gap: 1.5rem; margin: 3rem 0 0; font-size: 0.9rem; color: var(--stone-light); }
.ym-season__key { display: flex; align-items: center; gap: 0.5rem; }
.ym-season__key::before { content: ""; width: 14px; height: 14px; border-radius: 2px; }
.ym-season__key--peak::before { background: var(--clay-light); }
.ym-season__key--dip::before { box-shadow: inset 0 0 0 2px var(--stone-light); }
.ym-season__caption { margin-top: 0.75rem; font-size: 0.85rem; color: var(--stone-light); }

/* Столбцы вырастают один раз при появлении блока */
.js .ym-season .ym-season__bar { transform: scaleY(0); }
.js .ym-season.is-visible .ym-season__bar { transform: scaleY(1); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.js .ym-season.is-visible .ym-season__col:nth-child(1) .ym-season__bar { transition-delay: 0s; }
.js .ym-season.is-visible .ym-season__col:nth-child(2) .ym-season__bar { transition-delay: .04s; }
.js .ym-season.is-visible .ym-season__col:nth-child(3) .ym-season__bar { transition-delay: .08s; }
.js .ym-season.is-visible .ym-season__col:nth-child(4) .ym-season__bar { transition-delay: .12s; }
.js .ym-season.is-visible .ym-season__col:nth-child(5) .ym-season__bar { transition-delay: .16s; }
.js .ym-season.is-visible .ym-season__col:nth-child(6) .ym-season__bar { transition-delay: .2s; }
.js .ym-season.is-visible .ym-season__col:nth-child(7) .ym-season__bar { transition-delay: .24s; }
.js .ym-season.is-visible .ym-season__col:nth-child(8) .ym-season__bar { transition-delay: .28s; }
.js .ym-season.is-visible .ym-season__col:nth-child(9) .ym-season__bar { transition-delay: .32s; }
.js .ym-season.is-visible .ym-season__col:nth-child(10) .ym-season__bar { transition-delay: .36s; }
.js .ym-season.is-visible .ym-season__col:nth-child(11) .ym-season__bar { transition-delay: .4s; }
.js .ym-season.is-visible .ym-season__col:nth-child(12) .ym-season__bar { transition-delay: .44s; }
@media (prefers-reduced-motion: reduce) {
	.js .ym-season .ym-season__bar { transform: none; transition: none; }
}
@media (max-width: 960px) { .ym-lead__grid { grid-template-columns: 1fr; } }

/* Вопросы ------------------------------------------------------------------ */
.ym-faq__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: start; }
.ym-faq__list { border-top: 2px solid var(--ink); }
.ym-section--dark .ym-faq__list { border-color: var(--paper); }
.ym-faq__item { border-bottom: 1px solid var(--paper-line); }
.ym-section--dark .ym-faq__item { border-color: var(--ink-line); }
.ym-faq__q {
	list-style: none; cursor: pointer; position: relative;
	padding: 1.35rem 3rem 1.35rem 0;
	font: 600 clamp(1.05rem, 1rem + 0.3vw, 1.2rem)/1.35 var(--font-body);
}
.ym-faq__q::-webkit-details-marker { display: none; }
.ym-faq__q::after, .ym-faq__q::before {
	content: ""; position: absolute; right: 0.4rem; top: 50%;
	width: 16px; height: 2px; background: var(--clay); transition: transform .2s ease;
}
.ym-faq__q::before { transform: rotate(90deg); }
.ym-faq__item[open] .ym-faq__q::before { transform: rotate(0deg); }
.ym-faq__a { padding: 0 0 1.5rem; max-width: 42em; }
@media (max-width: 860px) { .ym-faq__grid { grid-template-columns: 1fr; } }

/* Финальный призыв --------------------------------------------------------- */
.ym-final { text-align: left; }
.ym-final__inner { max-width: 820px; }
.ym-final__title { margin-bottom: 1.5rem; max-width: 20ch; }
.ym-final__body { font-size: 1.08em; max-width: 38em; }
.ym-final__actions { margin-top: 2.25rem; }
.ym-final__sign { margin: 3rem 0 0; display: flex; flex-direction: column; }
.ym-final__sign-name { font: 600 1.2rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: 0.02em; }
.ym-final__sign-role { color: var(--stone-light); font-size: 0.95em; }

/* Подвал ------------------------------------------------------------------- */
.ym-footer { background: var(--ink); color: var(--stone-light); border-top: 1px solid var(--ink-line); padding: 3rem 0; font-size: 0.92rem; }
.ym-footer__inner { display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr 1fr; }
.ym-footer__name { font: 600 1.1rem/1.2 var(--font-head); text-transform: uppercase; color: var(--paper); margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.ym-footer__contacts { list-style: none; margin: 0; }
.ym-footer__contacts li { margin-bottom: 0.4rem; }
.ym-footer a { color: var(--paper); }
.ym-footer__legal a { display: block; margin-bottom: 0.4rem; }
@media (max-width: 760px) { .ym-footer__inner { grid-template-columns: 1fr; } }

/* Форма в диалоге ---------------------------------------------------------- */
.ym-dialog {
	border: 0; padding: 0; border-radius: var(--radius);
	width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
	background: var(--paper); color: var(--ink);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.ym-dialog::backdrop { background: rgba(30, 33, 36, 0.78); }
.ym-dialog[open] { animation: ym-dialog-in .18s ease-out; }
@keyframes ym-dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ym-dialog[open] { animation: none; } }

.ym-form { padding: clamp(1.5rem, 4vw, 2.25rem); display: grid; gap: 1rem; position: relative; }
.ym-dialog__close {
	position: absolute; right: 10px; top: 10px; width: 44px; height: 44px;
	background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--stone);
}
.ym-dialog__close:hover { color: var(--ink); }
.ym-form__head { padding-right: 2.5rem; }
.ym-form__title { font: 700 1.7rem/1.08 var(--font-head); text-transform: uppercase; margin: 0 0 0.4rem; }
.ym-form__text { margin: 0; color: var(--stone); }

.ym-field { display: grid; gap: 0.35rem; }
.ym-field label { font-size: 0.9rem; font-weight: 600; }
.ym-field input, .ym-field select {
	width: 100%; min-height: 50px; padding: 0.7rem 0.9rem;
	font: 400 1rem/1.3 var(--font-body); color: var(--ink);
	background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
}
.ym-field input:focus, .ym-field select:focus { outline: 2px solid var(--clay); outline-offset: 0; border-color: var(--clay); }
.ym-field input[aria-invalid="true"] { border-color: #B3261E; }

.ym-check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; line-height: 1.4; cursor: pointer; }
.ym-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--clay); flex: none; }
.ym-form__privacy { margin: -0.4rem 0 0 1.9rem; font-size: 0.85rem; }
.ym-form__status { margin: 0; font-size: 0.95rem; min-height: 1.2em; }
.ym-form__status.is-error { color: #B3261E; }
.ym-form__status.is-ok { color: #2E6B3F; font-weight: 600; }

.ym-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Текстовые страницы ------------------------------------------------------- */
.ym-page .ym-prose { font-size: 1.02em; }
.ym-page .ym-prose h2 { font: 700 1.6rem/1.15 var(--font-head); text-transform: uppercase; margin: 2em 0 0.6em; }
.ym-post { padding: 1.5rem 0; border-bottom: 1px solid var(--paper-line); }
