/* usilitel-signala.ru («Усилитель сигнала») — премиальная тема: синий / белый / красный, анимированные градиенты */

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

:root {
  --navy: #0b1f4b;
  --navy-deep: #050f2c;
  --blue: #1447e6;
  --blue-2: #2f63ff;
  --sky: #8fb0ff;
  --red: #e5283a;
  --red-2: #ff4d5e;
  --ink: #0b1633;
  --muted: #5d6886;
  --line: rgba(11, 31, 75, .09);
  --line-2: rgba(11, 31, 75, .14);
  --tint: #eef3ff;
  --tint-2: #f5f7fc;
  --white: #fff;
  --ok: #12a150;
  --r: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --hdr: 88px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-sm: 0 1px 2px rgba(11, 31, 75, .05), 0 2px 8px rgba(11, 31, 75, .04);
  --shadow: 0 2px 4px rgba(11, 31, 75, .04), 0 12px 32px -8px rgba(11, 31, 75, .14);
  --shadow-lg: 0 4px 8px rgba(11, 31, 75, .05), 0 32px 64px -16px rgba(11, 31, 75, .28);
  --grad-brand: linear-gradient(115deg, var(--blue-2), var(--blue) 45%, #6a3df0 75%, var(--red));
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
  accent-color: var(--blue);
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; margin: 0 0 .5em; color: var(--navy); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.6vw, 60px); }
h2 { font-size: clamp(28px, 3.4vw, 46px); }
h3 { font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blue); color: var(--white); }

.wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 880px; }
.ico { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 16px; border-radius: 8px; }
.card__img, .tile__img, .gal__main, .hub__img, .gthumb, .hcard__img { overflow: hidden; min-height: 0; }

/* ---------- анимированные градиенты ---------- */
@keyframes spin { to { --ang: 360deg; } }
@keyframes flow { to { background-position: 300% 0; } }
@keyframes drift1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18%, 12%) scale(1.15); } 100% { transform: translate(-8%, 20%) scale(.95); } }
@keyframes drift2 { 0% { transform: translate(0, 0) scale(1.1); } 50% { transform: translate(-20%, -10%) scale(.9); } 100% { transform: translate(10%, -18%) scale(1.2); } }
@keyframes drift3 { 0% { transform: translate(0, 0) scale(.9); } 50% { transform: translate(12%, -16%) scale(1.2); } 100% { transform: translate(-16%, 8%) scale(1); } }
@keyframes ring { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blink { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, .7); } 60% { box-shadow: 0 0 0 8px rgba(255, 77, 94, 0); } }
@keyframes bars { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }

/* «Аврора»: мягкие цветные пятна, двигаются только transform — дёшево для GPU */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { left: -10%; top: -30%; background: radial-gradient(closest-side, rgba(47, 99, 255, .75), transparent); animation: drift1 18s var(--ease) infinite alternate; }
.aurora i:nth-child(2) { right: -15%; top: -10%; background: radial-gradient(closest-side, rgba(20, 71, 230, .8), transparent); animation: drift2 22s var(--ease) infinite alternate; }
.aurora i:nth-child(3) { left: 30%; bottom: -45%; background: radial-gradient(closest-side, rgba(229, 40, 58, .45), transparent); animation: drift3 20s var(--ease) infinite alternate; }
.aurora i:nth-child(4) { right: 10%; bottom: -30%; width: 40%; background: radial-gradient(closest-side, rgba(122, 76, 255, .45), transparent); animation: drift1 26s var(--ease) infinite alternate-reverse; }

/* градиентный текст, переливается */
.gt { background: linear-gradient(90deg, #9db8ff, #fff 25%, #ff8793 50%, #9db8ff 75%, #fff); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 9s linear infinite; }

/* градиентная рамка: вращающийся conic-gradient по краю (hover, либо всегда у .gb--on) */
.gb { position: relative; isolation: isolate; }
.gb::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ang), transparent 0 55%, var(--blue-2) 70%, #7a4cff 80%, var(--red) 90%, transparent 100%);
  /* только лонгхенды: шорткат mask с «exclude» внутри Safari читает иначе, и рамка заливала всю карточку */
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-clip: content-box, border-box; -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-clip: content-box, border-box; mask-composite: exclude;
  opacity: 0; transition: opacity .4s; animation: spin 4s linear infinite; animation-play-state: paused; }
.gb:hover::before, .gb--on::before { opacity: 1; animation-play-state: running; }

/* ---------- кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 22px;
  border: 1px solid transparent; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: -.01em; cursor: pointer; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s; white-space: nowrap; isolation: isolate; }
.btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--red { color: var(--white); background: linear-gradient(100deg, var(--red), var(--red-2) 30%, #c8102e 60%, var(--red) 100%); background-size: 250% 100%;
  box-shadow: 0 10px 28px -8px rgba(229, 40, 58, .6), inset 0 1px 0 rgba(255, 255, 255, .25); transition: background-position .8s var(--ease), transform .3s var(--ease), box-shadow .3s; }
.btn--red:hover { color: var(--white); background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(229, 40, 58, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--glow { animation: flow 7s linear infinite; background-size: 300% 100%; }
@keyframes pulse-ring { 0% { box-shadow: 0 10px 28px -8px rgba(229, 40, 58, .6), 0 0 0 0 rgba(229, 40, 58, .55); } 70%, 100% { box-shadow: 0 10px 28px -8px rgba(229, 40, 58, .6), 0 0 0 16px rgba(229, 40, 58, 0); } }
.btn--pulse { animation: pulse-ring 2.2s ease-out infinite; }
.btn--pulse:hover { animation-play-state: paused; }
.btn--red::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); translate: -120% 0; transition: translate .8s var(--ease); }
.btn--red:hover::after { translate: 120% 0; }
.btn--glass { color: var(--white); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(12px); }
.btn--glass:hover { color: var(--navy); background: var(--white); }
.btn--white { color: var(--navy); background: var(--white); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); }
.btn--white:hover { color: var(--red); transform: translateY(-2px); }
.btn--ghost { color: var(--navy); background: var(--white); border-color: var(--line-2); }
.btn--ghost:hover { color: var(--blue); border-color: var(--blue); }
.btn--soft { color: var(--navy); background: var(--tint); }
.btn--soft:hover { color: var(--white); background: var(--navy); }
.btn--lg { min-height: 56px; padding: 15px 30px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- шапка: плавающая «стеклянная» панель ---------- */
.hdr { position: sticky; top: 0; z-index: 40; padding: 12px 0; pointer-events: none; }
/* Выпадающие окна лежат внутри .hdr и наследовали pointer-events: none — клики проходили сквозь них
   (меню каталога, «Контакты», мобильное меню). Возвращаем им клики. */
.hdr [popover] { pointer-events: auto; }
.hdr__bar { pointer-events: auto; display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 10px 0 14px; border-radius: 20px;
  background: rgba(255, 255, 255, .72); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 8px 32px -12px rgba(11, 31, 75, .25), inset 0 1px 0 rgba(255, 255, 255, .8); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); flex: none; }
