/* ==========================================================================
   GoldDraft — дизайн 2026. Мобильная вёрстка в первую очередь.
   Шрифты: Manrope (текст), Unbounded (заголовки) — лежат на сайте, OFL.
   ========================================================================== */

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url(/hostcmsfiles/design2026/fonts/manrope-cyrillic-wght-normal.woff2) format('woff2-variations');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url(/hostcmsfiles/design2026/fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
	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: 'Unbounded';
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url(/hostcmsfiles/design2026/fonts/unbounded-cyrillic-wght-normal.woff2) format('woff2-variations');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url(/hostcmsfiles/design2026/fonts/unbounded-latin-wght-normal.woff2) format('woff2-variations');
	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: #0d1321;
	--ink-2: #172036;
	--ink-3: #24304d;
	--gold: #f4b740;
	--gold-light: #ffd772;
	--gold-dark: #e8912d;
	--gold-gradient: linear-gradient(135deg, #ffd772 0%, #f4b740 55%, #e8912d 100%);
	--bg: #ffffff;
	--bg-muted: #f5f6fa;
	--text: #1a2030;
	--muted: #5d6679;
	--line: #e3e6ee;
	--on-dark: #e8ebf3;
	--on-dark-muted: #9aa3b8;
	--ok: #1f9d55;
	--error: #d64545;
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 10px 30px rgba(13, 19, 33, .08);
	--shadow-lg: 0 24px 60px rgba(13, 19, 33, .16);
	--container: 1240px;
	--gutter: 16px;
	--header-h: 68px;
	--font: 'Manrope', 'Segoe UI', Roboto, Arial, sans-serif;
	--font-head: 'Unbounded', 'Manrope', 'Segoe UI', Arial, sans-serif;
}

@media (min-width: 768px) {
	:root { --gutter: 32px; --header-h: 80px; }
}

/* ----- База ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 5.2vw, 44px); }
h2 { font-size: clamp(22px, 3.6vw, 34px); }
h3 { font-size: clamp(17px, 2.2vw, 20px); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-light); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 8px; }

.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); }

/* ----- Кнопки ----- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
	min-height: 48px; padding: 12px 26px; border: 0; border-radius: 999px;
	font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--gold { background: var(--gold-gradient); color: var(--ink); box-shadow: 0 8px 24px rgba(244, 183, 64, .35); }
.btn--gold:hover { box-shadow: 0 12px 30px rgba(244, 183, 64, .5); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 42px; padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.link-btn { padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--gold-dark); white-space: nowrap; }
.link-arrow::after { content: ' →'; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ----- Верхняя полоса ----- */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar__right { display: flex; align-items: center; gap: 20px; flex: none; }
.topbar__phone { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar__phone:hover { color: var(--gold); }
.topbar__switch { flex: none; color: var(--gold); text-decoration: none; font-weight: 600; }
.topbar__switch:hover { text-decoration: underline; }
@media (max-width: 899px) { .topbar__text { display: none; } .topbar__inner { justify-content: flex-end; } }
@media (max-width: 599px) { .topbar__phone + .topbar__phone { display: none; } .topbar__right { width: 100%; justify-content: space-between; } }

/* ----- Шапка ----- */
.header { position: sticky; top: 0; z-index: 100; transition: box-shadow .25s; }
/* Фон с размытием — на псевдоэлементе: backdrop-filter на самой шапке сломал бы position: fixed у мобильного меню */
.header::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(13, 19, 33, .08); }
.header.is-scrolled::before { border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 40px; height: 40px; }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1; }
.logo__text small { display: block; margin-top: 4px; font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.logo--light { color: #fff; }
.logo--light .logo__text small { color: var(--on-dark-muted); }

.header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }

/* Меню — десктоп */
.menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu__item { position: relative; }
.menu__link { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.menu__link:hover { background: var(--bg-muted); }
.menu__link.is-active { color: var(--gold-dark); }
.menu__toggle { display: none; }
.has-sub > .menu__link::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.menu__sub {
	position: absolute; left: 0; top: 100%; min-width: 260px; margin: 0; padding: 10px; list-style: none;
	background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.menu__sub a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; }
.menu__sub a:hover, .menu__sub a.is-active { background: var(--bg-muted); color: var(--gold-dark); }
.menu__item:hover > .menu__sub, .menu__item:focus-within > .menu__sub { opacity: 1; visibility: visible; transform: none; }

.nav__contacts { display: none; }

.burger { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--bg-muted); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; content: ''; }
.burger span { top: 22px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Меню — планшет и телефон: выезжающая панель справа */
.nav-overlay { display: none; }
@media (max-width: 1240px) {
	.burger { display: block; }
	.nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 99;
		width: min(380px, 88vw); overflow-y: auto; overscroll-behavior: contain;
		display: flex; flex-direction: column;
		padding: calc(36px + var(--header-h)) 20px 0;
		background: #fff; box-shadow: var(--shadow-lg);
		transform: translateX(105%); visibility: hidden; transition: transform .3s ease, visibility .3s;
	}
	.nav-open .nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-open .nav-overlay { display: block; position: fixed; inset: 0; z-index: 98; background: rgba(13, 19, 33, .5); }
	.nav > .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__contacts {
		display: flex; flex-direction: column; gap: 10px; margin-top: auto;
		padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
	}
	.nav__contacts a { font-weight: 700; font-size: 18px; text-decoration: none; }
	.menu__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
	.menu__link { flex: 1; padding: 14px 4px; font-size: 17px; white-space: normal; }
	.menu__link:hover { background: none; }
	.has-sub > .menu__link::after { display: none; }
	.menu__toggle { display: block; position: relative; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--bg-muted); cursor: pointer; }
	.menu__toggle::before { content: ''; position: absolute; left: 17px; top: 15px; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
	.is-open > .menu__toggle::before { transform: translateY(5px) rotate(-135deg); }
	.menu__sub { position: static; display: none; flex-basis: 100%; min-width: 0; padding: 0 0 10px 12px; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.menu__item.is-open > .menu__sub { display: block; }
	.header .logo, .header__actions { position: relative; z-index: 100; }
	.nav-open .header__cta { display: none; }
}
@media (min-width: 1241px) {
	.nav { margin: 0 auto; }
}
@media (min-width: 1241px) and (max-width: 1599px) {
	.header__cta { display: none; }
}
@media (max-width: 479px) {
	.header__cta { display: none; }
	.logo__text { font-size: 18px; }
}

/* ----- Первый экран (главная) ----- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero__bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero__bg span:nth-child(1) { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(244, 183, 64, .55), transparent 70%); }
.hero__bg span:nth-child(2) { width: 460px; height: 460px; left: -180px; bottom: -220px; background: radial-gradient(circle, rgba(76, 110, 245, .5), transparent 70%); }
.hero__bg span:nth-child(3) { width: 300px; height: 300px; left: 45%; top: 30%; background: radial-gradient(circle, rgba(232, 145, 45, .3), transparent 70%); }
.hero__slider { position: relative; z-index: 1; }
.hero__slide { display: grid; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 96px; min-height: 520px; }
.hero__content { max-width: 620px; }
.hero__title { font-size: clamp(30px, 6vw, 58px); font-weight: 700; line-height: 1.08; margin-bottom: 20px; }
.hero__text { font-size: clamp(16px, 2vw, 19px); color: var(--on-dark); margin: 0 0 32px; max-width: 540px; }
.hero__points { list-style: none; padding: 0; margin: -12px 0 30px; display: grid; gap: 8px; }
.hero__points li { position: relative; padding-left: 28px; color: var(--on-dark); font-size: 15px; }
.hero__points li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1321' 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; }
.hero__case { display: grid; gap: 4px; margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); text-align: left; }
.hero__case-label { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero__case-name { color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
.hero__case-name:hover { color: var(--gold-light); }
.hero__case-text { color: var(--on-dark-muted); font-size: 14px; line-height: 1.45; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { margin: 0; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .6s; }
.browser:hover { transform: none; }
.browser__bar { display: flex; gap: 6px; padding: 10px 14px; background: #eef0f5; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5d9e2; }
.browser__bar i:first-child { background: #ff6159; }
.browser__bar i:nth-child(2) { background: #ffbd2e; }
.browser__bar i:nth-child(3) { background: #28c941; }
.browser img { display: block; width: 100%; aspect-ratio: 750 / 520; object-fit: cover; object-position: top; }
.hero__mock { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06); }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 2; display: flex; align-items: center; gap: 12px; }
.hero__pagination.swiper-pagination { position: static; width: auto; margin-right: auto; text-align: left; }
.hero .swiper-pagination-bullet { width: 28px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); opacity: 1; transition: width .3s, background-color .3s; }
.hero .swiper-pagination-bullet-active { width: 48px; background: var(--gold); }
@media (max-width: 899px) {
	.hero__visual { max-width: 520px; }
	.browser { transform: none; }
}
@media (max-width: 599px) {
	.hero__slide { padding-top: 32px; min-height: 0; }
	.hero__buttons .btn { flex: 1 1 100%; }
	.hero__visual { display: none; }
}
@media (min-width: 900px) {
	.hero__slide { grid-template-columns: 1.1fr .9fr; gap: 56px; padding-top: 72px; padding-bottom: 120px; min-height: 600px; }
}

/* Кнопки слайдеров */
.slider-btn { position: relative; flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); transition: background-color .2s; }
.slider-btn:hover { background: var(--gold); }
.slider-btn::before { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border: solid #fff; border-width: 0 0 2px 2px; transform: translate(-30%, -50%) rotate(45deg); }
.slider-btn--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.slider-btn:hover::before { border-color: var(--ink); }
.slider-btn.swiper-button-disabled { opacity: .35; cursor: default; }

/* ----- Цифры ----- */
.stats { background: var(--ink-2); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); }
.stat { padding: 24px 16px; background: var(--ink-2); text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(24px, 4vw, 38px); font-weight: 700; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--on-dark-muted); font-size: 14px; }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } .stat { padding: 36px 20px; } }

