/* 360° Space Acoustic — раздел /acoustic/ в стиле главной 360space.ru (24.11.2026, mu-plugin 360-acoustic-skin).
   Токены главной: navy #030736 / deep #02041f / up #0a1050, ink #fff, silver #c9ced8, silver-dim #9ba2b4,
   линии rgba(201,206,216,.16/.32), Montserrat, кнопки-пилюли. Бирюза (#00D4FF) и ярко-синий (#2B6EFF) убраны:
   акцент — мягкий индиго главной #A5B4FC; красный оставлен только как смысловой «плохо».
   :not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) — сторож: правило не задевает общую шапку, форму заявки и подвал сайта (там те же классы .btn/.nav/.wrap/.top).
   Собирается build.py → 360-acoustic-skin/acoustic-skin.css. */

/* токены — на body раздела (не :root): статьи блога и общая обвязка сайта их не видят */
body.ac-skin:not(.ac-post) {
  --bg: #030736;
  --bg1: #030736;
  --bg2: #070c45;
  --bg3: #0a1050;
  --blue: #ffffff;
  --blue2: #e6e9f5;
  --neon: #a5b4fc;
  --neon2: #c7d0ff;
  --red: #ff6b7f;
  --white: #ffffff;
  --grey: #b5bbca;
  --grey2: rgba(201, 206, 216, .32);
  --border: rgba(201, 206, 216, .16);
  --border2: rgba(201, 206, 216, .32);
  --glow-b: 0 0 0 transparent;
  --glow-n: 0 0 0 transparent;
  --r: 18px;
  --max: 1320px;
  --ac-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

body.ac-skin { scrollbar-color: rgba(201, 206, 216, .32) #02041f; }
body.ac-skin:not(.ac-post) {
  background: #030736 !important;
  color: #fff;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-variant-numeric: lining-nums tabular-nums;
}
html:has(body.ac-skin:not(.ac-post)) { background: #030736; }
body.ac-skin ::selection { background: rgba(165, 180, 252, .35); color: #fff; }
body.ac-skin :focus-visible:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* распорка под общую шапку + полосу разделов (шапка 76/66 px, полоса 52/46 px) */
body.ac-skin #s360-header-spacer { height: calc(env(safe-area-inset-top, 0px) + 128px) !important; }
@media (max-width: 767px) { body.ac-skin #s360-header-spacer { height: calc(env(safe-area-inset-top, 0px) + 112px) !important; } }

/* моноширинный «технический» шрифт — только как костюм; заменяем на Montserrat */
.tag:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *), .hero-eyebrow, .osc-title, .osc-badge, .osc-meta, .osc-hint, .osc-cross, .spec-cap, .spec-ax, .ro-label,
.slider-scale, .reset-btn, .proc-num, .twin-frame::after, .sol-num, .form-group label, .problem-img-label,
.ba-type, .ba-metric, .glos-term, .glos-val, .niche-eyebrow, .price-tier {
  font-family: "Montserrat", system-ui, sans-serif !important;
  letter-spacing: 0 !important;
}

/* подписи над заголовками — тихие, без линий и капса */
.tag:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *), .hero-eyebrow, .niche-eyebrow {
  color: #9ba2b4 !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.tag:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *)::before, .tag:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *)::after, .hero-eyebrow::before, .hero-eyebrow::after,
.niche-eyebrow::before, .niche-eyebrow::after { display: none !important; }

/* заголовки — как на главной (статьи блога не трогаем: у них общий стиль блога сайта) */
body.ac-skin:not(.ac-post) :is(h1, h2, h3):not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *), .hero-h { font-family: "Montserrat", system-ui, sans-serif !important; color: #fff; }
body.ac-skin:not(.ac-post) h2:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) { font-weight: 600 !important; letter-spacing: -.035em !important; line-height: 1.06 !important; text-wrap: balance; }
body.ac-skin:not(.ac-post) .sec:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem) !important; }
body.ac-skin:not(.ac-post) h3:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) { font-weight: 600 !important; letter-spacing: -.01em; }
h1.hero-h, .niche-h1, h1.ac-blog-h1 { font-weight: 600 !important; letter-spacing: -.04em !important; line-height: 1.02 !important; }
h1.hero-h em, .niche-h1 em {
  color: #a5b4fc !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
  font-style: normal;
}
.sec:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) p, .lead:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *), .hero-sub, .niche-sub { color: #c9ced8 !important; }

/* кнопки — пилюли главной */
body.ac-skin:not(.ac-post) .btn:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) {
  border-radius: 999px !important;
  min-height: 56px;
  padding: 0 30px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-family: "Montserrat", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: transform .2s var(--ac-ease), background-color .2s var(--ac-ease), border-color .2s var(--ac-ease) !important;
}
body.ac-skin .btn:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *):active { transform: scale(.97); }
body.ac-skin:not(.ac-post) .btn-primary:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) {
  background: #fff !important;
  color: #030736 !important;
  border: 0 !important;
  box-shadow: 0 18px 40px rgba(2, 4, 31, .45) !important;
}
body.ac-skin .btn-primary:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *):hover { background: #e6e9f5 !important; }
body.ac-skin:not(.ac-post) :is(.btn-ghost, .btn-neon):not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(201, 206, 216, .32) !important;
  box-shadow: none !important;
}
body.ac-skin :is(.btn-ghost, .btn-neon):not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *):hover { border-color: #fff !important; color: #fff !important; }

/* первый экран лендинга: затемнение — в синий главной, без неоновой полоски */
.hero:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) { background: #030736 !important; }
body.ac-landing .hero { padding-top: 0; }
.hero-bg img { filter: saturate(.75) brightness(.9); }
.hero-grad {
  background:
    radial-gradient(ellipse 60% 55% at 62% 38%, rgba(165, 180, 252, .14) 0%, transparent 62%),
    linear-gradient(180deg, rgba(3, 7, 54, .78) 0%, rgba(3, 7, 54, .52) 42%, rgba(3, 7, 54, .7) 72%, #030736 100%) !important;
}
.hero-scan, .niche-hero-scan { display: none !important; }
.hero-c { padding-top: 64px; }
.hero-scroll-bar { background: rgba(201, 206, 216, .5) !important; box-shadow: none !important; }
.stats-bar { background: #030736 !important; border-color: rgba(201, 206, 216, .16) !important; }
.stat-val, .stat-val.neon { color: #fff !important; text-shadow: none !important; }

/* первый экран ниш */
.niche-hero { min-height: 0 !important; padding: clamp(48px, 7vw, 104px) 0 clamp(32px, 4vw, 56px) !important; background: #030736 !important; }
.niche-hero-bg { background: radial-gradient(ellipse 70% 70% at 50% 0%, rgba(165, 180, 252, .16) 0%, transparent 64%) !important; }
.niche-hero::after { background: rgba(201, 206, 216, .16) !important; opacity: 1 !important; }
.niche-hero-c { padding-block: 0 !important; }
.niche-eyebrow { margin-bottom: 20px !important; }
.niche-h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem) !important; }

/* карточки и панели: тихий синий, линия 16 %, скругление 18px */
.problem-card, .method-point, .process-card, .twin-benefit, .sol-card, .ba-card, .glos-card, .cta-contact,
.osc-panel, .faq-item, .insight, .ro, .twin-frame, .problem-img, .price-card, a.ac-card {
  border-color: rgba(201, 206, 216, .16) !important;
  box-shadow: none !important;
}
.problem-card, .method-point, .process-card, .twin-benefit, .sol-card, .ba-card, .glos-card, .cta-contact, .osc-panel,
.price-card, a.ac-card {
  background: rgba(10, 16, 80, .42) !important;
  border-radius: 18px !important;
}
.process-grid, .sol-grid { border-radius: 18px !important; overflow: hidden; border: 1px solid rgba(201, 206, 216, .16); background: rgba(201, 206, 216, .16) !important; }
.process-grid .process-card, .sol-grid .sol-card { border-radius: 0 !important; border: 0 !important; background: #050a3e !important; }
.problem-card-icon { color: #a5b4fc; line-height: 0; }
.method-point-icon, .proc-icon, .twin-benefit-check, .sol-list li::before, .faq-icon { color: #a5b4fc !important; }
.proc-num, .sol-num, .glos-term, .ba-type, .price-tier { color: #a5b4fc !important; text-shadow: none !important; }
.proc-num::after, .ba-type::after { background: rgba(201, 206, 216, .16) !important; }
.sol-card:hover, a.ac-card:hover { border-color: rgba(201, 206, 216, .4) !important; }
.sol-card:hover .sol-arrow { color: #fff !important; }

/* графики: «хорошо» — индиго главной вместо бирюзы, «плохо» — приглушённый красный */
.osc-panel--good .osc-title, .osc-panel--good .osc-badge, .ro-val, .ba-bar-after .ba-bar-val, .ba-delta, .insight.hi {
  color: #a5b4fc !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
.osc-panel--good .osc-badge { border-color: rgba(165, 180, 252, .5) !important; background: rgba(165, 180, 252, .1) !important; }
.insight.hi .dot { background: #a5b4fc !important; box-shadow: none !important; }
.insight.mid .dot { background: #fff !important; }
.morph-btn { border-radius: 999px !important; border-color: rgba(201, 206, 216, .32) !important; }
.morph-btn.on { background: #fff !important; color: #030736 !important; box-shadow: none !important; border-color: #fff !important; }
.reset-btn { border-radius: 999px !important; text-transform: none !important; }
input[type=range].freq, input[type=range].freq.rt { accent-color: #fff; }
input[type=range].freq::-webkit-slider-thumb { background: #fff !important; box-shadow: 0 2px 10px rgba(2, 4, 31, .6) !important; border: 0 !important; }
input[type=range].freq::-moz-range-thumb { background: #fff !important; box-shadow: 0 2px 10px rgba(2, 4, 31, .6) !important; border: 0 !important; }

/* вкладки объектов */
.tab-btn { text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; color: #9ba2b4 !important; }
.tab-btn.active { color: #fff !important; border-color: #fff !important; background: transparent !important; }

/* вопросы — как список на главной */
.faq-item { background: transparent !important; border-radius: 0 !important; border-width: 1px 0 0 !important; }
.faq-q { font-weight: 600 !important; }
.faq-q:hover { color: #fff !important; }
.faq-item.open .faq-icon { color: #fff !important; }

/* формы раздела (лендинг и ниши; общая форма заявки сайта не затрагивается) */
.form-group { background: transparent !important; border: 0 !important; padding-inline: 0 !important; }
.cta-form { background: transparent !important; border: 0 !important; }
.form-group label { text-transform: none !important; color: #c9ced8 !important; font-size: 14px !important; font-weight: 600 !important; }
.form-group :is(input, textarea, select), .niche-content form :is(input, textarea) {
  background: rgba(10, 16, 80, .55) !important;
  border: 1px solid rgba(201, 206, 216, .24) !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-family: "Montserrat", system-ui, sans-serif !important;
}
.form-group :is(input, textarea):focus, .niche-content form :is(input, textarea):focus { border-color: #fff !important; outline: none; }
.form-group :is(input, textarea)::placeholder, .niche-content form :is(input, textarea)::placeholder { color: #9ba2b4; }
.niche-content form button[type=submit] {
  background: #fff !important; color: #030736 !important; border-radius: 999px !important; box-shadow: none !important;
  text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; font-weight: 600 !important;
}
.niche-content form button[type=submit]:hover { background: #e6e9f5 !important; }
.cta-contact-text small { text-transform: none !important; letter-spacing: 0 !important; color: #9ba2b4 !important; }
.cta-contact:hover .cta-contact-text a { color: #fff !important; }
.form-success p { color: #c9ced8 !important; }

/* текст ниш */
.niche-content :is(p, li) { color: #c9ced8 !important; }
.niche-content .sec.hero-sec { padding-block: clamp(8px, 2vw, 24px) clamp(24px, 4vw, 48px) !important; }
.niche-content .tldr {
  background: rgba(10, 16, 80, .42) !important;
  border: 1px solid rgba(201, 206, 216, .16) !important;
  border-left: 3px solid #a5b4fc !important;
  border-radius: 18px !important;
  color: #c9ced8;
}
.niche-content .tldr strong { color: #a5b4fc !important; }

/* инлайн-вёрстка текста ниш: сетка цифр на «линиях 1px» → отдельные карточки (пустая ячейка не светится),
   моноширинные капсовые подписи → тихий Montserrat, заголовок сразу под подписью */
.niche-content div[style*="gap:1px"][style*="background:var(--border)"] { background: transparent !important; gap: 12px !important; }
.niche-content div[style*="gap:1px"][style*="background:var(--border)"] > div {
  border: 1px solid rgba(201, 206, 216, .16); border-radius: 18px; background: rgba(10, 16, 80, .42) !important;
}
body.ac-skin:not(.ac-post) [style*="JetBrains Mono"]:not(#s360-site-header *):not(#s360-site-form *):not(.s360-site-footer *) {
  font-family: "Montserrat", system-ui, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
}
.niche-content [style*="font-weight:900"] { font-weight: 700 !important; }
.niche-content .tag + h2 { margin-top: 12px !important; }
.niche-content .sec { padding-block: clamp(48px, 6vw, 88px) !important; }
/* шаблон ниши даёт .niche-content .wrap ещё 48–96px сверху и снизу — вместе с .sec отступ удваивался */
.niche-content .sec > .wrap { padding-block: 0 !important; }

/* блог раздела */
.ac-blog-sec { padding-top: clamp(40px, 5vw, 72px) !important; }
.ac-card-date { color: #9ba2b4 !important; }
a.ac-card img { transition: transform .5s var(--ac-ease); }
@media (hover: hover) { a.ac-card:hover img { transform: scale(1.03); } }

.problem-stat { border-color: rgba(255, 107, 127, .35) !important; background: rgba(255, 107, 127, .06) !important; }

/* полоса раздела под общей шапкой (внутри закреплённой обёртки #s360-site-header) */
.ac-subnav {
  position: relative; z-index: 1;
  background: rgba(2, 4, 31, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201, 206, 216, .16);
  border-bottom: 1px solid rgba(201, 206, 216, .16);
  font-family: SpaceSiteMontserrat, Montserrat, system-ui, sans-serif;
}
.ac-subnav-in {
  max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px);
  min-height: 52px; display: flex; align-items: center; gap: 28px;
}
.ac-subnav-brand { color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 15px; white-space: nowrap; letter-spacing: -.01em; }
.ac-subnav-brand span { color: #a5b4fc; font-weight: 600; }
.ac-subnav nav { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.ac-subnav nav::-webkit-scrollbar { display: none; }
.ac-subnav nav a {
  color: #c9ced8 !important; text-decoration: none !important; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .2s var(--ac-ease), border-color .2s var(--ac-ease);
}
.ac-subnav nav a:hover, .ac-subnav nav a[aria-current="page"] { color: #fff !important; border-bottom-color: #fff; }
@media (max-width: 767px) {
  .ac-subnav-in { gap: 16px; min-height: 46px; }
  .ac-subnav-brand { display: none; }
}
@media (prefers-reduced-motion: reduce) { .btn, .ac-subnav nav a, a.ac-card img { transition: none !important; } }
@media (max-width: 600px) {
  .problem-stat { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
}
