*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1E73BE;
  --primary-l: #6CB7E8;
  --primary-d: #155E99;
  --accent: #E07A4F;
  --accent-h: #C96A42;
  --bg: #FAFBFC;
  --bg-alt: #F0F4F8;
  --bg-card: #FFFFFF;
  --text: #293241;
  --text-s: #546378;
  --text-m: #8696A7;
  --border: #DAE2EA;
  --border-l: #EBF0F4;
  --trust-bg: #EAF6FD;
  --trust-b: #B9DDF4;
  --success: #2D7A4F;
  --radius: 8px;
  --radius-l: 12px;
  --font-h: 'PT Serif', Georgia, serif;
  --font-b: 'Source Sans 3', system-ui, sans-serif;
  --font-m: 'JetBrains Mono', monospace;
  --max-w: 1140px;
}

body { font-family: var(--font-b); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }

.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 2000; padding: .65rem 1rem; border-radius: var(--radius); background: var(--primary-d); color: #fff; font-weight: 700; text-decoration: none; transform: translateY(-180%); transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); }

/* Links */
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-d); }

/* ─── HEADER ─── */
.site-header { background: #fff; color: var(--text); border-bottom: 1px solid var(--border-l); box-shadow: 0 1px 8px rgba(41,50,65,.06); }
.header-top { max-width: var(--max-w); margin: 0 auto; padding: .5rem 1.5rem; display: flex; align-items: center; justify-content: flex-start; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; padding: 0; background: transparent; border-radius: 0; box-shadow: none; text-decoration: none; }
.logo__image { display: block; width: 146px; height: auto; }
.header-top nav { display: flex; align-items: center; margin-left: auto; }
.site-header nav a { color: var(--primary-d); text-decoration: none; font-size: .875rem; font-weight: 600; margin-left: 1.75rem; transition: color .15s; }
.site-header nav a:first-child { margin-left: 0; }
.site-header nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone { font-size: .9375rem; font-weight: 700; white-space: nowrap; letter-spacing: .02em; color: var(--primary-d); text-decoration: none; }
.header-sub { background: var(--primary); }
.header-sub-inner { max-width: var(--max-w); margin: 0 auto; padding: .4rem 1.5rem; display: flex; justify-content: flex-start; font-size: .75rem; color: rgba(255,255,255,.78); letter-spacing: .02em; text-align: left; }

/* Burger (mobile) */
.burger { display: none; background: none; border: none; cursor: pointer; padding: .25rem; }
.burger span { display: block; width: 22px; height: 2px; background: var(--primary-d); margin: 4px 0; transition: all .2s; }

/* ─── TRUST BAR ─── */
.trust-bar { background: var(--trust-bg); border-bottom: 1px solid var(--trust-b); }
.trust-bar-inner { max-width: var(--max-w); margin: 0 auto; padding: .875rem 1.5rem; display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--primary); font-weight: 500; }
.trust-icon { width: 28px; height: 28px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-icon svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── SECTION ─── */
.section { padding: 3.5rem 1.5rem; }
.section-alt { background: var(--bg-alt); }
.container { max-width: var(--max-w); margin: 0 auto; }
.container-narrow { max-width: 720px; }
.section-title { font-family: var(--font-h); font-size: 1.625rem; font-weight: 700; color: var(--primary-d); margin-bottom: .375rem; }
.section-subtitle { color: var(--text-s); font-size: .9375rem; margin-bottom: 2rem; }

/* ─── HERO ─── */
.hero { position: relative; padding: 4.5rem 1.5rem 4rem; text-align: center; overflow: hidden; }
.hero-content { position: relative; z-index: 2; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0.1; }
.hero-icon { position: absolute; max-width: 120px; will-change: transform; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s; }
.hero-icon img { width: 100%; height: auto; opacity: 0.8; }
.hi-1 { top: 10%; left: 10%; width: 60px; }
.hi-2 { top: 50%; left: 5%; width: 80px; }
.hi-3 { top: 15%; right: 15%; width: 70px; }
.hi-4 { top: 55%; right: 8%; width: 90px; }
.hi-5 { bottom: -5%; left: 30%; width: 100px; }
.hi-6 { bottom: 10%; right: 35%; width: 70px; }
.hi-7 { top: 30%; left: 25%; width: 50px; opacity: 0.5; }
.hi-8 { top: 75%; left: 15%; width: 85px; }
.hi-9 { top: 25%; right: 30%; width: 65px; opacity: 0.6; }
.hi-10 { bottom: 15%; right: 15%; width: 75px; }
.hi-11 { top: 5%; left: 45%; width: 60px; }
.hi-12 { bottom: -10%; left: 55%; width: 90px; }

.hero h1 { font-family: var(--font-h); font-size: 2.25rem; font-weight: 700; color: var(--primary-d); line-height: 1.2; max-width: 680px; margin: 0 auto .75rem; }
.hero p { font-size: 1.125rem; color: var(--text-s); max-width: 560px; margin: 0 auto 2rem; line-height: 1.6; }
.hero-cta { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent); color: #fff; font-weight: 600; padding: .875rem 2rem; border-radius: var(--radius); text-decoration: none; font-size: 1rem; transition: background .2s; }
.hero-cta:hover { background: var(--accent-h); }

/* ─── CATEGORIES GRID ─── */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; }
.cat-card { display: block; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 1rem 0.5rem; text-align: center; cursor: pointer; transition: transform .2s, box-shadow .2s; text-decoration: none; color: inherit; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); color: inherit; }
.cat-card-icon { width: 96px; height: 96px; margin: 0 auto 0.625rem; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-card-icon svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cat-card-icon img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cat-card-icon--curated { border-radius: 0.75rem; background: var(--bg-alt); }
.cat-card-icon--curated img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.cat-card h3 { font-family: var(--font-h); font-size: .9375rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.cat-card .cat-count { font-size: .75rem; color: var(--text-m); }

/* ─── CATEGORIES WITH SUBMENU ─── */
.cat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.cat-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-l); overflow: hidden; position: relative; transition: box-shadow .2s; }
.cat-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.cat-list .cat-card { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.25rem 1rem; text-align: left; background: transparent; border: none; border-radius: 0; text-decoration: none; color: inherit; }
.cat-list .cat-card-icon { width: 56px; height: 56px; margin: 0; background: var(--trust-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.cat-list .cat-card-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cat-list .cat-card-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cat-list .cat-card-info { flex: 1; }
.cat-list .cat-card-info h3 { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--primary-d); margin-bottom: .25rem; transition: color .2s; }
.cat-list .cat-card:hover .cat-card-info h3 { color: var(--primary); }
.cat-list .cat-card .cat-count { font-size: .8125rem; color: var(--text-m); }

.cat-submenu { padding: 0 1.25rem 1.5rem; background: transparent; }
.cat-submenu-inner { display: flex; flex-direction: column; gap: .5rem; }
.cat-subitem { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; font-size: .875rem; transition: color .15s; }
.cat-subitem svg { stroke: var(--primary-l); flex-shrink: 0; }
.cat-subitem:hover { color: var(--primary); }
.cat-subitem-more { color: var(--primary-l); font-weight: 500; margin-top: .25rem; font-size: .8125rem; }
.cat-subitem-more:hover { color: var(--primary); }

/* Desktop */
@media (min-width: 769px) {
  .cat-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); }
}

/* Mobile */
@media (max-width: 768px) {
  .cat-list { grid-template-columns: 1fr; gap: 1rem; }
}

/* ─── FEATURES ─── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feat-card { padding: 1.5rem; }
.feat-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; color: var(--text); }
.feat-card p { font-size: .875rem; color: var(--text-s); line-height: 1.65; }
.feat-num { font-family: var(--font-h); font-size: 2rem; font-weight: 700; color: var(--primary-l); margin-bottom: .5rem; opacity: .6; }

/* ─── BREADCRUMBS ─── */
.breadcrumbs { width: 100%; margin: 0; color: var(--text-m); font-size: .8125rem; line-height: 1.35; }
.breadcrumbs__inner { max-width: var(--max-w); margin: 0 auto; padding: .75rem 1.5rem; }
.container > .breadcrumbs .breadcrumbs__inner,
.container-narrow > .breadcrumbs .breadcrumbs__inner { max-width: none; padding-right: 0; padding-left: 0; }
.breadcrumbs a { margin-left: 0; color: var(--primary-l); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary-d); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 0; min-width: 0; padding: 0; margin: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li:not(:last-child)::after { content: '\2192'; flex: 0 0 auto; margin: 0 .45rem; color: var(--text-m); }
.breadcrumbs li:last-child { color: var(--text-m); }
.breadcrumbs span { min-width: 0; overflow-wrap: anywhere; }

/* ─── CATEGORY PAGE ─── */
.cat-header { padding: 2rem 1.5rem 1rem; }
.cat-header-inner { max-width: var(--max-w); margin: 0 auto; }
.cat-header h1 { font-family: var(--font-h); font-size: 1.875rem; font-weight: 700; color: var(--primary-d); margin-bottom: .25rem; }
.cat-header .cat-desc { color: var(--text-s); font-size: .9375rem; max-width: 640px; }

