/* ==========================================================================
   Интегрированная механика — стиль «Сборочный цех» v0.2
   Без препроцессоров и фреймворков. Брейкпоинты: 1100 / 900 / 640.
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-var.woff") format("woff");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "JetBrains Mono";
	src: url("../fonts/jetbrains-mono-400.woff2") format("woff2");
	font-weight: 400 500;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #15191d;
	--ink-2: #2a3036;
	--steel: #5b6670;
	--line: #d9dde0;
	--line-2: #b9c0c6;
	--bg: #f3f4f2;
	--white: #fff;
	--ph: #e3e6e8;
	--blue: #2b5ce6;
	--blue-h: #1f47c4;
	--blue-bright: #3399ff;
	--tint: #ebf0fd;
	--signal: #f26b1d;
	--navy: #0f1a36;
	--on-dark: #c9cfd4;
	--on-navy: #c8d2e8;
	--dark-line: #3a424a;
	--ok: #1f8a4c;
	--err: #c0392b;

	--r: 6px;
	--r-lg: 8px;
	--gutter: 40px;
	--container: 1280px;
	--header-h: 84px;

	--font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* --- База ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-h); }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
[hidden] { display: none !important; }

.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: 16px; top: -60px; z-index: 100; padding: 12px 18px;
	background: var(--ink); color: var(--white); border-radius: var(--r); font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); letter-spacing: 0.03em; }
.center { display: flex; justify-content: center; margin-top: 32px; }

/* --- Типографика ---------------------------------------------------------- */

.eyebrow {
	display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
	text-transform: uppercase; color: var(--blue);
}
.eyebrow--bright { color: var(--blue-bright); }
.h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.035em; }
.h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.03em; }
.h2--xl { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.035em; }
.h3 { font-size: clamp(20px, 2vw, 26px); }
.h4 { font-size: 16px; letter-spacing: -0.01em; }
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.lead--muted { color: var(--on-navy); }
.section--dark .lead--muted { color: var(--on-dark); }

.prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 820px; }
.prose--narrow { max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 26px; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 20px; margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r-lg); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* --- Кнопки --------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r);
	font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-h); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }
.btn--outline { background: var(--white); border-color: var(--line-2); color: var(--ink); font-weight: 600; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 14px; gap: 6px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1 1 auto; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn.is-added { background: var(--ok); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 15px; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; position: relative;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r); background: transparent; color: var(--ink);
}
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.badge {
	display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px;
	border-radius: 11px; background: var(--signal); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1;
}
.icon-btn .badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r);
	border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* --- Верхняя полоса и шапка ----------------------------------------------- */