.logo:hover { color: var(--navy); }
.logo__mark { width: 38px; height: 38px; }
.logo__text { display: flex; flex-direction: column; font-weight: 700; font-size: 18px; line-height: 1.05; letter-spacing: -.03em; }
.logo__text small { font-weight: 500; font-size: 11.5px; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.logo--light, .logo--light:hover { color: var(--white); }
.logo--light small { color: rgba(255, 255, 255, .55); }
.hdr__catalog { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: 14px; background: var(--navy); color: var(--white); font-weight: 600; cursor: pointer; transition: background .25s; }
.hdr__catalog:hover { background: var(--blue); }
.hdr__dots { display: grid; grid-template-columns: repeat(2, 5px); gap: 3px; }
.hdr__dots i { width: 5px; height: 5px; border-radius: 2px; background: currentColor; }
.hdr__dots i:nth-child(2) { background: var(--red-2); }
.hdr__nav { display: flex; gap: 4px; font-weight: 500; font-size: 15px; }
.hdr__nav a { color: var(--ink); padding: 8px 14px; border-radius: 12px; transition: background .2s, color .2s; }
.hdr__nav a:hover { background: var(--tint); color: var(--blue); }
.hdr__phone { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 0; border-radius: 14px; background: none; cursor: pointer; font-weight: 700; font-size: 16px; color: var(--navy); white-space: nowrap; letter-spacing: -.01em; transition: background .2s; }
.hdr__phone:hover { background: var(--tint); }
.hdr__chev { width: 16px; height: 16px; color: var(--muted); transition: rotate .3s var(--ease); }
.hdr:has(.contacts:popover-open) .hdr__chev { rotate: 180deg; }
.hdr__phone .ico { color: var(--red); }
.hdr__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--navy); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }

.mega { position: fixed; inset: calc(var(--hdr) - 4px) 0 auto 0; margin: 0 auto; width: min(1320px, 100% - 40px); max-width: none; max-height: calc(100dvh - var(--hdr) - 16px); overflow: auto;
  padding: 32px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 24px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(24px) saturate(1.6); box-shadow: var(--shadow-lg); }
.mega:popover-open { animation: pop .35s var(--ease); }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 36px; }
.mega__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; color: var(--navy); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega__head span { font-size: 12px; color: var(--muted); font-weight: 500; background: var(--tint); border-radius: 999px; padding: 1px 8px; }
.mega__col li a { display: block; padding: 4px 0; color: var(--muted); font-size: 14px; }
.mega__col li a:hover { color: var(--blue); }
.mega__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; }

.mob { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(380px, 90vw); height: 100dvh; max-height: none; border: 0; padding: 20px 24px; background: var(--white); box-shadow: var(--shadow-lg); }
.mob:popover-open { animation: slide .35s var(--ease); }
.mob::backdrop { background: rgba(5, 15, 44, .5); backdrop-filter: blur(4px); }
.mob__top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.mob__top button { border: 0; background: var(--tint); border-radius: 12px; width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.mob__list { margin-bottom: 24px; }
.mob__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 17px; }

/* регион в шапке */
.hdr__geo { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 0 10px; height: 36px; border: 0; border-radius: 999px; background: var(--tint);
  color: var(--navy); font: 500 13.5px/1 var(--font); white-space: nowrap; cursor: default; }
button.hdr__geo { cursor: pointer; }
.hdr__geo .ico { width: 16px; height: 16px; color: var(--red); }
.hdr__geo + .hdr__phone { margin-left: 0; }
.regions { position: fixed; inset: calc(var(--hdr) - 4px) auto auto 50%; translate: -50% 0; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-lg); }
.regions__t { margin: 0 0 8px; font-weight: 700; color: var(--navy); }
.regions a { display: block; padding: 6px 0; }
.ftr__reg { margin-top: 28px; }