.subcats { display: flex; gap: .625rem; flex-wrap: wrap; margin-bottom: 2rem; }
.subcat-pill { padding: .375rem .875rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px; font-size: .8125rem; color: var(--text-s); cursor: pointer; transition: all .15s; text-decoration: none; }
.subcat-pill:hover, .subcat-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.product-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-l); overflow: hidden; }
.product-row { display: grid; grid-template-columns: 64px 1fr 160px 160px; align-items: center; gap: 1.25rem; padding: .875rem 1.25rem; background: var(--bg-card); cursor: pointer; transition: background .1s; text-decoration: none; color: inherit; }
.product-row:nth-child(even):not(.header) { background: var(--bg-alt); }
.product-row:hover { background: var(--trust-bg); }
.product-row.header { background: var(--primary); color: #fff; font-weight: 600; font-size: .8125rem; cursor: default; letter-spacing: .02em; }
.product-row.header:hover { background: var(--primary); }
.product-thumb { width: 64px; height: 64px; background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-thumb img.thumb-placeholder { width: 60%; height: 60%; object-fit: contain; opacity: .6; }
.product-thumb svg { width: 32px; height: 32px; stroke: var(--text-m); fill: none; stroke-width: 1.5; }
.product-name { font-weight: 600; font-size: .9375rem; color: var(--text); }
.product-name small { display: block; font-weight: 400; font-size: .8125rem; color: var(--text-m); margin-top: .125rem; }
.product-gost { font-family: var(--font-m); font-size: .75rem; color: var(--text-s); }
.product-sku { font-family: var(--font-m); font-size: .8125rem; color: var(--text); }
.product-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .625rem; background: #E6F4EC; color: var(--success); font-size: .75rem; font-weight: 600; border-radius: 999px; }

.catalog-map { margin: 2rem 0 2.25rem; }
.catalog-map__head { margin-bottom: 1rem; }
.catalog-map__head h2 { font-family: var(--font-h); font-size: 1.375rem; font-weight: 700; color: var(--primary-d); line-height: 1.25; }
.catalog-map__head p { max-width: 560px; margin-top: .25rem; color: var(--text-s); font-size: .9375rem; line-height: 1.45; }
.catalog-map__tools { display: grid; grid-template-columns: minmax(280px, 520px) 1fr; align-items: end; gap: .75rem 1rem; margin-bottom: 1rem; }
.catalog-map__search { display: grid; gap: .35rem; color: var(--text-s); font-size: .8125rem; font-weight: 600; }
.catalog-map__search input { width: 100%; min-height: 44px; padding: .7rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--text); font: inherit; font-size: .9375rem; font-weight: 400; outline: none; transition: border-color .15s, box-shadow .15s; }
.catalog-map__search input::placeholder { color: var(--text-m); }
.catalog-map__search input:focus { border-color: var(--primary-l); box-shadow: 0 0 0 3px rgba(30, 115, 190, .12); }
.catalog-map__status { min-height: 1.35rem; margin: 0 0 .7rem; color: var(--text-s); font-size: .8125rem; }
.catalog-map__grid { display: flex; flex-direction: column; gap: .625rem; }
.catalog-map__group { --catalog-accent: var(--primary); position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fbfdff 100%); border: 1px solid var(--border); border-left: 4px solid var(--catalog-accent); border-radius: var(--radius); box-shadow: 0 4px 14px rgba(41, 50, 65, .045); }
.catalog-map__group:nth-child(2) { --catalog-accent: var(--accent); }
.catalog-map__group:nth-child(3) { --catalog-accent: var(--success); }
.catalog-map__group:nth-child(4) { --catalog-accent: #6A8CA8; }
.catalog-map__group:nth-child(5) { --catalog-accent: var(--primary-l); }
.catalog-map__group-summary,
.catalog-map__group--direct { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 62px; padding: .8rem 3.25rem .8rem 1rem; background: linear-gradient(90deg, rgba(30, 115, 190, .08), rgba(255, 255, 255, .75)); cursor: pointer; list-style: none; }
.catalog-map__group-summary::-webkit-details-marker { display: none; }
.catalog-map__group-summary::after { content: ''; position: absolute; top: 1.25rem; right: 1.1rem; width: .65rem; height: .65rem; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform .18s ease; }
.catalog-map__group[open] > .catalog-map__group-summary::after { transform: translateY(.25rem) rotate(225deg); }
.catalog-map__group-summary:hover .catalog-map__group-title,
.catalog-map__group--direct:hover .catalog-map__group-title { color: var(--primary); }
.catalog-map__group--direct::after { content: '→'; position: absolute; right: 1.1rem; color: var(--primary); font-size: 1.15rem; font-weight: 700; }
.catalog-map__group-title { color: var(--primary-d); font-family: var(--font-h); font-size: 1.125rem; font-weight: 700; line-height: 1.25; transition: color .15s; }
.catalog-map__group-meta { display: flex; align-items: center; justify-content: flex-end; gap: .4rem; margin-left: auto; }
.catalog-map__group-meta small,
.catalog-map__link small { flex-shrink: 0; font-family: var(--font-b); font-size: .72rem; font-weight: 600; color: var(--text-m); white-space: nowrap; }
.catalog-map__group-meta small { padding: .18rem .55rem; background: #fff; border: 1px solid var(--border-l); border-radius: 999px; color: var(--text-s); }
.catalog-map__group-body { padding: .875rem 1rem 1rem; border-top: 1px solid var(--border-l); }
.catalog-map__group-link,
.catalog-map__subgroup-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--primary); font-size: .8125rem; font-weight: 600; }
.catalog-map__group-link::after,
.catalog-map__subgroup-link::after { content: '→'; }
.catalog-map__links { margin-top: .75rem; }
.catalog-map__links--level-0 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .625rem .75rem; }
.catalog-map__links--level-1 { display: grid; gap: .35rem; margin: .65rem 0 0; }
.catalog-map__item { min-width: 0; }
.catalog-map__item--level-0 > .catalog-map__link,
.catalog-map__subgroup > .catalog-map__link { min-height: 2.75rem; padding: .5rem .65rem; background: #fff; border: 1px solid var(--border-l); border-radius: 6px; box-shadow: 0 1px 0 rgba(41, 50, 65, .03); }
.catalog-map__item--level-0 > .catalog-map__link::before,
.catalog-map__subgroup > .catalog-map__link::before { content: ''; flex: 0 0 4px; align-self: stretch; min-height: 1.2rem; background: var(--catalog-accent); border-radius: 999px; opacity: .72; }
.catalog-map__item--level-0 > .catalog-map__link small,
.catalog-map__subgroup > .catalog-map__link small { padding: .12rem .45rem; background: var(--bg-alt); border-radius: 999px; color: var(--text-s); }
.catalog-map__link { display: flex; align-items: center; justify-content: space-between; gap: .625rem; color: var(--text); font-size: .875rem; line-height: 1.25; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.catalog-map__link span { min-width: 0; overflow-wrap: anywhere; }
.catalog-map__link:hover { color: var(--primary); }
.catalog-map__item--level-0 > .catalog-map__link:hover,
.catalog-map__subgroup > .catalog-map__link:hover { background: var(--trust-bg); border-color: var(--trust-b); box-shadow: 0 3px 10px rgba(30, 115, 190, .08); }
.catalog-map__subgroup > summary { cursor: pointer; list-style: none; }
.catalog-map__subgroup > summary::-webkit-details-marker { display: none; }
.catalog-map__subgroup > summary > span:first-child::after { content: '›'; display: inline-block; margin-left: .35rem; color: var(--primary); font-size: 1.05rem; font-weight: 700; transition: transform .15s; }
.catalog-map__subgroup[open] > summary > span:first-child::after { transform: rotate(90deg); }
.catalog-map__item-meta { display: flex; align-items: center; justify-content: flex-end; gap: .3rem; margin-left: auto; }
.catalog-map__subgroup-count { border: 1px solid var(--border-l); }
.catalog-map__subgroup-body { margin: .5rem 0 .15rem .75rem; padding: .55rem .65rem .65rem; border-left: 2px solid var(--trust-b); background: rgba(234, 244, 251, .35); border-radius: 0 6px 6px 0; }
.catalog-map__item--level-1 .catalog-map__link { gap: .4rem; min-height: 2rem; padding: .25rem .4rem; border-radius: 5px; color: var(--text-s); font-size: .8125rem; }
.catalog-map__item--level-1 .catalog-map__link:hover { background: #fff; color: var(--primary-d); }
.catalog-map__item--level-1 .catalog-map__link small { font-size: .6875rem; font-weight: 500; color: var(--text-m); }
.catalog-map__empty { margin: 1rem 0 0; padding: 1rem; border: 1px dashed var(--border); border-radius: var(--radius); background: var(--bg-alt); color: var(--text-s); text-align: center; }

.catalog-products-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 1.75rem 0 .75rem; }
.catalog-products-head h2 { font-family: var(--font-h); font-size: 1.375rem; font-weight: 700; color: var(--primary-d); line-height: 1.25; }
.catalog-products-head p,
.catalog-products-head__page { color: var(--text-s); font-size: .875rem; }
.catalog-products-head__page { white-space: nowrap; }
.catalog-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.catalog-pagination__pages { display: flex; align-items: center; justify-content: center; gap: .375rem; flex-wrap: wrap; }
.catalog-pagination__page,
.catalog-pagination__control { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; min-height: 2.25rem; padding: .375rem .75rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: .875rem; font-weight: 600; text-decoration: none; }
.catalog-pagination__control { min-width: 5rem; color: var(--primary); }
.catalog-pagination__page:hover,
.catalog-pagination__control:hover { border-color: var(--primary-l); color: var(--primary-d); }
.catalog-pagination__page.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.catalog-pagination__control.is-disabled { color: var(--text-m); opacity: .55; pointer-events: none; }

/* ─── PRODUCT PAGE ─── */
.product-page { padding: 1.5rem; }
.product-page-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-image { background: #fff; border-radius: var(--radius-l); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-l); }
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-l); }
.product-image svg { width: 120px; height: 120px; stroke: var(--text-m); fill: none; stroke-width: 1; opacity: .4; }
.product-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1rem; text-align: center; }
.placeholder-icon { width: 40%; height: 40%; stroke: var(--text-m); fill: none; stroke-width: 1.5; opacity: .5; }
.product-placeholder__notice { max-width: 18rem; margin: 0; color: var(--text-s); font-size: .875rem; line-height: 1.4; }
.product-info h1 { font-family: var(--font-h); font-size: 1.75rem; font-weight: 700; color: var(--primary-d); margin-bottom: .5rem; }
.product-article { font-family: var(--font-m); font-size: .8125rem; color: var(--text-m); margin-bottom: 1.5rem; }
.product-description { color: var(--text-s); font-size: .9375rem; line-height: 1.65; margin-bottom: 1.5rem; }
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.specs-table tr { border-bottom: 1px solid var(--border-l); }
.specs-table td { padding: .625rem 0; font-size: .9375rem; }
.specs-table td:first-child { color: var(--text-s); width: 45%; }
.specs-table td:last-child { font-weight: 500; }
.product-gost, .product-tu { font-family: var(--font-m); font-size: .875rem; }
.product-article, .product-range, .tech-data { font-family: var(--font-m); }
.poverka-badge { display: inline-flex; align-items: center; gap: .375rem; background: #E6F4EC; color: var(--success); font-size: .8125rem; font-weight: 600; padding: .375rem .75rem; border-radius: 999px; margin-bottom: 1.5rem; }
.poverka-badge svg { width: 14px; height: 14px; }
.btn-cta { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent); color: #fff; font-family: var(--font-b); font-weight: 600; padding: 1rem 2.25rem; border: none; border-radius: var(--radius); font-size: 1.0625rem; cursor: pointer; transition: background .2s; text-decoration: none; }
.btn-cta:hover { background: var(--accent-h); }
.btn-cta-note { font-size: .8125rem; color: var(--text-m); margin-top: .625rem; }
.product-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.btn-secondary.added { background: var(--trust-bg); border-color: var(--trust-b); color: var(--success); pointer-events: none; }

/* Secondary button */
.btn-secondary { display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: var(--primary); font-family: var(--font-b); font-weight: 600; padding: .75rem 1.5rem; border: 1px solid var(--primary); border-radius: var(--radius); font-size: .9375rem; cursor: pointer; transition: all .2s; text-decoration: none; }
.btn-secondary:hover { background: var(--primary); color: #fff; }

/* Naznachenie / purpose */
.product-purpose { margin-bottom: 1.5rem; }
.product-purpose h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.product-purpose ul { list-style: none; padding: 0; }
.product-purpose li { font-size: .9375rem; color: var(--text-s); padding: .25rem 0; padding-left: 1rem; position: relative; }
.product-purpose li::before { content: '\2014'; position: absolute; left: 0; color: var(--text-m); }

/* Used in standards */
.used-standards { margin-bottom: 1.5rem; }
.used-standards h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.used-standards a { display: inline-block; margin-right: .75rem; margin-bottom: .375rem; font-family: var(--font-m); font-size: .8125rem; color: var(--primary); }

/* ─── VARIANTS TABLE ─── */
.variants-section { max-width: var(--max-w); margin: 2rem auto 0; padding: 0 1.5rem; }
.variants-section h2 { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--primary-d); margin-bottom: 1rem; }
.variants-wrapper { max-width: 100%; border-radius: var(--radius-l); overflow-x: auto; overflow-y: hidden; border: 1px solid var(--border); -webkit-overflow-scrolling: touch; }
.variants-table { width: max-content; min-width: 100%; border-collapse: collapse; }
.variants-table th { background: var(--primary); color: #fff; font-weight: 600; font-size: .8125rem; padding: .625rem 1rem; text-align: left; }
.variants-table td { padding: .625rem 1rem; font-size: .875rem; border-bottom: 1px solid var(--border-l); }
.variants-table tr:nth-child(even) { background: var(--bg-alt); }
.variants-table .mono { font-family: var(--font-m); font-size: .8125rem; }

/* Markdown-rendered tables: единое оформление в карточках товаров,
   блоге, глоссарии, ГОСТ-страницах, категориях каталога и прочих разделах */
.variants-section > table,
.article-content table,
.term-content table,
.gost-content table,
.page-content table,
.seo-text table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  margin: 1.25rem 0;
}
.variants-section table th,
.article-content table th,
.term-content table th,
.gost-content table th,
.page-content table th,
.seo-text table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: .8125rem;
  padding: .625rem 1rem;
  text-align: left;
}
.variants-section table td,
.article-content table td,
.term-content table td,
.gost-content table td,
.page-content table td,
.seo-text table td {
  padding: .625rem 1rem;
  font-size: .875rem;
  border-bottom: 1px solid var(--border-l);
}
.variants-section table tr:nth-child(even),
.article-content table tr:nth-child(even),
.term-content table tr:nth-child(even),
.gost-content table tr:nth-child(even),
.page-content table tr:nth-child(even),
.seo-text table tr:nth-child(even) { background: var(--bg-alt); }
.variants-section table thead + tbody tr:first-child td,
.variants-section table tr:first-child td,
.article-content table tr:first-child td,
.term-content table tr:first-child td,
.gost-content table tr:first-child td,
.page-content table tr:first-child td,
.seo-text table tr:first-child td { border-top: none; }