.topbar { background: var(--ink); color: var(--on-dark); font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__nav a { color: var(--on-dark); display: inline-flex; align-items: center; min-height: 40px; }
.topbar__nav a:hover, .topbar__nav .topbar__accent { color: var(--white); }
.topbar__nav li { list-style: none; display: contents; }

.header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.header__in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.header__logo { flex-shrink: 0; }
.header__logo img { height: 40px; width: auto; }
.header__catalog { position: relative; flex-shrink: 0; }
.header__catalog-btn[aria-expanded="true"] { background: var(--blue-h); }
.search {
	flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-width: 180px; height: 48px;
	padding: 0 6px 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); color: var(--steel);
}
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--tint); }
.search__input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__btn { border: 0; background: transparent; color: var(--blue); font-weight: 700; font-size: 14px; padding: 0 10px; height: 36px; border-radius: 4px; }
.search__btn:hover { background: var(--tint); }
.header__contacts { display: flex; flex-direction: column; flex-shrink: 0; line-height: 1.3; }
.header__phone { font-size: 17px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.header__phone:hover { color: var(--blue); }
.header__email { font-size: 12px; }
.header__cart { flex-shrink: 0; }
.header__mobile { display: none; margin-left: auto; align-items: center; gap: 2px; }
.mobile-search { padding: 0 0 12px; }

.catalog-menu {
	position: absolute; top: calc(100% + 18px); left: 0; z-index: 50; width: min(960px, calc(100vw - 80px));
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
	box-shadow: 0 24px 48px -12px rgba(21, 25, 29, .22); padding: 28px;
}
.catalog-menu__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.catalog-menu__title { display: block; font-weight: 800; font-size: 16px; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.catalog-menu ul { list-style: none; display: grid; gap: 2px; }
.catalog-menu li a { display: block; padding: 6px 0; font-size: 15px; color: var(--ink-2); }
.catalog-menu li a:hover { color: var(--blue); }
.catalog-menu__col--cta { background: var(--bg); border-radius: var(--r); padding: 18px; font-size: 14px; color: var(--steel); }
.catalog-menu__col--cta p { margin-bottom: 6px; }

/* Мобильное меню */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(15, 26, 54, .45); }
.drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); overflow-y: auto;
	background: var(--white); padding: 12px 20px 32px; display: flex; flex-direction: column; gap: 20px;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__title { font-weight: 800; font-size: 18px; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__group summary {
	display: flex; align-items: center; justify-content: space-between; min-height: 52px;
	font-weight: 700; font-size: 17px; cursor: pointer; list-style: none;
}
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .ico { transform: rotate(180deg); }
.drawer__group ul { list-style: none; padding-bottom: 10px; }
.drawer__group li a { display: block; padding: 10px 0; color: var(--ink-2); }
.drawer__link, .drawer__menu a { display: flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer__link--accent { color: var(--blue); }
.drawer__menu { list-style: none; }
.drawer__contacts { display: grid; gap: 6px; margin-top: auto; color: var(--steel); font-size: 14px; }
.drawer__phone { font-size: 22px; font-weight: 800; color: var(--ink); }

/* --- Секции --------------------------------------------------------------- */

.main { display: block; }
.section { padding: 88px 0; }
.section--tight { padding: 48px 0 72px; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--white + .section--white { border-top: 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section__head .eyebrow { margin-bottom: 10px; }
.section__subtitle { margin-bottom: 24px; }
.section .h2 + .pgrid { margin-top: 28px; }
.blueprint {
	background-color: var(--navy); color: var(--white);
	background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 32px 32px;
}
.card { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card--pad { padding: 32px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split--center { align-items: center; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.split__text { display: flex; flex-direction: column; gap: 20px; }
.split__text--narrow p { color: var(--ink-2); line-height: 1.6; }

.page-head { padding: 24px 0 32px; }
.page-head--compact { padding-bottom: 8px; }
.page-head .h1 { margin-top: 8px; }
.page-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-head__lead { margin-top: 14px; }
.page-head__lead p + p { margin-top: .6em; }
.page-head__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.chips--nav { margin-top: 24px; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--steel); padding: 16px 0 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink-2); }

/* --- Главная: первый экран ------------------------------------------------ */

.hero { padding: 64px 0 72px; }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: stretch; }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.hero__title { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.035em; }
.hero__collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 260px 200px; gap: 12px; }
.hero__tile { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--ph); color: var(--ink); }
.hero__tile--big { grid-row: span 2; }
.hero__tile img, .hero__tile .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hero__tile:hover img { transform: scale(1.03); }
.hero__label {
	position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
	background: var(--white); border-radius: var(--r); padding: 12px 14px; font-size: 13px; color: var(--steel);
}
.hero__label b { font-size: 16px; color: var(--ink); }
.hero__label span { white-space: nowrap; }
.hero__tile:hover .hero__label b { color: var(--blue); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 48px; }
.facts li { padding: 18px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.facts b { font-size: 26px; letter-spacing: -0.02em; }
.facts span { font-size: 14px; color: var(--steel); line-height: 1.45; }

/* --- Каталог: блоки направлений, плитки, карточки ------------------------- */

.cblock { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding: 28px 0 40px; border-top: 1px solid var(--line); }
.cblock:last-child { padding-bottom: 0; }
.cblock__head { display: flex; flex-direction: column; gap: 12px; }
.cblock__num { font-size: 12px; color: var(--steel); }
.cblock__title { font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.cblock__title a { color: var(--ink); }
.cblock__title a:hover { color: var(--blue); }
.cblock__head p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.cblock__grid, .tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.ctile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ctile:hover { border-color: var(--line-2); box-shadow: 0 8px 24px -12px rgba(21, 25, 29, .25); color: var(--ink); }
.ctile__img { display: block; aspect-ratio: 4 / 3; background: var(--ph); overflow: hidden; }
.ctile__img img, .ctile__img .ph { width: 100%; height: 100%; object-fit: cover; }
.ctile__body { display: flex; flex-direction: column; gap: 4px; padding: 14px; }
.ctile__name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.ctile:hover .ctile__name { color: var(--blue); }
.ctile__price { font-size: 14px; color: var(--steel); }

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pcard:hover { border-color: var(--line-2); box-shadow: 0 8px 24px -12px rgba(21, 25, 29, .25); }
.pcard.is-hidden { display: none; }
.pcard__img { display: block; aspect-ratio: 4 / 3; background: var(--ph); overflow: hidden; }
.pcard__img img, .pcard__img .ph { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.pcard__cat { font-size: 11px; color: var(--steel); text-transform: uppercase; }
.pcard__title { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.pcard__title a { color: var(--ink); }
.pcard__title a:hover { color: var(--blue); }
.pcard__spec { font-size: 14px; color: var(--steel); line-height: 1.4; }
.pcard__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pcard__price { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }

.ph {
	display: flex; align-items: center; justify-content: center; background: var(--ph);
	font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel);
}

.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 40px; }
.pager .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); color: var(--ink); font-weight: 600;
}
.pager .current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pager .dots { border: 0; background: transparent; }

.empty { background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 16px; justify-items: start; }

/* --- Тёмные секции: расчёт, под заказ ------------------------------------- */

.spec { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--steel); }
.spec dd { font-weight: 700; text-align: right; }
.spec--dark { border-top: 1px solid var(--dark-line); margin-top: 8px; }
.spec--dark > div { border-color: var(--dark-line); }
.spec--dark dt { color: var(--on-dark); }
.spec--wide { max-width: 760px; }

.zlist { list-style: none; border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 8px; }
.zlist li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.zlist .mono { color: var(--blue-bright); font-size: 13px; padding-top: 4px; }
.zlist span:last-child { display: flex; flex-direction: column; gap: 4px; color: var(--on-navy); font-size: 15px; }
.zlist b { color: var(--white); font-size: 19px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 48px; }
.steps li { padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 6px; }
.steps .mono { font-size: 12px; color: var(--blue); }
.steps b { font-size: 17px; }
.steps span:last-child { font-size: 14px; color: var(--steel); }
.steps--light { border-color: var(--white); }
.steps--light .mono { color: var(--blue-bright); }
.steps--light span:last-child { color: var(--on-navy); }

.prod-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prod-photos figure { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--ph); }
.prod-photos img, .prod-photos .ph { width: 100%; height: 100%; object-fit: cover; }