/* ----- Секции ----- */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { margin-bottom: 28px; }
.section__head h2 { margin: 0; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section__nav { display: flex; gap: 10px; }
.section__more { margin-top: 32px; }
@media (max-width: 599px) { .section__nav { display: none; } }

/* Услуги */
.services { display: grid; gap: 16px; }
@media (min-width: 600px) { .services { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .services { grid-template-columns: repeat(4, 1fr); } }
/* 7 карточек: последняя добивает ряд (2 колонки — на всю ширину, 3 — на все три, 4 — на две) */
@media (min-width: 600px) and (max-width: 999px) { .service--wide { grid-column: span 2; } }
@media (min-width: 1000px) and (max-width: 1199px) { .service--wide { grid-column: span 3; } }
@media (min-width: 1200px) { .service--wide { grid-column: span 2; } }
.service {
	position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
	background: var(--bg-muted); text-decoration: none; overflow: hidden;
	transition: transform .3s, box-shadow .3s, background-color .3s;
}
.service::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-lg); }
.service:hover::after { transform: none; }
.service__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: var(--ink); }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin-bottom: 10px; }
.service p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.service__more { margin-top: auto; font-weight: 700; color: var(--gold-dark); }
.service__more::after { content: ' →'; }

/* Карточки проектов */
.project-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--text); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card__image { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-muted); }
.project-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.project-card:hover .project-card__image img { transform: scale(1.05); }
.project-card__image::after { content: ''; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1321' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s; }
.project-card:hover .project-card__image::after { opacity: 1; transform: none; }
.project-card__body { padding: 18px 20px 22px; }
.project-card h3 { margin: 8px 0 0; font-size: 17px; }
.project-card h3 a { color: inherit; text-decoration: none; }
.project-card h3 a:hover { color: var(--gold-dark); }
.project-card__site { display: inline-block; margin-top: 8px; color: var(--muted); font-size: 14px; word-break: break-all; }
/* Архивные (закрытые) проекты: остаются в портфолио с пометкой */
.project-card--closed .project-card__image img { filter: grayscale(.55) contrast(.95); opacity: .9; }
.project-card--closed:hover .project-card__image img { filter: none; opacity: 1; }
.project-card__badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(13, 19, 33, .78); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; backdrop-filter: blur(4px); }
.project-card__note { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.notice--archive { border-left: 4px solid var(--gold); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff4dc; color: #9a5b0b; font-size: 12px; font-weight: 700; text-decoration: none; }
.projects-slider { overflow: hidden; padding: 6px 4px 28px; margin: -6px -4px 0; }
.projects-slider .swiper-slide { height: auto; }

/* О компании + шаги */
.about { display: grid; gap: 40px; }
@media (min-width: 1000px) { .about { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; } }
.about__steps { padding: 32px; border-radius: var(--radius); background: var(--ink); color: #fff; }
@media (min-width: 1000px) { .about__steps { position: sticky; top: calc(var(--header-h) + 24px); } }
.steps { counter-reset: step; margin: 0 0 28px; padding: 0; list-style: none; }
.steps li { position: relative; padding: 0 0 22px 56px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--gold-gradient); color: var(--ink); font-weight: 800; font-family: var(--font-head); font-size: 15px; }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 18px; top: 44px; bottom: 6px; width: 2px; background: var(--ink-3); }
.steps b { display: block; }
.steps span { color: var(--on-dark-muted); font-size: 15px; }

/* Две колонки: новости + статьи */
.columns { display: grid; gap: 48px; }
@media (min-width: 1000px) { .columns { grid-template-columns: 1.2fr 1fr; gap: 64px; } }

.news-list { display: grid; gap: 14px; }
.news-row { display: flex; gap: 16px; padding: 14px; border-radius: var(--radius-sm); background: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.news-row:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.news-row__image { flex: none; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--bg-muted); }
.news-row__image img { width: 100%; height: 100%; object-fit: cover; }
.news-row__date { display: block; color: var(--muted); font-size: 13px; }
.news-row__title { display: block; font-weight: 700; line-height: 1.35; }

.article-list { counter-reset: art; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.article-list li { counter-increment: art; }
.article-list a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-sm); background: #fff; text-decoration: none; font-weight: 600; box-shadow: var(--shadow); transition: transform .25s, color .25s; }
.article-list a::before { content: counter(art, decimal-leading-zero); flex: none; font-family: var(--font-head); font-size: 13px; color: var(--gold-dark); }
.article-list a:hover { transform: translateX(4px); color: var(--gold-dark); }
@media (min-width: 900px) { .page-home .article-list { grid-template-columns: 1fr 1fr; } }

/* ----- Призыв + форма ----- */
.cta { position: relative; overflow: hidden; padding: 56px 0; background: var(--ink-2); color: #fff; }
.cta::before { content: ''; position: absolute; right: -150px; top: -150px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 183, 64, .35), transparent 70%); filter: blur(40px); }
.cta__inner { position: relative; display: grid; gap: 28px; align-items: center; }
.cta__text p { margin: 0; color: var(--on-dark); }
@media (min-width: 768px) { .cta { padding: 80px 0; } }
@media (min-width: 1000px) { .cta__inner { grid-template-columns: 1fr 1.3fr; gap: 56px; } }