/* карточка контактов (раскрывается из телефона в шапке) */
.contacts { position: fixed; inset: calc(var(--hdr) - 4px) max(20px, calc((100vw - 1320px) / 2)) auto auto; margin: 0; width: 340px; padding: 0; border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 22px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(24px) saturate(1.6); box-shadow: var(--shadow-lg); }
.contacts:popover-open { animation: pop .3s var(--ease); }
.cc { display: grid; gap: 4px; padding: 24px; }
.cc__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cc__label:not(:first-child) { margin-top: 12px; }
.cc__phone { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--navy); }
.cc__mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.cc__mail .ico { width: 18px; height: 18px; }
.cc__hours { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.cc__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.cc__btns .btn { padding-inline: 12px; }
.mob__contacts { margin-top: 8px; border-radius: 20px; background: var(--tint-2); border: 1px solid var(--line); }
.mob__contacts .cc { padding: 20px; }

/* ---------- hero главной ---------- */
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--hdr)); padding-top: var(--hdr); color: var(--white);
  background: radial-gradient(120% 80% at 50% 0%, #0f2a6e 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.hero .aurora { opacity: .9; }
.hero__grid-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 10%, transparent 75%); }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 72px 0 64px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; margin-bottom: 28px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); color: rgba(255, 255, 255, .88); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); animation: blink 2s infinite; }
.hero h1 { color: var(--white); font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.045em; margin-bottom: 24px; }
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .72); max-width: 580px; line-height: 1.65; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 48px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 28px; }
.hero__stats div { display: flex; flex-direction: column-reverse; padding-right: 32px; margin-right: 32px; border-right: 1px solid rgba(255, 255, 255, .14); }
.hero__stats div:last-child { border: 0; margin: 0; padding: 0; }
.hero__stats dd { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.04em; white-space: nowrap; line-height: 1.1; }
.hero__stats dt { font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 4px; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.orbit { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.orbit i { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(143, 176, 255, .45); animation: ring 4.5s cubic-bezier(.3, .6, .4, 1) infinite; }
.orbit i:nth-child(2) { animation-delay: 1.5s; }
.orbit i:nth-child(3) { animation-delay: 3s; }
.hcard { position: relative; z-index: 1; width: min(380px, 100%); display: grid; padding: 12px; border-radius: 28px; color: var(--white);
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55); animation: float 7s ease-in-out infinite; }
.hcard:hover { color: var(--white); }
.hcard__img { display: grid; place-items: center; aspect-ratio: 1.1; border-radius: 20px; padding: 28px; background: linear-gradient(160deg, #fff, #e9efff); }
.hcard__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.hcard:hover .hcard__img img { transform: scale(1.05); }
.hcard__meta { display: grid; gap: 6px; padding: 18px 10px 8px; }
.hcard__brand { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--sky); }
.hcard__meta b { font-size: 16px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hcard__row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.hcard__row em { font-style: normal; font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.hcard__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); transition: transform .3s var(--ease); }
.hcard:hover .hcard__go { background: #ff5a6a; }
.float { position: absolute; z-index: 2; display: grid; gap: 6px; padding: 14px 18px; border-radius: 18px; color: var(--navy); background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); font-size: 12.5px; }
.float b { font-size: 20px; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.float__t { color: var(--muted); font-weight: 500; }
.float--a { left: -4%; top: 16%; animation: float 6s ease-in-out infinite; }
.float--b { right: -4%; bottom: 18%; animation: float 6s ease-in-out -3s infinite; }
.meter { display: flex; gap: 3px; align-items: flex-end; height: 20px; }
.meter i { width: 6px; border-radius: 2px; background: var(--ok); transform-origin: bottom; animation: bars 1.6s ease-in-out infinite; }
.meter i:nth-child(1) { height: 20%; } .meter i:nth-child(2) { height: 40%; animation-delay: .1s; } .meter i:nth-child(3) { height: 60%; animation-delay: .2s; }
.meter i:nth-child(4) { height: 80%; animation-delay: .3s; } .meter i:nth-child(5) { height: 100%; animation-delay: .4s; }
.meter--bad i { background: #d5dbea; animation: none; }
.meter--bad i:first-child { background: var(--red); }

.marquee { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: rgba(255, 255, 255, .45); white-space: nowrap; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-2); opacity: .8; }

/* ---------- секции ---------- */
.sec { position: relative; padding: 112px 0; }
.sec--tint { background: var(--tint-2); }
.sec--dark { overflow: hidden; color: rgba(255, 255, 255, .72); background: linear-gradient(180deg, var(--navy-deep), var(--navy)); }
.sec--dark .aurora { opacity: .55; }
.sec--dark .wrap { position: relative; z-index: 1; }
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 48px; }
.sec__head h2 { margin: 0; max-width: 760px; }
.sec__head p { margin: 14px 0 0; color: var(--muted); font-size: 17px; max-width: 620px; }
.sec__head--light h2 { color: var(--white); }
.kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.sec--dark .kicker, .kicker--light { color: var(--sky); }
.sec__all { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); color: var(--navy); transition: all .3s var(--ease); }
.sec__all:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.sec__all .ico { width: 18px; height: 18px; }

/* объекты — бенто */
.objs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.obj { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; gap: 4px; min-height: 180px; padding: 24px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.obj:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.obj__ico { position: relative; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--tint); color: var(--blue); margin-bottom: 20px; transition: all .4s var(--ease); }
.obj__ico .ico { width: 24px; height: 24px; }
.obj:hover .obj__ico { background: var(--grad-brand); color: var(--white); }
.obj__n { position: relative; z-index: 1; font-weight: 700; font-size: 19px; letter-spacing: -.02em; align-self: end; }
.obj__m { position: relative; z-index: 1; font-size: 14px; color: var(--muted); }
.obj__go { position: absolute; z-index: 1; right: 20px; top: 20px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--navy); transition: all .4s var(--ease); }
.obj__go .ico { width: 18px; height: 18px; }
.obj:hover .obj__go { background: var(--red); border-color: var(--red); color: var(--white); }
.obj .aurora { display: none; }
.obj--hero { grid-column: span 2; min-height: 240px; background: linear-gradient(140deg, var(--navy), #13307a); color: var(--white); border-color: transparent; }
.obj--hero:hover { color: var(--white); }
.obj--xl { grid-row: span 2; min-height: 100%; }
.obj--xl .obj__n { font-size: 40px !important; }
.obj--wide { grid-column: span 2; }
.obj--hero .aurora { display: block; opacity: .7; }
.obj--hero .obj__ico { background: rgba(255, 255, 255, .12); color: var(--white); }
.obj--hero .obj__n { font-size: 30px; }
.obj--hero .obj__m { color: rgba(255, 255, 255, .65); }
.obj--hero .obj__go { border-color: rgba(255, 255, 255, .3); color: var(--white); }

/* регион: «Связь в Москве и Подмосковье» */
.geo-sec { padding-top: 0; }
.geo { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 56px; border-radius: 32px;
  background: linear-gradient(150deg, #f7f9ff, var(--tint) 60%, #e3eaff); border: 1px solid var(--line); }
.geo .aurora { opacity: .22; }
.geo__text, .geo__places { position: relative; z-index: 1; }
.geo__text h2 { margin-bottom: 20px; }
.geo__text p { color: #3a4666; font-size: 16.5px; line-height: 1.75; }
.geo__cities-t { margin: 24px 0 12px !important; font-weight: 600; color: var(--navy) !important; font-size: 15px !important; }
.geo__cities { display: flex; flex-wrap: wrap; gap: 6px; }
.geo__cities li { font-size: 13px; font-weight: 500; color: var(--navy); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.geo__places { display: grid; gap: 12px; }
.place { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 20px 22px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.place:hover { transform: translateX(4px); box-shadow: var(--shadow); color: var(--ink); }
.place__ico { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--tint); color: var(--blue); transition: all .4s var(--ease); }
.place__ico .ico { width: 24px; height: 24px; }
.place:hover .place__ico { background: var(--grad-brand); color: var(--white); }
.place__t { font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--navy); }
.place__d { grid-column: 2; font-size: 13.5px; color: var(--muted); }
.place__go { grid-column: 3; grid-row: 1 / 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: all .4s var(--ease); }
.place__go .ico { width: 18px; height: 18px; }
.place:hover .place__go { background: var(--red); border-color: var(--red); color: var(--white); }

/* категории — бенто */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tile__img { flex: 1; display: grid; place-items: center; min-height: 120px; margin: -8px -8px 16px; padding: 16px; border-radius: var(--r-md); background: radial-gradient(80% 80% at 50% 40%, #fff, var(--tint)); }
.tile__img img { width: 100%; height: 100%; max-height: 180px; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__t { display: block; font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--navy); }
.tile__d { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.tile__c { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--navy); }
.tile__go { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); transition: all .4s var(--ease); }
.tile__go .ico { width: 18px; height: 18px; }
.tile:hover .tile__go { background: var(--red); color: var(--white); }
.tile--xl { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #fff 40%, #e8eeff); }
.tile--xl .tile__img { background: radial-gradient(70% 70% at 50% 45%, #fff, transparent); }
.tile--xl .tile__img img { max-height: 380px; }
.tile--xl .tile__t { font-size: 34px; }
.tile--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 46%; grid-template-rows: auto 1fr; column-gap: 20px; }
.tile--wide .tile__img { grid-column: 2; grid-row: 1 / 3; margin: -8px -8px -8px 0; }
.tile--wide .tile__c { grid-column: 1; grid-row: 1; margin: 0; }
.tile--wide .tile__body { grid-column: 1; grid-row: 2; align-self: end; }

/* операторы */
.ops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.op { position: relative; overflow: hidden; display: grid; gap: 6px; padding: 32px 28px 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.op::after { content: ""; position: absolute; right: -30%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent); opacity: .14; transition: opacity .4s, transform .6s var(--ease); }
.op:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.op:hover::after { opacity: .3; transform: scale(1.3); }
.op--mts { --c: #e30611; } .op--bilajn { --c: #f6c000; } .op--megafon { --c: #00b956; } .op--t2 { --c: #1f2229; }
.op__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); margin-bottom: 18px; }
.op__n { font-weight: 700; font-size: 30px; letter-spacing: -.04em; color: var(--navy); }
.op__f { font-size: 14px; color: var(--muted); }
.op__go { display: flex; gap: 8px; align-items: center; margin-top: 18px; font-weight: 600; color: var(--blue); font-size: 15px; }
.op__go .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.op:hover .op__go .ico { transform: translateX(4px); }

/* шаги */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 36px 32px; border-radius: var(--r); background: var(--tint-2); border: 1px solid var(--line); overflow: hidden; }
.step::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad-brand); background-size: 200% 100%; animation: flow 6s linear infinite; }
.step__n { display: block; font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.06em; margin-bottom: 28px;
  background: var(--grad-brand); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 6s linear infinite; }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); margin: 0; }

/* почему */
.whys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why { padding: 32px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(12px); transition: background .4s, transform .4s var(--ease); }
.why:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.why__i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 28px; background: var(--grad-brand); color: var(--white); box-shadow: 0 12px 28px -8px rgba(47, 99, 255, .6); }
.why__i .ico { width: 24px; height: 24px; }
.why h3 { color: var(--white); font-size: 22px; }
.why p { margin: 0; font-size: 15.5px; line-height: 1.7; }

/* бренды */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.brand { display: grid; gap: 10px; padding: 32px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.brand:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.brand__n { font-weight: 700; font-size: 28px; color: var(--navy); letter-spacing: -.04em; }
.brand__c { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.brand__c .ico { width: 18px; height: 18px; color: var(--blue); transition: transform .3s var(--ease); }
.brand:hover .brand__c .ico { transform: translateX(4px); }
.brand--big { padding: 44px 32px; }

/* популярные подборки (перелинковка) */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pick { padding: 28px; border-radius: var(--r); background: var(--tint-2); border: 1px solid var(--line); }
.pick h3 { font-size: 18px; margin-bottom: 16px; }
.pick .tags a { font-size: 13.5px; padding: 7px 13px; }

/* FAQ */
.faq2 { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq2__side { position: sticky; top: calc(var(--hdr) + 24px); }
.faq2__side p { color: var(--muted); font-size: 17px; margin: 16px 0 28px; }
.faq { margin: 64px 0 0; max-width: 920px; }
.faq--flush { margin: 0; max-width: none; }
.faq > h2 { margin-bottom: 24px; }
.faq__item { border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); margin-bottom: 12px; transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 600; font-size: 17px; color: var(--navy); position: relative; letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--tint); color: var(--blue); font-size: 22px; font-weight: 400; transition: rotate .3s var(--ease), background .3s, color .3s; }
.faq__item[open] summary::after { rotate: 45deg; background: var(--red); color: var(--white); }
.faq__item p { padding: 0 26px 24px; margin: 0; color: var(--muted); line-height: 1.7; }

/* CTA */
.cta { padding: 0 0 112px; background: linear-gradient(var(--tint-2) 50%, var(--white) 50%); }
.cta__box { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding: 64px; border-radius: 32px;
  color: rgba(255, 255, 255, .75); background: linear-gradient(135deg, var(--navy-deep), var(--navy) 50%, #16358a); box-shadow: var(--shadow-lg); }
.cta__box .aurora { opacity: .85; }
.cta__text, .cta__act { position: relative; z-index: 1; }
.cta__box h2 { color: var(--white); font-size: clamp(30px, 3.6vw, 50px); }
.cta__box p { margin: 0; max-width: 540px; font-size: 17px; }
.cta__act { display: grid; gap: 16px; justify-items: center; }
.cta__box:has(.cta__form) { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: 56px; align-items: center; }
.cta__text h2 { margin-bottom: 18px; }
.cta__contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta__contacts a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; color: var(--white); font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); transition: background .25s, color .25s; }
.cta__contacts a:hover { background: var(--white); color: var(--navy); }
.cta__contacts .ico { width: 18px; height: 18px; color: var(--red-2); }
.cta__form { position: relative; z-index: 1; display: grid; gap: 14px; padding: 32px; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.cta__form-t { margin: 0 0 4px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.cta__form .btn { margin-top: 6px; }
.cta__phone { display: inline-flex; gap: 8px; align-items: center; color: var(--white); font-weight: 600; }
.cta__phone:hover { color: var(--sky); }

/* ---------- внутренние страницы: шапка раздела ---------- */
.phero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--hdr)); padding-top: var(--hdr);
  background: linear-gradient(180deg, #e9efff 0%, #f5f7fc 70%, var(--white) 100%); }
.phero .aurora { opacity: .28; }
.phero .aurora i:nth-child(3) { opacity: .5; }
.phero__in { position: relative; z-index: 1; padding: 8px 0 44px; }
.phero h1 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 16px; }
.phero__intro { max-width: 760px; color: var(--muted); font-size: 18px; margin-bottom: 20px; }
.lhead__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.lhead__meta span { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); backdrop-filter: blur(8px); color: var(--navy); font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 20px 0 16px; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #b3bdd3; margin: 0 10px; vertical-align: middle; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

/* ---------- каталог: фильтры + сетка ---------- */
.cat { display: grid; grid-template-columns: 284px 1fr; gap: 32px; align-items: start; padding-top: 8px; }
.side { position: sticky; top: calc(var(--hdr) + 8px); max-height: calc(100dvh - var(--hdr) - 24px); overflow: auto; scrollbar-width: thin; border-radius: var(--r); }
.flt { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 22px 22px; box-shadow: var(--shadow-sm); }
.flt__top { display: none; }
.fg { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fg legend { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.fg legend + * { clear: both; }
.opt { display: flex; align-items: center; gap: 12px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.opt input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; flex: none; border: 1.5px solid #c3cbe0; border-radius: 6px; background: var(--white) center / 12px no-repeat; cursor: pointer; transition: all .2s; }
.opt input:hover { border-color: var(--blue); }
.opt input:checked { border-color: transparent; background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  box-shadow: 0 4px 12px -4px rgba(20, 71, 230, .7); }
.opt__l { flex: 1; }
.opt__l a { color: var(--ink); }
.opt__l a:hover { color: var(--blue); }
.opt__c { font-size: 12px; color: var(--muted); background: var(--tint-2); border-radius: 999px; padding: 1px 9px; }
.flt__reset { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; }

.bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.cat__main, .pp__info, .gal { min-width: 0; }
.bar__filters { display: none; }
.bar__sort { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.bar__sort select { min-height: 42px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 36px 6px 16px; background: var(--white); color: var(--ink); cursor: pointer; font-weight: 500; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.grid--row { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { display: grid; place-items: center; aspect-ratio: 1; margin: 8px 8px 0; padding: 22px; border-radius: var(--r-md); background: radial-gradient(90% 90% at 50% 35%, #fff, var(--tint-2) 70%, var(--tint)); }
.card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__noimg, .gal__main--empty { display: grid; place-items: center; width: 100%; height: 100%; color: #b7c3de; }
.card__noimg .ico { width: 56px; height: 56px; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 20px; flex: 1; }
.card__brand { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.card__title { font-size: 15.5px; font-weight: 600; line-height: 1.38; margin: 0; letter-spacing: -.01em; }
.card__title a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12px; font-weight: 500; color: var(--navy); background: var(--tint-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.chips--lg li { font-size: 14px; padding: 5px 14px; background: var(--white); }
.card__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding-top: 6px; }
.price { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -.035em; white-space: nowrap; }
.price--ask { font-size: 15px; color: var(--muted); letter-spacing: 0; }
.stock { font-size: 12.5px; color: var(--muted); }
.stock--in { color: var(--ok); font-weight: 500; }
.stock--in::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(18, 161, 80, .15); }
.card__buy { width: 100%; }

.grid__more { text-align: center; margin-top: 28px; }
.grid__empty { padding: 48px; text-align: center; background: var(--tint-2); border-radius: var(--r); color: var(--muted); }
.pg { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 40px 0 8px; }
.pg a, .pg span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; color: var(--navy); background: var(--white); transition: all .25s; }
.pg a:hover { border-color: var(--blue); color: var(--blue); }
.pg__cur { background: var(--navy) !important; border-color: var(--navy) !important; color: var(--white) !important; }
.pg__gap { border: 0 !important; background: none !important; }

.seo { max-width: 880px; margin: 72px 0 0; color: #3a4666; font-size: 16.5px; line-height: 1.75; }
.rel, .need, .more { margin: 64px 0 0; }
.rel h2, .need h2, .more h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); color: var(--navy); font-size: 14px; font-weight: 500; transition: all .25s var(--ease); }
.tags a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-1px); }
.tags a span { color: var(--muted); }
.tags a:hover span { color: rgba(255, 255, 255, .7); }
.tags--lg a { padding: 13px 20px; font-size: 15px; }
main > .wrap:last-child { padding-bottom: 96px; }

/* ---------- карточка товара ---------- */
.pp__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; padding: 8px 0; }
.gal { position: sticky; top: calc(var(--hdr) + 8px); align-self: start; }
.gal__main { aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center; padding: 48px; background: radial-gradient(80% 80% at 50% 40%, #fff, var(--tint-2) 65%, #e6edff); border: 1px solid var(--line); }
.gal__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gal__main--empty .ico { width: 96px; height: 96px; }
.gal__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 6px; }
.gthumb { flex: none; width: 80px; height: 80px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--tint-2); cursor: pointer; transition: all .25s; }
.gthumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gthumb.is-on, .gthumb:hover { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 99, 255, .15); }
.pp__brand { display: inline-block; font-weight: 600; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--tint); }
.pp__info h1 { font-size: clamp(26px, 3vw, 40px); margin: 16px 0 8px; line-height: 1.12; }
.pp__sku { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.pp__buy { display: grid; gap: 6px; margin: 28px 0; padding: 28px; border-radius: var(--r); background: linear-gradient(160deg, #fff, var(--tint-2)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pp__price { font-size: 44px; font-weight: 700; color: var(--navy); letter-spacing: -.045em; line-height: 1.05; }
.pp__price--ask { font-size: 28px; }
.pp__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pp__btns .btn--red { flex: 1; }
.keyspecs { border-radius: var(--r-md); border: 1px solid var(--line); padding: 4px 20px; }
.keyspecs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.keyspecs li:last-child { border: 0; }
.keyspecs span { color: var(--muted); }
.keyspecs b { text-align: right; font-weight: 600; color: var(--ink); }
.pp__perks { display: grid; gap: 10px; margin-top: 24px; }
.pp__perks li { display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: 15px; }
.pp__perks .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(18, 161, 80, .12); color: var(--ok); }
.pp__toc { position: sticky; top: calc(var(--hdr) - 4px); z-index: 5; display: flex; gap: 6px; overflow-x: auto; margin: 56px 0 8px; padding: 8px; width: fit-content; max-width: 100%;
  border-radius: 999px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pp__toc a { flex: none; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--navy); transition: all .25s; }
.pp__toc a:hover { background: var(--navy); color: var(--white); }
.pp__sec { padding: 40px 0 8px; max-width: 940px; }
.pp__sec h2 { font-size: clamp(24px, 2.4vw, 32px); }
.pp__sec .lead { font-size: 19px; color: var(--navy); font-weight: 500; line-height: 1.6; }
.pp__sec p { color: #3a4666; line-height: 1.75; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs tr:nth-child(odd) { background: var(--tint-2); }
.specs th { width: 46%; font-weight: 500; color: var(--muted); }
.specs td { font-weight: 500; }
.kit { display: grid; gap: 10px; }
.kit li { padding-left: 30px; position: relative; }
.kit li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--grad-brand); }
.docs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.docs a { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 600; color: var(--navy); transition: all .25s var(--ease); }
.docs a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.docs .ico { color: var(--red); }

/* ---------- хаб каталога ---------- */
.hubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; padding-top: 8px; }
.hub { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); transition: box-shadow .4s var(--ease); }
.hub:hover { box-shadow: var(--shadow); }
.hub__head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; color: var(--ink); }
.hub__img { width: 96px; height: 96px; flex: none; display: grid; place-items: center; background: radial-gradient(#fff, var(--tint)); border-radius: 20px; padding: 10px; }
.hub__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hub__t { display: block; font-weight: 700; font-size: 22px; letter-spacing: -.03em; color: var(--navy); }
.hub__head:hover .hub__t { color: var(--blue); }
.hub__c { color: var(--muted); font-size: 14px; }
.hub .tags a { font-size: 13px; padding: 7px 13px; }

.prose { padding: 16px 0 40px; }
.nf { padding: 96px 0; text-align: center; }

/* ---------- подвал ---------- */
.ftr { position: relative; overflow: hidden; background: var(--navy-deep); color: rgba(255, 255, 255, .6); font-size: 14.5px; }
.ftr .aurora { opacity: .35; }
.ftr .aurora i:nth-child(n+3) { display: none; }
.ftr__grid, .ftr__legal { position: relative; z-index: 1; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 80px 0 48px; }
.ftr__brand { display: grid; gap: 8px; align-content: start; }
.ftr__brand p { margin: 12px 0; max-width: 320px; line-height: 1.7; }
.ftr h3 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.ftr li { padding: 4px 0; }
.ftr a { color: rgba(255, 255, 255, .72); }
.ftr a:hover { color: var(--white); }
.ftr__phone { font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--white) !important; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }

/* ---------- форма-заявка ---------- */
.dlg { border: 0; padding: 0; border-radius: 28px; width: min(480px, 100% - 32px); box-shadow: var(--shadow-lg); color: var(--ink); overflow: hidden; }
.dlg[open] { animation: pop .4s var(--ease); }
.dlg::backdrop { background: rgba(5, 15, 44, .55); backdrop-filter: blur(6px); }
.dlg__box { position: relative; display: grid; gap: 16px; padding: 40px 36px 36px; }
.dlg__box::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-brand); background-size: 200% 100%; animation: flow 5s linear infinite; }
.dlg__box h2 { margin: 0; font-size: 30px; }
.dlg__lead { margin: 0; color: var(--muted); font-size: 15px; }
.dlg__product { margin: 0; padding: 12px 16px; background: var(--tint); border-radius: 14px; font-weight: 500; font-size: 14px; color: var(--navy); }
.dlg__x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: var(--tint-2); border-radius: 50%; cursor: pointer; color: var(--navy); transition: all .25s; }
.dlg__x:hover { background: var(--navy); color: var(--white); rotate: 90deg; }
.fld { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.fld input, .fld textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--tint-2); font-weight: 400; font-size: 16px; resize: vertical; transition: all .2s; }
.fld input:focus, .fld textarea:focus { border-color: var(--blue); background: var(--white); outline: none; box-shadow: 0 0 0 4px rgba(20, 71, 230, .12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.dlg__ok { margin: 0; padding: 16px; border-radius: 14px; background: #e8f7ef; color: var(--ok); font-weight: 600; text-align: center; }

/* Появление блоков при прокрутке (animation-timeline: view()) убрано 29.09.2026:
   в Safari заголовки разделов оставались невидимыми. Контент всегда виден сразу. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1200px) {
  .hdr__nav { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile--xl { grid-row: span 1; }
  .ops { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .cat { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0; z-index: 60; max-height: none; border-radius: 0; background: rgba(5, 15, 44, .5); backdrop-filter: blur(4px); visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
  .side.is-open { visibility: visible; opacity: 1; }
  .flt { position: absolute; inset: 0 auto 0 0; width: min(360px, 90vw); border-radius: 0 24px 24px 0; overflow: auto; translate: -100% 0; transition: translate .35s var(--ease); }
  .side.is-open .flt { translate: 0 0; }
  .flt__top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 20px; color: var(--navy); padding: 16px 0 6px; }
  .flt__close { border: 0; background: var(--tint); border-radius: 12px; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
  .bar__filters { display: inline-flex; }
  .pp__top { grid-template-columns: 1fr; gap: 24px; }
  .gal { position: static; }
  .hero__in { grid-template-columns: 1fr; gap: 24px; padding: 48px 0 40px; }
  .hero__visual { min-height: 440px; }
  .objs { grid-template-columns: repeat(2, 1fr); }
  .steps, .whys { grid-template-columns: 1fr; }
  .faq2 { grid-template-columns: 1fr; gap: 32px; }
  .faq2__side { position: static; }
  .hdr__phone span, .hdr__phone .hdr__chev { display: none; }
  .hdr__phone { width: 44px; padding: 0; justify-content: center; background: var(--tint); }
  .geo { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .picks { grid-template-columns: 1fr 1fr; }
  .cta__box:has(.cta__form) { grid-template-columns: 1fr; gap: 32px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .cta__box { padding: 48px 36px; }
}
@media (max-width: 720px) {
  :root { --hdr: 76px; }
  .wrap { width: min(1320px, 100% - 32px); }
  .hdr { padding: 8px 0; }
  .hdr__bar { height: 60px; gap: 8px; border-radius: 18px; padding: 0 8px 0 12px; }
  .hdr__catalog, .hdr__phone span, .hdr__chev, .hdr__cta { display: none; }
  .hdr__geo { font-size: 12px; padding: 0 8px; height: 32px; }
  .geo { padding: 28px 20px; border-radius: 24px; }
  .place { padding: 16px; column-gap: 12px; }
  .hdr__phone { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 14px; background: var(--tint); }
  .hdr__burger { display: inline-flex; }
  .mega { width: calc(100% - 32px); padding: 24px; }
  .logo__text small { display: none; }
  .sec { padding: 72px 0; }
  .sec__head { margin-bottom: 32px; }
  .hero h1 { font-size: 40px; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; }
  .hero__stats div { padding: 0; margin: 0; border: 0; }
  .hero__stats dd { font-size: 20px; }
  .hero__stats dt { font-size: 12px; }
  .hero__visual { min-height: 400px; }
  .float { padding: 10px 14px; }
  .float b { font-size: 16px; }
  .float--a { left: 0; top: 4%; }
  .float--b { right: 0; bottom: auto; top: 44%; }
  .objs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .obj { min-height: 150px; padding: 18px; }
  .obj--hero { min-height: 170px; }
  .obj--xl { grid-row: span 1; }
  .obj--xl .obj__n { font-size: 26px !important; }
  .obj--hero .obj__n { font-size: 22px; }
  .obj__n { font-size: 16px; }
  .obj__go { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { min-height: 220px; padding: 16px; }
  .tile__t { font-size: 16px; }
  .tile__d { display: none; }
  .tile--xl .tile__t { font-size: 22px; }
  .tile--wide { grid-column: span 2; }
  .ops { gap: 10px; }
  .op { padding: 22px 18px; }
  .op__n { font-size: 22px; }
  .op__f { font-size: 12px; }
  .op__go { font-size: 13px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__img { padding: 12px; margin: 6px 6px 0; }
  .card__body { padding: 12px 12px 14px; gap: 8px; }
  .card__title { font-size: 14px; }
  .price { font-size: 18px; }
  .hubs { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; padding: 56px 0 32px; }
  .cta { padding-bottom: 72px; }
  .cta__box { padding: 40px 24px; border-radius: 24px; }
  .cta__act { justify-items: stretch; width: 100%; }
  .picks { grid-template-columns: 1fr; }
  .pick { padding: 22px; }
  .cta__form { padding: 24px 20px; }
  .cta__contacts a { width: 100%; justify-content: center; }
  .contacts { inset: calc(var(--hdr) - 4px) 16px auto 16px; width: auto; }
  .dlg__box { padding: 36px 22px 24px; }
  .pp__price { font-size: 36px; }
  .pp__buy { padding: 22px; }
  .gal__main { padding: 28px; border-radius: 22px; }
  .bar__sort { font-size: 0; gap: 0; }
  .bar__sort select { font-size: 14px; max-width: 200px; }
  .specs th, .specs td { padding: 12px 14px; }
  .specs th { width: 50%; }
  .phero__intro { font-size: 16px; }
}
@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .hdr__geo { display: none; }
  .hdr__phone { margin-left: auto; }
}

/* вопросы на карточке товара — в размер заголовков разделов карточки */
.pp .faq { margin-top: 40px; max-width: 940px; }
.pp .faq > h2 { font-size: clamp(24px, 2.4vw, 32px); }

/* каталог на узких экранах: плитка не шире экрана */
.hub { min-width: 0; }
.hub__t { overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .hubs { grid-template-columns: minmax(0, 1fr); }
  .hub { padding: 18px; }
  .hub__img { width: 64px; height: 64px; border-radius: 14px; }
  .hub__head { gap: 12px; }
  .hub__t { font-size: 18px; }
}

/* характеристики из фильтров в блоке покупки — значения ведут на подстраницы */
.pp__facts { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pp__facts-t { margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.pp__facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; }
.pf { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 15px; line-height: 1.5; }
.pf--wide { grid-column: 1 / -1; }
.pf dt { color: var(--ink); font-weight: 500; }
.pf dd { margin: 0; color: var(--muted); }
.pf a { color: var(--blue); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(20, 71, 230, .35); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.pf a:hover { color: var(--red); text-decoration-color: currentColor; }
@media (max-width: 720px) { .pp__facts dl { grid-template-columns: minmax(0, 1fr); } }

/* теги подстраниц под заголовком листинга: одна строка + «Ещё» */
.qt { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; }
.qt__list { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; }
.qt.is-clamped .qt__list { max-height: 40px; overflow: hidden; }
.qt__tag, .qt__more { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  white-space: nowrap; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .85); color: var(--ink); transition: all .2s var(--ease); }
a.qt__tag:hover { border-color: var(--blue); color: var(--blue); background: var(--white); }
.qt__tag.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.qt__more { flex: none; cursor: pointer; font-family: inherit; background: var(--white); color: var(--blue); font-weight: 600; border-color: rgba(20, 71, 230, .35); }
.qt__more:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
@media (max-width: 720px) { .qt__tag, .qt__more { height: 36px; padding: 0 13px; font-size: 13.5px; } .qt.is-clamped .qt__list { max-height: 36px; } }

/* число товаров после заголовка: мелко, серым, справа вверху */
.phero__title { margin-bottom: 16px; }
.phero__title h1 { display: inline; margin: 0; }
.phero__count { margin-left: 6px; font-size: clamp(14px, 1.3vw, 18px); font-weight: 500; letter-spacing: 0; color: #8c96ad;
  vertical-align: top; line-height: 1.4; position: relative; top: .35em; white-space: nowrap; }

/* ================= фильтры по образцу: группы со стрелкой, цена, «Показать ещё» ================= */
.fg { border: 0; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fg:last-of-type { border-bottom: 0; }
.fg > summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: var(--navy); padding: 2px 0 10px; }
.fg > summary::-webkit-details-marker { display: none; }
.fg > summary::after { content: ""; width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(-135deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.fg:not([open]) > summary { padding-bottom: 2px; }
.fg:not([open]) > summary::after { transform: rotate(45deg) translate(-3px, -3px); }
.opt { align-items: flex-start; padding: 5px 0; }
.opt input { margin-top: 2px; }
.opt__l { line-height: 1.35; }
.opt__l a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(20, 71, 230, .35); text-underline-offset: 3px; }
.opt__l a:hover { color: var(--blue); text-decoration-color: currentColor; }
.opt__c { margin-left: 4px; padding: 0; background: none; border-radius: 0; font-size: 11.5px; font-weight: 500; color: #8c96ad; vertical-align: super; line-height: 0; }
.js .fg:not(.is-all) .opt--more { display: none; }
.fg__more { margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted);
  border-bottom: 1px dashed currentColor; }
.fg__more:hover { color: var(--blue); }
html:not(.js) .fg__more { display: none; }

/* цена: два поля и ползунок с двумя ручками */
.pr__in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pr__in input { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); font: inherit; font-size: 15px;
  -moz-appearance: textfield; }
.pr__in input::-webkit-outer-spin-button, .pr__in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pr__in input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 71, 230, .12); }
.pr__sl { position: relative; height: 30px; margin: 10px 4px 0; }
.pr__track { position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #dde3f0 var(--a, 0%), var(--blue) var(--a, 0%), var(--blue) var(--b, 100%), #dde3f0 var(--b, 100%)); }
.pr__r { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.pr__r::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue);
  box-shadow: 0 2px 6px rgba(11, 31, 75, .25); cursor: grab; }
.pr__r::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); cursor: grab; }
.pr__r::-webkit-slider-runnable-track { background: none; }
.pr__r::-moz-range-track { background: none; }
.pr__r:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(20, 71, 230, .25); }