/* Горизонтальный скролл для узких viewport'ов — таблицы иногда шире экрана */
@media (max-width: 640px) {
  .article-content,
  .term-content,
  .gost-content,
  .page-content,
  .seo-text,
  .variants-section { overflow-x: auto; }

  .variants-section > table,
  .article-content table,
  .term-content table,
  .gost-content table,
  .page-content table,
  .seo-text table {
    width: max-content;
    min-width: 100%;
  }
}

/* ─── RELATED ─── */
.related-section { max-width: var(--max-w); margin: 3rem auto 0; padding: 0 1.5rem 3rem; }
.related-section h2 { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--primary-d); margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.related-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 1rem; text-align: center; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.related-card-img { height: 64px; display: flex; align-items: center; justify-content: center; margin-bottom: .625rem; }
.related-card-img img { max-width: 64px; max-height: 64px; object-fit: contain; }
.related-card-img svg { width: 36px; height: 36px; stroke: var(--text-m); fill: none; stroke-width: 1.5; }
.related-card h4 { font-size: .875rem; font-weight: 600; color: var(--text); margin-bottom: .125rem; }
.related-card p { font-size: .75rem; color: var(--text-m); }

/* ─── FAQ ─── */
.faq-section { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1.5rem 3rem; }
.faq-section h2 { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--primary-d); margin-bottom: 1.25rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-q { font-weight: 600; font-size: .9375rem; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 1.25rem; color: var(--text-m); transition: transform .2s; }
.faq-q.open::after { transform: rotate(45deg); }
.faq-a { font-size: .875rem; color: var(--text-s); line-height: 1.65; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; }
.faq-a.open { max-height: 200px; padding-top: .75rem; }

/* ─── ORDER FORM ─── */
.order-form-section { padding: 2rem 2rem; }
.modal .order-form-section { padding: 2rem 2rem; max-width: none; }
.order-form-section h2 { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--primary-d); margin-bottom: 1.25rem; }
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 1000; }
.modal[hidden] { display: none; }
.modal.active { opacity: 1; pointer-events: auto; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); z-index: 999; cursor: pointer; }
.modal-content { position: relative; z-index: 1001; background: var(--bg-card); border-radius: var(--radius-l); box-shadow: 0 20px 60px rgba(0,0,0,.3); max-width: 600px; width: 90%; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 2rem; color: var(--text-m); cursor: pointer; padding: 0; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; z-index: 1002; }
.modal-close:hover { color: var(--text); }
.modal-email-option { max-width: 480px; display: flex; align-items: center; justify-content: flex-start; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border-l); }
.modal-email-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .625rem 1rem; border: 1px solid var(--primary-l); border-radius: var(--radius); background: var(--trust-bg); color: var(--primary-d); font-size: .875rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; flex-shrink: 0; }
.modal-email-link:hover { background: #DDF0FC; color: var(--primary-d); }
.order-form-unavailable { max-width: 480px; margin-top: 1.25rem; padding: 1rem 1.125rem; border: 1px solid var(--trust-b); border-radius: var(--radius); background: var(--trust-bg); color: var(--text); }
.order-form-unavailable p { margin: 0; }
.order-form-unavailable p + p { margin-top: .5rem; }
html.modal-open { overflow: hidden; }
.order-form { max-width: 480px; }
.form-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.order-product { max-width: 480px; margin: -.35rem 0 1.25rem; padding: .875rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); }
.order-product span,
.order-product strong,
.order-product small { display: block; }
.order-product span { margin-bottom: .25rem; color: var(--text-s); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.order-product strong { color: var(--text); font-size: .9375rem; line-height: 1.35; }
.order-product small { margin-top: .25rem; color: var(--text-m); font-size: .8125rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; color: var(--text); margin-bottom: .375rem; }
.form-group input,
.form-group textarea { width: 100%; padding: .625rem .75rem; font-family: var(--font-b); font-size: .9375rem; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s; }
.form-group textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .625rem; align-items: start; margin: .25rem 0 1rem; color: var(--text-s); font-size: .8125rem; line-height: 1.45; }
.form-consent input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--accent); }
.form-consent a { color: var(--primary); font-weight: 700; }
.form-privacy-note { margin: -.4rem 0 1rem; color: var(--text-m); font-size: .8125rem; line-height: 1.45; }
.form-privacy-note a { color: var(--primary); font-weight: 700; }
.analytics-pixel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.analytics-frame { display: none; visibility: hidden; }
.required { color: var(--accent); }
.form-disclaimer { font-size: .8125rem; color: var(--text-m); margin-top: .75rem; line-height: 1.5; }

/* ─── BLOG ─── */
.blog-article { padding: 2rem 1.5rem 3rem; }
.article-meta { margin-bottom: 2rem; }
.article-tags { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.tag { display: inline-block; padding: .2rem .625rem; background: var(--bg-alt); border-radius: 999px; font-size: .75rem; color: var(--text-s); }
.article-content { line-height: 1.7; }
.article-content h2 { font-family: var(--font-h); font-size: 1.375rem; font-weight: 700; color: var(--primary-d); margin: 2rem 0 .75rem; }
.article-content h3 { font-size: 1.0625rem; font-weight: 600; color: var(--text); margin: 1.5rem 0 .5rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.article-disclaimer,
.catalog-disclaimer { margin-top: 2rem; padding: .875rem 1rem; border: 1px solid var(--trust-b); border-radius: var(--radius); background: var(--trust-bg); color: var(--text-s); font-size: .875rem; line-height: 1.5; }
.blog-list { display: flex; flex-direction: column; gap: 1.5rem; }
.blog-card { padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.blog-card h2 { font-family: var(--font-h); font-size: 1.125rem; font-weight: 700; margin-bottom: .25rem; }
.blog-card h2 a { color: var(--text); }
.blog-card h2 a:hover { color: var(--primary); }
.blog-page { background: #f7fafc; }
.blog-hero { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 2rem; align-items: end; margin-bottom: 1.25rem; }
.blog-eyebrow { margin: 0 0 .625rem; color: var(--accent); font-size: .8125rem; font-weight: 800; text-transform: uppercase; }
.blog-hero h1 { margin: 0 0 .625rem; color: var(--text); font-size: 2rem; font-weight: 850; line-height: 1.15; }
.blog-hero p { max-width: 760px; margin: 0; color: var(--text-s); font-size: 1rem; line-height: 1.55; }
.blog-hero__stats { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); text-align: center; }
.blog-hero__stats strong,
.blog-hero__stats span { display: block; }
.blog-hero__stats strong { color: var(--accent); font-family: var(--font-h); font-size: 2.25rem; line-height: 1; }
.blog-hero__stats span { margin-top: .35rem; color: var(--text-s); font-size: .8125rem; line-height: 1.25; }
.blog-tools { display: grid; grid-template-columns: minmax(280px, .48fr) minmax(0, 1fr); gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
.blog-search { display: block; min-width: 0; }
.blog-search span { display: block; margin-bottom: .35rem; color: var(--primary-d); font-size: .8125rem; font-weight: 800; }
.blog-search input { width: 100%; min-height: 2.75rem; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); color: var(--text); font: 600 .9375rem var(--font-b); outline: 0; }
.blog-search input:focus { border-color: var(--primary-l); box-shadow: 0 0 0 3px rgba(108,183,232,.18); }
.blog-topics { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.blog-topic { min-height: 2.25rem; padding: .4rem .75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--text-s); font: 700 .8125rem var(--font-b); cursor: pointer; }
.blog-topic:hover { border-color: var(--primary-l); color: var(--primary-d); }
.blog-topic.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.blog-featured { margin-bottom: 1.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); box-shadow: 0 14px 28px rgba(41,50,65,.06); }
.blog-featured[hidden],
.blog-card-v2[hidden] { display: none !important; }
.blog-featured__body { min-width: 0; }
.blog-label { display: inline-flex; margin-bottom: .75rem; padding: .25rem .55rem; border-radius: 999px; background: var(--trust-bg); color: var(--primary-d); font-size: .75rem; font-weight: 850; }
.blog-featured h2,
.blog-card-v2 h2,
.blog-results-head h2 { font-family: var(--font-h); color: var(--text); line-height: 1.25; }
.blog-featured h2 { margin: 0 0 .5rem; font-size: 1.5rem; }
.blog-featured h2 a,
.blog-card-v2 h2 a { color: inherit; }
.blog-featured h2 a:hover,
.blog-card-v2 h2 a:hover { color: var(--primary); }
.blog-featured p { margin: .75rem 0 0; color: var(--text-s); font-size: .9375rem; line-height: 1.55; }
.blog-meta { display: flex; flex-wrap: wrap; gap: .45rem .75rem; color: var(--text-m); font-size: .8125rem; font-weight: 650; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .875rem; }
.blog-card-tags span { display: inline-flex; max-width: 100%; padding: .2rem .5rem; border-radius: 999px; background: #eef4f7; color: var(--text-s); font-size: .75rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.blog-results-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .875rem; }
.blog-results-head h2 { margin: 0; font-size: 1.375rem; }
.blog-results-head span { color: var(--text-s); font-size: .875rem; font-weight: 700; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.blog-card-v2 { min-width: 0; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); transition: border-color .18s ease, box-shadow .18s ease; }
.blog-card-v2:hover { border-color: var(--primary-l); box-shadow: 0 12px 24px rgba(41,50,65,.06); }
.blog-card-v2__body { min-width: 0; }
.blog-card-v2 h2 { margin: .35rem 0 .5rem; font-size: 1.0625rem; }
.blog-card-v2 p { margin: 0; color: var(--text-s); font-size: .875rem; line-height: 1.5; }
.blog-empty { margin-top: 1rem; padding: 1.25rem; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--text-s); background: var(--bg-card); text-align: center; }

@media (max-width: 980px) {
  .blog-hero,
  .blog-tools,
  .blog-grid { grid-template-columns: 1fr; }
  .blog-topics { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .blog-page { padding-left: .875rem; padding-right: .875rem; }
  .blog-hero { gap: 1rem; }
  .blog-hero h1 { font-size: 1.6rem; }
  .blog-hero p { font-size: .9375rem; }
  .blog-hero__stats { text-align: left; }
  .blog-featured h2 { font-size: 1.25rem; }
  .blog-results-head { align-items: flex-start; flex-direction: column; gap: .25rem; }
}
.blog-placeholder { padding: 2rem 1.5rem; text-align: center; color: var(--text-s); background: var(--bg-card); border: 1px dashed var(--border); border-radius: var(--radius); }
.blog-placeholder p { font-size: .9375rem; margin: 0; }

/* ─── GLOSSARY ─── */
.glossary-page,
.glossary-term { background: #f7fafc; }
.glossary-hero { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 2rem; align-items: end; margin-bottom: 1.25rem; }
.glossary-eyebrow { margin: 0 0 .625rem; color: var(--text-s); font-size: .8125rem; font-weight: 850; text-transform: uppercase; }
.glossary-hero h1,
.glossary-term h1 { margin: 0 0 .625rem; color: var(--text); font-size: 2rem; font-weight: 850; line-height: 1.15; }
.glossary-hero p { max-width: 760px; margin: 0; color: var(--text-s); font-size: 1rem; line-height: 1.55; }
.glossary-hero__stats { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); text-align: center; }
.glossary-hero__stats strong,
.glossary-hero__stats span { display: block; }
.glossary-hero__stats strong { color: var(--accent); font-family: var(--font-h); font-size: 2.25rem; line-height: 1; }
.glossary-hero__stats span { margin-top: .35rem; color: var(--text-s); font-size: .8125rem; line-height: 1.25; }
.glossary-intro { max-width: 760px; margin-bottom: 1.25rem; color: var(--text-s); font-size: .9375rem; line-height: 1.65; }
.glossary-tools { display: grid; grid-template-columns: minmax(280px, .45fr) minmax(0, 1fr); gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
.glossary-search { display: block; min-width: 0; }
.glossary-search span { display: block; margin-bottom: .35rem; color: var(--primary-d); font-size: .8125rem; font-weight: 800; }
.glossary-search input { width: 100%; min-height: 2.75rem; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); color: var(--text); font: 600 .9375rem var(--font-b); outline: 0; }
.glossary-search input:focus { border-color: var(--primary-l); box-shadow: 0 0 0 3px rgba(108,183,232,.18); }
.glossary-letters { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: flex-end; }
.glossary-letter { min-width: 2.25rem; min-height: 2.25rem; padding: .35rem .65rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--text-s); font: 800 .8125rem var(--font-b); cursor: pointer; }
.glossary-letter:hover { border-color: var(--primary-l); color: var(--primary-d); }
.glossary-letter.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.glossary-results-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .875rem; }
.glossary-results-head h2 { margin: 0; color: var(--text); font-family: var(--font-h); font-size: 1.375rem; line-height: 1.25; }
.glossary-results-head span { color: var(--text-s); font-size: .875rem; font-weight: 700; }
.glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.glossary-card { min-width: 0; padding: 1.125rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); transition: border-color .18s ease, box-shadow .18s ease; }
.glossary-card[hidden] { display: none !important; }
.glossary-card:hover { border-color: var(--primary-l); box-shadow: 0 12px 24px rgba(41,50,65,.06); }
.glossary-card h2 { margin: 0 0 .5rem; font-family: var(--font-h); font-size: 1.0625rem; font-weight: 750; line-height: 1.25; }
.glossary-card h2 a { color: var(--text); }
.glossary-card h2 a:hover { color: var(--primary); }
.glossary-card p { margin: 0; color: var(--text-s); font-size: .875rem; line-height: 1.55; }
.glossary-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .875rem; }
.glossary-card__meta span { display: inline-flex; max-width: 100%; padding: .2rem .5rem; border-radius: 999px; background: #eef4f7; color: var(--text-s); font-size: .75rem; font-weight: 700; line-height: 1.2; }
.glossary-empty { margin-top: 1rem; padding: 1.25rem; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--text-s); background: var(--bg-card); text-align: center; }
.glossary-term { padding: 2rem 1.5rem 3rem; }
.term-definition { background: var(--trust-bg); border: 1px solid var(--trust-b); padding: 1.25rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: .9375rem; color: var(--text-s); line-height: 1.65; }
.term-definition p { margin: 0; }
.term-content { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); color: var(--text-s); font-size: .9375rem; line-height: 1.7; }
.term-content h2 { margin: 1.75rem 0 .75rem; color: var(--primary-d); font-family: var(--font-h); font-size: 1.25rem; line-height: 1.3; }
.term-content h2:first-child { margin-top: 0; }
.term-content h3 { margin: 1.25rem 0 .5rem; color: var(--text); font-size: 1.0625rem; }
.term-content p,
.term-content ul,
.term-content ol { margin-bottom: 1rem; }
.term-content ul,
.term-content ol { padding-left: 1.35rem; }