.callback-form { display: grid; gap: 14px; }
.callback-form--inline { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
@media (min-width: 700px) { .callback-form--inline { grid-template-columns: 1fr 1fr auto; align-items: end; } .callback-form--inline .callback-form__result { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.callback-form--inline .field__label { color: var(--on-dark-muted); }
.field input {
	width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--text);
	transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(244, 183, 64, .25); }
.callback-form__result { margin: 0; min-height: 1.5em; font-weight: 600; font-size: 15px; }
.callback-form.is-ok .callback-form__result { color: #4ade80; }
.callback-form.is-error .callback-form__result { color: #ff8a8a; }
.modal .callback-form.is-ok .callback-form__result { color: var(--ok); }
.modal .callback-form.is-error .callback-form__result { color: var(--error); }

/* Модальное окно */
.modal { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 32px 28px 24px; border: 0; border-radius: 24px; box-shadow: var(--shadow-lg); color: var(--text); }
.modal::backdrop { background: rgba(13, 19, 33, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .3s ease; }
.modal h2 { margin-bottom: 6px; }
.modal p { margin: 0 0 20px; color: var(--muted); }
.modal .callback-form__result { margin: 0; }
.modal__close-form { position: absolute; right: 12px; top: 12px; margin: 0; }
.modal__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-muted); font-size: 24px; line-height: 1; cursor: pointer; }
.modal__close:hover { background: var(--line); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* ----- Подвал ----- */
.footer { background: var(--ink); color: var(--on-dark-muted); font-size: 15px; padding-top: 56px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.3fr 1.4fr 1fr; gap: 48px; } }
.footer__about p { margin: 16px 0 0; max-width: 340px; }
.footer__title { margin-bottom: 16px; color: #fff; font-size: 15px; }
.footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer__list--cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer .link-btn { color: var(--gold); text-decoration: none; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.footer__bottom span { margin-right: auto; }
@media (max-width: 599px) { .footer__bottom span { flex-basis: 100%; } .footer__bottom { padding-bottom: 120px; } }

/* ----- Внутренние страницы ----- */
.page-head { padding: 20px 0; background: var(--bg-muted); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin: 0 10px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }

.page { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 72px; }
@media (min-width: 1000px) { .page { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 56px; padding-bottom: 96px; } }
.page__aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) { .page__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card { padding: 26px; border-radius: var(--radius); background: var(--bg-muted); }
.aside-card h3 { font-size: 17px; margin-bottom: 14px; }
.aside-card h3 a { text-decoration: none; }
.aside-card p { margin: 0 0 18px; font-size: 15px; }
.aside-card--dark { background: var(--ink); color: #fff; }
.aside-card--dark p { color: var(--on-dark-muted); }
.aside-list { margin: 0; padding: 0; list-style: none; }
.aside-list li + li { border-top: 1px solid var(--line); }
.aside-list a { display: block; padding: 10px 0; font-size: 15px; font-weight: 600; text-decoration: none; }
.aside-list a:hover { color: var(--gold-dark); }

/* Текст страниц (в т.ч. старые тексты из визуального редактора) */
.prose { min-width: 0; overflow-wrap: break-word; }
.prose h1 { margin-bottom: .7em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p { margin: 0 0 1em; }
.prose p:empty, .prose p:has(> br:only-child) { display: none; }
.prose a { color: #b3650b; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-dark); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--gold-dark); }
.prose img { height: auto !important; border-radius: var(--radius-sm); }
.prose img[align=left], .prose img[style*="float: left"], .prose img[style*="float:left"] { float: left; margin: 0 20px 12px 0; max-width: 45%; }
.prose img[align=right], .prose img[style*="float: right"], .prose img[style*="float:right"] { float: right; margin: 0 0 12px 20px; max-width: 45%; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--bg-muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose iframe, .prose video { max-width: 100%; }
.prose::after { content: ''; display: block; clear: both; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
.prose table { width: auto !important; max-width: 100%; border-collapse: collapse; font-size: 15px; }
.prose td, .prose th { padding: 10px 14px; border: 1px solid var(--line); vertical-align: top; }
.prose th, .prose tr:first-child td strong { font-weight: 700; }
.prose tr:nth-child(even) td { background: #fafbfd; }
@media (max-width: 599px) {
	.prose [style*="justify"], .prose [align=justify] { text-align: left !important; }
	.prose img[align], .prose img[style*="float"] { float: none !important; display: block; max-width: 100%; margin: 0 0 16px !important; }
	.prose td, .prose th { padding: 8px 10px; }
	.prose table { width: max-content !important; }
}

.lead { font-size: 1.1em; color: var(--muted); }

/* Страницы услуг: карточки направлений и шаги на светлом фоне */
.features { display: grid; gap: 14px; margin: 28px 0 8px; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.prose .feature { position: relative; display: block; padding: 20px 22px 20px 26px; border-radius: var(--radius-sm); background: var(--bg-muted); color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s, background-color .25s; }
.prose .feature::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold-gradient); }
.prose a.feature:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-lg); color: var(--text); }
.feature b { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 17px; }
.feature span { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.prose h2[id] { scroll-margin-top: 90px; }
.case { display: grid; gap: 20px; margin: 0 0 24px; padding: 18px; border-radius: var(--radius); background: var(--bg-muted); }
@media (min-width: 700px) { .case { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; padding: 22px; } }
.prose .case__image { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.prose .case__image img { display: block; width: 100%; border-radius: 0; transition: transform .5s; }
.case__image:hover img { transform: scale(1.03); }
.case__body p:last-child { margin-bottom: 0; }
.case__body a { white-space: nowrap; }
.prose .steps { padding: 0; margin-top: 8px; }
.prose .steps li { margin: 0; }
.steps--light li:not(:last-child)::after { background: var(--line); }
.steps--light span { color: var(--muted); }
.notice { margin: 0 0 24px; padding: 16px 20px; border-radius: var(--radius-sm); background: #fff4dc; font-weight: 600; }
.notice--ok { background: #e6f6ec; color: #13693a; }
.notice--error { background: #fdeaea; color: #9b2c2c; }
.item-date { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.item-image { margin: 0 0 28px; }
.item-image img { display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.item-image--logo img { max-width: 260px; box-shadow: none; }
.back-link { margin: 0 0 14px; }
.link-back { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted) !important; }
.link-back::before { content: '← '; }
.link-back:hover { color: var(--gold-dark) !important; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.sitemap, .sitemap ul { list-style: none; padding-left: 0; }
.sitemap ul { padding-left: 22px; margin: 8px 0 4px; border-left: 2px solid var(--line); }
.sitemap li { margin: 6px 0; }
.sitemap > li > a { font-weight: 700; }

/* Сетки и карточки списков */
.grid { display: grid; gap: 20px; margin: 8px 0 32px; }
@media (min-width: 600px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.page .grid--3 .project-card h3 { font-size: 16px; }

.chips { display: flex; gap: 8px; margin: 0 0 24px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 9px 18px; border-radius: 999px; background: var(--bg-muted); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.chips a:hover { background: var(--line); }
.chips a.is-active { background: var(--ink); color: #fff; }

.cards { display: grid; gap: 16px; margin-bottom: 32px; }
.card { display: flex; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none !important; color: var(--text) !important; transition: box-shadow .25s, transform .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__image { flex: none; width: 96px; }
.card__image img { border-radius: 10px; }
.card__title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.3; }
.card__text { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
.card__more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--gold-dark); font-size: 15px; }
.card__more::after { content: ' →'; }

.news-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none !important; color: var(--text) !important; transition: box-shadow .25s, transform .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card__image { display: block; aspect-ratio: 16 / 9; background: var(--bg-muted); overflow: hidden; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.news-card__placeholder { display: block; height: 100%; background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); }
.news-card__body { padding: 18px 20px 22px; }
.news-card__date { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.news-card__title { display: block; font-weight: 700; line-height: 1.4; }

.partner-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none !important; color: var(--text) !important; transition: box-shadow .25s, transform .25s; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner-card__logo { display: grid; place-items: center; width: 100%; height: 110px; border-radius: var(--radius-sm); background: var(--bg-muted); }
.partner-card__logo img { max-height: 80px; max-width: 80%; width: auto; border-radius: 0; }
.partner-card__name { font-family: var(--font-head); font-weight: 600; font-size: 18px; }

/* Постраничная навигация */
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 24px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.pager a { background: var(--bg-muted); color: var(--text) !important; transition: background-color .2s; }
.pager a:hover { background: var(--line); }
.pager__current { background: var(--ink); color: #fff; }
.pager__gap { min-width: 24px !important; padding: 0 !important; color: var(--muted); }

/* ----- Плавное появление ----- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.swiper-slide .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* GLightbox: подпись в фирменных цветах */
.glightbox-clean .gslide-description { background: var(--ink); }
.glightbox-clean .gslide-title { color: #fff; font-family: var(--font); font-weight: 700; margin-bottom: 0; }

/* ==========================================================================
   Телефоны и планшеты: компактные блоки, меньше прокрутки
   ========================================================================== */

/* Кнопка-иконка «Позвонить» в шапке (на десктопе телефоны в верхней полосе) */
.icon-btn { display: none; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-gradient); color: var(--ink); box-shadow: 0 6px 16px rgba(244, 183, 64, .35); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.nav__switch { display: none; }
.prose .is-empty { display: none; }
.collapse-btn { margin-top: 4px; }

@media (max-width: 1240px) {
	.icon-btn { display: grid; }
	.header__actions { gap: 10px; }
	.nav__switch { display: block; margin-top: 6px; font-size: 15px !important; font-weight: 600 !important; color: var(--muted); }
}

@media (max-width: 767px) {
	:root { --header-h: 64px; }
	body { font-size: 16px; line-height: 1.6; }
	h1 { font-size: 26px; }
	h2 { font-size: 23px; }

	/* Верхняя полоса не нужна: звонок — кнопкой в шапке, старая версия — в меню и подвале */
	.topbar { display: none; }
	.header__cta { display: none !important; }
	.logo__mark { width: 38px; height: 38px; }
	.logo__text { font-size: 18px; }
	.logo__text small { font-size: 10px; }

	/* Первый экран */
	.hero__slide { gap: 22px; padding-top: 28px; padding-bottom: 64px; min-height: 0; }
	.eyebrow { margin-bottom: 10px; font-size: 12px; }
	.hero__title { font-size: 31px; margin-bottom: 14px; }
	.hero__text { font-size: 16px; margin-bottom: 22px; }
	.hero__buttons { gap: 10px; }
	.hero__buttons .btn { flex: 1 1 100%; }
	.hero__visual { display: block; }
	.hero__case { margin-top: 12px; padding: 10px 14px; }
	.hero__case-text { font-size: 13px; }
	.hero__points { margin: -6px 0 20px; gap: 6px; }
	.hero__points li { font-size: 14px; }
	.browser { border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
	.browser__bar { padding: 7px 10px; }
	.browser__bar i { width: 7px; height: 7px; }
	.browser img { aspect-ratio: 16 / 9; }
	.hero__mock { border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
	.hero__controls { bottom: 22px; }
	.hero__controls .slider-btn { display: none; }

	/* Цифры: плотная сетка 2×2 */
	.stat { padding: 18px 10px; }
	.stat b { font-size: 24px; }
	.stat span { display: block; font-size: 13px; line-height: 1.35; }

	/* Секции */
	.section { padding: 44px 0; }
	.section__head { margin-bottom: 20px; }
	.section__head--row { align-items: center; }
	.section__head--row h2 { font-size: 22px; }
	.section__more { margin-top: 20px; width: 100%; }

	/* Услуги: строки с иконкой вместо высоких карточек */
	.services { gap: 10px; }
	.service { display: grid; grid-template-columns: 48px 1fr 16px; grid-template-areas: 'icon title arrow' 'icon text arrow'; column-gap: 14px; align-items: start; padding: 16px; border-radius: 16px; }
	.service__icon { grid-area: icon; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
	.service__icon svg { width: 24px; height: 24px; }
	.service h3 { grid-area: title; margin: 2px 0 4px; font-size: 16px; }
	.service p { grid-area: text; margin: 0; font-size: 14px; line-height: 1.45; }
	.service__more { grid-area: arrow; align-self: center; font-size: 0; }
	.service__more::after { content: '›'; font-size: 26px; line-height: 1; }
	.service:hover { transform: none; }

	/* Проекты */
	.project-card__body { padding: 14px 16px 16px; }
	.project-card h3 { font-size: 15px; }
	.projects-slider { padding-bottom: 8px; }

	/* Текст главной: свёрнут до кнопки «Читать полностью» */
	.prose.is-collapsed { max-height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
	.about { gap: 28px; }
	.about__steps { padding: 24px 20px; }

	/* Новости и статьи */
	.columns { gap: 36px; }
	.news-row { padding: 10px; gap: 12px; }
	.news-row__image { width: 84px; height: 64px; }
	.news-row__title { font-size: 15px; }
	.article-list a { padding: 12px 14px; font-size: 15px; }

	/* Форма */
	.cta { padding: 44px 0; }
	.cta__inner { gap: 20px; }
	.callback-form--inline { padding: 18px; }

	/* Окно заявки — шторка снизу */
	.modal { width: 100%; max-width: 100%; margin: auto 0 0; padding: 28px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
	.modal[open] { animation: sheet-in .3s ease; }

	/* Внутренние страницы: боковая колонка дублирует форму внизу — скрываем */
	.page-head { padding: 12px 0; }
	.breadcrumbs ol { font-size: 13px; }
	.page { padding-top: 24px; padding-bottom: 44px; gap: 0; }
	.page__aside { display: none; }

	/* Списки проектов, новостей, партнёров — в две колонки, компактно */
	.grid { gap: 12px; margin-bottom: 24px; }
	.grid--3 { grid-template-columns: 1fr 1fr; }
	.grid--3 .project-card { border-radius: 14px; }
	.grid--3 .project-card__body { padding: 10px 12px 12px; }
	.grid--3 .project-card .tag { padding: 2px 8px; font-size: 11px; }
	.page .grid--3 .project-card h3 { margin-top: 6px; font-size: 13px; line-height: 1.3; }
	.grid--3 .project-card__site { display: none; }
	.grid--3 .project-card__note { margin-top: 4px; font-size: 12px; line-height: 1.3; }
	.project-card__badge { left: 8px; top: 8px; padding: 2px 8px; font-size: 11px; }
	.grid--3 .project-card__image::after { display: none; }
	.news-card { border-radius: 14px; }
	.news-card__body { padding: 10px 12px 12px; }
	.news-card__date { font-size: 12px; margin-bottom: 4px; }
	.news-card__title { font-size: 13px; line-height: 1.35; }
	.partner-card { padding: 14px; border-radius: 14px; gap: 8px; }
	.partner-card__logo { height: 80px; }
	.partner-card__name { font-size: 15px; }

	/* Чипсы: видно, что их можно листать */
	.chips { margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.chips a { padding: 8px 14px; }

	.cards { gap: 10px; }
	.card { padding: 16px 18px; border-radius: 16px; }
	.card__title { font-size: 16px; }
	.card__more { margin-top: 6px; }

	.pager a, .pager span { min-width: 40px; height: 40px; }

	/* Подвал */
	.footer { padding-top: 40px; }
	.footer__grid { gap: 28px; padding-bottom: 28px; }
}

@keyframes sheet-in { from { transform: translateY(100%); } }