.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.col-rule { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.col-rule h3 { font-size: 17px; letter-spacing: -0.01em; }
.col-rule p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* --- Карточка товара ------------------------------------------------------ */

.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding-top: 28px; padding-bottom: 64px; align-items: start; }
.product__gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 24px; }
.product__main { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); cursor: zoom-in; }
.product__main img, .product__main .ph { width: 100%; height: 100%; object-fit: contain; }
.product__thumbs { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.product__thumb { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb.is-active { border: 2px solid var(--blue); }
.product__info { display: flex; flex-direction: column; gap: 20px; }
.product__title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
.product__sub { font-size: 17px; color: var(--ink-2); margin-top: -10px; }
.product__meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 14px; color: var(--steel); }
.avail { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.avail::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }

.buybox { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.buybox__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.buybox__unit { font-size: 12px; color: var(--steel); text-transform: uppercase; }
.buybox__row { display: flex; gap: 12px; flex-wrap: wrap; }
.buybox__sum:not(:empty)::before { content: "·"; margin: 0 2px 0 -2px; opacity: .7; }
.buybox__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.buybox__note { font-size: 14px; color: var(--steel); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); height: 56px; background: var(--white); }
.qty__btn { width: 48px; height: 100%; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); border-radius: var(--r); }
.qty__btn:hover { background: var(--bg); }
.qty__input { width: 52px; height: 100%; border: 0; text-align: center; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.im-cf7 .qty input.qty__input { width: 40px; min-height: 0; height: 100%; padding: 0; border: 0; box-shadow: none; text-align: center; }
.qty--sm .qty__btn { width: 36px; }
.qty--sm .qty__input { width: 40px; font-size: 14px; }

.benefits { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.benefits li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.benefits b { font-size: 14px; }
.benefits span { font-size: 12px; color: var(--steel); }

.tabs-wrap { padding-top: 0; }
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__tab {
	flex-shrink: 0; height: 60px; padding: 0; border: 0; border-bottom: 3px solid transparent; background: transparent;
	font-size: 16px; font-weight: 600; color: var(--steel);
}
.tabs__tab[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); font-weight: 800; }
.tabs__panel { padding: 40px 0 16px; }
.desc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.docs { display: flex; flex-direction: column; gap: 10px; }
.docs__item {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px;
	border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-weight: 600; font-size: 15px;
}
.docs__item:hover { border-color: var(--blue); color: var(--ink); }
.docs__item .ico { color: var(--steel); }
.docs__item .mono { font-size: 11px; color: var(--blue); }

.lightbox { border: 0; padding: 0; max-width: min(1200px, 94vw); max-height: 92vh; background: transparent; }
.lightbox::backdrop { background: rgba(10, 14, 20, .86); }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: var(--r); }
.lightbox__close { position: fixed; top: 16px; right: 16px; background: var(--white); }