@media (max-width: 980px) {
  .glossary-hero,
  .glossary-tools,
  .glossary-grid { grid-template-columns: 1fr; }
  .glossary-letters { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .glossary-page { padding-left: .875rem; padding-right: .875rem; }
  .glossary-term { padding-left: .875rem; padding-right: .875rem; }
  .glossary-hero h1,
  .glossary-term h1 { font-size: 1.6rem; }
  .glossary-hero p { font-size: .9375rem; }
  .glossary-hero__stats { text-align: left; }
  .glossary-results-head { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .term-content { padding: 1.125rem; }
}

/* ─── GOST ─── */
.gost-directory,
.gost-page { background: #f7fafc; }
.gost-hero { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 2rem; align-items: end; margin-bottom: 1.25rem; }
.gost-eyebrow { margin: 0 0 .625rem; color: var(--text-s); font-size: .8125rem; font-weight: 850; text-transform: uppercase; }
.gost-hero h1 { margin: 0 0 .625rem; color: var(--text); font-size: 2rem; font-weight: 850; line-height: 1.15; }
.gost-hero p { max-width: 760px; margin: 0; color: var(--text-s); font-size: 1rem; line-height: 1.55; }
.gost-hero__stats { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); text-align: center; }
.gost-hero__stats strong,
.gost-hero__stats span { display: block; }
.gost-hero__stats strong { color: var(--accent); font-family: var(--font-h); font-size: 2.25rem; line-height: 1; }
.gost-hero__stats span { margin-top: .35rem; color: var(--text-s); font-size: .8125rem; line-height: 1.25; }
.gost-intro { max-width: 760px; margin-bottom: 1.25rem; color: var(--text-s); font-size: .9375rem; line-height: 1.65; }
.gost-tools { display: grid; grid-template-columns: minmax(280px, .45fr) minmax(0, 1fr); gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
.gost-search { display: block; min-width: 0; }
.gost-search span { display: block; margin-bottom: .35rem; color: var(--primary-d); font-size: .8125rem; font-weight: 800; }
.gost-search input { width: 100%; min-height: 2.75rem; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); color: var(--text); font: 600 .9375rem var(--font-b); outline: 0; }
.gost-search input:focus { border-color: var(--primary-l); box-shadow: 0 0 0 3px rgba(108,183,232,.18); }
.gost-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.gost-filter { min-height: 2.25rem; padding: .4rem .75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--text-s); font: 700 .8125rem var(--font-b); cursor: pointer; }
.gost-filter:hover { border-color: var(--primary-l); color: var(--primary-d); }
.gost-filter.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.gost-results-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .875rem; }
.gost-results-head h2 { margin: 0; color: var(--text); font-family: var(--font-h); font-size: 1.375rem; line-height: 1.25; }
.gost-results-head span { color: var(--text-s); font-size: .875rem; font-weight: 700; }
.gost-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gost-card { min-width: 0; padding: 1.125rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); transition: border-color .18s ease, box-shadow .18s ease; }
.gost-card[hidden] { display: none !important; }
.gost-card:hover { border-color: var(--primary-l); box-shadow: 0 12px 24px rgba(41,50,65,.06); }
.gost-card__top { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-bottom: .75rem; }
.gost-card__standard { display: inline-flex; max-width: 100%; padding: .25rem .55rem; border-radius: 999px; background: var(--trust-bg); color: var(--primary-d); font-size: .75rem; font-weight: 850; line-height: 1.2; overflow-wrap: anywhere; }
.gost-card__category { display: inline-flex; max-width: 100%; padding: .2rem .5rem; border-radius: 999px; background: #eef4f7; color: var(--text-s); font-size: .75rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.gost-card h2 { margin: 0 0 .5rem; font-family: var(--font-h); font-size: 1.0625rem; font-weight: 750; line-height: 1.25; }
.gost-card h2 a { color: var(--text); }
.gost-card h2 a:hover { color: var(--primary); }
.gost-card p { margin: 0; color: var(--text-s); font-size: .875rem; line-height: 1.55; }
.gost-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .875rem; }
.gost-card__meta span { display: inline-flex; max-width: 100%; padding: .2rem .5rem; border-radius: 999px; background: #eef4f7; color: var(--text-s); font-size: .75rem; font-weight: 700; line-height: 1.2; }
.gost-empty { margin-top: 1rem; padding: 1.25rem; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--text-s); background: var(--bg-card); text-align: center; }
.badge-status { display: inline-block; padding: .2rem .625rem; background: #E6F4EC; color: var(--success); font-size: .75rem; font-weight: 600; border-radius: 999px; }
.gost-products { margin-top: 2rem; }
.gost-products ul { list-style: none; padding: 0; }
.gost-products li { padding: .375rem 0; border-bottom: 1px solid var(--border-l); }

@media (max-width: 980px) {
  .gost-hero,
  .gost-tools,
  .gost-grid { grid-template-columns: 1fr; }
  .gost-filters { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .gost-directory { padding-left: .875rem; padding-right: .875rem; }
  .gost-hero h1 { font-size: 1.6rem; }
  .gost-hero p { font-size: .9375rem; }
  .gost-hero__stats { text-align: left; }
  .gost-results-head { align-items: flex-start; flex-direction: column; gap: .25rem; }
}

/* ─── SEO TEXT ─── */
.seo-text { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); color: var(--text-s); font-size: .9375rem; line-height: 1.7; }
.seo-text h2 { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--primary-d); margin: 1.5rem 0 .75rem; }

/* ─── DEFAULT PAGES ─── */
.page-content { max-width: 720px; line-height: 1.7; }
.page-content h2 { font-family: var(--font-h); font-size: 1.375rem; font-weight: 700; color: var(--primary-d); margin: 2rem 0 .75rem; }
.page-content h3 { font-size: 1.0625rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.page-content p { margin-bottom: 1rem; }

/* ─── FOOTER ─── */
.site-footer { background: var(--primary-d); color: rgba(255,255,255,.65); padding: 3rem 1.5rem 1.5rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 2.5rem; }
.footer-col h4 { color: #fff; font-size: .875rem; font-weight: 600; margin-bottom: .75rem; letter-spacing: .02em; }
.footer-col a { display: block; color: rgba(255,255,255,.5); text-decoration: none; font-size: .8125rem; margin-bottom: .375rem; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.85); }
.footer-col p { font-size: .8125rem; line-height: 1.6; }
.footer-contact-list { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; margin-bottom: .875rem; }
.footer-contact-list a { margin-bottom: 0; color: rgba(255,255,255,.65); }
.footer-logo { display: inline-flex; align-items: center; padding: 0; background: transparent; border-radius: 0; margin-bottom: .85rem; }
.footer-logo img { display: block; width: 170px; height: auto; }
.footer-bottom { max-width: var(--max-w); margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; color: rgba(255,255,255,.35); display: flex; justify-content: space-between; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .catalog-map__links--level-0 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .product-page-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .header-top { flex-wrap: wrap; gap: .75rem; padding: .65rem 1rem; }
  .logo { order: 1; flex-shrink: 0; }
  .logo__image { width: 132px; }
  .header-actions { order: 2; margin-left: auto; gap: .5rem; }
  .header-top nav { display: none; order: 3; width: 100%; margin-left: 0; border-top: 1px solid var(--border-l); padding-top: .5rem; }
  .header-top nav.nav-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .75rem; }
  .header-top nav.nav-open a { margin-left: 0; padding: .45rem 0; }
  .burger { display: inline-flex; width: 36px; height: 36px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--trust-b); border-radius: var(--radius); }
  .burger span { width: 20px; margin: 2.5px 0; }
  .burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-phone { font-size: .875rem; }
  .header-sub-inner { padding: .45rem 1rem; }
  .blog-article { padding-top: .75rem; }
  .default-page > .section { padding-top: .75rem; }
  .cat-header { padding-top: .75rem; }
  .cat-header h1 { font-size: clamp(1.5rem, 7vw, 2rem); line-height: 1.14; margin-bottom: .45rem; }
  .cat-header .cat-desc { font-size: .875rem; line-height: 1.45; }
  .trust-bar-inner { gap: 1.5rem; justify-content: flex-start; }
  .hero h1 { font-size: 1.75rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-map__tools { grid-template-columns: 1fr; gap: .35rem; }
  .catalog-map__status { margin: 0; }
  .catalog-map__group-summary,
  .catalog-map__group--direct { align-items: flex-start; flex-wrap: wrap; min-height: 64px; padding: .75rem 2.8rem .75rem .875rem; }
  .catalog-map__group-summary::after { top: 1.1rem; right: 1rem; }
  .catalog-map__group-meta { width: 100%; justify-content: flex-start; margin-left: 0; }
  .catalog-map__group-body { padding: .75rem .875rem .875rem; }
  .catalog-products-head,
  .catalog-pagination { align-items: stretch; flex-direction: column; }
  .catalog-map__links--level-0 { grid-template-columns: 1fr; }
  .catalog-map__subgroup-body { margin-left: .25rem; padding-left: .5rem; }
  .catalog-pagination__pages { justify-content: flex-start; }
  .catalog-pagination__control { width: 100%; }
  .feat-grid { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 64px 1fr; gap: .75rem; }
  .product-row.header > div:nth-child(3),
  .product-row.header > div:nth-child(4),
  .product-row .product-gost,
  .product-row .product-sku { display: none; }
  .product-page-inner { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-email-option { align-items: stretch; flex-direction: column; }
  .modal-email-link { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
}

@media (max-width: 380px) {
  .header-top { gap: .5rem; padding-right: .75rem; padding-left: .75rem; }
  .logo__image { width: 118px; }
  .header-actions { gap: .45rem; }
  .header-search,
  .burger { width: 34px; height: 34px; }
  .header-phone { font-size: .8125rem; }
  .cat-header h1 { font-size: 1.62rem; line-height: 1.12; }
  .cat-header .cat-desc { font-size: .85rem; line-height: 1.42; }
}

@media (max-width: 340px) {
  .header-phone { display: none; }
}

/* ─── REVIEWS (homepage) ─── */
.reviews-section { background: var(--bg-alt); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-l);
  border-radius: var(--radius-l);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
  transition: border-color .15s, box-shadow .15s;
}
.review-card:hover { border-color: var(--primary-l); box-shadow: 0 4px 20px rgba(41, 50, 65, 0.06); }
.review-card__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.review-card__author {
  font-family: var(--font-h);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-d);
  line-height: 1.3;
}
.review-card__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--accent);
  flex-shrink: 0;
}
.review-card__text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-l);
  font-size: 0.8125rem;
  color: var(--text-m);
}
.review-card__badge {
  background: var(--trust-bg);
  color: var(--primary-d);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.review-card__date { font-family: var(--font-m); font-size: 0.75rem; }

@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { padding: 1.25rem; }
}