/* сортировка и вид */
.bar { gap: 12px; }
.bar__sort { margin-left: 0; margin-right: auto; }
.bar__view { display: flex; gap: 4px; }
.bar__v { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 12px; background: none; color: #a4adc2; cursor: pointer; transition: all .2s; }
.bar__v .ico { width: 22px; height: 22px; }
.bar__v:hover { color: var(--navy); }
.bar__v.is-on { color: var(--blue); background: var(--white); border-color: var(--line-2); }

/* ================= карточка: плиткой и строкой ================= */
.card__body { gap: 0; }
.card__main { display: flex; flex-direction: column; gap: 10px; }
.card__side { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 10px; }
.card__specs, .card__sku { display: none; }
.card__img { position: relative; }
.card__sku { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(11, 31, 75, .55); color: var(--white); font-size: 12.5px; font-weight: 500; backdrop-filter: blur(6px); }

.grid--list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.grid--list .card { flex-direction: row; }
.grid--list .card__img { flex: none; width: 250px; aspect-ratio: 1; margin: 8px; padding: 22px; }
.grid--list .card__sku { display: block; }
.grid--list .card__body { flex-direction: row; gap: 28px; padding: 22px 24px 22px 12px; }
.grid--list .card__main { flex: 1; min-width: 0; }
.grid--list .card__title { font-size: 19px; line-height: 1.3; }
.grid--list .card__title a { -webkit-line-clamp: 2; }
.grid--list .card__specs { display: block; margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.grid--list .card__specs b { font-weight: 600; color: var(--ink); }
.grid--list .card__side { flex: none; width: 220px; margin: 0; padding: 0 0 0 24px; border-left: 1px solid var(--line); justify-content: center; }
.grid--list .card__foot { flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; padding: 0; }
.grid--list .price { font-size: 30px; }
.grid--list .card__buy { min-height: 48px; }
@media (max-width: 1100px) {
  .grid--list .card__img { width: 190px; padding: 14px; }
  .grid--list .card__body { flex-direction: column; gap: 14px; }
  .grid--list .card__side { width: auto; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; }
  .grid--list .card__buy { width: auto; }
}
@media (max-width: 720px) {
  .bar__sort { margin-right: 0; }
  .bar__view { margin-left: auto; }
  .grid--list .card__img { width: 116px; margin: 6px; padding: 8px; }
  .grid--list .card__sku { display: none; }
  .grid--list .card__body { padding: 12px 12px 12px 4px; gap: 8px; }
  .grid--list .card__title { font-size: 15px; }
  .grid--list .card__specs { display: none; }
  .grid--list .card__side { flex-direction: column; align-items: stretch; padding-top: 10px; }
  .grid--list .price { font-size: 20px; }
}

/* «Сопутствующие разделы»: закрытая группа ссылок в фильтре */
.fg--rel:not([open]) > summary { color: #9aa3b8; }
.fg--rel:not([open]) { margin: 0 -22px -22px; padding: 16px 22px; background: var(--tint-2); border-radius: 0 0 var(--r) var(--r); }
.fg__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fg__links a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(20, 71, 230, .35); text-underline-offset: 3px; font-size: 15px; }
.fg__links a:hover { color: var(--blue); text-decoration-color: currentColor; }

/* ================= услуги ================= */
/* выпадающее меню «Услуги» в шапке: наведение или фокус с клавиатуры */
.nav-dd { position: relative; }
.nav-dd__btn { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd__chev { width: 16px; height: 16px; color: var(--muted); transition: rotate .25s var(--ease); }
.nav-dd__menu { position: absolute; left: -8px; top: 100%; z-index: 50; min-width: 330px; margin: 0; padding: 10px; list-style: none;
  border-radius: 18px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.nav-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav-dd__menu { margin-top: 10px; }
.nav-dd:hover .nav-dd__menu, .nav-dd:focus-within .nav-dd__menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd:hover .nav-dd__chev, .nav-dd:focus-within .nav-dd__chev { rotate: 180deg; }
.nav-dd__menu a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-dd__menu a:hover { background: var(--tint); color: var(--blue); }
.mob__svc > ul { margin: 0 0 6px; padding: 0 0 0 14px; list-style: none; }
.mob__svc > ul a { font-size: 15px; font-weight: 500; color: var(--muted); padding: 9px 0; border-bottom: 0; }
.ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }

/* плитки услуг: картинка и подпись поверх, как в образце */
.svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 8px; }
.svc { position: relative; display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3.4; color: var(--navy); background: var(--navy);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--navy); }
.svc__img { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__img--art { background: radial-gradient(120% 90% at 20% 0%, #1b3f9e 0%, var(--navy) 55%, var(--navy-deep) 100%); }
.svc__img--art .aurora { opacity: .75; }
.svc__ico { position: relative; z-index: 1; display: grid; place-items: center; width: 116px; height: 116px; margin-bottom: 70px; border-radius: 32px;
  color: var(--white); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); transition: transform .5s var(--ease); }
.svc__ico .ico { width: 56px; height: 56px; stroke-width: 1.4; }
.svc:hover .svc__ico { transform: translateY(-4px); }
.svc__cap { position: absolute; left: 0; bottom: 34px; z-index: 2; max-width: calc(100% - 24px); padding: 12px 20px 10px; background: rgba(255, 255, 255, .95);
  font-size: clamp(17px, 1.6vw, 22px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.svc__sub { position: absolute; left: 20px; right: 20px; bottom: 10px; z-index: 2; font-size: 13px; color: rgba(255, 255, 255, .8);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc:has(.svc__img img) .svc__sub { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.svcs--sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.svcs--sm .svc__ico { width: 84px; height: 84px; border-radius: 24px; margin-bottom: 60px; }
.svcs--sm .svc__ico .ico { width: 40px; height: 40px; }
.svcs--sm .svc__cap { font-size: 16px; padding: 10px 14px 8px; }

/* страница услуги */
.svc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sec-in { margin: 72px 0 0; }
.sec-in > h2 { margin-bottom: 24px; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.steps--5 .step { padding: 26px 22px; }
.steps--5 .step__n { font-size: 44px; margin-bottom: 18px; }
.steps--5 .step h3 { font-size: 18px; }
.steps--5 .step p { font-size: 14.5px; }
.svc-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; padding-top: 8px; }
.svc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.svc-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--tint-2); border: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.svc-list .ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(18, 161, 80, .12); color: var(--ok); }
.svc-inc h2 { margin-bottom: 20px; }
.svc-price { position: sticky; top: calc(var(--hdr) + 12px); display: grid; gap: 14px; padding: 28px; border-radius: var(--r); background: linear-gradient(160deg, #fff, var(--tint-2)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.svc-price__t { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.svc-price p:not(.svc-price__t) { margin: 0; color: var(--muted); line-height: 1.65; }
.svc-price__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--navy); }
.cta--page { padding-top: 80px; background: none; }

@media (max-width: 1200px) { .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-top { grid-template-columns: 1fr; }
  .svc-price { position: static; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .svcs { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .steps--5 { grid-template-columns: minmax(0, 1fr); }
  .svc-cta .btn { width: 100%; }
  .cta--page { padding-top: 56px; }
}

/* шапка с пунктом «Услуги»: всё в одну строку на 1280–1440 */
.hdr__bar { gap: 12px; }
.hdr__nav { gap: 0; }
.hdr__nav a { padding: 8px 10px; }
.hdr__cta, .hdr__phone, .hdr__catalog, .logo { flex: none; }
@media (max-width: 1560px) {
  .hdr__geo { padding-inline: 10px; }
  .hdr__geo-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

.nav-dd__menu { min-width: max-content; }
.nav-dd__menu a { white-space: nowrap; }

/* «Ещё» у строки тегов — текст со стрелкой, как в образце */
.qt__more { height: 40px; padding: 0 4px 0 10px; gap: 6px; border: 0; border-radius: 0; background: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.qt__more:hover { background: none; color: var(--blue); border: 0; }
.qt__more-i { width: 18px; height: 18px; transition: rotate .25s var(--ease); }
.qt__more[aria-expanded="true"] .qt__more-i { rotate: 180deg; }
@media (max-width: 720px) { .qt__more { height: 36px; padding: 0 2px 0 8px; font-size: 14px; } }

/* с названием «Усилитель сигнала» подпись региона в шапке не помещается ни на одной ширине
   (шапка ограничена 1320 px): оставляем значок с подсказкой, регион есть в заголовках и текстах */
.hdr__geo { padding-inline: 10px; }
.hdr__geo-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 720px) { .hdr__geo { display: none; } }
@media (max-width: 400px) {
  .hdr__bar { gap: 6px; padding: 0 6px 0 10px; }
  .logo { gap: 8px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__text { font-size: 15.5px; }
  .hdr__phone, .hdr__burger { width: 40px; height: 40px; }
}

/* «УСЛУГИ» сразу справа от «Каталога»: заглавными, жирно, серая стрелка; видно и когда основное меню скрыто */
.nav-dd--top { flex: none; }
.nav-dd--top .nav-dd__btn { height: 44px; padding: 0 6px 0 4px; font-size: 14.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.nav-dd--top .nav-dd__btn:hover, .nav-dd--top:focus-within .nav-dd__btn { color: var(--blue); }
.nav-dd--top .nav-dd__chev { width: 15px; height: 15px; color: #a4adc2; }
.nav-dd--top .nav-dd__menu { left: -6px; }
@media (max-width: 720px) { .nav-dd--top { display: none; } }

/* длинные слова в заголовках («конфиденциальности») не должны вылезать за экран 320 px:
   перенос с дефисом по словарю (lang="ru"), если словаря нет — разрыв слова */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 400px) {
  .phero h1, .prose h1, .nf h1 { font-size: 28px; }
}

/* перенос с дефисом — только для крупных заголовков; названия товаров в карточках не дробим */
h3 { hyphens: manual; -webkit-hyphens: manual; }
/* планшет: визуал hero и галерея товара не шире удобной колонки, плашки не прижаты к краям экрана */
@media (max-width: 1000px) {
  .hero__visual { width: min(560px, 100%); margin-inline: auto; }
  .float--a { left: 0; }
  .float--b { right: 0; }
  .gal { width: min(560px, 100%); margin-inline: auto; }
}

/* условие замера в карточке «Стоимость» и в шаге «Замер сигнала» */
.svc-price .svc-price__zamer { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px;
  background: rgba(18, 161, 80, .08); color: var(--ink) !important; font-weight: 600; font-size: 15px; line-height: 1.5; }
.svc-price__zamer .ico { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(18, 161, 80, .15); color: var(--ok); }
.step__free { display: block; margin-top: 10px; color: var(--ok); font-weight: 600; }

/* ловушка для ботов в формах заявок: поле не видно людям */
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* ---------- слайдер в первом экране: 4 репитера разных брендов, смена каждые 4 с ---------- */
.hslider { position: relative; z-index: 1; display: grid; justify-items: center; width: min(380px, 100%); }
.hslider > .hcard { grid-area: 1 / 1; width: 100%; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.hslider > .hcard.is-on { opacity: 1; visibility: visible; }
.hslider__dots { grid-area: 2 / 1; display: flex; gap: 8px; margin-top: 18px; }
.hslider__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .35s var(--ease), background .35s; }
.hslider__dot:hover { background: rgba(255, 255, 255, .7); }
.hslider__dot[aria-current="true"] { width: 26px; background: var(--white); }
.float b, .float__t { transition: opacity .3s; }
.float.is-swap b, .float.is-swap .float__t { opacity: 0; }

/* ---------- блог ---------- */
.bcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: 8px; }
.bcard { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); color: var(--navy); transition: transform .3s var(--ease), box-shadow .3s; }
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--navy); }
.bcard__meta { font-size: 13px; color: var(--muted); }
.bcard__t { font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.bcard__d { color: #4a5675; font-size: 15px; line-height: 1.6; }
.bcard__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--blue); }
.post__meta { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.post-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; align-items: start; margin-top: 8px; }
.post-toc { position: sticky; top: calc(var(--hdr) + 16px); padding: 20px; border-radius: 18px; background: var(--tint-2); border: 1px solid var(--line); font-size: 14px; }
.post-toc__t { margin: 0 0 10px; font-weight: 700; color: var(--navy); }
.post-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.post-toc a { color: #4a5675; }
.post-toc a:hover { color: var(--blue); }
.post { color: #2e3a5a; font-size: 17px; line-height: 1.75; }
.post h2 { margin: 48px 0 16px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; scroll-margin-top: calc(var(--hdr) + 16px); }
.post h2:first-child { margin-top: 0; }
.post h3 { margin: 32px 0 10px; font-size: 20px; color: var(--navy); }
.post p { margin: 0 0 16px; }
.post ul, .post ol { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 8px; }
.post ul { list-style: disc; } .post ol { list-style: decimal; } .post li::marker { color: var(--blue); }
.post strong { color: var(--navy); }
.post a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post code { padding: 2px 6px; border-radius: 6px; background: var(--tint); font-size: .92em; }
.post__table { overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 16px; }
.post__table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 520px; }
.post__table th, .post__table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.post__table th { background: var(--tint-2); color: var(--navy); font-weight: 600; }
.post__table tr:last-child td { border-bottom: 0; }
.post__fig { margin: 24px 0 28px; }
.post__fig svg { display: block; width: 100%; height: auto; }
.post__fig figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.ftr__links { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 1000px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .post-toc { position: static; }
}
@media (max-width: 560px) {
  .post { font-size: 16px; }
  .bcard { padding: 22px; }
  .bcard__t { font-size: 19px; }
}
