:root {
  --acc: #c2552f;
  --acc-dark: #9d4224;
  --acc-text: #e08a66;
  --acc-on-dark: #e08a66;
  --mark-no: #c0453a;
  --black: #0b0d0f;
  --base: #111417;
  --panel: #15181c;
  --panel-2: #1b1f24;
  --line: #262b31;
  --line-2: #2c3239;
  --line-on-dark: #2c3239;
  --tab-edge: #2c3239;
  --tab-divider: #262b31;
  --header: #0e1013;
  --cta-dark: #17191d;
  --cta-dark-edge: #23282e;
  --grey-block: #2c3239;
  --chip: #23282e;
  --gain: #3f8f4f;
  --mark-yes: #2f8f46;
  --shadow: 0 2px 14px rgba(0, 0, 0, .35);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-card: 0 1px 33px 3px rgba(0, 0, 0, .35);
  --steel-1: #eef1f4;
  --steel-2: #c9d1d8;
  --ink: #dfe4e9;
  --heading: #c9d1d8;
  --body: #aeb7bf;
  --text-2: var(--body);
  --bg-1: var(--base);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --muted: #8c96a0;
  --muted-2: #6f7982;
  --faint: #5b656e;
  --body-on-dark: #c9d1d8;
  --body-on-dark-muted: #aeb7bf;
  --meta-on-dark: #8c96a0;
  --nav-on-dark: #d5dbe1;
  --nav-on-overlay: #c9d1d8;
  --on-dark: #c9d1d8;
  --pat-dots: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .035) 1px, transparent 1.7px);
}
body {
  background-image: var(--pat-dots);
  background-size: 24px 24px;
}
::selection { background: var(--acc); color: var(--steel-1); }
a[data-todo] { cursor: default; text-decoration: none; }
[hidden] { display: none !important; }
img.img-ph, video.img-ph { background: repeating-linear-gradient(135deg, #16191d 0 12px, #1d2126 12px 24px); }
footer .columns > .contact { grid-column: -2 / -1; }
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; }
.site-header--overlay.scrolled { position: fixed; }
.header {
  background: rgba(14, 16, 19, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.site-header.scrolled .header { background: rgba(14, 16, 19, .96); border-bottom-color: var(--line); }
.btn-dark { background: var(--chip); color: var(--steel-1); }
.logo { line-height: 1; }
.logo-word {
  font: 600 28px / 1 var(--display); letter-spacing: 1px; text-transform: uppercase;
  color: var(--steel-2); white-space: nowrap;
}
.logo-tag {
  font: 400 10px / 1 var(--mono); letter-spacing: 1px; color: var(--acc-text);
  margin-left: 8px; vertical-align: top;
}
.logo-word--footer { font-size: 26px; display: inline-block; margin-bottom: 18px; }
.tile .tile-icon { width: 40px; height: 40px; color: var(--acc); }
.brands-list { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.brands-list li {
  font-family: var(--display); font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  font-size: 15px; color: var(--steel-2); opacity: .8;
}
@media (width<=1024px) {
  .nav {
    background: var(--header);
    max-height: calc(100vh - var(--site-header-height, 0px));
    max-height: calc(100dvh - var(--site-header-height, 0px));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    box-sizing: border-box;
  }
  .burger { margin-left: auto; }
}
.submenu a[aria-current="page"] { color: var(--acc-text); }
.has-submenu:has(.submenu a[aria-current="page"]) > .submenu-trigger { color: var(--acc-text); }
.ct { --ct-gutter: clamp(16px, 3vw, 40px); }
.ct-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--ct-gutter); }
.ct-wrap--narrow { max-width: 960px; }
.ct-section { padding: clamp(44px, 6vw, 80px) 0; scroll-margin-top: var(--site-anchor-offset, 124px); }
.ct-section--panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ct-section--accent {
  background: var(--cta-dark);
  background-image: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(194, 85, 47, .18), transparent 70%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ct-eyebrow { font: 500 12px/1.2 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--acc-text); margin-bottom: 12px; }
.ct-h2 {
  font: 600 clamp(26px, 3.3vw, 40px) / 1.1 var(--display);
  text-transform: uppercase; letter-spacing: -.01em; color: var(--steel-2); max-width: 28ch;
}
.ct-lead { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 66ch; margin-top: 14px; }
.ct-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4vw, 52px); background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(194, 85, 47, .10), transparent 60%); }
.ct-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ct-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; font: 400 11px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
.ct-crumbs li:not(:last-child)::after { content: "›"; margin-left: 10px; color: var(--faint); }
.ct-crumbs a { color: var(--acc-text); }
.ct-hero h1 { font: 600 clamp(40px, 5.6vw, 72px) / 1 var(--display); text-transform: uppercase; letter-spacing: -.01em; color: var(--steel-2); margin: 18px 0 6px; }
.ct-hero__slogan { font: 600 clamp(18px, 2vw, 24px) / 1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--acc-text); }
.ct-hero__lede { font-size: 17px; line-height: 1.6; color: var(--text-2); margin-top: 18px; max-width: 56ch; }
.ct-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ct-hero__art { aspect-ratio: 5 / 4; }
.ct-ph {
  border: 1px dashed var(--line-2); border-radius: 14px; overflow: hidden;
  background: repeating-linear-gradient(135deg, #16191d 0 12px, #1d2126 12px 24px);
  display: grid; place-content: center;
}
.ct-ph span { font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--meta); padding: 0 16px; text-align: center; }
.ct-subnav {
  position: sticky; top: var(--site-header-height, 74px); z-index: 5; background: rgba(14, 16, 19, .96);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ct-subnav .ct-wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ct-subnav .ct-wrap::-webkit-scrollbar { display: none; }
.ct-subnav a {
  flex: none; padding: 13px 12px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.ct-subnav a:hover { color: var(--steel-1); border-bottom-color: var(--acc); text-decoration: none; }
.ct-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.ct-tile { background: var(--base); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.ct-tile__ico { width: 28px; height: 28px; }
.ct-tile h3, .ct-card h3 { font: 600 17px/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--steel-1); }
.ct-tile p, .ct-card p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.ct-gbnote { font: 400 12px/1.5 var(--mono); color: var(--meta); margin: 0 0 14px; }
.ct-note { font-size: 13px; color: var(--meta); margin: 10px 0 0; }
.ct-dim { color: var(--muted); }
.gearbox-options[data-gearbox-options] { margin-top: 26px; }
.ct .tick { background: rgba(108, 200, 133, .14); }
.ct .tick .tick-icon { color: #6cc885; }
.ct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.ct-card { background: var(--base); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 10px; align-content: start; transition: border-color .2s, translate .25s var(--ease); }
.ct-card:hover { border-color: var(--acc); translate: 0 -3px; }
.ct-card__ico {
  width: 48px; height: 48px; border: 1px solid var(--acc); border-radius: 8px; display: grid; place-items: center; margin-bottom: 4px;
}
.ct-card__ico .icon { width: 26px; height: 26px; }
.ct-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.ct-stage { background: var(--base); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.ct-stage--sq { border-color: var(--acc); background: linear-gradient(180deg, rgba(194, 85, 47, .10), transparent 70%), var(--base); }
.ct-stage__tag { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc-text); }
.ct-stage h3 { font: 600 19px/1.25 var(--display); text-transform: uppercase; color: var(--steel-1); margin-top: 6px; }
.ct-stage__who { font-size: 14px; color: var(--meta); }
.ct-stage ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ct-stage li { font-size: 14.5px; line-height: 1.5; color: var(--text-2); padding-left: 16px; position: relative; }
.ct-stage li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.ct-stage__torque { font: 500 12.5px/1.4 var(--mono); color: var(--steel-2); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.ct-need { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.ct-need > div { background: var(--base); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.ct-need h3 { font: 600 18px/1.3 var(--display); text-transform: uppercase; color: var(--steel-1); margin-bottom: 8px; }
.ct-need p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.ct-table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--base); }
.ct-symptoms { width: 100%; border-collapse: collapse; min-width: 720px; }
.ct-symptoms th { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--meta); text-align: left; padding: 14px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.ct-symptoms td { font-size: 14.5px; line-height: 1.5; color: var(--text-2); padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ct-symptoms tr:last-child td { border-bottom: 0; }
.ct-symptoms td:first-child { color: var(--steel-1); font-weight: 500; width: 34%; }
.ct-tm { background: var(--base); border: 1px solid var(--line-2); border-radius: 16px; padding: clamp(20px, 3vw, 32px); margin-top: 28px; display: grid; gap: 20px; }
.ct-tm__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-tm__pill {
  font: 600 13px/1 var(--mono); letter-spacing: .04em; color: var(--acc-text); background: transparent;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 14px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.ct-tm__pill:hover { border-color: var(--acc); text-decoration: none; }
.ct-tm__pill.is-on { background: var(--acc); color: var(--steel-1); border-color: var(--acc); }
.ct-tm__label { font-size: 15px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.ct-tm__label output { font: 600 22px/1 var(--mono); color: var(--steel-1); }
.ct-tm__range { width: 100%; accent-color: var(--acc); cursor: pointer; }
.ct-tm__scale { position: relative; display: flex; height: 38px; border-radius: 8px; overflow: visible; }
.ct-tm__scale i {
  display: grid; place-items: center; min-width: 2px; height: 26px; font: 500 10.5px/1 var(--mono); letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); font-style: normal; border-right: 1px solid var(--bg-1);
}
.ct-tm__scale i:first-child { border-radius: 8px 0 0 8px; }
.ct-tm__scale i:last-of-type { border-radius: 0 8px 8px 0; border-right: 0; }
.ct-tm__scale [data-zone="stock"] { background: var(--panel-3, var(--panel-2)); }
.ct-tm__scale [data-zone="s"] { background: rgba(194, 85, 47, .22); }
.ct-tm__scale [data-zone="s2"] { background: rgba(194, 85, 47, .34); }
.ct-tm__scale [data-zone="s3"] { background: rgba(194, 85, 47, .50); color: var(--steel-1); }
.ct-tm__scale [data-zone="s4"] { background: rgba(194, 85, 47, .72); color: var(--steel-1); }
.ct-tm__scale [data-zone="hw"] { background: repeating-linear-gradient(135deg, #16191d 0 6px, #1d2126 6px 12px); }
.ct-tm__scale b { position: absolute; left: var(--x); top: 0; width: 3px; height: 34px; background: var(--steel-1); border-radius: 2px; transform: translateX(-50%); transition: left .08s linear; }
.ct-tm__result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
.ct-tm__stage { display: grid; gap: 4px; }
.ct-tm__stage small { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--meta); }
.ct-tm__stage strong { font: 600 clamp(30px, 4vw, 44px) / 1 var(--display); text-transform: uppercase; letter-spacing: -.01em; color: var(--steel-1); }
.ct-tm__stage strong.is-warn { color: var(--acc-text); }
.ct-tm__text { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.ct-tm__text b { color: var(--steel-1); font-weight: 500; }
.ct-tm__text a { color: var(--acc-text); text-decoration: underline; }
.ct-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.ct-steps li { counter-increment: step; background: var(--base); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 8px; align-content: start; position: relative; }
.ct-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; right: 16px; top: 14px; font: 600 12px/1 var(--mono); color: var(--faint); }
.ct-steps .icon { width: 26px; height: 26px; }
.ct-steps b { font: 600 16px/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--steel-1); }
.ct-steps span { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.ct-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.ct-price { background: var(--base); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 8px; }
.ct-price h3 { font: 600 20px/1.2 var(--mono); letter-spacing: .02em; color: var(--steel-1); margin-bottom: 10px; }
.ct-price table { width: 100%; border-collapse: collapse; }
.ct-price th, .ct-price td { font-size: 13.5px; line-height: 1.4; padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ct-price thead th { font: 600 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--meta); }
.ct-price tbody th { font-weight: 500; color: var(--text-2); white-space: nowrap; }
.ct-price td { font-family: var(--mono); color: var(--steel-1); white-space: nowrap; }
.ct-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.ct-cta .ct-h2 { max-width: none; }
.ct-cta .ct-hero__actions { margin-top: 0; flex: none; }
@media (width<=1024px) {
  .ct-tiles, .ct-cards, .ct-stages, .ct-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-section { scroll-margin-top: var(--site-anchor-offset, 68px); }
}
@media (width<=760px) {
  .ct-hero__grid { grid-template-columns: 1fr; }
  .ct-hero__art { order: -1; aspect-ratio: 16 / 9; }
  .ct-tiles, .ct-cards, .ct-stages, .ct-prices, .ct-need, .ct-steps { grid-template-columns: 1fr; }
  .ct-tm__result { grid-template-columns: 1fr; }
  .ct-tm__scale i { font-size: 0; }
  .ct-subnav { top: var(--site-header-height, 64px); }
}

/* ShiftBalance: shared presentation and navigation additions. */
.sb-hero-panel {
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(194,85,47,.13), transparent 70%), var(--panel);
  border: 1px solid var(--line-2); border-top: 2px solid var(--acc);
  display: grid; gap: 24px; min-width: 0;
}
.sb-kicker { font: 500 12px/1.4 var(--mono); color: var(--acc-text); letter-spacing: .1em; text-transform: uppercase; }
.sb-hero-panel > strong { font: 500 clamp(30px, 4.2vw, 54px)/1.08 var(--display); text-transform: uppercase; color: var(--steel-2); }
.sb-hero-panel dl { margin: 0; display: grid; gap: 14px; }
.sb-hero-panel dl > div { display: grid; grid-template-columns: 130px minmax(0,1fr); gap: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.sb-hero-panel dt { font: 500 12px/1.4 var(--mono); color: var(--acc-text); }
.sb-hero-panel dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--body); }
.sb-hero-panel a, .sb-pillars a, .sb-term-link { color: var(--acc-text); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.sb-pillars { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.sb-pillars article { padding-top: 16px; border-top: 2px solid var(--line-2); min-width: 0; }
.sb-pillars article > span { font: 500 10.5px/1.5 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--acc-text); }
.sb-pillars h3 { font: 500 22px/1.2 var(--display); color: var(--steel-2); margin: 12px 0; }
.sb-pillars p { color: var(--body); font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
.sb-profiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 30px 0 14px; }
.sb-profiles a { display: grid; gap: 7px; padding: 19px; border: 1px solid var(--line-2); background: var(--panel); text-decoration: none; min-width: 0; }
.sb-profiles a:hover { border-color: var(--acc); }
.sb-profiles strong { font: 500 24px/1.1 var(--display); color: var(--steel-2); letter-spacing: .04em; text-transform: uppercase; }
.sb-profiles span { font-size: 13px; line-height: 1.5; color: var(--body); }
.sb-anchor { display: block; scroll-margin-top: var(--site-anchor-offset, 140px); }
.agv-footer-tools { max-width: var(--max,1400px); margin: 0 auto; padding: 22px 24px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 16px 26px; }
.agv-footer-tools a { font-size: 13px; color: var(--body); }
.agv-footer-tools a:hover { color: var(--acc-text); }
.agv-profile-bar { padding: 14px max(20px,calc((100% - 1320px)/2)); background: var(--panel); border-bottom: 1px solid var(--line-2); display: none; gap: 14px 22px; align-items: center; flex-wrap: wrap; color: var(--body); font: 400 12px/1.4 var(--mono); }
/* Место панели резервируется до отрисовки: класс ставит ранний скрипт в head по localStorage. */
html.has-profile .agv-profile-bar { display: flex; }
.agv-profile-bar a { color: var(--acc-text); text-decoration: underline; }
.agv-profile-bar button { font: inherit; color: var(--muted); background: transparent; border: 1px solid var(--line-2); padding: 8px 12px; cursor: pointer; }
.ct-prices:has([data-price-gearbox]:not([hidden])) { grid-template-columns: minmax(0,760px); }
.ct-price th, .ct-price td { white-space: normal; }
.ct-price { overflow-x: auto; }
.ct-stage [data-stage-hardware-id] { font-size: 12px; }
.ct .matrix { overflow-x: auto; }
.ct .matrix table { min-width: 780px; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 4px; }
@media (width<=1024px) { .sb-pillars { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (width<=640px) {
  .sb-pillars, .sb-profiles { grid-template-columns: 1fr; }
  .sb-hero-panel dl > div { grid-template-columns: 1fr; gap: 4px; }
  .ct-hero__actions { align-items: stretch; }
  .ct-hero__actions > a { max-width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* === AUDIFILIA DARK OBSIDIAN / GRAPHITE / TERRACOTTA THEME R2 === */
:root {
  --acc: #c45b3b;
  --acc-dark: #9e4327;
  --acc-soft: rgba(196, 91, 59, 0.14);
  --acc-glow: rgba(196, 91, 59, 0.24);
  --acc-text: #df8464;
  --acc-on-dark: #df8464;

  /* Action text stays readable independently of decorative terracotta accents.
     White text: normal gradient >= 5.92:1; hover gradient >= 5.02:1. */
  --action: #a94428;
  --action-dark: #92391f;
  --action-hover: #b65032;
  --action-hover-dark: #a14227;
  --on-action: #ffffff;

  --black: #050608;
  --base: #090b0f;
  --panel: #11141a;
  --panel-2: #161a22;
  --header: rgba(10, 12, 16, 0.70);
  --cta-dark: #101319;
  --cta-dark-edge: #242a35;
  --grey-block: #1e232c;
  --chip: #1b2028;

  --line: rgba(190, 202, 218, 0.09);
  --line-2: rgba(190, 202, 218, 0.16);
  --line-on-dark: rgba(190, 202, 218, 0.14);
  --tab-edge: rgba(190, 202, 218, 0.16);
  --tab-divider: rgba(190, 202, 218, 0.09);

  /* Шлифованный стальной графит вместо резкого белого */
  --steel-1: #cfd6df;
  --steel-2: #bcc5d0;
  --ink: #cfd6df;
  --heading: #c5ced8;
  --body: #98a2b0;
  --text-2: #98a2b0;
  --bg-1: #090b0f;
  --muted: #76808f;
  --muted-2: #5d6674;
  --faint: #454d59;
  --meta: #7e8896;
  --meta-on-dark: #7e8896;
  --nav-on-dark: #c5ced8;
  --nav-on-overlay: #c5ced8;
  --body-on-dark: #bcc5d0;
  --body-on-dark-muted: #98a2b0;
  --on-dark: #c5ced8;

  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 46px rgba(0, 0, 0, 0.62);
  --shadow-card: 0 12px 34px rgba(0, 0, 0, 0.48);
  --hero-scrim: linear-gradient(92deg, rgba(6, 7, 10, 0.90) 0%, rgba(6, 7, 10, 0.66) 44%, rgba(6, 7, 10, 0.14) 76%, rgba(6, 7, 10, 0.36) 100%);
}

html {
  background-color: #06070a;
  color-scheme: dark;
}

/* Неравномерный переливающийся обсидианово-графитовый фон с тёплым терракотовым отблеском */
body {
  background-color: #07090d;
  background-image:
    radial-gradient(56% 42% at 14% 8%, rgba(58, 71, 90, 0.24) 0%, transparent 72%),
    radial-gradient(46% 36% at 86% 18%, rgba(196, 91, 59, 0.10) 0%, transparent 70%),
    radial-gradient(54% 48% at 50% 58%, rgba(34, 42, 56, 0.18) 0%, transparent 76%),
    radial-gradient(44% 38% at 12% 88%, rgba(196, 91, 59, 0.07) 0%, transparent 72%),
    radial-gradient(48% 40% at 88% 84%, rgba(62, 74, 92, 0.15) 0%, transparent 72%),
    linear-gradient(180deg, #06070a 0%, #0b0e14 48%, #07090d 100%);
  background-attachment: fixed;
  background-size: cover;
  color: var(--body);
}

/* Пропускаем неравномерный переливающийся фон сквозь все секции 16 страниц */
main > .band,
main > .band.alt,
main > .band.band-panel,
main > .product-band,
main > .capabilities,
main > .proof,
main > .projects,
main > .news,
main > .credentials,
main > .parts,
main > .pricing,
main > .faq,
main > .browser,
main > .ct-section,
main > .ct-section--panel,
main > .ck-section,
main > .gl-filter-section,
main > .closing.tone-dark {
  background-color: transparent;
}

main > .band,
main > .news,
main > .ct-section--panel,
main > .gl-filter-section {
  background-color: rgba(15, 18, 25, 0.54);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(0, 0, 0, 0.12));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

main > .band.alt,
main > .proof {
  background-color: rgba(19, 23, 31, 0.46);
  background-image: radial-gradient(60% 90% at 85% 20%, rgba(196, 91, 59, 0.06), transparent 72%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

main > .product-band {
  background: linear-gradient(180deg, rgba(15, 18, 25, 0.50) 0%, rgba(8, 10, 14, 0.15) 100%);
}

main > .closing.tone-dark {
  background-color: rgba(12, 15, 21, 0.72);
  background-image: radial-gradient(56% 90% at 50% 0%, rgba(196, 91, 59, 0.14), transparent 70%);
  border-top: 1px solid var(--line-2);
}

/* Дымчатое стекло для шапки */
.site-header .header {
  background: rgba(9, 11, 15, 0.64);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.scrolled .header {
  background: rgba(7, 9, 13, 0.92);
  border-bottom-color: var(--line-2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.50);
}

.submenu {
  background: rgba(12, 15, 21, 0.95) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-2) !important;
  box-shadow: var(--shadow-lg);
}

/* Фирменный логотип AudiFilia с кольцами и терракотовым акцентом */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}

.logo:hover {
  text-decoration: none;
}

.logo-rings {
  width: 44px;
  height: 16px;
  flex: none;
  color: var(--steel-2);
  opacity: 0.86;
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}

.logo:hover .logo-rings {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(196, 91, 59, 0.36));
}

.logo-word {
  color: var(--steel-1);
  letter-spacing: 0.06em;
}

.logo-word .logo-accent {
  color: var(--acc-text);
}

.logo-tag {
  color: var(--acc-text);
  border: 1px solid rgba(196, 91, 59, 0.38);
  background: rgba(196, 91, 59, 0.09);
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  margin-left: 2px;
  vertical-align: middle;
}

.logo-footer-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.logo-footer-wrap .logo-rings {
  width: 40px;
  height: 15px;
}

.logo-footer-wrap .logo-word--footer {
  margin-bottom: 0;
}

/* Кнопки в стальном графите и матовой терракоте */
.btn-primary,
.btn-primary[data-c-144xmc] {
  background: linear-gradient(180deg, var(--action) 0%, var(--action-dark) 100%);
  color: var(--on-action);
  border: 1px solid rgba(255, 200, 178, 0.18);
  box-shadow: 0 8px 24px rgba(196, 91, 59, 0.24);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}

.btn-primary:hover,
.btn-primary[data-c-144xmc]:hover {
  background: linear-gradient(180deg, var(--action-hover) 0%, var(--action-hover-dark) 100%);
  color: var(--on-action);
  box-shadow: 0 12px 30px rgba(196, 91, 59, 0.34);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-outline,
.btn-outline[data-c-144xmc],
.btn-ghost-light,
.btn-ghost-light[data-c-144xmc] {
  background: rgba(19, 23, 31, 0.56);
  border: 1px solid var(--line-2);
  color: var(--steel-1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-outline:hover,
.btn-outline[data-c-144xmc]:hover,
.btn-ghost-light:hover,
.btn-ghost-light[data-c-144xmc]:hover {
  border-color: var(--acc);
  background: rgba(196, 91, 59, 0.14);
  color: var(--steel-1);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-dark,
.btn-dark[data-c-144xmc] {
  background: rgba(24, 29, 38, 0.84);
  border: 1px solid var(--line-2);
  color: var(--steel-1);
}

/* Карточки, панели и дымчатое стекло across all 16 pages */
.tile-bar,
.ct-tile,
.ct-card,
.ct-stage,
.ct-need > div,
.ct-tm,
.ct-steps li,
.ct-price,
.ct-table-wrap,
.sb-hero-panel,
.sb-profiles a,
.ck-shell,
.card,
.feed,
.lab-panel,
.lab-card,
.gl-card {
  background: linear-gradient(160deg, rgba(21, 25, 34, 0.80) 0%, rgba(12, 15, 21, 0.88) 100%);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tile-bar {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}

.tile {
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.tile:hover {
  background: rgba(196, 91, 59, 0.07) !important;
}

/* Эффект «фрезерованного металла» / spotlight-блик на карточках */
[data-spotlight] {
  position: relative;
  overflow: hidden;
}

[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    280px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(196, 91, 59, 0.14),
    rgba(198, 207, 217, 0.04) 45%,
    transparent 72%
  );
  transition: opacity 0.25s var(--ease);
}

[data-spotlight]:hover::after {
  opacity: 1;
}

/* Благородные тёмные заглушки медиа вместо плоской серой штриховки */
img.img-ph,
video.img-ph,
.ct-ph {
  background:
    radial-gradient(70% 80% at 80% 20%, rgba(196, 91, 59, 0.10) 0%, transparent 65%),
    radial-gradient(65% 75% at 20% 85%, rgba(74, 88, 110, 0.16) 0%, transparent 65%),
    repeating-linear-gradient(135deg, rgba(16, 19, 26, 0.92) 0 14px, rgba(21, 25, 34, 0.92) 14px 28px);
  border: 1px solid var(--line);
}

/* Подвал сайта */
footer.footer {
  background:
    radial-gradient(50% 100% at 15% 0%, rgba(196, 91, 59, 0.07), transparent 65%),
    rgba(7, 9, 13, 0.90);
  border-top: 1px solid var(--line-2);
}

/* Внутренние hero-секции остальных 15 страниц */
.ct-hero,
.lab-hero,
.gl-hero,
main > .container.hero,
main > .container.head,
main > section.hero:not(.hero-eyes-stage) {
  position: relative;
  background:
    radial-gradient(54% 90% at 88% 12%, rgba(196, 91, 59, 0.12) 0%, transparent 66%),
    radial-gradient(48% 80% at 12% 0%, rgba(68, 82, 104, 0.16) 0%, transparent 68%);
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   ГЛАВНАЯ: Сцена «Глаза из темноты» + неравномерное мерцание + GPU-параллакс
   ========================================================================== */
.hero.hero-eyes-stage,
.hero.hero-eyes-stage[data-c-18h5ib0] {
  --mx: 0;
  --my: 0;
  --scroll-dim: 1;
  position: relative;
  overflow: hidden;
  min-height: min(740px, 90svh);
  background:
    radial-gradient(52% 76% at 74% 52%, #020304 0%, rgba(2, 3, 4, 0.90) 42%, transparent 74%),
    radial-gradient(50% 62% at 14% 22%, rgba(56, 70, 90, 0.25) 0%, transparent 70%),
    radial-gradient(42% 54% at 86% 78%, rgba(196, 91, 59, 0.12) 0%, transparent 68%),
    #050608;
  border-bottom: 1px solid var(--line);
}

.hero-eyes-ambient {
  position: absolute;
  inset: -4%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(36% 36% at 62% 52%, rgba(196, 91, 59, 0.10), transparent 72%),
    radial-gradient(40% 30% at 78% 46%, rgba(145, 168, 192, 0.06), transparent 70%);
  transform: translate3d(calc(var(--mx) * -16px), calc(var(--my) * -11px), 0);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-eyes-mist {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.42;
  transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -7px), 0);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.audi-eyes-wrap {
  position: absolute;
  right: clamp(-3%, 2vw, 4%);
  top: 52%;
  width: min(56vw, 780px);
  z-index: 2;
  pointer-events: none;
  opacity: var(--scroll-dim);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(76% 68% at 50% 52%, #000 54%, transparent 94%);
  mask-image: radial-gradient(76% 68% at 50% 52%, #000 54%, transparent 94%);
  transform: translate3d(calc(var(--mx) * 9px), calc(-50% + var(--my) * 6px), 0);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s linear;
  will-change: transform, opacity;
}

.audi-eyes-base,
.audi-eyes-glow,
.audi-eyes-glow-alt {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.audi-eyes-base {
  opacity: 0.86;
  animation: catEyesBreath 8.7s ease-in-out infinite;
  will-change: opacity, filter;
}

.audi-eyes-glow {
  position: absolute;
  inset: 0;
  filter: blur(7px) brightness(1.32);
  opacity: 0.22;
  animation: catEyesShimmerA 13.3s ease-in-out infinite;
  will-change: opacity;
}

.audi-eyes-glow-alt {
  position: absolute;
  inset: 0;
  filter: blur(14px) brightness(1.25) sepia(0.28) hue-rotate(-14deg);
  opacity: 0.14;
  animation: catEyesShimmerB 17.1s ease-in-out infinite;
  will-change: opacity;
}

.hero-eyes-stage .scrim {
  z-index: 2;
  pointer-events: none;
}

.hero-eyes-stage .body {
  position: relative;
  z-index: 3;
}

.hero-eyes-stage .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-eyes-stage .eyebrow {
  font-family: var(--mono);
  color: var(--acc-text);
  letter-spacing: 0.18em;
}

.hero-eyes-stage h1 {
  color: var(--steel-1);
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.65);
}

@keyframes catEyesBreath {
  0%, 100% { opacity: 0.72; filter: brightness(0.92) contrast(1.10); }
  18%      { opacity: 0.96; filter: brightness(1.12) contrast(1.14); }
  29%      { opacity: 0.64; filter: brightness(0.86) contrast(1.08); }
  53%      { opacity: 0.89; filter: brightness(1.04) contrast(1.12); }
  74%      { opacity: 0.60; filter: brightness(0.82) contrast(1.06); }
  86%      { opacity: 0.94; filter: brightness(1.10) contrast(1.14); }
}

@keyframes catEyesShimmerA {
  0%, 100% { opacity: 0.09; }
  31%      { opacity: 0.36; }
  47%      { opacity: 0.12; }
  71%      { opacity: 0.42; }
  89%      { opacity: 0.16; }
}

@keyframes catEyesShimmerB {
  0%, 100% { opacity: 0.06; }
  23%      { opacity: 0.24; }
  58%      { opacity: 0.09; }
  81%      { opacity: 0.28; }
}

@media (max-width: 960px) {
  .audi-eyes-wrap {
    right: 50%;
    top: 24%;
    width: min(94vw, 540px);
    opacity: 0.50;
    transform: translate3d(50%, -50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .audi-eyes-base,
  .audi-eyes-glow,
  .audi-eyes-glow-alt { animation: none; }
  .hero-eyes-ambient,
  .hero-eyes-mist { transform: none; }
  .audi-eyes-wrap { transform: translate3d(0, -50%, 0); }
}

@media (prefers-reduced-motion: reduce) and (max-width: 960px) {
  .audi-eyes-wrap { transform: translate3d(50%, -50%, 0); }
}


/* ---------- Доводка R2.1 (29.11): телефон ---------- */
/* Нижний призыв: на узком экране кнопки переносятся внутри своего блока и не выходят за край. */
@media (width<=760px) {
  .ct-cta .ct-hero__actions { flex: 0 1 auto; max-width: 100%; }
}
/* Поле мини-формы не мельче 16 px на телефоне: иначе Safari масштабирует страницу при фокусе. */
@media (width<=760px), (pointer: coarse) {
  form.cta-form[data-closing-cta] select { font-size: 16px; }
}

/* ---------- Главная: «прищур» и моргание фар (30.11, по слову оператора) ----------
   Веко — тёмный эллипс над каждой фарой, поднимается сверху: --lid 0 — открыто, 1 — закрыто.
   Курсор рядом с фарой — она прищуривается; изредка обе фары моргают. Значения ставит app.js;
   при prefers-reduced-motion веки не показываются. Положение — в долях блока фар (1280×634). */
.audi-eyes-lid {
  position: absolute; top: 22.5%; height: 22%; width: 17.6%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, #000 0 62%, rgba(0, 0, 0, 0) 100%); /* чистый чёрный: блок фар смешивается через screen, любой другой цвет виден как пятно */
  transform: scaleY(var(--lid, 0)); transform-origin: 50% 0;
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none; will-change: transform;
}
.audi-eyes-lid--l { left: 12.7%; }
.audi-eyes-lid--r { left: 72.1%; }
.audi-eyes-lid.is-blinking { transition-duration: 0.07s; }
@media (prefers-reduced-motion: reduce) { .audi-eyes-lid { display: none; } }