/* --- SEO-блок и FAQ ------------------------------------------------------- */

.seo-block { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.faq { display: flex; flex-direction: column; }
.faq .h3 { margin-bottom: 16px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0;
	font-weight: 700; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary .ico { transform: rotate(180deg); }
.faq__item p { padding: 0 0 16px; color: var(--ink-2); line-height: 1.6; }

/* --- Формы (CF7) ---------------------------------------------------------- */

.im-form { width: 100%; }
.im-cf7 { margin: 0; }
.wpcf7 .hidden-fields-container { border: 0; padding: 0; margin: 0; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.im-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.calc-form, .zakaz-form { display: flex; flex-direction: column; gap: 20px; }
.zakaz-form__title { font-size: 22px; letter-spacing: -0.02em; }
.zakaz-form__note { font-size: 13px; line-height: 1.5; color: var(--steel); }

.f-row { display: grid; gap: 12px; }
.f-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.f-row--submit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.f-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.wpcf7-form-control-wrap { display: block; position: relative; }

.im-cf7 input[type="text"],
.im-cf7 input[type="tel"],
.im-cf7 input[type="email"],
.im-cf7 input[type="number"],
.im-cf7 textarea,
.im-cf7 select {
	width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r);
	background: var(--white); color: var(--ink); font-size: 15px; -moz-appearance: textfield;
}
.im-cf7 textarea { padding: 12px; min-height: 96px; resize: vertical; line-height: 1.5; }
.im-cf7 input::placeholder, .im-cf7 textarea::placeholder { color: #8a949c; }
.im-cf7 input:focus, .im-cf7 textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px var(--tint); }
.im-cf7 .mono { font-family: var(--mono); }
.im-cf7 .wpcf7-not-valid { border-color: var(--err) !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: 13px; color: var(--err); }

/* Радио-карточки (тип каркаса, способ получения) */
.f-cards .wpcf7-radio { display: grid; gap: 8px; }
.f-cards--3 .wpcf7-radio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-im-calc-type] .wpcf7-radio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f-cards .wpcf7-list-item { margin: 0; display: block; }
.f-cards .wpcf7-list-item label {
	display: flex; gap: 10px; align-items: flex-start; height: 100%; min-height: 64px; padding: 12px;
	border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); cursor: pointer;
}
.f-cards .wpcf7-list-item input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.f-cards .wpcf7-list-item-label { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.f-cards .wpcf7-list-item-label small { font-size: 12px; font-weight: 400; color: var(--steel); line-height: 1.35; }
[data-im-calc-type] .wpcf7-list-item-label small { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; }
.f-cards .wpcf7-list-item label:has(input:checked) { border: 2px solid var(--blue); background: var(--tint); padding: 11px; }

/* Сегментный переключатель (юрлицо / физлицо) */
.f-seg .wpcf7-radio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.f-seg .wpcf7-list-item { margin: 0; }
.f-seg .wpcf7-list-item label { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 12px; cursor: pointer; font-weight: 600; font-size: 15px; text-align: center; }
.f-seg .wpcf7-list-item input { position: absolute; opacity: 0; pointer-events: none; }
.f-seg .wpcf7-list-item label:has(input:checked) { background: var(--ink); color: var(--white); font-weight: 700; }
.f-seg .wpcf7-list-item label:has(input:focus-visible) { outline: 3px solid var(--blue-bright); outline-offset: -3px; }

/* Файл */
.f-file { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px dashed #8a949c; border-radius: var(--r); background: #f8f9f8; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.f-file::before {
	content: ""; width: 24px; height: 24px; flex-shrink: 0;
	background: currentColor; color: var(--steel);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.f-file:hover { border-color: var(--blue); }
.f-file:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--tint); }
.f-file__text { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--steel); }
.f-file__text b { font-size: 14px; color: var(--ink); }
.f-file .wpcf7-form-control-wrap { position: static; }
.f-file input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.f-file.has-file { border-style: solid; border-color: var(--blue); background: var(--tint); }