/* ─── RELATED CONTENT (blog / glossary / gost links on product pages) ─── */
.related-content {
  max-width: var(--max-w);
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .related-content { grid-template-columns: 1fr 1fr; }
  .related-content__block--full { grid-column: 1 / -1; }
}
.related-content__block {
  background: var(--bg-card);
  border: 1px solid var(--border-l);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.related-content__title {
  font-family: var(--font-h);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-m);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.875rem;
}
.related-content__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.625rem; }
.related-content__list--inline { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.related-content__link {
  display: block;
  padding: 0.625rem 0.875rem;
  background: var(--bg-alt);
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.related-content__link:hover { background: var(--trust-bg); color: var(--primary); }
.related-content__link-title { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.35; }
.related-content__link-desc { display: block; font-size: 0.8125rem; color: var(--text-s); margin-top: 0.25rem; line-height: 1.45; }

.related-content__chip {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--bg-alt);
  color: var(--primary);
  border: 1px solid var(--border-l);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.related-content__chip:hover { background: var(--trust-bg); border-color: var(--primary); color: var(--primary-d); }
.related-content__chip--gost { font-family: var(--font-m); font-size: 0.8125rem; }

/* ─── SEARCH ─── */

/* Модалка-обёртка вокруг PagefindUI */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 1rem;
}
.search-modal[hidden] { display: none; }
.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 50, 65, .55);
  backdrop-filter: blur(2px);
}
.search-modal__panel {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 5rem);
  background: var(--bg-card);
  border-radius: var(--radius-l);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.search-modal__close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(16, 101, 160, .28);
  background: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-d);
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(20, 67, 103, .18);
  z-index: 5;
}
.search-modal__close:hover {
  background: var(--bg-alt);
  border-color: rgba(16, 101, 160, .5);
  color: var(--primary);
}
#search-ui {
  padding: 1rem 3.75rem 1.25rem 1.25rem;
  overflow-y: auto;
}
html.search-open { overflow: hidden; }
@media (max-width: 640px) {
  .search-modal { padding: 0; }
  .search-modal__panel { max-width: none; max-height: 100vh; border-radius: 0; height: 100vh; }
  .search-modal__close { top: .85rem; right: .75rem; }
  #search-ui { height: 100%; padding: .75rem 3.45rem 1rem .75rem; }
}

/* Кнопка-триггер в шапке */
.header-search {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .75rem;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--primary-d);
  cursor: pointer;
  font-family: var(--font-b);
  font-size: .875rem;
  box-shadow: 0 4px 14px rgba(224, 122, 79, .18);
  transition: background .15s, border-color .15s, box-shadow .15s, color .15s;
}
.header-search svg {
  color: var(--accent);
  flex: 0 0 auto;
}
.header-search:hover,
.header-search:focus-visible {
  background: var(--accent);
  border-color: var(--accent-h);
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 122, 79, .28);
  outline: 0;
}
.header-search:hover svg,
.header-search:focus-visible svg {
  color: #fff;
}
.header-search__label { font-weight: 500; }
@media (max-width: 768px) {
  .header-search__label { display: none; }
  .header-search { padding: .4rem; }
}

/* Цветные пилюли секций в результатах поиска */
.search-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  margin-right: 6px;
  vertical-align: middle;
  line-height: 1.4;
  white-space: nowrap;
}
.search-badge--katalog  { background: #2D7A4F; } /* зелёный — товар каталога */
.search-badge--category { background: #0E8E8E; } /* бирюзовый — страница категории */
.search-badge--blog     { background: var(--primary); } /* синий — блог */
.search-badge--glossary { background: #6D46B5; } /* фиолетовый — глоссарий */
.search-badge--gost     { background: #C96A42; } /* янтарный — ГОСТ */
.search-badge--other    { background: var(--text-m); }

/* Темизация Pagefind UI под палитру проекта */
:root {
  --pagefind-ui-scale: 0.9;
  --pagefind-ui-primary: var(--primary);
  --pagefind-ui-text: var(--text);
  --pagefind-ui-background: var(--bg-card);
  --pagefind-ui-border: var(--border-l);
  --pagefind-ui-tag: var(--bg-alt);
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: var(--radius);
  --pagefind-ui-font: var(--font-b);
}

/* Инпут поиска — 16px чтобы iOS Safari не зумил */
.pagefind-ui__search-input {
  font-size: 16px !important;
  font-family: var(--font-b) !important;
  font-weight: 500 !important;
}
.pagefind-ui__search-input::placeholder { color: var(--text-m) !important; opacity: 1 !important; }
.pagefind-ui__search-clear {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 4.75rem !important;
  margin-right: .25rem !important;
  border: 1px solid var(--border) !important;
  border-left: 2px solid var(--primary-l) !important;
  border-radius: calc(var(--radius) - 2px) !important;
  background: linear-gradient(180deg, #fff 0%, #f6f9fc 100%) !important;
  color: var(--text-s) !important;
  font-size: .75rem !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 2px rgba(20, 67, 103, .08) !important;
}
.pagefind-ui__search-clear:hover {
  color: var(--primary-d) !important;
  background: var(--bg-alt) !important;
  border-color: var(--primary-l) !important;
}
.pagefind-ui__search-clear:focus-visible,
.search-modal__close:focus-visible {
  outline: 2px solid rgba(108,183,232,.45);
  outline-offset: -3px;
}

/* Плотность: ужимаем вертикальные отступы между результатами */
.pagefind-ui__result {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  gap: 16px !important;
}
.pagefind-ui__result-inner { margin-top: 0 !important; }
.pagefind-ui__result-title {
  font-family: var(--font-h) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}
.pagefind-ui__result-title .pagefind-ui__result-link {
  display: inline-block;
  max-width: 100%;
  color: var(--text) !important;
  transition: color .15s;
}
.pagefind-ui__result-title .pagefind-ui__result-link:hover {
  color: var(--primary) !important;
  text-decoration: none !important;
}
.pagefind-ui__result-excerpt {
  display: none !important;
}
.pagefind-ui__result-thumb {
  width: 62px !important;
  max-width: 62px !important;
  flex: 0 0 62px !important;
  aspect-ratio: 1 / 1 !important;
  margin-top: 0 !important;
}
.pagefind-ui__result-image {
  max-width: 58px !important;
  max-height: 58px !important;
}

/* Подсветка совпадений: мягкое подчёркивание акцентным оранжевым вместо жёлтого фона */
.pagefind-ui__result mark {
  background: transparent !important;
  color: inherit !important;
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}

/* Заголовок-счётчик «N результатов» */
.pagefind-ui__message {
  font-family: var(--font-b) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--text-m) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 0 !important;
  height: auto !important;
}

/* Кнопка «Показать ещё» — под стиль .btn-secondary */
.pagefind-ui__button {
  font-family: var(--font-b) !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  background: var(--bg-card) !important;
  color: var(--primary) !important;
  border: 1px solid var(--border) !important;
  transition: background .15s, border-color .15s;
}
.pagefind-ui__button:hover {
  background: var(--bg-alt) !important;
  border-color: var(--primary) !important;
}

/* Сепараторы между результатами — тоньше и светлее */
.pagefind-ui__result { border-top-color: var(--border-l) !important; }

/* Скрываем meta-чипы (artikuls, model, image и пр.) — служебные данные индекса,
   пользователю не нужны в выдаче. */
.pagefind-ui__result-tags { display: none !important; }

/* Скрываем левую панель фасетных фильтров — в подсказочном поиске она мешает.
   Вернём, когда будем делать отдельную страницу /search/?q=...
   ВАЖНО: hide'им только filter-panel, а НЕ drawer (drawer содержит и фильтры,
   и сами результаты — hide убрал бы выдачу целиком). */
.pagefind-ui__filter-panel { display: none !important; }

/* Badge внутри заголовка результата — чтобы вертикально выравнивался с текстом */
.pagefind-ui__result-title .search-badge {
  position: relative;
  top: -2px;
}

/* ─── ABOUT PAGE ─── */
.info-page-nav-wrap { padding: .25rem 1.5rem 0; }
.info-page-nav { display: flex; width: max-content; max-width: 100%; gap: .25rem; padding: .25rem; overflow-x: auto; border: 1px solid var(--border-l); border-radius: 999px; background: var(--bg-alt); scrollbar-width: none; }
.info-page-nav::-webkit-scrollbar { display: none; }
.info-page-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 2.25rem; padding: .45rem .9rem; border-radius: 999px; color: var(--text-s); font-size: .875rem; font-weight: 700; line-height: 1.15; text-decoration: none; }
.info-page-nav a:hover { color: var(--primary-d); background: #fff; }
.info-page-nav a[aria-current="page"] { background: var(--primary-d); color: #fff; box-shadow: 0 3px 10px rgba(21,94,153,.18); }
.info-page-title { margin-bottom: 1rem; color: var(--primary-d); font-family: var(--font-h); font-size: 1.875rem; font-weight: 700; line-height: 1.25; }

@media (max-width: 560px) {
  .info-page-nav-wrap { padding-right: 0; }
  .info-page-nav { width: 100%; padding-right: 1.5rem; border-right: 0; border-radius: 999px 0 0 999px; }
  .info-page-nav a { min-height: 2.125rem; padding: .4rem .75rem; font-size: .8125rem; }
  .info-page-title { font-size: 1.5rem; }
}

.about-hero { padding-top: 1.75rem; padding-bottom: 2.25rem; }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr); gap: 2rem; align-items: stretch; }
.about-hero__content { min-width: 0; align-self: center; }
.about-hero__eyebrow { margin-bottom: .625rem; color: var(--accent); font-size: .8125rem; font-weight: 800; text-transform: uppercase; }
.about-hero__title { font-family: var(--font-h); font-size: 2.125rem; font-weight: 700; color: var(--primary-d); line-height: 1.18; margin-bottom: .75rem; }
.about-hero__lead { font-size: 1.0625rem; color: var(--text-s); max-width: 620px; margin: 0; line-height: 1.58; }
.about-hero__visual { position: relative; min-height: 360px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #e6f2f6; box-shadow: 0 18px 42px rgba(41,50,65,.08); }
.about-hero__visual::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(180deg, rgba(7,45,64,0) 0%, rgba(7,45,64,.52) 100%); pointer-events: none; }
.about-hero__visual img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center right; }
.about-hero__chips { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.about-hero__chips span { display: inline-flex; align-items: center; min-height: 2rem; padding: .375rem .75rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(255,255,255,.88); color: var(--primary-d); font-size: .8125rem; font-weight: 700; line-height: 1.15; }
.about-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0 0; }
.about-num { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem .75rem; text-align: center; transition: transform .2s, box-shadow .2s; }
.about-num:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.about-num__value { display: block; font-family: var(--font-h); font-size: 2.5rem; font-weight: 700; color: var(--accent); line-height: 1.1; margin-bottom: .375rem; }
.about-num__label { font-size: .75rem; color: var(--text-s); line-height: 1.4; }

/* About story block */
.about-story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 2rem; align-items: stretch; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.25rem; }
.about-story h2 { font-family: var(--font-h); font-size: 1.5rem; font-weight: 700; color: var(--primary-d); margin: 0 0 1.25rem; }
.about-story p { margin-bottom: 1.25rem; line-height: 1.75; color: var(--text); font-size: 1.0625rem; }
.about-story p:last-child { margin-bottom: 0; }
.about-story strong { color: var(--primary-d); }
.about-story__visual { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .75rem; min-height: 320px; }
.about-story__visual img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: cover; border: 1px solid var(--border-l); border-radius: var(--radius); background: #f8fbfc; }
.about-story__visual img:first-child { grid-row: span 2; }
.about-story-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 2.5rem; transition: box-shadow .2s; }
.about-story-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.about-story-card h2 { font-family: var(--font-h); font-size: 1.5rem; font-weight: 700; color: var(--primary-d); margin: 0 0 1.25rem; }
.about-story-card p { margin-bottom: 1.25rem; line-height: 1.75; color: var(--text); font-size: 1.0625rem; }
.about-story-card p:last-child { margin-bottom: 0; }
.about-story-card strong { color: var(--primary-d); }

