/* ================================================================
   ПРОСТОСАЙТЫ — дизайн-система 2026-11 для всех публичных страниц.
   Подключается в layouts/header.php после style.css (старые классы
   страниц больше не используются; шапка, подвал, модальные окна и
   баннер cookies переопределены здесь). Классы — с префиксом hx-.
   Главная дополнительно грузит assets/css/home.css.
   Анимации — на CSS; при prefers-reduced-motion всё статично.
   ================================================================ */

@property --hx-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
    --hx-night: #070b18; --hx-night-2: #0d1430; --hx-night-3: #0f1733;
    --hx-blue: #3b82f6; --hx-blue-2: #2563eb; --hx-sky: #38bdf8;
    --hx-accent: #f59e0b; --hx-accent-ink: #0b1020;
    --hx-paper: #f5f7fb; --hx-line: #e3e7ef; --hx-text: #0f172a; --hx-muted: #566079;
    --hx-ok: #16a34a; --hx-no: #ef4444;
    --hx-ring: 0 0 0 1px var(--hx-line);
    --hx-lift: 0 0 0 1px #cfd8ea, 0 30px 50px -30px rgba(15,23,42,.35);
}
body { background: var(--hx-paper); }

/* --- Шапка: тёмная на всех страницах --- */
.site-header { background: rgba(7,11,24,.86); border-bottom-color: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.site-header .container { max-width: 1240px; padding: 0 32px; }
.site-header .logo, .site-header .logo:hover { color: #fff; }
.site-header .logo img { filter: invert(1); }
.main-nav a,
.main-nav .has-dropdown > summary { color: #aab3cc; }
.main-nav a:hover,
.main-nav .has-dropdown > summary:hover,
.main-nav .has-dropdown[open] > summary { color: #fff; }
.main-nav a::after { background: var(--hx-accent); }
.main-nav .dropdown-menu { background: var(--hx-night-3); border-color: rgba(255,255,255,.1); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.main-nav .dropdown-menu a { color: #e7ebf7; border-radius: 9px; }
.main-nav .dropdown-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-toggle span { background: #fff; }

/* --- Подвал --- */
.site-footer.hx-foot { padding: 0; text-align: left; background: var(--hx-night); color: #8f9ab8; font-size: 15px; letter-spacing: 0; border-top: 1px solid rgba(255,255,255,.06); }
.hx-foot__top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 56px; padding: 64px 0 48px; }
.hx-foot .logo { display: inline-block; color: #fff; font-size: 20px; }
.hx-foot .logo img { filter: invert(1); }
.hx-foot__brand p { margin-top: 18px; max-width: 340px; line-height: 1.6; }
.hx-foot__brand .hx-btn { margin-top: 24px; }
.hx-foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.hx-foot__cols h4 { margin: 0 0 14px; font: 700 12.5px/1.2 'Onest', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #5f6a8a; }
.hx-foot__cols a { display: block; padding: 5px 0; color: #cfd6ea; text-decoration: none; line-height: 1.4; transition: color .2s; }
.hx-foot__cols a:hover { color: #fff; }
.hx-foot__cols p { margin-top: 10px; font-size: 14px; line-height: 1.5; white-space: pre-line; }
.hx-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; color: #5f6a8a; }
.hx-foot__bottom p { margin: 0; }

/* --- База --- */
.hx { font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; color: var(--hx-text); background: var(--hx-paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
.hx *, .hx *::before, .hx *::after { box-sizing: border-box; }
/* margin: 0 уже даёт сброс в style.css (*); здесь его нет нарочно — правило .hx p / .hx h2
   сильнее одиночного класса и обнуляло бы margin-top у .hx-lead, .hx-phero__lead и т. п. */
.hx h1, .hx h2, .hx h3 { font-family: 'Unbounded', system-ui, sans-serif; letter-spacing: -.02em; }
.hx img { display: block; max-width: 100%; }
.hx a { transition: color .2s; }
.hx-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.hx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hx-ico { width: 20px; height: 20px; flex: none; }

/* --- Кнопки --- */
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font: 600 16px/1 'Onest', sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s, box-shadow .25s, background-color .25s, color .25s; white-space: nowrap; }
.hx-btn .hx-ico { transition: transform .25s; }
.hx-btn:hover .hx-ico { transform: translateX(3px); }
.hx-btn--accent { background: var(--hx-accent); color: var(--hx-accent-ink); box-shadow: 0 14px 34px -14px var(--hx-accent); }
.hx-btn--accent:hover { transform: translateY(-2px); color: var(--hx-accent-ink); box-shadow: 0 20px 44px -14px var(--hx-accent); }
.hx-btn--ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.hx-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hx-btn--dark { background: var(--hx-text); color: #fff; }
.hx-btn--dark:hover { background: #1e293b; color: #fff; transform: translateY(-2px); }
.hx-btn--line { background: #fff; color: var(--hx-text); box-shadow: inset 0 0 0 1.5px var(--hx-line); }
.hx-btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--hx-text); color: var(--hx-text); }
.hx-btn--sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
.hx-btn--block { width: 100%; }
.hx-btn--ext:hover .hx-ico { transform: translate(2px,-2px); }
.hx-linkbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 6px; border: 0; background: none; color: #cfd6ea; font: 600 16px/1 'Onest', sans-serif; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(207,214,234,.35); text-underline-offset: 6px; transition: color .2s, text-decoration-color .2s; }
.hx-linkbtn:hover { color: #fff; text-decoration-color: currentColor; }

/* --- Тёмный фон: сетка и свечение (hero главной и шапки страниц) --- */
.hx-hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(148,163,209,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,209,.08) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 65% 70% at 72% 38%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse 65% 70% at 72% 38%, #000 20%, transparent 72%); }
.hx-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hx-glow--a { width: 640px; height: 640px; right: -160px; top: -220px; background: #2563eb; opacity: .55; animation: hx-drift 22s ease-in-out infinite alternate; }
.hx-glow--b { width: 440px; height: 440px; right: 380px; top: 300px; background: #0ea5e9; opacity: .22; animation: hx-drift 27s ease-in-out -8s infinite alternate-reverse; }
.hx-glow--c { width: 420px; height: 420px; left: -220px; top: 420px; background: #f59e0b; opacity: .14; animation: hx-drift 25s ease-in-out -4s infinite alternate; }
@keyframes hx-drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-50px,40px,0) scale(1.1); } 100% { transform: translate3d(40px,-30px,0) scale(.94); } }
@keyframes hx-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: 14px; font-weight: 500; color: #cfd6ea; }
.hx-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: hx-ping 2.2s ease-out infinite; }
@keyframes hx-ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 75%, 100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }
.hx-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hx-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 34px 0 0; padding: 0; list-style: none; }
.hx-trust li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #cfd6ea; }
.hx-trust .hx-ico { width: 18px; height: 18px; color: #22c55e; }

/* окно браузера и плавающие плашки */
.hx-browser { position: relative; border-radius: 16px; background: #0f1730; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 90px -30px rgba(37,99,235,.65), 0 24px 50px -20px rgba(0,0,0,.6); transform: rotateY(-8deg) rotateX(5deg); animation: hx-hover3d 9s ease-in-out infinite; }
@keyframes hx-hover3d { 0%, 100% { transform: rotateY(-8deg) rotateX(5deg) translateY(0); } 50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-10px); } }
.hx-browser__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.hx-browser__bar > span { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.hx-browser__bar > span:nth-child(2) { background: #fbbf24; }
.hx-browser__bar > span:nth-child(3) { background: #34d399; }
.hx-browser__url { margin-left: 12px; flex: 1; display: flex; align-items: center; gap: 8px; height: 24px; padding: 0 12px; border-radius: 7px; background: rgba(255,255,255,.07); font-size: 12.5px; color: #aab3cc; }
.hx-browser__url .hx-ico { width: 13px; height: 13px; color: #34d399; }
.hx-browser__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 0 16px 16px; background: #fff; }
.hx-card-f { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.97); color: var(--hx-text); box-shadow: 0 18px 40px -16px rgba(2,6,23,.55); font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; animation: hx-bob 7s ease-in-out infinite; }
.hx-card-f small { display: block; font-size: 12px; font-weight: 500; color: var(--hx-muted); }
.hx-card-f .hx-ic { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #eef3ff; color: var(--hx-blue-2); }
.hx-card-f .hx-ic .hx-ico { width: 19px; height: 19px; }
@keyframes hx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* --- Шапка внутренних страниц --- */
.hx-phero { position: relative; isolation: isolate; overflow: hidden; background: var(--hx-night); color: #e7ebf7; }
.hx-phero .hx-hero__grid { -webkit-mask-image: radial-gradient(ellipse 60% 110% at 85% 0%, #000 12%, transparent 70%); mask-image: radial-gradient(ellipse 60% 110% at 85% 0%, #000 12%, transparent 70%); }
.hx-phero .hx-glow--c { top: 160px; }
.hx-phero__in { padding: 26px 0 72px; }
.hx-phero__body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,400px); gap: 48px; align-items: center; margin-top: 34px; }
.hx-phero__body--solo { grid-template-columns: minmax(0,880px); }
.hx-phero__copy > * { animation: hx-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hx-phero__copy > :nth-child(2) { animation-delay: .06s; }
.hx-phero__copy > :nth-child(3) { animation-delay: .12s; }
.hx-phero__copy > :nth-child(4) { animation-delay: .18s; }
.hx-phero__copy > :nth-child(n+5) { animation-delay: .24s; }
.hx-phero__aside { animation: hx-rise 1s .15s cubic-bezier(.2,.7,.2,1) both; }
.hx-phero .hx-kicker { color: var(--hx-sky); }
.hx-phero__h1 { font-size: 46px; line-height: 1.12; font-weight: 700; color: #fff; }
.hx-phero__lead { margin-top: 18px; max-width: 720px; font-size: 18px; line-height: 1.65; color: #b6bfd6; }
.hx-phero__lead + .hx-phero__lead { margin-top: 12px; }
.hx-phero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 14px; line-height: 1.3; color: #cfd6ea; text-decoration: none; }
.hx-pill .hx-ico { width: 16px; height: 16px; color: var(--hx-sky); }
.hx-pill b { color: #fff; font-weight: 600; }
a.hx-pill:hover { background: rgba(255,255,255,.11); color: #fff; }
.hx-glass { border-radius: 22px; padding: 26px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* хлебные крошки на тёмном */
.hx-phero .breadcrumbs { margin: 0; }
.hx-phero .breadcrumbs-list { gap: 6px; font-size: 13.5px; color: #4b5573; }
.hx-phero .breadcrumbs-item { gap: 6px; }
.hx-phero .breadcrumbs-item + .breadcrumbs-item::before { margin: 0; color: #3b4566; }
.hx-phero .breadcrumbs-item a { color: #8f9ab8; }
.hx-phero .breadcrumbs-item a:hover { color: #fff; }
.hx-phero .breadcrumbs-item--current span { color: #cfd6ea; }

/* --- Секции --- */
.hx-sec { padding: 112px 0; }
.hx-sec--white { background: #fff; }
.hx-sec--tight { padding: 80px 0; }
.hx-sec--flush { padding-top: 0; }
.hx-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.hx-sec__head > div { max-width: 720px; }
.hx-kicker { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-blue-2); }
.hx-h2 { font-size: 40px; line-height: 1.15; font-weight: 700; color: var(--hx-text); }
.hx-lead { margin-top: 16px; font-size: 18px; color: var(--hx-muted); }
.hx-lead a { color: var(--hx-blue-2); }
.hx-center { display: flex; justify-content: center; margin-top: 44px; }
.hx-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: #fff; box-shadow: var(--hx-ring); font-size: 14.5px; color: var(--hx-muted); white-space: nowrap; }
.hx-badge b { font: 700 15px/1 'Unbounded', sans-serif; color: var(--hx-text); }

/* --- Карточки шаблонов --- */
.hx-tgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.hx-tgrid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.hx-tcard { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: var(--hx-ring); overflow: hidden; transition: transform .35s, box-shadow .35s; }
.hx-tcard[hidden] { display: none; }
.hx-tcard:hover { transform: translateY(-6px); box-shadow: var(--hx-lift); }
.hx-tcard:focus-within { box-shadow: 0 0 0 2px var(--hx-blue); }
.hx-tcard__shot { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9edf5; }
.hx-tcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 4s cubic-bezier(.3,0,.2,1); }
.hx-tcard:hover .hx-tcard__shot img { object-position: 50% 100%; }
.hx-tcard__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.hx-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; background: #eef6ff; color: #1d4ed8; font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.hx-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--hx-sky); flex: none; }
.hx-tag--svc { background: #fff6e5; color: #8a4b00; }
.hx-tag--svc::before { background: var(--hx-accent); }
.hx-tag--dark { background: rgba(56,189,248,.12); color: #bae6fd; }
.hx-tag--dark.hx-tag--svc { background: rgba(245,158,11,.14); color: #fde68a; }
a.hx-tag:hover { filter: brightness(1.12); }
.hx-tcard h3 { font-size: 18px; line-height: 1.35; font-weight: 700; }
.hx-tgrid--4 .hx-tcard h3 { font-size: 16px; }
.hx-tgrid--4 .hx-tcard__body { padding: 20px; }
.hx-tgrid--4 .hx-more { display: none; }   /* узкая карточка: цена и аренда на всю ширину, ссылка — вся карточка */
.hx-tcard h3 a { color: inherit; text-decoration: none; }
.hx-tcard h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.hx-tcard h3 a:focus-visible { outline: none; }
.hx-tcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.hx-tcard__price { font: 700 17px/1.1 'Unbounded', sans-serif; color: var(--hx-text); white-space: nowrap; }
.hx-tcard__price small { display: block; margin-top: 6px; font: 500 13px/1.2 'Onest', sans-serif; color: var(--hx-muted); }
.hx-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--hx-blue-2); white-space: nowrap; }
.hx-more:hover { color: var(--hx-blue); }
.hx-more .hx-ico { width: 17px; height: 17px; transition: transform .25s; }
.hx-more:hover .hx-ico, .hx-tcard:hover .hx-more .hx-ico, .hx-gcard:hover .hx-more .hx-ico { transform: translateX(3px); }

/* карточки ниш */
.hx-ngrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.hx-ncard { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: var(--hx-ring); overflow: hidden; text-decoration: none; color: var(--hx-text); transition: transform .35s, box-shadow .35s; }
.hx-ncard:hover { transform: translateY(-5px); box-shadow: var(--hx-lift); color: var(--hx-text); }
.hx-ncard__shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #e9edf5, #dfe5f0); }
.hx-ncard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hx-ncard:hover .hx-ncard__shot img { transform: scale(1.05); }
.hx-ncard__b { display: flex; flex-direction: column; gap: 6px; padding: 18px 60px 20px 20px; }
.hx-ncard__b strong { font: 700 16px/1.3 'Unbounded', sans-serif; letter-spacing: -.01em; }
.hx-ncard__b small { font-size: 14px; color: var(--hx-muted); }
.hx-ncard__go { position: absolute; right: 16px; bottom: 20px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: #eef3ff; color: var(--hx-blue-2); transition: background-color .25s, color .25s; }
.hx-ncard:hover .hx-ncard__go { background: var(--hx-blue-2); color: #fff; }
.hx-ncard__go .hx-ico { width: 17px; height: 17px; }

/* --- Плитки, форматы, списки --- */
.hx-bento { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.hx-tile { position: relative; padding: 30px; border-radius: 24px; background: #fff; box-shadow: var(--hx-ring); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.hx-tile:hover { transform: translateY(-4px); box-shadow: var(--hx-lift); }
.hx-tile__ic { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: #eef3ff; color: var(--hx-blue-2); }
.hx-tile__ic .hx-ico, .hx-tile__ic svg { width: 24px; height: 24px; }
.hx-tile h3 { margin-top: 22px; font-size: 19px; line-height: 1.3; font-weight: 700; }
.hx-tile p { margin-top: 10px; color: var(--hx-muted); font-size: 15.5px; }
.hx-tile--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; align-items: center; background: var(--hx-night-2); color: #e7ebf7; box-shadow: none; }
.hx-tile--wide h3 { color: #fff; }
.hx-tile--wide p { color: #aab3cc; }
.hx-tile--wide .hx-tile__ic { background: rgba(255,255,255,.08); color: var(--hx-accent); }
.hx-tile--accent { background: var(--hx-accent); color: var(--hx-accent-ink); box-shadow: none; }
.hx-tile--accent p { color: rgba(11,16,32,.8); }
.hx-tile--accent .hx-tile__ic { background: rgba(255,255,255,.5); color: var(--hx-accent-ink); }
.hx-tile--dark { background: var(--hx-night-2); color: #e7ebf7; box-shadow: none; }
.hx-tile--dark h3 { color: #fff; }
.hx-tile--dark p { color: #aab3cc; }
.hx-tile--dark .hx-tile__ic { background: rgba(255,255,255,.08); color: var(--hx-accent); }

.hx-formats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.hx-fcard { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 40px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--hx-line), 0 24px 50px -36px rgba(15,23,42,.35); overflow: hidden; }
.hx-fcard__tag { align-self: flex-start; padding: 7px 14px; border-radius: 99px; background: #eef3ff; color: var(--hx-blue-2); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hx-prices { display: grid; gap: 12px; margin: 26px 0 6px; }
.hx-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--hx-line); }
.hx-price-row span { color: var(--hx-muted); font-size: 16px; }
.hx-price-row strong { font: 700 30px/1.1 'Unbounded', sans-serif; color: var(--hx-text); white-space: nowrap; }
.hx-ticks { display: grid; gap: 12px; margin: 22px 0 32px; padding: 0; list-style: none; }
.hx-ticks li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.hx-ticks .hx-ico { margin-top: 2px; color: var(--hx-ok); }
.hx-fcard .hx-btn { margin-top: auto; align-self: flex-start; }
.hx-fcard--rent { background: var(--hx-night-2); color: #e7ebf7; box-shadow: 0 30px 60px -36px rgba(37,99,235,.8); }
.hx-fcard--rent::before { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; top: -180px; border-radius: 50%; background: #2563eb; filter: blur(80px); opacity: .45; pointer-events: none; }
.hx-fcard--rent .hx-fcard__tag { background: rgba(255,255,255,.08); color: var(--hx-accent); }
.hx-big-price { margin: 26px 0 6px; font: 700 52px/1 'Unbounded', sans-serif; color: var(--hx-text); letter-spacing: -.03em; }
.hx-fcard--rent .hx-big-price { color: #fff; }
.hx-big-price small { font: 600 18px/1 'Onest', sans-serif; color: #9aa5c3; letter-spacing: 0; }
.hx-fcard--rent .hx-ticks .hx-ico { color: var(--hx-accent); }
.hx-fcard__note { color: var(--hx-muted); font-size: 15px; }
.hx-fcard--rent .hx-fcard__note { color: #9aa5c3; }

/* списки с иконкой: .hx-list--yes (галочки), --no (крестики), --num (номера), --light (на тёмном) */
.hx-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: hxl; }
.hx-list li { display: flex; gap: 12px; line-height: 1.5; }
.hx-list .hx-ico { width: 18px; height: 18px; margin-top: 3px; flex: none; color: var(--hx-ok); }
.hx-list--no .hx-ico { color: var(--hx-no); }
.hx-list--no li { color: var(--hx-muted); }
.hx-list--num li::before { counter-increment: hxl; content: counter(hxl); flex: none; width: 26px; height: 26px; margin-top: -1px; border-radius: 8px; background: #eef3ff; color: var(--hx-blue-2); font: 700 12px/26px 'Unbounded', sans-serif; text-align: center; }
.hx-list--light li { color: #cfd6ea; }
.hx-list--light .hx-ico { color: var(--hx-accent); }
.hx-list--cols { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 28px; }
.hx-chips-static { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hx-chips-static li { padding: 8px 14px; border-radius: 99px; background: #f1f4f9; font-size: 15px; line-height: 1.3; }

/* --- Шаги --- */
/* Линия — слоем под шагами (isolation + z-index:-1): анимация появления делает
   каждый шаг отдельным слоем, и z-index номера уже не поднимает его над линией */
.hx-steps { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
/* от центра первого номера до центра последнего: 4 колонки, зазор 28px, номер 56px → right = 25% − 49px */
.hx-steps::before, .hx-steps::after { content: ''; position: absolute; z-index: -1; left: 28px; right: calc(25% - 49px); top: 27px; height: 2px; background: var(--hx-line); }
.hx-steps::after { background: linear-gradient(90deg, var(--hx-blue), var(--hx-accent)); transform-origin: left; }
.hx-step { position: relative; }
.hx-step__num { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--hx-line), 0 10px 24px -12px rgba(15,23,42,.25); font: 700 20px/1 'Unbounded', sans-serif; color: var(--hx-blue-2); }
.hx-step:last-child .hx-step__num { background: var(--hx-accent); color: var(--hx-accent-ink); box-shadow: 0 12px 26px -10px var(--hx-accent); }
.hx-step__when { display: inline-block; margin: 22px 0 10px; padding: 5px 11px; border-radius: 99px; background: #eef3ff; color: var(--hx-blue-2); font-size: 13px; font-weight: 700; }
.hx-step h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.hx-step p { margin-top: 10px; color: var(--hx-muted); font-size: 15.5px; }

/* --- Гайды --- */
.hx-ggrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.hx-gcard { display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: var(--hx-ring); overflow: hidden; text-decoration: none; color: var(--hx-text); transition: transform .35s, box-shadow .35s; }
.hx-gcard:hover { transform: translateY(-6px); color: var(--hx-text); box-shadow: var(--hx-lift); }
.hx-gcard img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.hx-gcard__ph { display: block; aspect-ratio: 1200 / 630; background: linear-gradient(135deg, #1d4ed8, #38bdf8); }
.hx-gcard__b { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; flex: 1; }
.hx-gcard h3 { font-size: 17px; line-height: 1.4; font-weight: 700; }
.hx-gcard p { color: var(--hx-muted); font-size: 15px; line-height: 1.55; }
.hx-gcard .hx-more { margin-top: auto; padding-top: 4px; }

/* --- Вопросы --- */
.hx-faq-wrap { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; align-items: start; }
.hx-faq { display: grid; gap: 12px; }
.hx-qa { border-radius: 18px; background: #fff; box-shadow: var(--hx-ring); transition: box-shadow .25s; }
.hx-sec--white .hx-qa { background: var(--hx-paper); }
.hx-qa[open] { box-shadow: 0 0 0 1.5px var(--hx-blue); }
.hx-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-weight: 600; font-size: 17px; line-height: 1.4; cursor: pointer; list-style: none; }
.hx-qa summary::-webkit-details-marker { display: none; }
.hx-qa summary .hx-ico { color: var(--hx-blue-2); transition: transform .3s; }
.hx-qa[open] summary .hx-ico { transform: rotate(45deg); }
.hx-qa p, .hx-qa__a { padding: 0 24px 22px; color: var(--hx-muted); font-size: 16px; }

/* --- Заявка (тёмный блок и форма) --- */
.hx-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--hx-night); color: #e7ebf7; padding: 112px 0; }
.hx-cta__in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,460px); gap: 64px; align-items: center; }
.hx-cta .hx-kicker { color: var(--hx-sky); }
.hx-cta .hx-h2 { color: #fff; font-size: 44px; }
.hx-cta .hx-lead { color: #aab3cc; }
.hx-cta .hx-list { margin-top: 28px; }
.hx-cta__facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hx-cta__facts span { padding: 9px 14px; border-radius: 99px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 14px; color: #cfd6ea; }
.hx-form { position: relative; padding: 34px; border-radius: 26px; background: var(--hx-night-3); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.hx-form::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--hx-ang), rgba(255,255,255,.08) 0deg, rgba(255,255,255,.08) 240deg, var(--hx-accent) 300deg, var(--hx-blue) 340deg, rgba(255,255,255,.08) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hx-spin 7s linear infinite; pointer-events: none; }
@keyframes hx-spin { to { --hx-ang: 360deg; } }
.hx-form h3 { font-size: 22px; line-height: 1.3; color: #fff; }
.hx-form__sub { margin-top: 8px; color: #9aa5c3; font-size: 15px; }
.hx-field { display: grid; gap: 8px; margin-top: 18px; }
.hx-field label { font-size: 14px; font-weight: 600; color: #cfd6ea; }
.hx-field input, .hx-field textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 0; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: #fff; font: 500 16px/1.4 'Onest', sans-serif; outline: none; transition: box-shadow .2s; }
.hx-field textarea { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; }
.hx-field input::placeholder, .hx-field textarea::placeholder { color: #8f9ab8; }
.hx-field input:focus, .hx-field textarea:focus { box-shadow: inset 0 0 0 2px var(--hx-accent); }
.hx-consent { display: flex; gap: 10px; margin-top: 14px; font-size: 13.5px; line-height: 1.45; color: #aab3cc; cursor: pointer; }
.hx-consent + .hx-consent { margin-top: 8px; }
.hx-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--hx-accent); }
.hx-consent a { color: #e7ebf7; }
.hx-form .hx-btn { width: 100%; margin-top: 22px; }
.hx-form__note { margin-top: 14px; text-align: center; font-size: 13.5px; color: #8f9ab8; }
.hx-form__note a { color: #cfd6ea; text-decoration: none; }
.hx-form__note a:hover { color: #fff; }
.hx-form__note button { padding: 0; border: 0; background: none; color: #cfd6ea; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hx-form__error { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: rgba(239,68,68,.15); color: #fecaca; font-size: 14px; }
.hx-form__error[hidden] { display: none; }

/* светлая форма (модальные окна) */
.hx-form--light { padding: 0; background: none; box-shadow: none; }
.hx-form--light::before { content: none; }
.hx-form--light .hx-field label { color: var(--hx-text); }
.hx-form--light .hx-field input, .hx-form--light .hx-field textarea { background: var(--hx-paper); box-shadow: inset 0 0 0 1px var(--hx-line); color: var(--hx-text); }
.hx-form--light .hx-field input::placeholder, .hx-form--light .hx-field textarea::placeholder { color: #94a0b8; }
.hx-form--light .hx-field input:focus, .hx-form--light .hx-field textarea:focus { box-shadow: inset 0 0 0 2px var(--hx-blue); background: #fff; }
.hx-form--light .hx-consent { color: var(--hx-muted); }
.hx-form--light .hx-consent a { color: var(--hx-blue-2); }
.hx-form--light .hx-consent input { accent-color: var(--hx-blue-2); }
.hx-form--light .hx-form__error { background: #fef2f2; color: #b91c1c; }
.hx-form__hint { margin-top: 8px; font-size: 13.5px; color: var(--hx-muted); }

/* --- Текст: абзацы, SEO-тексты, документы --- */
.hx-prose { font-size: 17px; line-height: 1.75; color: #1e293b; }
.hx-prose > * + * { margin-top: 1em; }
.hx-prose h2 { margin-top: 1.8em; font-size: 26px; line-height: 1.25; color: var(--hx-text); }
.hx-prose h3 { margin-top: 1.5em; font-size: 20px; line-height: 1.3; }
.hx-prose a { color: var(--hx-blue-2); text-decoration: underline; text-decoration-color: rgba(37,99,235,.35); text-underline-offset: 3px; }
.hx-prose a:hover { text-decoration-color: currentColor; }
.hx-prose strong { color: var(--hx-text); }
.hx-prose--muted { color: var(--hx-muted); font-size: 16px; }
.hx-narrow { max-width: 860px; }
.hx-doc { max-width: 900px; padding: 48px 56px; border-radius: 28px; background: #fff; box-shadow: var(--hx-ring); }
.hx-bottom { padding: 72px 0; background: #fff; border-top: 1px solid var(--hx-line); }
.hx-bottom__in { max-width: 900px; color: var(--hx-muted); font-size: 15.5px; line-height: 1.75; }
.hx-bottom__in p + p { margin-top: 14px; }
.hx-bottom__intro { margin-bottom: 18px; color: var(--hx-text); font-weight: 500; }

/* таблицы */
.hx-table-wrap { overflow-x: auto; border-radius: 20px; background: #fff; box-shadow: var(--hx-ring); }
.hx-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
/* заголовки переносятся: таблица в 4 колонки должна влезать в колонку статьи (820px) */
.hx-table th { padding: 14px 18px; text-align: left; vertical-align: bottom; font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; color: var(--hx-muted); background: #f8fafd; border-bottom: 1px solid var(--hx-line); }
.hx-table td { padding: 14px 18px; border-bottom: 1px solid #eef1f6; vertical-align: top; }
.hx-table tbody tr:last-child td { border-bottom: 0; }
.hx-table tbody tr:hover td { background: #fafbfe; }
.hx-table td:first-child { font-weight: 600; color: var(--hx-text); }
.hx-table a { color: var(--hx-blue-2); font-weight: 600; text-decoration: none; }
.hx-table a:hover { text-decoration: underline; }
.hx-nowrap { white-space: nowrap; }

/* блок «определение» и «коротко» */
.hx-def__term { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-accent); }
.hx-def__term .hx-ico { width: 16px; height: 16px; }
.hx-def__text { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: #cfd6ea; }

/* --- Карточка шаблона: hero --- */
.hx-dhero .hx-phero__in { padding-bottom: 92px; }
.hx-dhero__body { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; align-items: center; margin-top: 30px; }
.hx-dhero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-dhero h1 { margin-top: 18px; font-size: 40px; line-height: 1.14; font-weight: 700; color: #fff; }
.hx-dhero__accent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 16px; line-height: 1.5; color: #b6bfd6; }
.hx-dhero__accent .hx-ico { margin-top: 2px; color: var(--hx-accent); }
.hx-dhero__accent b { color: #e7ebf7; font-weight: 600; }
.hx-pricebox { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 28px; border-radius: 20px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.hx-pricebox__col { padding: 18px 22px 20px; }
.hx-pricebox__col + .hx-pricebox__col { box-shadow: inset 1px 0 0 rgba(255,255,255,.1); }
.hx-pricebox small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8f9ab8; }
.hx-pricebox strong { display: block; margin-top: 8px; font: 700 30px/1.1 'Unbounded', sans-serif; color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.hx-pricebox strong span { font: 600 15px/1 'Onest', sans-serif; color: #9aa5c3; letter-spacing: 0; }
.hx-pricebox__col--rent strong { color: var(--hx-accent); }
.hx-pricebox p { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: #9aa5c3; }
.hx-dshot { position: relative; padding: 18px 18px 30px; perspective: 1600px; animation: hx-rise 1.1s .15s cubic-bezier(.2,.7,.2,1) both; }
.hx-dshot .hx-browser { display: block; width: 100%; padding: 0; border: 0; text-align: left; font: inherit; color: inherit; cursor: zoom-in; }
.hx-dshot .hx-browser:focus-visible { outline: 3px solid var(--hx-accent); outline-offset: 4px; }
.hx-dshot .hx-browser__view { display: block; }
.hx-browser__bar > .hx-browser__url { width: auto; height: 24px; border-radius: 7px; background: rgba(255,255,255,.07); }
.hx-browser__view--pan img { width: 100%; height: auto; animation: hx-pan 18s ease-in-out infinite alternate; }
@keyframes hx-pan { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(-37.5%); } }
.hx-zoomhint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 99px; background: rgba(7,11,24,.78); color: #fff; font-size: 13px; font-weight: 600; transition: transform .2s, background-color .2s; pointer-events: none; }
.hx-zoomhint .hx-ico { width: 16px; height: 16px; }
.hx-dshot .hx-browser:hover .hx-zoomhint { transform: translateY(-2px); background: var(--hx-blue-2); }
.hx-dcard--a { left: -6px; bottom: 4px; animation-delay: -2s; }
.hx-dcard--b { right: -8px; top: 30px; animation-delay: -4.5s; }
.hx-dcard--b .hx-ic { background: #ecfdf5; color: #059669; }

/* состав сайта */
.hx-spec { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 24px; align-items: start; }
.hx-card { padding: 30px; border-radius: 24px; background: #fff; box-shadow: var(--hx-ring); }
.hx-sec--white .hx-card { background: var(--hx-paper); box-shadow: none; }
.hx-card__head { display: flex; align-items: center; gap: 14px; }
.hx-card__head h3 { font-size: 20px; line-height: 1.25; }
.hx-card__head .hx-tile__ic { width: 46px; height: 46px; border-radius: 14px; }
.hx-card__head .hx-tile__ic .hx-ico { width: 22px; height: 22px; }
.hx-card__count { margin-left: auto; padding: 6px 12px; border-radius: 99px; background: #eef3ff; color: var(--hx-blue-2); font: 700 13px/1 'Unbounded', sans-serif; }
.hx-sitemap { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 24px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: hxs; }
.hx-sitemap li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--hx-line); font-weight: 500; line-height: 1.35; }
.hx-sitemap li::before { counter-increment: hxs; content: counter(hxs, decimal-leading-zero); min-width: 22px; font: 700 12px/1 'Unbounded', sans-serif; color: var(--hx-blue-2); }
.hx-spec__extra { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 16px 20px; border-radius: 16px; background: #eef3ff; color: #1e3a8a; font-weight: 500; line-height: 1.45; }
.hx-spec__extra .hx-ico { color: var(--hx-blue-2); }

/* кому подойдёт */
.hx-fit { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: start; }
.hx-fit__card { padding: 30px; border-radius: 24px; background: var(--hx-paper); }
.hx-fit__card h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; line-height: 1.3; }
.hx-fit__ic { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.hx-fit__ic .hx-ico { width: 20px; height: 20px; }
.hx-fit__card--yes .hx-fit__ic { background: #dcfce7; color: #15803d; }
.hx-fit__card--no .hx-fit__ic { background: #fee2e2; color: #dc2626; }
.hx-fit__card--need { background: var(--hx-night-2); color: #e7ebf7; }
.hx-fit__card--need h3 { color: #fff; }
.hx-fit__card--need .hx-fit__ic { background: rgba(255,255,255,.08); color: var(--hx-accent); }
.hx-fit__card--need .hx-list li { color: #cfd6ea; }
.hx-fit__card--need .hx-list--num li::before { background: rgba(245,158,11,.16); color: var(--hx-accent); }
.hx-fit__note { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; line-height: 1.5; color: #9aa5c3; }

/* липкая панель заказа */
.hx-buybar { position: fixed; left: 50%; bottom: 18px; z-index: 95; display: flex; align-items: center; gap: 14px; width: min(780px, calc(100% - 32px)); padding: 10px 10px 10px 12px; border-radius: 20px; background: rgba(13,20,48,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 50px -20px rgba(0,0,0,.7); color: #e7ebf7; font-family: 'Onest', sans-serif; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s, visibility 0s .45s; }
.hx-buybar.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s, visibility 0s; }
.hx-buybar__thumb { width: 56px; height: 42px; border-radius: 9px; overflow: hidden; flex: none; background: #fff; }
.hx-buybar__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hx-buybar__t { flex: 1; min-width: 0; line-height: 1.3; }
.hx-buybar__t b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; font-weight: 600; color: #fff; }
.hx-buybar__t span { font-size: 13px; color: #9aa5c3; }
.hx-buybar__t span strong { font: 700 14px/1 'Unbounded', sans-serif; color: #fff; }
.hx-buybar__t em { font-style: normal; white-space: nowrap; }
.hx-buybar__t em::before { content: ' · '; }
.hx-buybar__short { display: none; }
.hx-buybar .hx-btn { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
body:has(#cookie-consent:not([hidden])) .hx-buybar { bottom: 104px; }

/* --- Каталог --- */
.hx-filters { position: relative; z-index: 2; margin: -34px 0 40px; padding: 18px 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--hx-line), 0 24px 50px -36px rgba(15,23,42,.35); }
.hx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border: 0; border-radius: 99px; background: #f1f4f9; color: var(--hx-text); font: 500 14.5px/1.2 'Onest', sans-serif; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; white-space: nowrap; }
.hx-chip:hover { background: #e4e9f2; color: var(--hx-text); }
.hx-chip.is-active { background: var(--hx-text); color: #fff; }
.hx-chip--more { background: transparent; box-shadow: inset 0 0 0 1.5px var(--hx-line); color: var(--hx-blue-2); font-weight: 600; }
.hx-chip--more:hover { background: #eef3ff; color: var(--hx-blue-2); }
.hx-chip[hidden] { display: none; }
.hx-pricef { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hx-line); }
.hx-pricef label { margin-right: 4px; font-size: 14.5px; font-weight: 600; color: var(--hx-muted); }
.hx-pricef input { width: 130px; height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--hx-paper); box-shadow: inset 0 0 0 1px var(--hx-line); font: 500 15px/1 'Onest', sans-serif; color: var(--hx-text); }
.hx-pricef input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--hx-blue); background: #fff; }
.hx-pricef__dash { color: var(--hx-muted); }
.hx-pricef__reset { margin-left: 4px; font-size: 14.5px; color: var(--hx-muted); }
.hx-pricef__reset:hover { color: var(--hx-text); }
.hx-pricef .hx-btn { min-height: 42px; }
.hx-empty { padding: 56px 24px; border-radius: 24px; background: #fff; box-shadow: var(--hx-ring); text-align: center; color: var(--hx-muted); }
.hx-empty .hx-btn { margin-top: 20px; }

.hx-inline-cta { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 20px 40px; align-items: center; margin: 32px 0; padding: 32px 36px; border-radius: 26px; background: var(--hx-night-2); color: #e7ebf7; }
.hx-inline-cta::before { content: ''; position: absolute; z-index: -1; width: 380px; height: 380px; right: -120px; top: -200px; border-radius: 50%; background: #2563eb; filter: blur(80px); opacity: .5; pointer-events: none; }
.hx-inline-cta__t strong { display: block; font: 700 22px/1.3 'Unbounded', sans-serif; letter-spacing: -.02em; color: #fff; }
.hx-inline-cta__t span { display: block; margin-top: 8px; color: #aab3cc; }
.hx-inline-cta__row { display: flex; gap: 10px; }
.hx-inline-cta__row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: #fff; font: 500 16px/1 'Onest', sans-serif; outline: none; }
.hx-inline-cta__row input::placeholder { color: #8f9ab8; }
.hx-inline-cta__row input:focus { box-shadow: inset 0 0 0 2px var(--hx-accent); }
.hx-inline-cta .hx-consent { margin-top: 10px; }

.hx-twocol { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; align-items: start; }
.hx-facts__title { font-size: 16px; line-height: 1.35; color: #fff; }
.hx-facts table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14.5px; line-height: 1.4; }
.hx-facts th { padding: 11px 12px 11px 0; text-align: left; vertical-align: top; font-weight: 500; color: #8f9ab8; }
.hx-facts td { padding: 11px 0; text-align: right; font-weight: 600; color: #fff; }
.hx-facts tr + tr th, .hx-facts tr + tr td { border-top: 1px solid rgba(255,255,255,.08); }
.hx-facts a { color: var(--hx-sky); text-decoration: none; }
.hx-facts a:hover { color: #fff; }

/* --- Гайд и кейс --- */
.hx-article-hero .hx-phero__in { max-width: 820px; margin: 0 auto; padding-bottom: 120px; }   /* по колонке статьи */
.hx-article { position: relative; max-width: 820px; margin: 0 auto; }
.hx-article__cover { margin-top: -84px; border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(2,6,23,.55); overflow: hidden; background: #fff; }
.hx-article__cover img { width: 100%; height: auto; }
.hx-article__lead { margin-top: 40px; font-size: 20px; line-height: 1.65; color: var(--hx-text); font-weight: 500; }
.hx-gsec { margin-top: 48px; }
.hx-gsec > h2 { font-size: 27px; line-height: 1.25; color: var(--hx-text); }
.hx-gsec > h2 + * { margin-top: 18px; }
.hx-gsec .hx-list { margin-top: 18px; }
.hx-gsec .hx-list li { font-size: 17px; }
.hx-list--dots li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--hx-blue); }
.hx-gsteps { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: hxg; }
.hx-gsteps li { position: relative; padding: 20px 22px 20px 74px; border-radius: 18px; background: #fff; box-shadow: var(--hx-ring); }
.hx-gsteps li::before { counter-increment: hxg; content: counter(hxg); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 12px; background: #eef3ff; color: var(--hx-blue-2); font: 700 15px/38px 'Unbounded', sans-serif; text-align: center; }
.hx-gsteps strong { display: block; font-size: 17px; line-height: 1.4; }
.hx-gsteps span { display: block; margin-top: 4px; color: var(--hx-muted); line-height: 1.6; }
.hx-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.hx-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: var(--hx-ring); color: var(--hx-text); font-weight: 600; line-height: 1.4; text-decoration: none; transition: box-shadow .25s, transform .25s; }
.hx-links a:hover { transform: translateY(-2px); box-shadow: var(--hx-lift); color: var(--hx-text); }
.hx-links .hx-ico { color: var(--hx-blue-2); }
.hx-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 40px; }
.hx-metric { padding: 24px; border-radius: 20px; background: #fff; box-shadow: var(--hx-ring); }
.hx-metric span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-muted); }
.hx-metric strong { display: block; margin-top: 10px; font: 700 24px/1.2 'Unbounded', sans-serif; letter-spacing: -.02em; color: var(--hx-text); }
.hx-shotframe { margin-top: 40px; }
.hx-shotframe .hx-browser { transform: none; animation: none; }
.hx-shotframe .hx-browser__view img { width: 100%; height: auto; }   /* кадр 16:10 — верх сайта */

/* --- Контакты --- */
.hx-cgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: start; }
.hx-cgrid .hx-card h2 { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 1.3; }
.hx-cgrid .hx-card h2 .hx-tile__ic { width: 42px; height: 42px; border-radius: 13px; }
.hx-cgrid .hx-card h2 .hx-ico { width: 20px; height: 20px; }
.hx-dl { margin: 18px 0 0; }
.hx-dl dt { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--hx-muted); }
.hx-dl dt:first-child { margin-top: 0; }
.hx-dl dd { margin: 4px 0 0; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.hx-dl a { color: var(--hx-blue-2); text-decoration: none; }
.hx-dl a:hover { text-decoration: underline; }
.hx-mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hx-map { margin-top: 24px; border-radius: 24px; overflow: hidden; box-shadow: var(--hx-ring); background: #e9edf5; }
.hx-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* --- 404 и «спасибо» --- */
.hx-center-hero .hx-phero__in { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 69px); padding: 72px 0 96px; text-align: center; }
.hx-center-hero .hx-phero__lead { margin-left: auto; margin-right: auto; }
.hx-center-hero .hx-hero__cta { justify-content: center; }
.hx-bignum { font: 800 168px/1 'Unbounded', sans-serif; letter-spacing: -.06em; background: linear-gradient(135deg, #fff 10%, var(--hx-sky) 55%, var(--hx-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-okmark { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin-bottom: 28px; border-radius: 30px; background: rgba(34,197,94,.14); box-shadow: inset 0 0 0 1px rgba(34,197,94,.35); color: #4ade80; animation: hx-pop .7s cubic-bezier(.2,.9,.3,1.3) both; }
.hx-okmark .hx-ico { width: 46px; height: 46px; }
@keyframes hx-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.hx-next { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; width: 100%; max-width: 900px; margin-top: 48px; text-align: left; }
.hx-next div { padding: 20px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.hx-next b { display: block; font: 700 13px/1 'Unbounded', sans-serif; color: var(--hx-accent); }
.hx-next span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.5; color: #cfd6ea; }

/* --- Модальные окна (заявка, консультация, скриншот) --- */
.order-modal { z-index: 1000; padding: 20px; background: rgba(7,11,24,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.order-modal-content.hx-modal { max-width: 500px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 34px; border-radius: 26px; background: #fff; box-shadow: 0 40px 80px -30px rgba(2,6,23,.6); color: var(--hx-text); font-family: 'Onest', sans-serif; line-height: 1.5; }
.hx-modal .order-modal-close { top: 16px; right: 16px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #f1f4f9; color: var(--hx-muted); }
.hx-modal .order-modal-close:hover { background: #e4e9f2; color: var(--hx-text); }
.hx-modal .order-modal-close .hx-ico { width: 18px; height: 18px; }
.hx-modal__title { padding-right: 48px; font: 700 22px/1.3 'Unbounded', sans-serif; letter-spacing: -.02em; }
.hx-modal__sub { margin-top: 8px; color: var(--hx-muted); font-size: 15px; }
.hx-modal .hx-field { margin-top: 16px; }
.hx-modal .hx-btn { width: 100%; margin-top: 20px; }
.img-modal { z-index: 1001; background: rgba(7,11,24,.92); }
.img-modal img { border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.img-modal-close { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.1); opacity: 1; }
.img-modal-close:hover { background: rgba(255,255,255,.2); }
.img-modal-close .hx-ico { width: 22px; height: 22px; }

/* --- Баннер cookies --- */
.cookie-consent { left: 20px; bottom: 20px; transform: none; width: auto; max-width: 440px; padding: 14px 14px 14px 18px; gap: 16px; background: rgba(13,20,48,.96); border: 0; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 50px -20px rgba(0,0,0,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-family: 'Onest', sans-serif; font-size: 14px; }
.cookie-consent-text { color: #cfd6ea; }
.cookie-consent-text a { color: #fff; }
.cookie-consent-btn { padding: 10px 20px; border-radius: 12px; background: var(--hx-accent); color: var(--hx-accent-ink); font-weight: 700; }
.cookie-consent-btn:hover { background: #fbbf24; }

/* --- Блоки страниц ниш, лендингов, кейсов --- */
.hx-mt { margin-top: 64px; }
.hx-block + .hx-block { margin-top: 56px; }
.hx-block__h { font-size: 28px; line-height: 1.2; }
.hx-block__lead { margin-top: 12px; max-width: 780px; color: var(--hx-muted); font-size: 16.5px; }
.hx-block__h + .hx-table-wrap, .hx-block__lead + .hx-table-wrap { margin-top: 22px; }
.hx-card__title { font-size: 21px; line-height: 1.3; }
.hx-card__title + .hx-sitemap { margin-top: 10px; }
.hx-short { color: #cfd6ea; }
.hx-trustcard { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,.62fr) minmax(0,1.38fr); gap: 28px 48px; align-items: start; padding: 44px; border-radius: 28px; background: var(--hx-night-2); color: #e7ebf7; }
.hx-trustcard::before { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; left: -180px; bottom: -260px; border-radius: 50%; background: #f59e0b; filter: blur(90px); opacity: .18; pointer-events: none; }
.hx-trustcard::after { content: ''; position: absolute; z-index: -1; width: 380px; height: 380px; right: -140px; top: -220px; border-radius: 50%; background: #2563eb; filter: blur(90px); opacity: .4; pointer-events: none; }
.hx-trustcard .hx-kicker { color: var(--hx-sky); }
.hx-trustcard__h { font-size: 28px; line-height: 1.2; color: #fff; }
.hx-trustcard .hx-list { margin-top: 0; }
.hx-bento--1 { grid-template-columns: minmax(0,1fr); }
.hx-bento--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.hx-tile__h { margin-top: 22px; font-size: 19px; line-height: 1.3; font-weight: 700; }
.hx-tile--dark .hx-tile__h { color: #fff; }
.hx-tile__txt { margin-top: 10px; color: var(--hx-muted); font-size: 15.5px; }
.hx-tile__txt p + p { margin-top: 10px; }
.hx-tile--dark .hx-tile__txt { color: #aab3cc; }
.hx-lfacts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; padding: 0; overflow: hidden; }
.hx-lfacts > div { padding: 20px 22px; }
.hx-lfacts > div:nth-child(odd) { box-shadow: inset -1px 0 0 rgba(255,255,255,.08); }
.hx-lfacts > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
.hx-lfacts small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8f9ab8; }
.hx-lfacts strong { display: block; margin-top: 8px; font: 700 19px/1.25 'Unbounded', sans-serif; letter-spacing: -.02em; color: #fff; }
.hx-lfacts > div:nth-child(3) strong { color: var(--hx-accent); }
.hx-tcard__lead { color: var(--hx-muted); font-size: 15px; line-height: 1.55; }
.hx-case-tpl { margin-top: 18px; }
.hx-case-tpl .hx-tcard { flex-direction: row; }
.hx-case-tpl .hx-tcard__shot { flex: 0 0 42%; aspect-ratio: auto; min-height: 220px; }

/* --- Появление при прокрутке (Chromium; остальные браузеры показывают сразу) --- */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .hx-reveal { animation: hx-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
        .hx-steps::after { animation: hx-grow linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
    }
}
@keyframes hx-reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes hx-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
    .hx *, .hx *::before, .hx *::after, .hx-buybar { animation: none !important; transition: none !important; }
}

/* --- Планшет --- */
@media (max-width: 1100px) {
    .hx-phero__body, .hx-dhero__body { grid-template-columns: minmax(0,1fr); gap: 36px; }
    .hx-dshot { max-width: 640px; width: 100%; margin: 0 auto; }
    .hx-tgrid, .hx-ggrid, .hx-tgrid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hx-ngrid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .hx-steps { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 40px; }
    .hx-steps::before, .hx-steps::after { display: none; }
    .hx-bento, .hx-cgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hx-faq-wrap, .hx-cta__in, .hx-spec { grid-template-columns: minmax(0,1fr); gap: 40px; }
    .hx-fit { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hx-fit__card--need { grid-column: span 2; }
    .hx-inline-cta, .hx-trustcard { grid-template-columns: minmax(0,1fr); }
    .hx-foot__top { grid-template-columns: minmax(0,1fr); gap: 40px; }
}

/* --- Телефон --- */
@media (max-width: 768px) {
    .site-header .container { padding: 14px 20px; }
}
@media (max-width: 720px) {
    .hx-wrap { padding: 0 20px; }
    .hx-btn { white-space: normal; text-align: center; line-height: 1.2; }
    .hx-phero__in { padding: 18px 0 52px; }
    .hx-phero__body { margin-top: 22px; }
    .hx-phero__h1 { font-size: 28px; line-height: 1.18; }
    .hx-phero__lead { font-size: 16px; }
    .hx-glass { padding: 20px; }
    .hx-hero__cta { margin-top: 26px; }
    .hx-hero__cta .hx-btn { width: 100%; }
    .hx-trust { margin-top: 26px; gap: 10px; }
    .hx-card-f { font-size: 12.5px; padding: 9px 12px; gap: 9px; border-radius: 12px; }
    .hx-card-f small { font-size: 11px; }
    .hx-card-f .hx-ic { width: 28px; height: 28px; border-radius: 8px; }
    .hx-card-f .hx-ic .hx-ico { width: 16px; height: 16px; }
    .hx-sec, .hx-cta { padding: 72px 0; }
    .hx-sec--tight { padding: 56px 0; }
    .hx-sec--flush { padding-top: 0; }
    .hx-h2, .hx-cta .hx-h2 { font-size: 26px; }
    .hx-lead { font-size: 16px; }
    .hx-sec__head { margin-bottom: 30px; }
    .hx-formats { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .hx-fcard { padding: 26px; border-radius: 22px; }
    .hx-price-row strong { font-size: 21px; }
    .hx-big-price { font-size: 38px; }
    .hx-ticks { margin: 18px 0 26px; }
    .hx-fcard .hx-btn { align-self: stretch; }
    .hx-tgrid, .hx-ggrid, .hx-tgrid--4 { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 0 20px 10px; scroll-padding-left: 20px; }
    .hx-tgrid--list, .hx-ggrid--list { grid-auto-flow: row; grid-template-columns: minmax(0,1fr); overflow: visible; margin: 0; padding: 0; gap: 16px; }
    .hx-tcard, .hx-gcard { scroll-snap-align: start; }
    .hx-ngrid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .hx-ncard { border-radius: 18px; }
    .hx-ncard__b { padding: 14px 14px 16px; }
    .hx-ncard__b strong { font-size: 14px; }
    .hx-ncard__b small { font-size: 12.5px; }
    .hx-ncard__go { display: none; }
    .hx-steps { grid-template-columns: minmax(0,1fr); row-gap: 28px; }
    .hx-bento, .hx-cgrid, .hx-twocol, .hx-fit, .hx-metrics, .hx-next { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .hx-fit__card--need { grid-column: auto; }
    .hx-tile, .hx-card, .hx-fit__card { padding: 22px; }
    .hx-tile { display: grid; grid-template-columns: 52px minmax(0,1fr); column-gap: 16px; }
    .hx-tile__ic { grid-row: 1 / span 2; }
    .hx-tile h3 { margin-top: 2px; font-size: 17px; }
    .hx-tile p { grid-column: 2; margin-top: 6px; font-size: 15px; }
    .hx-tile--wide { grid-column: auto; display: block; }
    .hx-tile--wide h3 { margin-top: 18px; }
    .hx-faq-wrap { gap: 28px; }
    .hx-qa summary { padding: 18px; font-size: 16px; }
    .hx-qa p, .hx-qa__a { padding: 0 18px 18px; font-size: 15px; }
    .hx-form { padding: 24px; }
    .hx-bottom { padding: 56px 0; }
    .hx-doc { padding: 26px 20px; border-radius: 22px; }
    .hx-prose { font-size: 16px; }
    .hx-prose h2 { font-size: 22px; }
    .hx-list--cols, .hx-sitemap { grid-template-columns: minmax(0,1fr); }
    /* карточка шаблона */
    .hx-dhero .hx-phero__in { padding-bottom: 56px; }
    .hx-dhero__body { margin-top: 20px; }
    .hx-dhero h1 { font-size: 26px; line-height: 1.2; }
    .hx-dhero__accent { font-size: 15px; }
    .hx-pricebox strong { font-size: 22px; white-space: normal; }
    .hx-phero .breadcrumbs-item--current { display: none; }   /* на телефоне его повторяет заголовок */
    .hx-pricebox__col { padding: 14px 16px 16px; }
    .hx-pricebox p { font-size: 12.5px; }
    .hx-dshot { padding: 10px 0 22px; }
    .hx-dshot .hx-browser { transform: none; animation: none; }
    .hx-dcard--a { left: -4px; bottom: 0; }
    .hx-dcard--b { right: -4px; top: 18px; }
    .hx-zoomhint { right: 10px; bottom: 10px; padding: 6px 10px; font-size: 12px; }
    .hx-linkbtn { width: 100%; justify-content: center; min-height: 44px; }
    .hx-buybar { left: 12px; right: 84px; bottom: 12px; width: auto; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 16px; transform: translateY(140%); }
    .hx-buybar.is-on { transform: none; }
    .hx-buybar__thumb, .hx-buybar__demo, .hx-buybar__t b { display: none; }
    .hx-buybar__t span strong { display: block; font-size: 15px; }
    .hx-buybar__t em { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.3; }
    .hx-buybar__t em::before { content: none; }
    .hx-buybar__long { display: none; }
    .hx-buybar__short { display: inline; }
    .hx-buybar .hx-btn { padding: 0 14px; font-size: 14px; white-space: nowrap; }
    body:has(#cookie-consent:not([hidden])) .hx-buybar { bottom: 150px; }
    /* каталог */
    .hx-filters { margin: -26px 0 28px; padding: 14px; border-radius: 18px; }
    .hx-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; scrollbar-width: none; }
    .hx-chips::-webkit-scrollbar { display: none; }
    .hx-pricef label { width: 100%; }
    .hx-pricef input { flex: 1; width: 0; min-width: 0; }
    .hx-pricef .hx-btn { flex: none; }
    .hx-inline-cta { padding: 24px 20px; border-radius: 22px; }
    .hx-inline-cta__t strong { font-size: 19px; }
    .hx-inline-cta__row { flex-direction: column; }
    /* гайд, кейс */
    .hx-article-hero .hx-phero__in { padding-bottom: 76px; }
    .hx-article__cover { margin-top: -48px; border-radius: 18px; }
    .hx-article__lead { margin-top: 28px; font-size: 17px; }
    .hx-gsec { margin-top: 36px; }
    .hx-gsec > h2 { font-size: 22px; }
    .hx-gsec .hx-list li { font-size: 16px; }
    .hx-gsteps li { padding: 16px 16px 16px 62px; }
    .hx-gsteps li::before { left: 14px; top: 14px; width: 34px; height: 34px; line-height: 34px; font-size: 14px; }
    .hx-metric strong { font-size: 20px; }
    .hx-case-tpl .hx-tcard { flex-direction: column; }
    .hx-case-tpl .hx-tcard__shot { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
    /* блоки ниш, лендингов */
    .hx-mt { margin-top: 40px; }
    .hx-block + .hx-block { margin-top: 40px; }
    .hx-block__h { font-size: 22px; }
    .hx-card__title { font-size: 18px; }
    .hx-trustcard { padding: 26px 22px; border-radius: 22px; }
    .hx-trustcard__h { font-size: 22px; }
    .hx-bento--2 { grid-template-columns: minmax(0,1fr); }
    .hx-tile__h { margin-top: 2px; font-size: 17px; }
    .hx-tile__txt { grid-column: 2; margin-top: 6px; font-size: 15px; }
    .hx-lfacts > div { padding: 16px; }
    .hx-lfacts strong { font-size: 16px; }
    .hx-map iframe { height: 320px; }
    .hx-bignum { font-size: 104px; }
    /* подвал, cookies */
    .hx-foot__top { padding: 48px 0 36px; }
    .hx-foot__cols { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 20px; }
    .hx-foot__cols > div:last-child { grid-column: span 2; }
    .cookie-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
    /* модальные окна — листом снизу */
    .order-modal { padding: 0; }
    .order-modal-content.hx-modal { max-height: 92vh; padding: 26px 20px 22px; border-radius: 24px 24px 0 0; }
    .hx-modal__title { font-size: 19px; }
}