.f-consent { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.f-consent .wpcf7-list-item { margin: 0; }
.f-consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.f-consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--blue); }

.im-cf7 .wpcf7-submit { min-height: 52px; }
.im-cf7 .wpcf7-spinner { display: none; }
.im-cf7.submitting .wpcf7-submit { opacity: .6; pointer-events: none; }
.im-cf7 .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r); font-size: 14px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); }
.im-cf7.sent .wpcf7-response-output { border-color: var(--ok); background: #eaf6ef; }
.im-cf7.invalid .wpcf7-response-output, .im-cf7.failed .wpcf7-response-output, .im-cf7.unaccepted .wpcf7-response-output, .im-cf7.spam .wpcf7-response-output { border-color: var(--err); background: #fbeceb; }
.im-cf7 .wpcf7-response-output:empty, .im-cf7.init .wpcf7-response-output { display: none; }
.im-admin-note { padding: 16px; border: 1px dashed var(--err); border-radius: var(--r); color: var(--err); background: var(--white); font-size: 14px; }

.calc-estimate { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--r); background: var(--bg); }
.calc-estimate > div { display: flex; flex-direction: column; gap: 2px; }
.calc-estimate__label { font-size: 11px; color: var(--steel); text-transform: uppercase; }
.calc-estimate__value { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.calc-estimate__note { font-size: 13px; color: var(--steel); max-width: 220px; }

/* --- Заявка (checkout) ---------------------------------------------------- */

.checkout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.checkout__main { display: flex; flex-direction: column; gap: 20px; }
.checkout__aside { position: sticky; top: 24px; }
.co-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.co-card__title { display: flex; align-items: baseline; gap: 12px; font-size: 20px; letter-spacing: -0.01em; }
.co-card__title .mono { font-size: 13px; color: var(--blue); font-weight: 400; }
.co-card__hint { font-size: 14px; font-weight: 400; color: var(--steel); }
.co-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.co-summary__head { display: flex; justify-content: space-between; align-items: baseline; }
.co-summary__head h2 { font-size: 20px; }
.co-summary__clear { font-size: 14px; font-weight: 600; color: var(--steel); }
.co-summary__list { border-top: 2px solid var(--ink); }
.co-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.co-line__img { width: 56px; height: 56px; border-radius: 4px; background: var(--ph); object-fit: cover; }
.co-line__title { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.co-line__unit { font-family: var(--mono); font-size: 12px; color: var(--steel); }
.co-line__sum { font-weight: 800; white-space: nowrap; text-align: right; }
.co-line__ctrl { grid-column: 2 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.co-line__remove { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--steel); font-size: 13px; min-height: 40px; padding: 0 4px; }
.co-line__remove:hover { color: var(--err); }
.co-summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-2); }
.co-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.co-summary__total span { font-size: 17px; font-weight: 700; }
.co-summary__total strong { font-size: 30px; letter-spacing: -0.02em; }
.co-summary__note { font-size: 13px; line-height: 1.5; color: var(--steel); }
.checkout__text { margin-top: 48px; }
.done { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 32px; display: grid; justify-items: start; gap: 14px; max-width: 720px; }
.done__icon { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; background: #eaf6ef; color: var(--ok); }

/* --- Подвал, панель заявки, уведомление ----------------------------------- */

.footer { background: var(--ink); color: var(--on-dark); font-size: 14px; }
.footer .container { padding-top: 56px; padding-bottom: 32px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__about { display: flex; flex-direction: column; gap: 14px; line-height: 1.5; }
.footer__logo img { height: 36px; width: auto; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: var(--white); }
.footer__title { color: var(--white); font-weight: 700; }
.footer .footer__phone { color: var(--white); font-size: 18px; font-weight: 800; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: 11px; color: #9aa3aa; }

.cartbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; align-items: center; gap: 12px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line);
	box-shadow: 0 -8px 24px -16px rgba(21, 25, 29, .3);
}
.cartbar__info { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.cartbar__info span { font-size: 12px; color: var(--steel); }
.cartbar__info strong { font-size: 19px; }

.toast {
	position: fixed; z-index: 85; right: 24px; bottom: 24px; max-width: 360px; display: flex; align-items: center; gap: 14px;
	padding: 14px 16px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); font-size: 14px;
	box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .4); animation: toast-in .2s ease-out;
}
.toast a { color: var(--blue-bright); font-weight: 700; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.notfound__in { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 760px; }
.notfound__code { font-size: 14px; color: var(--blue); }
.search-page { max-width: 640px; width: 100%; margin-top: 16px; }
.search-page .search { width: 100%; }
.search-pages { list-style: none; margin-top: 32px; display: grid; gap: 8px; }
.search-pages a { font-weight: 600; }

/* ==========================================================================
   Адаптив
   ========================================================================== */

@media (max-width: 1100px) {
	:root { --gutter: 28px; }
	.header__contacts .header__email { display: none; }
	.header__in { gap: 14px; }
	.hero__in { grid-template-columns: 1fr; }
	.hero__collage { grid-template-rows: 220px 180px; }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
	.cblock { grid-template-columns: 1fr; gap: 20px; }
	.pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.split { grid-template-columns: 1fr; gap: 32px; }
	.steps, .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
	.catalog-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.checkout { grid-template-columns: 1fr; }
	.checkout__aside { position: static; }
	.product { grid-template-columns: 1fr; gap: 32px; }
	.product__gallery { position: static; }
	.seo-block, .desc { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
	:root { --header-h: 64px; }
	.topbar { display: none; }
	.header { position: sticky; top: 0; }
	.header__logo img { height: 30px; }
	.header__catalog, .header > .header__in > .search, .header__contacts, .header__cart { display: none; }
	.header__mobile { display: flex; }
	.mobile-search .search { width: 100%; }
	.section { padding: 64px 0; }
	.cblock__grid { grid-template-columns: repeat(4, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: thin; }
	.cblock__grid > * { scroll-snap-align: start; }
	.pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.f-row--3 { grid-template-columns: 1fr; }
	.f-cards--3 .wpcf7-radio { grid-template-columns: 1fr; }
	.benefits { grid-template-columns: 1fr; }
	body.has-cart .cartbar { display: flex; }
	body.has-cart { padding-bottom: 80px; }
	body.has-cart .toast { bottom: 96px; }
	body.is-checkout .cartbar { display: none; }
	body.is-checkout { padding-bottom: 0; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	body { font-size: 15px; }
	.hero { padding: 28px 0 40px; }
	.hero__text { gap: 16px; }
	.hero__collage { grid-template-rows: 150px 110px; gap: 8px; }
	.hero__label { left: 8px; right: 8px; bottom: 8px; padding: 8px 10px; flex-direction: column; align-items: flex-start; gap: 0; font-size: 12px; }
	.hero__label b { font-size: 14px; }
	.btn-row .btn { flex: 1 1 100%; }
	.facts { margin-top: 32px; }
	.facts b { font-size: 20px; }
	.section { padding: 48px 0; }
	.section--tight { padding: 32px 0 48px; }
	.card--pad, .co-card, .co-summary { padding: 20px; }
	.pcard__body { padding: 12px; gap: 6px; }
	.pcard__title { font-size: 15px; }
	.pcard__spec, .pcard__cat { display: none; }
	.pcard__price { font-size: 16px; }
	.pcard__foot { flex-direction: column; align-items: stretch; gap: 8px; }
	.pcard__foot .btn { width: 100%; }
	.f-row--2, .f-row--submit { grid-template-columns: 1fr; }
	.steps, .cols4 { grid-template-columns: 1fr; }
	.prod-photos { gap: 8px; }
	.price { font-size: 32px; }
	.buybox { padding: 18px; }
	.qty { height: 52px; }
	.product__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
	.tabs { gap: 20px; }
	.calc-estimate__value { font-size: 24px; }
}

@media print {
	.topbar, .header, .footer, .cartbar, .toast, .drawer, .im-form, #calc, #zakaz { display: none !important; }
	body { background: #fff; }
}

.f-row--3 > .f-field, .f-row--2 > .f-field { justify-content: flex-end; }

/* ==========================================================================
   Страницы: Контакты, О нас, Доставка и оплата
   ========================================================================== */

.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: var(--white); font-weight: 600; }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--bg); color: var(--ink); }

/* Общие: полоса призыва, списки с галочками */
.cta-band { background: var(--navy); color: var(--white); background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 32px 32px; }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta-band p { color: var(--on-navy); margin-top: 8px; }
.ticks, .crosses { list-style: none; display: grid; gap: 10px; }
.ticks li, .crosses li { position: relative; padding-left: 28px; line-height: 1.5; color: var(--ink-2); }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: 0; width: 20px; text-align: center; font-weight: 800; }
.ticks li::before { content: "✓"; color: var(--ok); }
.crosses li::before { content: "×"; color: var(--err); font-size: 18px; line-height: 1.3; }
.dp-note { margin-top: 28px; max-width: 820px; font-size: 14px; line-height: 1.6; color: var(--steel); }
.dp-note a { text-decoration: underline; text-underline-offset: 3px; }
.chips--nav .chip { min-height: 40px; }

/* Контакты */
.ccards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
a.ccard:hover { border-color: var(--blue); box-shadow: 0 8px 24px -14px rgba(43, 92, 230, .5); color: var(--ink); }
.ccard__label { font-size: 11px; text-transform: uppercase; color: var(--steel); }
.ccard__value { font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: anywhere; }
.ccard__value--sm { font-size: 18px; letter-spacing: -0.01em; }
.ccard__note { font-size: 14px; color: var(--steel); }
.ccard--accent { background: var(--blue); border-color: var(--blue); color: var(--white); }
.ccard--accent .ccard__label, .ccard--accent .ccard__note { color: rgba(255, 255, 255, .78); }
a.ccard--accent:hover { background: var(--blue-h); border-color: var(--blue-h); color: var(--white); }

.contacts { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; margin-top: 32px; align-items: start; }
.contacts__map { position: relative; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; background: var(--ph); border: 1px solid var(--line); }
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contacts__route { position: absolute; left: 16px; bottom: 16px; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .35); }
.contacts__side { display: flex; flex-direction: column; gap: 16px; }
.contacts__block { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.contacts__block p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.contacts__block a:not(.btn):not(.chip) { text-decoration: underline; text-underline-offset: 3px; }
.contacts__req { font-family: var(--mono); font-size: 13px !important; letter-spacing: .02em; }
.contacts__text { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; font-size: 15px; }

/* О нас */
.about-hero { padding: 0 0 72px; }
.about-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 32px; }
.about-hero__text { display: flex; flex-direction: column; gap: 20px; }
.about-hero__title { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.035em; }
.about-hero__photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--ph); }
.about-hero__photo img, .about-hero__photo .ph { width: 100%; height: 100%; object-fit: cover; }
.about-story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: start; }
.about-story__head { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 24px; }
.about-story .prose { font-size: 17px; }
.section .eyebrow + .h2 { margin-top: 10px; }
.about-photos { margin-top: 40px; }
.about-photos figure { position: relative; aspect-ratio: 4 / 3; }
.about-photos figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 4px; background: rgba(21, 25, 29, .78); color: var(--white); font-size: 11px; text-transform: uppercase; }
.dirs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.dir { display: flex; flex-direction: column; gap: 10px; padding: 24px; min-height: 240px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.dir:hover { border-color: var(--line-2); box-shadow: 0 8px 24px -12px rgba(21, 25, 29, .25); color: var(--ink); }
.dir__num { font-size: 12px; color: var(--blue); }
.dir__title { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.dir__text { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.dir__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--blue); }
.dir--dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.dir--dark:hover { color: var(--white); border-color: var(--navy); }
.dir--dark .dir__num, .dir--dark .dir__more { color: var(--blue-bright); }
.dir--dark .dir__text { color: var(--on-navy); }

/* Доставка и оплата */
.dcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.dcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.dcard__num { font-size: 12px; color: var(--blue); }
.dcard__title { font-size: 19px; letter-spacing: -0.01em; }
.dcard p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.paygrid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; margin-top: 32px; }
.paycard { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.paycard--main { border: 2px solid var(--blue); }
.paycard__title { font-size: 22px; letter-spacing: -0.02em; }
.paycard p { color: var(--ink-2); line-height: 1.55; }
.paycard a:not(.link-arrow) { text-decoration: underline; text-underline-offset: 3px; }
.doclist { list-style: none; border-top: 2px solid var(--ink); }
.doclist li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.doclist span { color: var(--steel); }
.return { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.return__col { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 16px; }
.return__col h3 { font-size: 19px; }
.return__col--no { background: var(--bg); }

@media (max-width: 1100px) {
	.dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contacts { grid-template-columns: 1fr; }
	.about-hero__in, .about-story { grid-template-columns: 1fr; gap: 28px; }
	.about-story__head { position: static; }
}
@media (max-width: 900px) {
	.ccards { grid-template-columns: 1fr; }
	.paygrid, .return { grid-template-columns: 1fr; }
	.contacts__map { min-height: 340px; }
}
@media (max-width: 640px) {
	.about-hero { padding-bottom: 48px; }
	.dirs { grid-template-columns: 1fr; }
	.dir { min-height: 0; }
	.doclist li { grid-template-columns: 1fr; gap: 4px; }
	.cta-band__in { padding-top: 40px; padding-bottom: 40px; }
	.cta-band .btn-row .btn { flex: 1 1 100%; }
	.ccard, .paycard, .return__col, .dcard { padding: 20px; }
}