/* About content cards (2 columns) */
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.about-cards--two { grid-template-columns: repeat(2, 1fr); }
.about-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 1.75rem 1.5rem; transition: box-shadow .2s; }
.about-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.about-card__icon { width: 40px; height: 40px; background: var(--trust-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.about-card__icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.about-card__title { font-family: var(--font-h); font-size: 1.125rem; font-weight: 700; color: var(--primary-d); margin-bottom: .75rem; }
.about-card p { font-size: .875rem; color: var(--text-s); line-height: 1.65; margin-bottom: .75rem; }
.about-card p:last-child { margin-bottom: 0; }
.about-card strong { color: var(--primary-d); }

/* Verification cards */
.verify-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.verify-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-l); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.verify-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); border-color: var(--primary-l); color: inherit; }
.verify-card__icon { width: 44px; height: 44px; background: var(--trust-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.verify-card:hover .verify-card__icon { background: var(--primary); }
.verify-card__icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.verify-card:hover .verify-card__icon svg { stroke: #fff; }
.verify-card__body { flex: 1; min-width: 0; }
.verify-card__name { font-family: var(--font-h); font-size: 1.0625rem; font-weight: 700; color: var(--primary-d); margin-bottom: .125rem; }
.verify-card__desc { font-size: .8125rem; color: var(--text-s); line-height: 1.45; }
.verify-card__arrow { font-size: 1.25rem; color: var(--text-m); flex-shrink: 0; transition: color .2s, transform .2s; }
.verify-card:hover .verify-card__arrow { color: var(--primary); transform: translateX(3px); }
.verify-inn-display { text-align: center; font-family: var(--font-m); font-size: .875rem; color: var(--text-s); padding: .75rem; background: var(--bg-alt); border-radius: var(--radius); border: 1px dashed var(--border); }

/* Requisites */
.about-requisites { max-width: 540px; }
.about-requisites .specs-table { margin-top: .5rem; }
.about-requisites .specs-table a { color: var(--primary); }

@media (max-width: 980px) {
  .about-hero__grid,
  .about-story { grid-template-columns: 1fr; }
  .about-hero__visual { min-height: 300px; }
  .about-hero__visual img { min-height: 300px; object-position: center; }
  .about-story__visual { min-height: 260px; }
}

@media (max-width: 768px) {
  .about-hero { padding-top: 1.25rem; padding-bottom: 1.5rem; }
  .about-hero__grid { gap: 1.25rem; }
  .about-hero__title { font-size: 1.5rem; }
  .about-hero__lead { font-size: .9375rem; }
  .about-hero__visual { min-height: 260px; }
  .about-hero__visual img { min-height: 260px; }
  .about-hero__chips { left: .75rem; right: .75rem; bottom: .75rem; }
  .about-hero__chips span { min-height: 1.75rem; padding: .3rem .6rem; font-size: .75rem; }
  .about-numbers { grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1rem; }
  .about-num { padding: 1rem .5rem; }
  .about-num__value { font-size: 1.75rem; }
  .about-num__label { font-size: .6875rem; }
  .about-story { padding: 1.25rem; gap: 1.25rem; }
  .about-story h2 { font-size: 1.25rem; }
  .about-story p { font-size: .9375rem; line-height: 1.65; }
  .about-story__visual { min-height: 220px; gap: .5rem; }
  .about-cards, .about-cards--two { grid-template-columns: 1fr; }
  .verify-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .about-numbers { grid-template-columns: 1fr; }
  .about-story__visual { grid-template-columns: 1fr; grid-template-rows: repeat(3, 140px); }
  .about-story__visual img:first-child { grid-row: auto; }
}

/* Delivery page */
.delivery-page { display: flex; flex-direction: column; gap: 2.5rem; }
.delivery-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr); gap: 2rem; align-items: stretch; }
.delivery-hero__content { min-width: 0; align-self: center; }
.delivery-eyebrow { margin: 0 0 .625rem; color: var(--accent); font-size: .8125rem; font-weight: 800; text-transform: uppercase; }
.delivery-hero h2,
.delivery-card h2,
.delivery-calc h2 { font-family: var(--font-h); font-weight: 700; color: var(--primary-d); line-height: 1.22; }
.delivery-hero h2 { max-width: 620px; margin: 0 0 .75rem; font-size: 2rem; }
.delivery-hero p { max-width: 620px; margin: 0; color: var(--text-s); font-size: 1.0625rem; line-height: 1.58; }
.delivery-hero__visual { position: relative; min-height: 340px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #e6f2f6; box-shadow: 0 18px 42px rgba(41,50,65,.08); }
.delivery-hero__visual::after { content: ""; position: absolute; inset: auto 0 0; height: 48%; background: linear-gradient(180deg, rgba(7,45,64,0) 0%, rgba(7,45,64,.52) 100%); pointer-events: none; }
.delivery-hero__visual img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: center right; }
.delivery-hero__chips { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.delivery-hero__chips span { display: inline-flex; align-items: center; min-height: 2rem; padding: .375rem .75rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(255,255,255,.88); color: var(--primary-d); font-size: .8125rem; font-weight: 700; line-height: 1.15; }
.delivery-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.delivery-fact { min-width: 0; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.delivery-fact strong,
.delivery-fact span { display: block; }
.delivery-fact strong { color: var(--primary-d); font-size: .875rem; }
.delivery-fact span { margin-top: .25rem; color: var(--text-s); font-size: .8125rem; line-height: 1.25; }
.delivery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.delivery-card { min-width: 0; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.delivery-card__icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: var(--radius); background: var(--trust-bg); color: var(--primary); }
.delivery-card__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.delivery-card h2 { margin: 0 0 .875rem; font-size: 1.375rem; }
.delivery-card p { margin: 0 0 .875rem; color: var(--text-s); font-size: .9375rem; line-height: 1.65; }
.delivery-card p:last-child { margin-bottom: 0; }
.delivery-card ul,
.delivery-calc__aside ul { margin: .875rem 0 0; padding-left: 1.2rem; color: var(--text-s); font-size: .9375rem; line-height: 1.65; }
.delivery-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr); gap: 1.5rem; align-items: stretch; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: #f6fafc; }
.delivery-calc h2 { margin: 0 0 .75rem; font-size: 1.5rem; }
.delivery-calc p { margin: 0; color: var(--text-s); font-size: .9375rem; line-height: 1.65; }
.delivery-calc__button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; margin-top: 1.25rem; padding: .75rem 1.25rem; border-radius: var(--radius); background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.delivery-calc__button:hover { background: var(--accent-h); color: #fff; }
.delivery-calc__aside { min-width: 0; padding: 1.25rem; border-left: 1px solid var(--border); }
.delivery-calc__aside strong { display: block; color: var(--primary-d); font-size: .9375rem; }
.delivery-calc__aside p { margin-top: .875rem; color: var(--text); font-weight: 600; }

@media (max-width: 980px) {
  .delivery-hero,
  .delivery-calc { grid-template-columns: 1fr; }
  .delivery-hero__visual { min-height: 300px; }
  .delivery-hero__visual img { min-height: 300px; object-position: center; }
  .delivery-calc__aside { border-left: 0; border-top: 1px solid var(--border); padding: 1.25rem 0 0; }
}

@media (max-width: 768px) {
  .delivery-page { gap: 1.5rem; }
  .delivery-hero { gap: 1.25rem; }
  .delivery-hero h2 { font-size: 1.5rem; }
  .delivery-hero p { font-size: .9375rem; }
  .delivery-hero__visual { min-height: 260px; }
  .delivery-hero__visual img { min-height: 260px; }
  .delivery-hero__chips { left: .75rem; right: .75rem; bottom: .75rem; }
  .delivery-hero__chips span { min-height: 1.75rem; padding: .3rem .6rem; font-size: .75rem; }
  .delivery-facts,
  .delivery-grid { grid-template-columns: 1fr; }
  .delivery-card,
  .delivery-calc { padding: 1.25rem; }
}

/* Payment page */
.payment-page { display: flex; flex-direction: column; gap: 2.5rem; }
.payment-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr); gap: 2rem; align-items: stretch; }
.payment-hero__content { min-width: 0; align-self: center; }
.payment-eyebrow { margin: 0 0 .625rem; color: var(--accent); font-size: .8125rem; font-weight: 800; text-transform: uppercase; }
.payment-hero h2,
.payment-step h2,
.payment-card h2,
.payment-request h2 { font-family: var(--font-h); font-weight: 700; color: var(--primary-d); line-height: 1.22; }
.payment-hero h2 { max-width: 620px; margin: 0 0 .75rem; font-size: 2rem; }
.payment-hero p { max-width: 620px; margin: 0; color: var(--text-s); font-size: 1.0625rem; line-height: 1.58; }
.payment-hero__visual { position: relative; min-height: 340px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #eef5f7; box-shadow: 0 18px 42px rgba(41,50,65,.08); }
.payment-hero__visual::after { content: ""; position: absolute; inset: auto 0 0; height: 48%; background: linear-gradient(180deg, rgba(7,45,64,0) 0%, rgba(7,45,64,.48) 100%); pointer-events: none; }
.payment-hero__visual img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: center; }
.payment-hero__chips { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.payment-hero__chips span { display: inline-flex; align-items: center; min-height: 2rem; padding: .375rem .75rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(255,255,255,.88); color: var(--primary-d); font-size: .8125rem; font-weight: 700; line-height: 1.15; }
.payment-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.payment-fact { min-width: 0; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.payment-fact strong,
.payment-fact span { display: block; }
.payment-fact strong { color: var(--primary-d); font-size: .875rem; }
.payment-fact span { margin-top: .25rem; color: var(--text-s); font-size: .8125rem; line-height: 1.25; }
.payment-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .875rem; }
.payment-step { min-width: 0; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.payment-step span { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; margin-bottom: .875rem; border-radius: 999px; background: var(--trust-bg); color: var(--primary-d); font-weight: 800; }
.payment-step h2 { margin: 0 0 .5rem; font-size: 1.125rem; }
.payment-step p { margin: 0; color: var(--text-s); font-size: .875rem; line-height: 1.5; }
.payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.payment-card { min-width: 0; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.payment-card__icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: var(--radius); background: var(--trust-bg); color: var(--primary); }
.payment-card__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.payment-card h2 { margin: 0 0 .875rem; font-size: 1.375rem; }
.payment-card p { margin: 0 0 .875rem; color: var(--text-s); font-size: .9375rem; line-height: 1.65; }
.payment-card p:last-child { margin-bottom: 0; }
.payment-card ul { margin: .875rem 0 0; padding-left: 1.2rem; color: var(--text-s); font-size: .9375rem; line-height: 1.65; }
.payment-request { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: #f6fafc; }
.payment-request h2 { margin: 0 0 .75rem; font-size: 1.5rem; }
.payment-request p { max-width: 680px; margin: 0; color: var(--text-s); font-size: .9375rem; line-height: 1.65; }
.payment-request__button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .75rem 1.25rem; border-radius: var(--radius); background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.payment-request__button:hover { background: var(--accent-h); color: #fff; }

@media (max-width: 980px) {
  .payment-hero,
  .payment-request { grid-template-columns: 1fr; }
  .payment-hero__visual { min-height: 300px; }
  .payment-hero__visual img { min-height: 300px; }
  .payment-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .payment-page { gap: 1.5rem; }
  .payment-hero { gap: 1.25rem; }
  .payment-hero h2 { font-size: 1.5rem; }
  .payment-hero p { font-size: .9375rem; }
  .payment-hero__visual { min-height: 260px; }
  .payment-hero__visual img { min-height: 260px; }
  .payment-hero__chips { left: .75rem; right: .75rem; bottom: .75rem; }
  .payment-hero__chips span { min-height: 1.75rem; padding: .3rem .6rem; font-size: .75rem; }
  .payment-facts,
  .payment-steps,
  .payment-grid { grid-template-columns: 1fr; }
  .payment-card,
  .payment-request { padding: 1.25rem; }
  .payment-request__button { width: 100%; }
}

/* Contacts page */
.contacts-page { display: flex; flex-direction: column; gap: 2.5rem; }
.contacts-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .52fr); gap: 2rem; align-items: stretch; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: #f6fafc; }
.contacts-hero__content { min-width: 0; align-self: center; }
.contacts-eyebrow { margin: 0 0 .625rem; color: var(--accent); font-size: .8125rem; font-weight: 800; text-transform: uppercase; }
.contacts-hero h2,
.contacts-card h2,
.contacts-map-section h2 { font-family: var(--font-h); font-weight: 700; color: var(--primary-d); line-height: 1.22; }
.contacts-hero h2 { max-width: 640px; margin: 0 0 .75rem; font-size: 2rem; }
.contacts-hero p { max-width: 680px; margin: 0; color: var(--text-s); font-size: 1.0625rem; line-height: 1.58; }
.contacts-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.contacts-action { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .75rem 1.25rem; border: 1px solid var(--primary); border-radius: var(--radius); color: var(--primary-d); font-weight: 700; text-decoration: none; }
.contacts-action:hover { background: var(--trust-bg); color: var(--primary-d); }
.contacts-action--primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.contacts-action--primary:hover { background: var(--accent-h); border-color: var(--accent-h); color: #fff; }
.contacts-panel { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); overflow: hidden; }
.contacts-panel__row { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-l); }
.contacts-panel__row:last-child { border-bottom: 0; }
.contacts-panel__row span { color: var(--text-s); font-size: .875rem; }
.contacts-panel__row a,
.contacts-panel__row strong { min-width: 0; color: var(--primary-d); font-size: .9375rem; font-weight: 700; overflow-wrap: anywhere; }
.contacts-phone-list { display: flex; min-width: 0; flex-direction: column; align-items: stretch; gap: .45rem; }
.contacts-phone-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: .75rem; }
.contacts-phone-list a { line-height: 1.25; }
.contacts-copy-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: .375rem; min-height: 2rem; padding: .35rem .625rem; border: 1px solid var(--trust-b); border-radius: 999px; background: var(--trust-bg); color: var(--primary-d); font-family: inherit; font-size: .75rem; font-weight: 700; line-height: 1; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.contacts-copy-button:hover { border-color: var(--primary-l); background: #dff1fb; }
.contacts-copy-button:active { transform: translateY(1px); }
.contacts-copy-button:focus-visible { outline: 3px solid rgba(30,115,190,.22); outline-offset: 2px; }
.contacts-copy-button.is-copied { border-color: rgba(45,122,79,.28); background: #eaf6ef; color: var(--success); }
.contacts-copy-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contacts-panel__row .contacts-copy-button span { color: inherit; font-size: inherit; }
.contacts-copy-note { grid-column: 2; margin-top: .15rem !important; color: var(--text-m) !important; font-size: .75rem !important; line-height: 1.35 !important; }
.contacts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.contacts-card { min-width: 0; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.contacts-card__icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: var(--radius); background: var(--trust-bg); color: var(--primary); }
.contacts-card__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contacts-card h2 { margin: 0 0 .875rem; font-size: 1.375rem; }
.contacts-card p { margin: 0; color: var(--text-s); font-size: .9375rem; line-height: 1.7; }
.contacts-requisites { margin: 0; }
.contacts-requisites div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--border-l); }
.contacts-requisites div:last-child { border-bottom: 0; }
.contacts-requisites dt { color: var(--text-s); font-size: .875rem; }
.contacts-requisites dd { margin: 0; color: var(--text); font-size: .9375rem; font-weight: 700; overflow-wrap: anywhere; }
.contacts-map-section { padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.contacts-map-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.contacts-map-section h2 { margin: 0; font-size: 1.5rem; }
.contacts-map-section__head a { color: var(--primary); font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.contacts-map { height: 450px; overflow: hidden; border: 1px solid var(--border-l); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 24px rgba(41,50,65,.06); }
.contacts-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.contacts-map--link { height: auto; min-height: 240px; display: grid; place-items: center; padding: 2rem; background: var(--bg-alt); text-align: center; }
.contacts-map__placeholder { max-width: 540px; }
.contacts-map__placeholder strong { display: block; margin-bottom: .5rem; color: var(--primary-d); font-family: var(--font-h); font-size: 1.25rem; }
.contacts-map__placeholder p { margin: 0 0 1.25rem; color: var(--text-s); }

@media (max-width: 980px) {
  .contacts-hero,
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .contacts-page { gap: 1.5rem; }
  .contacts-hero,
  .contacts-card,
  .contacts-map-section { padding: 1.25rem; }
  .contacts-hero { gap: 1.25rem; }
  .contacts-hero h2 { font-size: 1.5rem; }
  .contacts-hero p { font-size: .9375rem; }
  .contacts-actions { flex-direction: column; }
  .contacts-action { width: 100%; }
  .contacts-panel__row,
  .contacts-requisites div { grid-template-columns: 1fr; gap: .25rem; }
  .contacts-copy-note { grid-column: auto; margin-top: .25rem !important; }
  .contacts-map-section__head { align-items: flex-start; flex-direction: column; }
  .contacts-map-section__head a { white-space: normal; }
  .contacts-map { height: 360px; }
}

/* Визуально скрытый элемент (для синонимов в индексе) */
@media (max-width: 420px) {
  .contacts-phone-row { align-items: flex-start; flex-direction: column; gap: .4rem; padding: .25rem 0; }
  .contacts-copy-button { min-height: 2.125rem; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Home page refresh */
.home-page {
  --home-action: #155f86;
  --home-ink: #0b2940;
  --home-muted: #52677b;
  background: #eef3f7;
  padding: 1rem 1.5rem 3rem;
}

.home-page h1,
.home-page h2 {
  font-family: var(--font-b);
  letter-spacing: 0;
}

.home-hero,
.home-section,
.home-proof {
  max-width: var(--max-w);
  margin: 0 auto;
}

.home-hero {
  position: relative;
  min-height: 382px;
  margin-bottom: 1rem;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid #d7e4ec;
  border-radius: 18px;
  background: #dceff5;
  isolation: isolate;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 30, 44, .84) 0%, rgba(8, 64, 82, .72) 42%, rgba(8, 64, 82, .22) 64%, rgba(8, 64, 82, 0) 82%),
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(7, 48, 64, .1) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 600px;
  min-height: 318px;
  padding: 0;
}

.home-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: .7rem;
  color: var(--home-action);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 620px;
  margin: 0 0 .7rem;
  color: #fff;
  font-size: clamp(1.9rem, 2.95vw, 3.05rem);
  font-weight: 900;
  line-height: 1.04;
  text-shadow: 0 2px 24px rgba(0,0,0,.2);
}

.home-hero p {
  max-width: 600px;
  margin: 0 0 1rem;
  color: rgba(255,255,255,.82);
  font-size: .96rem;
  line-height: 1.46;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: .85rem;
}

.home-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: .65rem 1rem;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.home-hero-action:hover {
  border-color: #fff;
  background: rgba(255,255,255,.2);
  color: #fff;
}

.home-hero-action--primary {
  border-color: var(--accent);
  background: var(--accent);
}

.home-hero-action--primary:hover {
  border-color: var(--accent-h);
  background: var(--accent-h);
}

.home-hero-action:focus-visible {
  outline: 3px solid rgba(255,255,255,.46);
  outline-offset: 2px;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .55rem;
  max-width: 580px;
  margin-bottom: .7rem;
  padding: .45rem;
  border: 1px solid #cfdae3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 56, 84, .1);
}

.home-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: .65rem .75rem;
  color: var(--home-ink);
  font: 600 .98rem var(--font-b);
  background: transparent;
}

.home-search input::placeholder {
  color: #8091a0;
  opacity: 1;
}

.home-search button,
.home-quick button {
  border: 0;
  border-radius: 9px;
  font-family: var(--font-b);
  cursor: pointer;
}

.home-search button {
  padding: .65rem 1.15rem;
  background: var(--home-action);
  color: #fff;
  font-size: .98rem;
  font-weight: 800;
}

.home-search button:hover {
  background: #0f4e70;
}

.home-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.home-quick button {
  padding: .38rem .62rem;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: .83rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.home-quick button:hover {
  background: rgba(255,255,255,.24);
}

.home-hero__visual {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.home-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.home-section {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #dbe5eb;
  border-radius: 16px;
  background: #fff;
}

.home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}

.home-section__head--tight {
  margin-bottom: .75rem;
}

.home-section__head .home-kicker {
  margin-bottom: 0;
}

.home-section__head h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.12;
}

.home-section__intro {
  max-width: 620px;
  margin-top: .35rem;
  color: var(--home-muted);
  font-size: .9rem;
  line-height: 1.4;
}

.home-section__link,
.home-accent-link,
.home-section__note {
  display: inline-flex;
  align-items: center;
  font-size: .92rem;
  font-weight: 800;
  white-space: nowrap;
}

.home-section__link,
.home-accent-link {
  color: var(--home-action);
}

.home-section__note {
  color: #708190;
}

.home-section__link:hover,
.home-accent-link:hover {
  color: #0f4e70;
}

.home-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}

.home-proof__item {
  min-height: 104px;
  padding: .9rem 1rem;
  border: 1px solid #d9e6ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(25, 62, 83, .045);
  text-align: center;
}

.home-proof__item strong,
.home-proof__item span {
  display: block;
}

.home-proof__item strong {
  color: var(--accent);
  font-family: var(--font-h);
  font-size: clamp(1.55rem, 2.15vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
}

.home-proof__item span {
  max-width: 250px;
  margin: .5rem auto 0;
  color: var(--home-muted);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.35;
}

.home-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}

.home-industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 136px;
  overflow: hidden;
  padding: .95rem 7.2rem .95rem .95rem;
  border: 1px solid #dfe9ef;
  border-radius: 12px;
  color: var(--home-ink);
  isolation: isolate;
  background: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-industry-card:hover {
  transform: translateY(-1px);
  border-color: #cbdce6;
  box-shadow: 0 14px 28px rgba(24, 61, 83, .08);
  color: var(--home-ink);
}

.home-industry-card::after {
  content: none;
}

.home-industry-card__kind,
.home-industry-card__title,
.home-industry-card__text {
  position: relative;
  z-index: 1;
  display: block;
  text-shadow: none;
}

.home-industry-card__kind {
  width: fit-content;
  margin-bottom: .42rem;
  padding: .18rem .45rem;
  border-radius: 999px;
  background: #edf5f8;
  color: #39718a;
  font-size: .68rem;
  font-weight: 850;
  line-height: 1.15;
  text-transform: uppercase;
}

.home-industry-card__title {
  max-width: 100%;
  color: var(--home-ink);
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.1;
}

.home-industry-card__text {
  margin-top: .35rem;
  color: var(--home-muted);
  font-size: .85rem;
  font-weight: 520;
  line-height: 1.32;
}

.home-industry-card__image {
  position: absolute;
  top: .65rem;
  right: .65rem;
  bottom: .65rem;
  z-index: 0;
  width: 92px;
  overflow: hidden;
  border-radius: 10px;
  background: #eef4f7;
}

.home-industry-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.68) contrast(.95) brightness(1.04);
  transition: transform .25s ease, filter .25s ease;
}

