/* ==========================================================================
   Точка опоры — основные стили
   Палитра: бронза и песок (как у Маршака) + глубокий зелёный и сочинская зелень
   ========================================================================== */

@font-face { font-family: "Tenor Sans"; font-weight: 400; font-display: swap; src: url(../fonts/tenor-sans-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: "Tenor Sans"; font-weight: 400; font-display: swap; src: url(../fonts/tenor-sans-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+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+2000-206F, U+20AC, U+2122, U+2212; }
@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+2000-206F, U+20AC, U+2122, U+2212; }
@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+2000-206F, U+20AC, U+2122, U+2212; }

:root {
	/* бронза / песок */
	--bronze: #996b3e;
	--bronze-dark: #7d5630;
	--caramel: #c78f58;
	--sand: #dcb692;
	--cream: #f7f3ea;
	--cream-2: #efe8da;
	/* зелень */
	--forest: #1f3a2c;
	--forest-2: #2b4637;
	--moss: #3d5648;
	--sage: #749482;
	--leaf: #6f9a4f;
	--leaf-light: #e6efdf;
	/* текст */
	--ink: #26302a;
	--text: #424242;
	--muted: #6b716c;
	--line: #e3ddd1;
	--white: #fff;

	--font-head: "Tenor Sans", "Optima", "Candara", "Segoe UI", sans-serif;
	--font-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 10px 30px rgba(31, 58, 44, .08);
	--shadow-lg: 0 20px 50px rgba(31, 58, 44, .14);
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bronze-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.container.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.center { text-align: center; margin-top: 32px; }
.muted { color: var(--muted); }
.icon { width: 22px; height: 22px; flex: none; }

.h2 { font-size: clamp(28px, 3.6vw, 44px); }
.h4 { font-size: 20px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 720px; }
.kicker { display: inline-block; font: 600 13px/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px; }
.kicker--light { color: var(--sand); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(135deg, var(--caramel), var(--bronze)); color: #fff; box-shadow: 0 8px 20px rgba(153, 107, 62, .28); }
.btn--primary:hover { color: #fff; background: linear-gradient(135deg, var(--bronze), var(--bronze-dark)); }
.btn--ghost { border-color: var(--bronze); color: var(--bronze); background: transparent; }
.btn--ghost:hover { background: var(--bronze); color: #fff; }
.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { color: var(--forest); background: var(--cream); }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn--block { width: 100%; }

.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--forest-2); transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--forest-2); color: #fff; border-color: var(--forest-2); }
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn--light { border-color: rgba(255, 255, 255, .25); color: #fff; }
.icon-btn--light:hover { background: #fff; color: var(--forest); }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0, 0, 0, .04); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); flex: none; }
.logo:hover { color: var(--forest); }
.logo__mark { width: 48px; height: 48px; color: var(--forest-2); }
.logo__mark svg, .logo__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo__mark path[fill] { fill: var(--leaf); }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font: 400 22px/1.1 var(--font-head); color: var(--forest); }
.logo__sub { font-size: 12px; color: var(--muted); }
.logo--light, .logo--light:hover, .logo--light .logo__name, .logo--light .logo__mark { color: #fff; }
.logo--light .logo__sub { color: rgba(255, 255, 255, .6); }
.logo--light .logo__mark path[fill] { fill: var(--sand); }

.header-phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; text-align: right; }
.header-phone__num { font-weight: 700; color: var(--forest); font-size: 17px; }
.header-phone__note { font-size: 12px; color: var(--muted); }

/* Навигация — мобильная по умолчанию */
.nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 12px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.nav.is-open { transform: none; visibility: visible; }
.nav__list, .nav__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.nav__list > li { border-bottom: 1px solid var(--line); }
.nav__list a { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav__list .sub-menu { display: none; padding: 0 0 12px 14px; }
.nav__list .sub-menu a { padding: 8px 0; font-weight: 400; color: var(--text); }
.nav__list li.is-open > .sub-menu { display: block; }
.nav__list .has-sub > a { display: flex; justify-content: space-between; align-items: center; }
.nav__list .has-sub > a::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.nav__list li.is-open > a::after { transform: rotate(-135deg); }
.nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a { color: var(--bronze); }
.nav__mobile-contacts { display: grid; gap: 10px; margin-top: 24px; }

.burger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); color: var(--forest); cursor: pointer; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }
html.nav-open { overflow: hidden; } /* блокируем прокрутку на html, не на body: иначе у шапки ломается sticky */

@media (max-width: 719px) {
	.hide-sm { display: none !important; }
	.logo__sub { display: none; }
	.header-phone__note { display: none; }
	.header-phone__num { font-size: 15px; }
	.logo__name { font-size: 19px; }
	.logo__mark { width: 38px; height: 38px; }
}
@media (max-width: 479px) { .header-phone { display: none; } }

@media (min-width: 1280px) {
	.burger, .nav__mobile-contacts { display: none; }
	.nav { position: static; transform: none; visibility: visible; padding: 0; overflow: visible; background: none; margin-left: auto; }
	.nav__list { display: flex; gap: 2px; }
	.nav__list > li { position: relative; border: 0; }
	.nav__list > li > a { padding: 10px 9px; font-size: 15px; border-radius: 8px; white-space: nowrap; }
	.nav__list > li > a:hover { color: var(--bronze); }
	.nav__list .has-sub > a { gap: 6px; }
	.nav__list .has-sub > a::after { width: 6px; height: 6px; }
	.nav__list .sub-menu { display: block; position: absolute; left: 0; top: 100%; min-width: 260px; padding: 10px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
	.nav__list .sub-menu a { padding: 9px 12px; border-radius: 8px; font-size: 15px; }
	.nav__list .sub-menu a:hover { background: var(--cream); color: var(--bronze); }
	.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-header__actions { margin-left: 8px; }
	.site-header__actions .icon-btn { display: none; }
}
@media (min-width: 1280px) and (max-width: 1499px) { .logo__sub { display: none; } .site-header__actions .btn--sm { display: none; } }

/* ---------- Секции ---------- */
.section { padding: clamp(40px, 5vw, 72px) 0; }
.section--tight { padding: clamp(24px, 3vw, 40px) 0; }
.section--cream { background: var(--cream); }
.section--green { background: radial-gradient(120% 120% at 100% 0%, var(--moss) 0%, var(--forest) 60%); color: rgba(255, 255, 255, .85); }
.section--green .h2, .section--green h3 { color: #fff; }
.section--green .lead { color: rgba(255, 255, 255, .78); }
.section__head { margin-bottom: clamp(24px, 3vw, 36px); max-width: 820px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }

.card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(110% 130% at 85% 10%, #3f6a4c 0%, var(--forest-2) 40%, var(--forest) 80%); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 6vw, 88px); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__leaves { position: absolute; right: -80px; bottom: -40px; width: min(680px, 90vw); color: rgba(220, 182, 146, .22); }
.hero__bg::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 44px; background: #fff; clip-path: ellipse(60% 100% at 50% 100%); }
.hero__inner { position: relative; max-width: 1240px; }
.hero__title { font-size: clamp(38px, 6.2vw, 76px); color: #fff; max-width: 880px; margin-bottom: 24px; }
.hero__text { font-size: clamp(17px, 1.8vw, 21px); color: rgba(255, 255, 255, .82); max-width: 640px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.hero__chips li { display: flex; align-items: center; gap: 8px; }
.hero__chips .icon { width: 20px; height: 20px; color: var(--sand); }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }

/* ---------- Плитки и фичи ---------- */
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.tile__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--leaf-light); color: var(--forest-2); margin-bottom: 20px; }
.tile__icon .icon { width: 28px; height: 28px; }
.tile__title { font-size: 22px; margin-bottom: 10px; }
.tile__text { font-size: 15.5px; color: var(--muted); flex: 1; }
.tile__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--bronze); margin-top: 8px; }
.tile__more .icon { width: 18px; height: 18px; transition: transform .2s; }
.tile:hover .tile__more .icon { transform: translateX(4px); }

.feature { background: #fff; border-radius: var(--radius); padding: 26px; }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--forest-2); color: var(--sand); margin-bottom: 16px; }
.feature__title { font-size: 21px; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15.5px; color: var(--muted); }

.quote { margin: 28px 0 0; padding: 22px 26px; border-left: 3px solid var(--leaf); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.quote p { font: 400 20px/1.45 var(--font-head); color: var(--forest); margin-bottom: 10px; }
.quote a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.quote .icon { width: 18px; height: 18px; }

/* ---------- Этапы ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--cream); }
.step__num { display: block; font: 400 42px/1 var(--font-head); color: var(--caramel); margin-bottom: 14px; }
.step__title { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
@media (min-width: 1100px) {
	.step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -12px; width: 8px; height: 8px; border-top: 1.6px solid var(--sand); border-right: 1.6px solid var(--sand); transform: rotate(45deg); }
}

/* ---------- Списки с галочками ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks--light li { color: rgba(255, 255, 255, .88); }

/* ---------- Заглушки фото ---------- */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 200px; height: 100%; border-radius: var(--radius); background: linear-gradient(135deg, var(--leaf-light), var(--cream-2)); color: var(--sage); font-size: 14px; text-align: center; padding: 16px; }
.ph__icon { width: 36px; height: 36px; opacity: .7; }
.section--green .ph { background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); color: rgba(255, 255, 255, .6); border: 1px dashed rgba(255, 255, 255, .2); }

.gallery-mosaic { display: grid; gap: 14px; grid-template-columns: 1.3fr 1fr; grid-template-rows: 200px 200px; }
.gallery-mosaic > :first-child { grid-row: span 2; }
@media (max-width: 559px) { .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px; } .gallery-mosaic > :first-child { grid-row: auto; grid-column: span 2; } }
.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery-grid .ph { min-height: 220px; }

/* ---------- Команда ---------- */
.team { display: grid; gap: 24px; }
/* по одному основателю в строку: рассказы длинные */
.person { display: grid; gap: 22px; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); align-items: start; }
@media (min-width: 640px) { .person { grid-template-columns: 220px 1fr; padding: 28px; gap: 32px; } }
@media (min-width: 1000px) { .person { grid-template-columns: 300px 1fr; } .person__photo { position: sticky; top: calc(var(--header-h) + 20px); } }
.person__text { max-width: 720px; }
.person__text blockquote { margin: 18px 0; }
.person__photo img, .person__photo .ph { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 14px; min-height: 0; }
.person__role { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.person__name { font-size: 28px; margin-bottom: 6px; }
.person__exp { display: inline-block; font-size: 14px; background: var(--leaf-light); color: var(--forest-2); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.person__text { font-size: 16px; color: var(--ink); }

/* ---------- Новости ---------- */
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.news-card__img img, .news-card__img .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; min-height: 0; }
.news-card__body { padding: 22px 24px 26px; }
.news-card__date { font-size: 13px; color: var(--muted); }
.news-card__title { font-size: 21px; margin: 8px 0 10px; }
.news-card__title a { color: var(--ink); text-decoration: none; }
.news-card__title a:hover { color: var(--bronze); }
.news-card__excerpt { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Баннеры ---------- */
.banner { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) + 6px); background: var(--leaf-light); }
@media (min-width: 900px) { .banner { grid-template-columns: 1.6fr 1fr; } }
.banner .lead { margin: 0; }
.banner__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .banner__actions { justify-content: flex-end; } }
.banner--bronze { background: linear-gradient(135deg, var(--bronze), #6e4b29); color: #fff; }
.banner--bronze .h2 { color: #fff; }
.banner--bronze .lead { color: rgba(255, 255, 255, .82); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; color: var(--ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__arrow { color: var(--bronze); transition: transform .25s; }
.faq__item[open] .faq__arrow { transform: rotate(180deg); }
.faq__a { padding: 0 24px 20px; color: var(--muted); }
.faq__a p:last-child { margin: 0; }

/* ---------- Форма / CTA ---------- */
.cta { background: radial-gradient(120% 140% at 0% 0%, var(--moss) 0%, var(--forest) 65%); color: rgba(255, 255, 255, .85); }
.cta .h2 { color: #fff; }
.cta .lead { color: rgba(255, 255, 255, .78); }
.cta__inner { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .cta__inner { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.cta__points { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.cta__points li { display: flex; gap: 12px; align-items: center; }
.cta__points .icon { color: var(--sand); }
.cta__direct { display: flex; flex-wrap: wrap; gap: 12px; }

.form { display: grid; gap: 16px; color: var(--text); }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input[type="text"], .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fcfbf8; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--caramel); background: #fff; }
.field textarea { resize: vertical; min-height: 90px; }
.field--radio { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.field--radio legend { width: 100%; margin-bottom: 6px; }
.field--radio label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.field--radio input, .check input { accent-color: var(--bronze); width: 18px; height: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.check input { flex: none; margin-top: 1px; }
.hp { position: absolute; left: -9999px; }
.form__msg { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form__msg--ok { background: var(--leaf-light); color: var(--forest-2); }
.form__msg--err { background: #fbe9e4; color: #9b3b22; }

/* ---------- Внутренние страницы ---------- */
.page-hero { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); padding: clamp(24px, 3.5vw, 44px) 0 clamp(12px, 2vw, 20px); }
.page-hero--center { text-align: center; padding: 100px 0; }
.page-hero__title { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 12px; }
.page-hero__lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 760px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--bronze); }

.subnav { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--cream); color: var(--forest); text-decoration: none; font-size: 15px; font-weight: 600; }
.subnav a:hover { background: var(--forest-2); color: #fff; }

.prose { font-size: 17.5px; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(25px, 2.8vw, 32px); margin-top: 1.25em; margin-bottom: .45em; }
.prose h3 { font-size: 22px; margin-top: 1.1em; margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--caramel); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 3px solid var(--leaf); background: var(--cream); border-radius: 0 12px 12px 0; }
.prose blockquote p { font: 400 20px/1.5 var(--font-head); color: var(--forest); margin: 0; }
.prose img { border-radius: 14px; }
.prose--after-grid { margin-top: 36px; }
.prose--wide { max-width: none; }
.note { padding: 16px 20px 16px 52px; border-radius: 12px; background: var(--leaf-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b4637' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") 18px 17px/22px no-repeat; color: var(--forest-2); font-size: 16px; }

.child-pages .tile__title { font-size: 23px; }

.siblings { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.siblings ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .siblings ul { grid-template-columns: 1fr 1fr; } }
.siblings a { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: 12px; background: var(--cream); color: var(--forest); text-decoration: none; font-weight: 600; }
.siblings a:hover { background: var(--forest-2); color: #fff; }
.siblings .icon { width: 18px; height: 18px; }

/* Документы */
.docs { display: grid; gap: 24px; }
@media (min-width: 960px) { .docs { grid-template-columns: 1fr 1fr; align-items: start; } }
.docs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: var(--caramel); box-shadow: var(--shadow); color: var(--ink); }
.doc__icon { grid-row: span 2; width: 36px; height: 36px; color: var(--bronze); }
.doc__name { font-weight: 600; }
.doc__meta { font-size: 13px; color: var(--muted); }
.requisites dl { margin: 0; display: grid; gap: 12px; }
.requisites dl div { display: grid; gap: 2px; }
@media (min-width: 560px) { .requisites dl div { grid-template-columns: 170px 1fr; gap: 16px; } }
.requisites dt { font-size: 14px; color: var(--muted); }
.requisites dd { margin: 0; color: var(--ink); font-size: 15.5px; }

/* Контакты */
.contact { display: flex; flex-direction: column; gap: 6px; }
.contact__icon { width: 36px; height: 36px; color: var(--bronze); margin-bottom: 10px; }
.contact__big { font: 400 26px/1.3 var(--font-head); color: var(--forest); text-decoration: none; }
.contact__links { display: grid; gap: 10px; }
.contact__links a { display: flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; font-weight: 600; }
.contact__links .icon { color: var(--bronze); }

/* Запись */
.post-cover { margin: 0 0 32px; }
.post-cover img { border-radius: var(--radius); width: 100%; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
.post-nav a { text-decoration: none; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: var(--cream); color: var(--forest); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--forest-2); color: #fff; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--forest); color: rgba(255, 255, 255, .72); padding: clamp(48px, 6vw, 80px) 0 28px; font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.site-footer__grid { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__about p { margin: 20px 0 0; max-width: 420px; }
.site-footer__place { display: flex; align-items: center; gap: 8px; }
.site-footer__place .icon { color: var(--sand); width: 18px; height: 18px; }
.footer-menu { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.footer-menu li { margin-bottom: 10px; break-inside: avoid; }
.site-footer__title { color: #fff; font-size: 20px; margin-bottom: 14px; }
.site-footer__phone { display: block; font: 400 26px/1.2 var(--font-head); color: #fff !important; margin-bottom: 6px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__bottom { padding-top: 24px; font-size: 13.5px; color: rgba(255, 255, 255, .5); display: grid; gap: 6px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: rgba(255, 255, 255, .7); }
.site-footer__disclaimer { font-size: 12.5px; }

/* WordPress core */
.alignwide { max-width: 1100px; }
.wp-block-image figcaption, .wp-caption-text { font-size: 14px; color: var(--muted); text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Посадочные страницы, тест, статьи, ошибки
   ========================================================================== */
.hero__kicker { display: block; margin-bottom: 20px; }

.lp-hero { position: relative; overflow: hidden; background: radial-gradient(110% 130% at 85% 10%, #3f6a4c 0%, var(--forest-2) 40%, var(--forest) 80%); color: #fff; padding: clamp(24px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); }
.lp-hero::before { content: ""; position: absolute; right: -120px; top: -60px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(220, 182, 146, .18); box-shadow: 0 0 0 60px rgba(220, 182, 146, .04), 0 0 0 120px rgba(220, 182, 146, .03); pointer-events: none; }
.lp-hero__inner { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .lp-hero__inner { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.lp-hero .crumbs, .lp-hero .crumbs a { color: rgba(255, 255, 255, .6); }
.lp-hero .crumbs a:hover { color: var(--sand); }
.lp-hero__title { font-size: clamp(34px, 5vw, 60px); color: #fff; margin-bottom: 18px; }
.lp-hero__lead { font-size: clamp(17px, 1.7vw, 20px); color: rgba(255, 255, 255, .82); margin-bottom: 28px; max-width: 620px; }
.lp-hero__form { color: var(--text); }
.lp-hero__form-title { font: 400 26px/1.2 var(--font-head); color: var(--ink); margin-bottom: 6px; }
.lp-hero__form-text { font-size: 15px; color: var(--muted); }
.lp-hero__form .mini-form__row { grid-template-columns: 1fr; }
.lp-hero__test { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; text-decoration: none; }
.lp-hero__test .icon { width: 20px; height: 20px; }

.benefit { padding: 8px 4px; }
.benefit__title { font: 600 18px/1.3 var(--font-body); color: var(--ink); margin: 0 0 6px; }
.benefit p { margin: 0; font-size: 15px; color: var(--muted); }
.lp-text { font-size: 18px; }

/* Короткая форма */
.mini-form { display: grid; gap: 12px; }
.mini-form__row { display: grid; gap: 10px; }
@media (min-width: 720px) { .mini-form__row { grid-template-columns: 1fr 1fr auto; } }
.mini-form input[type="text"] { width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; font-size: 16px; background: #fcfbf8; color: var(--ink); transition: border-color .2s, background .2s; }
.mini-form input[type="text"]:focus { outline: none; border-color: var(--caramel); background: #fff; }
.mini-form .btn { padding-top: 15px; padding-bottom: 15px; }

/* Тест */
.quiz { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .quiz { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.quiz__disclaimer { font-size: 14px; color: var(--muted); border-left: 2px solid var(--sand); padding-left: 14px; }
.quiz__box { position: relative; min-height: 420px; display: flex; flex-direction: column; }
.quiz__progress { height: 6px; border-radius: 99px; background: var(--cream-2); overflow: hidden; margin-bottom: 12px; }
.quiz__bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--leaf), var(--sage)); border-radius: 99px; transition: width .35s ease; }
.quiz__counter { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.quiz__step { border: 0; margin: 0; padding: 0; animation: quizIn .35s ease; }
.quiz__q { font: 400 clamp(22px, 2.4vw, 28px)/1.3 var(--font-head); color: var(--ink); margin-bottom: 20px; padding: 0; }
.quiz__answers { display: grid; gap: 10px; }
.quiz__a { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.quiz__a:hover { border-color: var(--caramel); background: #fffaf3; }
.quiz__a input { appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--sand); flex: none; margin: 0; display: grid; place-items: center; }
.quiz__a input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bronze); transform: scale(0); transition: transform .15s; }
.quiz__a input:checked { border-color: var(--bronze); }
.quiz__a input:checked::after { transform: scale(1); }
.quiz__a:has(input:checked) { border-color: var(--bronze); background: #fffaf3; }
.quiz__nav { margin-top: auto; padding-top: 18px; }
.quiz__back, .quiz__restart { border: 0; background: none; padding: 6px 0; font: 600 15px var(--font-body); color: var(--bronze); cursor: pointer; }
.quiz__back:disabled { color: var(--line); cursor: default; }
.quiz__result { animation: quizIn .35s ease; }
.quiz__badge { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 12px; }
.quiz__result[data-level="low"] .quiz__badge { background: var(--leaf-light); color: var(--forest-2); }
.quiz__result[data-level="mid"] .quiz__badge { background: #fbf1dc; color: #8a5a14; }
.quiz__result[data-level="high"] .quiz__badge { background: #fbe6d8; color: #9b4a1c; }
.quiz__result[data-level="urgent"] .quiz__badge { background: #fbe0dc; color: #9b2b1c; }
.quiz__rtitle { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 10px; }
.quiz__rtext { color: var(--muted); margin-bottom: 20px; }
.quiz__result .mini-form__row { grid-template-columns: 1fr; }
@media (min-width: 560px) { .quiz__result .mini-form__row { grid-template-columns: 1fr 1fr; } .quiz__result .mini-form__row .btn { grid-column: span 2; } }
.quiz__restart { margin-top: 14px; }
@keyframes quizIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Статьи */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips a { padding: 9px 18px; border-radius: 999px; background: var(--cream); color: var(--forest); text-decoration: none; font-weight: 600; font-size: 15px; }
.chips a:hover { background: var(--cream-2); }
.chips a.is-active { background: var(--forest-2); color: #fff; }
.news-card__rubric { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; color: var(--bronze); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.article-meta__rubric { padding: 4px 12px; border-radius: 999px; background: var(--leaf-light); color: var(--forest-2); text-decoration: none; font-weight: 600; }
.toc { margin: 0 0 28px; padding: 18px 24px; border-radius: var(--radius); background: var(--cream); }
.toc__title { font: 600 13px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
@media (min-width: 760px) { .toc ol { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.toc a { color: var(--forest); text-decoration: none; }
.toc a:hover { color: var(--bronze); text-decoration: underline; }
.inline-cta { display: grid; gap: 18px; align-items: center; margin: 32px 0 16px; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, var(--forest-2), var(--forest)); color: rgba(255, 255, 255, .85); }
@media (min-width: 760px) { .inline-cta { grid-template-columns: 1fr auto; } }
.inline-cta p { margin: 0; }
.inline-cta__title { font: 400 24px/1.25 var(--font-head); color: #fff; margin-bottom: 6px !important; }
.inline-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-cta .btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.inline-cta .btn--ghost:hover { background: #fff; color: var(--forest); }
.article-note { font-size: 13.5px; color: var(--muted); }

/* Ошибки */
.error-page { padding: clamp(36px, 6vw, 80px) 0; text-align: center; background: radial-gradient(80% 60% at 50% 0%, var(--leaf-light) 0%, #fff 70%); }
.error-page__inner { max-width: 760px; }
.error-page__art { width: min(320px, 80%); margin: 0 auto 8px; color: var(--forest-2); }
.error-page__title { font-size: clamp(30px, 4.6vw, 50px); }
.error-page__lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.error-page__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
@media (min-width: 640px) { .error-page__links { grid-template-columns: 1fr 1fr; } }
.error-page__links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--forest); text-decoration: none; font-weight: 600; }
.error-page__links a:hover { border-color: var(--caramel); }
.error-page__links .icon { width: 18px; height: 18px; color: var(--bronze); }
[hidden] { display: none !important; }
.admin-hint { position: relative; z-index: 60; background: #fbf1dc; color: #6b4a14; padding: 12px var(--gutter); font-size: 15px; text-align: center; }
.admin-hint a { color: #7d5630; font-weight: 600; }

/* ==========================================================================
   v0.3: блоки статей, формы, плавающая форма, cookie, FAQ
   ========================================================================== */
.section--tight + .section--tight { padding-top: 0; }
.page-hero + .section--tight, .page-hero + .section, .page-hero + article.section { padding-top: clamp(16px, 2vw, 28px); }
.prose > p, .prose > ul, .prose > ol { margin-bottom: .9em; }

/* Цитата */
.prose blockquote.is-style-large, .prose .wp-block-quote.is-style-large { position: relative; margin: 1.6em 0; padding: 26px 28px 22px 64px; border: 0; background: var(--cream); border-radius: var(--radius); }
.prose .is-style-large::before { content: "“"; position: absolute; left: 20px; top: 6px; font: 400 64px/1 var(--font-head); color: var(--caramel); }
.prose .is-style-large p { font: 400 clamp(20px, 2.2vw, 24px)/1.45 var(--font-head); color: var(--forest); margin: 0; }
.prose .is-style-large cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--muted); }

/* Выноски: зелёная и бледно-красная */
.callout { display: flex; gap: 16px; align-items: flex-start; margin: 1.4em 0; padding: 18px 22px; border-radius: var(--radius); }
.callout--green { background: var(--leaf-light); border-left: 4px solid var(--leaf); }
.callout--red { background: #fcebe7; border-left: 4px solid #d46a55; }
.callout__emoji { font-size: 28px; line-height: 1; flex: none; margin-top: 2px; }
.callout__title { font-weight: 700; color: var(--ink); margin: 0 0 4px !important; }
.callout--red .callout__title { color: #8c2f1c; }
.callout p { margin: 0; font-size: 16.5px; }
.callout__body p + p { margin-top: 4px; }
.note { padding: 14px 18px 14px 48px; background-position: 16px 15px; }

/* Карточки */
.icards { display: grid; gap: 12px; margin: 1.4em 0; }
@media (min-width: 640px) { .icards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .prose--wide .icards, .lp-text .icards { grid-template-columns: repeat(2, 1fr); } }
.icard { padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(31, 58, 44, .04); }
.icard__emoji { display: block; font-size: 26px; line-height: 1; margin-bottom: 10px; }
.icard__title { font-weight: 700; color: var(--ink); margin: 0 0 4px !important; font-size: 16.5px; }
.icard__text { margin: 0 !important; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* Форма в тексте */
.inline-form { display: grid; gap: 16px; margin: 1.8em 0; padding: 24px; border-radius: calc(var(--radius) + 4px); background: linear-gradient(135deg, var(--forest-2), var(--forest)); color: rgba(255, 255, 255, .85); }
.inline-form__title { font: 400 24px/1.25 var(--font-head); color: #fff; margin: 0 0 4px !important; }
.inline-form p { margin: 0; }
.inline-form .mini-form__row { grid-template-columns: 1fr; }
@media (min-width: 720px) { .inline-form .mini-form__row { grid-template-columns: 1fr 1fr auto; } }
.inline-form .check, .inline-form .check a { color: rgba(255, 255, 255, .7); }
.inline-form input[type="text"] { background: #fff; border-color: transparent; }
.prose .inline-form a { color: var(--sand); }

/* Форма перед тестом */
.pretest__box { display: grid; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--leaf-light); }
@media (min-width: 1000px) { .pretest__box { grid-template-columns: .8fr 1.2fr; gap: 32px; } }
.pretest__title { font: 400 24px/1.25 var(--font-head); color: var(--forest); margin: 0 0 4px; }
.pretest__text p { margin: 0; color: var(--muted); }
.pretest + .section { padding-top: clamp(24px, 3vw, 40px); }

/* FAQ: колонки и группы */
.faq--cols { display: grid; gap: 12px; align-items: start; }
@media (min-width: 900px) { .faq--cols { grid-template-columns: 1fr 1fr; } }
.faq-groups { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .faq-groups { grid-template-columns: 1fr 1fr; } }
.faq-group { padding: 24px; border-radius: calc(var(--radius) + 4px); background: var(--cream); }
.faq-group__title { display: flex; align-items: center; gap: 12px; font-size: 24px; margin-bottom: 16px; }
.faq-group__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--forest-2); color: var(--sand); flex: none; }
.faq-group__icon .icon { width: 20px; height: 20px; }
.faq-group .faq { gap: 8px; }
.faq-group .faq__q { padding: 16px 20px; font-size: 16px; }
.faq-group .faq__a { padding: 0 20px 16px; }
.faq__a a { font-weight: 600; }
.faq--inline { margin: 1em 0; }
.faq-inline .faq__q::after { content: "+"; font-size: 22px; color: var(--bronze); font-weight: 400; }
.faq-inline[open] .faq__q::after { content: "−"; }

/* Заглушки контактов */
.is-placeholder { opacity: .55; }
.site-footer__phone.is-placeholder::after { content: " · заглушка"; font: 600 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.header-phone__num { white-space: nowrap; }

@media (min-width: 1280px) and (max-width: 1499px) { .header-phone__note { display: none; } }

/* Плавающая форма */
.float { position: fixed; right: 20px; bottom: 20px; z-index: 70; }
.float__btn { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--caramel), var(--bronze)); color: #fff; font: 600 15px/1.2 var(--font-body); box-shadow: 0 10px 28px rgba(125, 86, 48, .35); cursor: pointer; animation: floatIn .4s ease; }
.float__btn .icon { width: 20px; height: 20px; }
.float__panel { position: absolute; right: 0; bottom: 0; width: min(360px, calc(100vw - 32px)); padding: 22px; border-radius: calc(var(--radius) + 2px); background: #fff; box-shadow: var(--shadow-lg); animation: floatIn .3s ease; }
.float__panel .mini-form__row { grid-template-columns: 1fr; }
.float__title { font: 400 22px/1.25 var(--font-head); color: var(--ink); margin: 0 32px 6px 0; }
.float__text { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.float__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--cream); color: var(--forest); display: grid; place-items: center; cursor: pointer; }
.float__close .icon { width: 16px; height: 16px; }
.float.is-open .float__btn { visibility: hidden; }
@media (max-width: 559px) { .float { right: 12px; bottom: 12px; } .float__btn span { display: none; } .float__btn { padding: 16px; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Cookie */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 80; max-width: 440px; padding: 18px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); font-size: 14.5px; }
.cookie__text { margin: 0 0 12px; color: var(--text); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 559px) { .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; } body.has-cookie .float { bottom: 150px; } }

/* ==========================================================================
   v0.4: иконки мессенджеров, горизонтальная форма, форма в тесте, обложки страниц
   ========================================================================== */
.brand-icon { width: 22px; height: 22px; display: block; }
.icon-btn { background: #fff; }
.icon-btn:hover { background: var(--cream); border-color: var(--sand); }
.icon-btn--light { background: #fff; border-color: #fff; }
.icon-btn--light:hover { background: var(--cream); }
@media (min-width: 1280px) {
	.site-header__actions .icon-btn { display: inline-grid; width: 38px; height: 38px; }
	.site-header__actions { gap: 8px; }
}
@media (min-width: 1280px) and (max-width: 1499px) {
	.nav__list > li > a { padding: 10px 7px; font-size: 14.5px; }
	.site-header__inner { gap: 16px; }
	.logo__name { font-size: 20px; }
	.logo__mark { width: 40px; height: 40px; }
	.header-phone__num { font-size: 15px; }
}
.nav__mobile-contacts .btn .brand-icon { width: 20px; height: 20px; }
.cta__direct a .brand-icon { width: 18px; height: 18px; display: inline-block; vertical-align: -4px; margin-right: 6px; }

/* Нижняя форма — горизонтальная */
.cta { padding: clamp(36px, 4.5vw, 60px) 0; }
.cta__head { display: grid; gap: 16px 48px; align-items: end; margin-bottom: 24px; }
@media (min-width: 1000px) { .cta__head { grid-template-columns: 1.2fr 1fr; } }
.cta__head .h2 { margin-bottom: 8px; }
.cta__head .lead { margin: 0; }
.cta__points { margin: 0; gap: 10px; }
.cta-form { padding: 20px; border-radius: calc(var(--radius) + 4px); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); display: grid; gap: 12px; }
.cta-form__row { display: grid; gap: 10px; align-items: center; }
@media (min-width: 760px) { .cta-form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cta-form__row { grid-template-columns: 1fr 1fr auto auto; } }
.cta-form__field input { width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; font-size: 16px; background: #fcfbf8; color: var(--ink); }
.cta-form__field input:focus { outline: none; border-color: var(--caramel); background: #fff; }
.cta-form__who { display: flex; gap: 4px; border: 0; margin: 0; padding: 4px; border-radius: 999px; background: var(--cream); }
.cta-form__who label { cursor: pointer; }
.cta-form__who input { position: absolute; opacity: 0; pointer-events: none; }
.cta-form__who span { display: block; padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s; }
.cta-form__who input:checked + span { background: #fff; color: var(--forest); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.cta-form__who input:focus-visible + span { outline: 2px solid var(--caramel); }
.cta-form .btn { padding-top: 15px; padding-bottom: 15px; }
.cta-form__more summary { cursor: pointer; font-size: 14.5px; color: var(--bronze); font-weight: 600; list-style: none; }
.cta-form__more summary::-webkit-details-marker { display: none; }
.cta-form__more summary::before { content: "+ "; }
.cta-form__more[open] summary::before { content: "− "; }
.cta-form__more textarea { width: 100%; margin-top: 8px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: 15.5px; resize: vertical; }
.cta-form__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; }
.cta-form__bottom .check { max-width: 620px; }
.cta__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14.5px; color: var(--muted); }
.cta__direct a { color: var(--forest); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }
.cta__direct a .icon { width: 16px; height: 16px; margin-right: 6px; }

/* Форма в блоке теста */
.quiz__skip { margin-top: 24px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.quiz__skip-title { font: 400 21px/1.3 var(--font-head); color: var(--ink); margin: 0 0 4px; }
.quiz__skip-text { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.quiz__skip .mini-form__row { grid-template-columns: 1fr; }
@media (min-width: 560px) and (max-width: 999px) { .quiz__skip .mini-form__row { grid-template-columns: 1fr 1fr; } .quiz__skip .mini-form__row .btn { grid-column: span 2; } }

/* Обложка страницы — вступление в две колонки: картинка + первый абзац */
.page-intro { display: grid; gap: 20px; align-items: center; margin-bottom: 24px; }
@media (min-width: 760px) { .page-intro { grid-template-columns: 1fr 1fr; gap: 32px; } }
.page-intro__img { margin: 0; }
.page-intro__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.page-intro__text p { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--ink); margin: 0; }

/* Текст внутренних страниц — по левому краю под заголовком, а не по центру */
.container > .prose.narrow, .container > .page-intro.narrow, .container > .siblings.narrow { margin-left: 0; margin-right: auto; }
.page-intro.narrow { max-width: 1000px; }
.container > .prose.narrow { max-width: 860px; }

/* Закрытое мобильное меню и декоративные элементы не должны давать горизонтальную прокрутку */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }

/* Мобильное меню на всю высоту экрана: размытие шапки создаёт «контейнер» для fixed-меню и сжимает его до высоты шапки */
@media (max-width: 1279px) {
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.nav { height: calc(100dvh - var(--header-h)); top: var(--header-h); bottom: auto; }
	body.admin-bar .nav { top: calc(var(--header-h) + 46px); height: calc(100dvh - var(--header-h) - 46px); }
}

/* Фото центра и просмотр в полный размер */
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery-grid:not(.gallery-grid--inline) { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid--inline { margin: 1.4em 0; }
.gallery-item { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 3 / 4; background: var(--cream); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-mosaic .gallery-item { aspect-ratio: auto; height: 100%; border-radius: var(--radius); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(15, 25, 20, .92); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 10px; }
.lightbox__cap { color: rgba(255,255,255,.85); text-align: center; margin-top: 10px; font-size: 15px; }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; cursor: pointer; }
.lightbox__btn--prev { left: 12px; } .lightbox__btn--next { right: 12px; }
.lightbox__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer; }

/* Телефон доверия */
.site-footer__trust { font-size: 14px; margin: 6px 0 0; color: rgba(255,255,255,.75); }
.site-footer__trust a { color: #fff; white-space: nowrap; }
.contact__trust { font-size: 15px; margin-top: 12px; }
.contact__trust a { font-weight: 600; }

/* Видео и фото в новостях (шорткоды плагина [tc_video], [tc_photo]) */
.tc-media { margin: 28px 0; }
.tc-media img, .tc-media video { display: block; width: 100%; height: auto; border-radius: var(--radius); background: #000; }
.tc-media--video video { max-width: 420px; max-height: 80vh; margin: 0 auto; }
.tc-media figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }

/* Пока открыто мобильное меню — плавающая кнопка и плашка cookie не перекрывают пункты */
html.nav-open .float, html.nav-open .cookie { display: none !important; }

/* «Как мы помогаем» */
.next-steps { margin: 40px 0 8px; }
.next-steps__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .next-steps__list { grid-template-columns: repeat(2, 1fr); } }
.next-steps__card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.next-steps__card:hover { border-color: var(--leaf); box-shadow: var(--shadow); }
.next-steps__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--forest); }
.next-steps__title .icon { width: 18px; height: 18px; flex: none; color: var(--bronze); }
.next-steps__text { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Команда — короткие карточки на главной и посадочных */
.team-teaser { display: grid; gap: 20px; }
@media (min-width: 720px) { .team-teaser { grid-template-columns: repeat(2, 1fr); } }
.team-teaser__card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.team-teaser__photo img, .team-teaser__photo .ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
.team-teaser__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.team-teaser__name { font-size: 24px; margin: 0 0 8px; }
.team-teaser__text { font-size: 15.5px; color: var(--text); line-height: 1.55; margin: 0 0 16px; }
.team-teaser__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--bronze-dark); text-decoration: none; }
.team-teaser__more .icon { width: 18px; height: 18px; }
.team-teaser__more:hover { color: var(--forest); }
.person { scroll-margin-top: calc(var(--header-h) + 20px); }