.home-industry-card:hover .home-industry-card__image img {
  transform: scale(1.035);
  filter: saturate(.84) contrast(.98) brightness(1.02);
}

.home-catalog {
  background: linear-gradient(135deg, #edf3ee 0%, #e7eef2 100%);
}

.home-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.home-catalog-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 190px;
  padding: .9rem;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  color: var(--home-ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-catalog-card:hover {
  transform: translateY(-2px);
  border-color: #c8d9e3;
  box-shadow: 0 16px 32px rgba(19, 55, 77, .1);
  color: var(--home-ink);
}

.home-catalog-card__media {
  width: 160px;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
  background: #edf3f5;
}

.home-catalog-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-catalog-card__title,
.home-catalog-card__text {
  display: block;
}

.home-catalog-card__title {
  margin-bottom: .45rem;
  color: var(--home-ink);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.12;
}

.home-catalog-card__text {
  color: var(--home-muted);
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.32;
}

.home-order {
  scroll-margin-top: 1rem;
  background: linear-gradient(135deg, #f8fbfc 0%, #edf5f8 100%);
}

.home-order__links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.home-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.home-order-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: .85rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dbe7ed;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
}

.home-order-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--home-action);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1;
}

.home-order-step h3 {
  margin: 0 0 .3rem;
  color: var(--home-ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.home-order-step p {
  margin: 0;
  color: var(--home-muted);
  font-size: .86rem;
  line-height: 1.42;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.home-blog-card {
  display: grid;
  grid-template-rows: 164px 1fr;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  background: #fff;
  color: var(--home-ink);
}

.home-blog-card:hover {
  border-color: #c8d9e3;
  color: var(--home-ink);
}

.home-blog-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #edf5f7 0%, #f8fbfc 100%);
}

.home-blog-card__image img {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: .35rem;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: transform .25s ease;
}

.home-blog-card:hover .home-blog-card__image img {
  transform: scale(1.015);
}

.home-blog-card__body {
  padding: .9rem;
}

.home-blog-card__label,
.home-blog-card__title,
.home-blog-card__text {
  display: block;
}

.home-blog-card__label {
  margin-bottom: .55rem;
  color: var(--home-action);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-blog-card__title {
  color: var(--home-ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.18;
}

.home-blog-card__text {
  margin-top: .55rem;
  color: var(--home-muted);
  font-size: .86rem;
  line-height: 1.42;
}

.home-blog-card:nth-child(n+5) {
  min-height: 0;
  background: #fbfdfe;
}

.home-blog-card:nth-child(n+5) .home-blog-card__image {
  display: none;
}

.home-blog-card:nth-child(n+5) .home-blog-card__body {
  padding: 1rem;
}

.home-blog-card:nth-child(n+5) .home-blog-card__label {
  margin-bottom: .5rem;
}

.home-blog-card:nth-child(n+5) .home-blog-card__title {
  font-size: .96rem;
  line-height: 1.22;
}

.home-blog-card:nth-child(n+5) .home-blog-card__text {
  font-size: .84rem;
  line-height: 1.38;
}

.home-blog-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.home-blog-card--featured {
  grid-row: 1 / span 3;
  grid-template-rows: 220px 1fr;
  min-height: 0;
}

.home-blog-card:not(.home-blog-card--featured) {
  grid-template-columns: 118px minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 116px;
}

.home-blog-card:not(.home-blog-card--featured) .home-blog-card__image {
  min-height: 100%;
}

.home-blog-card:not(.home-blog-card--featured) .home-blog-card__body {
  padding: .8rem;
}

.home-blog-card:not(.home-blog-card--featured) .home-blog-card__label {
  margin-bottom: .35rem;
  font-size: .68rem;
}

.home-blog-card:not(.home-blog-card--featured) .home-blog-card__title {
  font-size: .92rem;
}

.home-blog-card:not(.home-blog-card--featured) .home-blog-card__text {
  margin-top: .35rem;
  font-size: .8rem;
  line-height: 1.32;
}

.home-reviews {
  background: #f8fbfc;
}

.home-review-actions {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.home-review-controls {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.home-review-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #cfe0ea;
  border-radius: 999px;
  background: #fff;
  color: var(--home-action);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}

.home-review-control:hover {
  border-color: var(--home-action);
  background: #eef8fc;
}

.home-review-control:focus-visible {
  outline: 3px solid rgba(21, 95, 134, .22);
  outline-offset: 2px;
}

.home-review-control:disabled {
  opacity: .38;
  cursor: default;
  pointer-events: none;
}

.home-review-grid {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 .55rem;
  scroll-padding-left: .1rem;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.home-review-grid::-webkit-scrollbar {
  height: 8px;
}

.home-review-grid::-webkit-scrollbar-track {
  background: #eaf1f5;
  border-radius: 999px;
}

.home-review-grid::-webkit-scrollbar-thumb {
  background: #bfd0dc;
  border-radius: 999px;
}

.home-review-card {
  flex: 0 0 285px;
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 1rem;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  background: #fff;
  scroll-snap-align: start;
}

.home-review-card__top,
.home-review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.home-review-card__top strong {
  color: var(--home-ink);
  font-size: .98rem;
}

.home-review-card__top span {
  color: #e26d33;
  font-size: .82rem;
  white-space: nowrap;
}

.home-review-card p {
  flex: 1;
  margin: .85rem 0 1rem;
  color: #344b5f;
  font-size: .93rem;
  line-height: 1.48;
}

.home-review-card__meta {
  color: #6d7e8d;
  font-size: .8rem;
}

.home-review-card__meta span {
  padding: .2rem .5rem;
  border-radius: 999px;
  background: #eaf5ef;
  color: #24724d;
  font-weight: 800;
}

.home-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0;
  padding: 1.5rem;
  border-color: #c9dfe9;
  background:
    linear-gradient(120deg, rgba(255,255,255,.96), rgba(232,245,249,.95)),
    #fff;
}

.home-final h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.15;
}

.home-final p {
  max-width: 720px;
  margin: .55rem 0 0;
  color: var(--home-muted);
  font-size: .92rem;
  line-height: 1.5;
}

.home-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
}

.home-final__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: .68rem 1rem;
  border: 1px solid var(--home-action);
  border-radius: 10px;
  color: var(--home-action);
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.home-final__action:hover {
  background: #edf7fa;
  color: #0f4e70;
}

.home-final__action--primary {
  background: var(--home-action);
  color: #fff;
}

.home-final__action--primary:hover {
  background: #0f4e70;
  color: #fff;
}

@media (max-width: 1040px) {
  .home-hero {
    min-height: 360px;
    padding: 1.5rem;
  }

  .home-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-blog-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  }

}

@media (max-width: 720px) {
  .home-page {
    padding: .75rem .75rem 2rem;
  }

  .home-hero,
  .home-section,
  .home-proof__item {
    border-radius: 13px;
  }

  .home-hero {
    min-height: 430px;
    padding: 1rem;
  }

  .home-hero__content {
    min-height: 398px;
  }

  .home-hero h1 {
    font-size: 2.35rem;
  }

  .home-hero p {
    font-size: .98rem;
  }

  .home-search {
    grid-template-columns: 1fr;
  }

  .home-search button {
    width: 100%;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero::after {
    background:
      linear-gradient(180deg, rgba(4, 30, 44, .88) 0%, rgba(8, 64, 82, .74) 58%, rgba(8, 64, 82, .34) 100%);
  }

  .home-hero__visual img {
    object-position: 62% center;
  }

  .home-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-order__links {
    width: 100%;
  }

  .home-review-actions {
    width: 100%;
    justify-content: space-between;
  }

  .home-section__head h2 {
    font-size: 1.35rem;
  }

  .home-industry-grid,
  .home-catalog-grid,
  .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .home-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
  }

  .home-order-grid {
    grid-template-columns: 1fr;
  }

  .home-blog-card--featured {
    grid-row: auto;
  }

  .home-final {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .home-final__actions {
    justify-content: flex-start;
  }

  .home-review-card {
    flex-basis: 82vw;
  }

  .home-industry-card {
    min-height: 132px;
  }

  .home-proof__item {
    min-height: 0;
    padding: .85rem;
  }

  .home-proof__item strong {
    font-size: 1.14rem;
  }

  .home-proof__item span {
    font-size: .86rem;
  }

  .home-catalog-card {
    grid-template-columns: 126px minmax(0, 1fr);
    min-height: 154px;
    gap: .75rem;
  }

  .home-catalog-card__media {
    width: 126px;
    height: auto;
    aspect-ratio: 1 / 1;
    background: #eef6f7;
  }

  .home-catalog-card__media img {
    object-fit: contain;
    object-position: center;
  }

  .home-catalog-card__title {
    font-size: 1.12rem;
  }

  .home-catalog-card__text {
    font-size: .86rem;
  }

  .home-blog-card {
    min-height: 0;
    grid-template-rows: 180px 1fr;
  }

  .home-blog-card:nth-child(n+5) {
    grid-template-rows: auto;
  }
}

@media (max-width: 430px) {
  .home-catalog-card {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 132px;
    padding: .75rem;
  }

  .home-catalog-card__media {
    width: 104px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .home-catalog-card__title {
    font-size: 1rem;
  }

  .home-catalog-card__text {
    font-size: .8rem;
  }

  .home-proof__item {
    padding: .7rem .4rem;
  }

  .home-proof__item strong {
    font-size: 1rem;
  }

  .home-proof__item span {
    font-size: .72rem;
    line-height: 1.25;
  }

  .home-hero-action {
    padding-right: .65rem;
    padding-left: .65rem;
    font-size: .82rem;
  }

  .home-blog-card:not(.home-blog-card--featured) {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
