/* ==========================================================================
   SFS — страница «О нас» (blog/templates/aboutus.html)
   Концепция: «Precision in Motion» — движение превращается в данные.
   Всё под .sfsa, чтобы не влиять на остальной сайт (baseshop.html).
   ========================================================================== */

@font-face {
  font-family: "SFS Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "SFS Inter";
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "SFS Inter";
  src: url("/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "SFS Inter";
  src: url("/fonts/inter-cyrillic-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "SFS Gropled";
  src: url("/fonts/Gropled-Bold.woff2?v=2") format("woff2");
  font-weight: 700; font-display: swap;
}

.sfsa {
  --ink: #07171d;
  --ink-2: #143039;
  --ink-deep: #041015;
  --teal: #18d7bf;
  --teal-ink: #067a6c;          /* бирюза для текста на светлом фоне (контраст ≥ 4.5) */
  --mint: #bcece5;
  --paper: #f3f8f8;
  --paper-alt: #e6f0f0;
  --text-dark: #0c2128;
  --muted-dark: #46616a;
  --text-light: #e8f5f3;
  --muted-light: rgba(209, 236, 232, .72);
  --line-light: rgba(188, 236, 229, .16);
  --line-dark: rgba(7, 23, 29, .12);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  position: relative;
  font-family: "SFS Inter", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow: clip;
}
.sfsa *, .sfsa *::before, .sfsa *::after { box-sizing: border-box; }
.sfsa :where(h1, h2, h3, h4) {
  font-family: inherit; margin: 0; color: inherit; text-transform: none;
  letter-spacing: -.025em; line-height: 1.08; font-weight: 800;
}
.sfsa :where(p) { color: inherit; margin: 0 0 1em; font-size: inherit; }
.sfsa :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.sfsa :where(a) { color: inherit; text-decoration: none; }
.sfsa a:hover, .sfsa a:focus { text-decoration: none; }
.sfsa a:focus-visible, .sfsa button:focus-visible, .sfsa [tabindex]:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px;
}
.sfsa section { position: relative; scroll-margin-top: 90px; }
.sfsa svg { display: block; }
.sfsa-wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; position: relative; z-index: 2; }

.sfsa-dark { background: var(--ink); color: var(--text-light); }
.sfsa-dark--deep { background: var(--ink-deep); }
.sfsa-light { background: var(--paper); color: var(--text-dark); }
.sfsa-light--alt { background: var(--paper-alt); }

/* ---------- Общая типографика ---------- */
.sfsa-h2 { font-size: clamp(32px, 4.6vw, 62.4px); max-width: 17ch; }
.sfsa-h2--xl { font-size: clamp(38.4px, 6vw, 83.2px); max-width: 14ch; margin-inline: auto; }
.sfsa-sub { font-size: 17.28px; max-width: 56ch; margin-top: 22px; opacity: .85; }
.sfsa-lead { font-size: clamp(18.4px, 1.6vw, 22.08px); line-height: 1.5; font-weight: 500; }
.sfsa-kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px !important;
  font-family: var(--mono); font-size: 12.48px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}
.sfsa-light .sfsa-kicker { color: var(--teal-ink); }
.sfsa-dark .sfsa-kicker { color: var(--teal); }
/* Номер раздела — как кружок КП на спортивной карте */
.sfsa-kp {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid currentColor; font-size: 11.52px; letter-spacing: 0;
}
.sfsa-kp--fin { position: relative; }
.sfsa-kp--fin::after { content: ""; position: absolute; inset: 4px; border: 2px solid currentColor; border-radius: 50%; }
.sfsa-sechead { margin-bottom: clamp(40px, 6vw, 72px); }
.sfsa-sechead--center { text-align: center; }
.sfsa-sechead--center .sfsa-h2, .sfsa-sechead--center .sfsa-sub { margin-inline: auto; }
.sfsa-brand { font-family: "SFS Gropled", "SFS Inter", sans-serif; letter-spacing: .02em; color: var(--teal); }
.sfsa-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono);
  font-size: 12.16px; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); opacity: .9;
}
.sfsa-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(24,215,191,.6); animation: sfsa-ping 2.4s infinite; }
@keyframes sfsa-ping { 0% { box-shadow: 0 0 0 0 rgba(24,215,191,.55); } 70%,100% { box-shadow: 0 0 0 12px rgba(24,215,191,0); } }

/* ---------- Кнопки ---------- */
.sfsa-btn {
  --b: var(--teal);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 15.68px; letter-spacing: .005em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s, color .3s;
}
.sfsa-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.sfsa-btn:hover svg, .sfsa-btn:focus-visible svg { transform: translateX(4px); }
.sfsa-btn--solid { background: var(--teal); color: var(--ink) !important; box-shadow: 0 10px 30px -10px rgba(24,215,191,.7); }
.sfsa-btn--solid::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.sfsa-btn--solid:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(24,215,191,.85); }
.sfsa-btn--solid:hover::after { transform: translateX(120%); }
.sfsa-btn--ghost { color: var(--mint) !important; box-shadow: inset 0 0 0 1.5px rgba(188,236,229,.4); }
.sfsa-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); color: #fff !important; background: rgba(24,215,191,.08); }
.sfsa-btn--line { color: var(--text-dark) !important; box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.sfsa-dark .sfsa-btn--line { color: var(--text-light) !important; box-shadow: inset 0 0 0 1.5px var(--line-light); }
.sfsa-btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.sfsa-btn--lg { min-height: 60px; padding: 0 32px; font-size: 16.64px; }
.sfsa-round {
  width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-dark);
  transition: background .25s, color .25s, transform .25s var(--ease-out);
}
.sfsa-round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sfsa-round:hover { background: var(--ink); color: var(--teal); transform: scale(1.06); }
.sfsa-round:disabled { opacity: .35; cursor: default; transform: none; background: #fff; color: var(--ink); }

/* ---------- Статусы ---------- */
.sfsa-status {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.2px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 4px 10px 4px 8px; border-radius: 999px;
}
.sfsa-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sfsa-status--live { color: #7ff3e2; background: rgba(24,215,191,.12); }
.sfsa-status--live::before { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.sfsa-status--test { color: #ffd98a; background: rgba(255,196,77,.1); }
.sfsa-status--test::before { background: transparent; border: 2px solid #ffc44d; box-shadow: inset 4px 0 0 #ffc44d; }
.sfsa-status--dev { color: #c3cdf5; background: rgba(160,175,240,.1); }
.sfsa-status--dev::before { background: transparent; border: 2px dashed #a0aff0; }
.sfsa-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ==========================================================================
   Маршрут страницы (боковая навигация по разделам)
   ========================================================================== */
.sfsa-route { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: none; }
.sfsa-route ol { position: relative; display: flex; flex-direction: column; gap: 18px; }
.sfsa-route__line { position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; background: rgba(120,150,155,.3); border-radius: 2px; }
.sfsa-route__fill { position: absolute; inset: 0; background: var(--teal); transform-origin: top; transform: scaleY(var(--p, 0)); border-radius: 2px; }
.sfsa-route a { display: flex; align-items: center; gap: 12px; position: relative; }
.sfsa-route__kp {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 700 10.56px/1 var(--mono); color: #7f979c; background: var(--route-bg, rgba(7,23,29,.75));
  border: 2px solid rgba(127,151,156,.55); backdrop-filter: blur(6px);
  transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease-out);
}
.sfsa-route__kp--fin { box-shadow: inset 0 0 0 3px var(--route-bg, rgba(7,23,29,.75)), inset 0 0 0 5px rgba(127,151,156,.55); }
.sfsa-route__label {
  font-size: 12.48px; font-weight: 600; padding: 4px 10px; border-radius: 8px; white-space: nowrap;
  background: var(--ink); color: var(--mint); opacity: 0; transform: translateX(-6px); pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease-out);
}
.sfsa-route a:hover .sfsa-route__label, .sfsa-route a:focus-visible .sfsa-route__label { opacity: 1; transform: none; }
.sfsa-route a.is-passed .sfsa-route__kp { border-color: var(--teal); color: var(--teal); }
.sfsa-route a.is-current .sfsa-route__kp { background: var(--teal); border-color: var(--teal); color: var(--ink); transform: scale(1.15); }
@media (min-width: 1360px) { .sfsa-route { display: block; } }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.sfsa-hero {
  min-height: min(940px, 100svh);
  padding: clamp(36px, 5vw, 64px) 0 clamp(70px, 8vw, 110px);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vw, 56px);
  background:
    radial-gradient(1200px 600px at 78% 18%, rgba(24,215,191,.16), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(20,48,57,.9), transparent 70%),
    var(--ink);
  isolation: isolate;
}
.sfsa-hero__tracks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.sfsa-hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(188,236,229,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188,236,229,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.sfsa-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.sfsa-crumbs { display: flex; gap: 8px; font-size: 13.12px; color: var(--muted-light); margin-bottom: 26px !important; }
.sfsa-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.sfsa-crumbs a:hover { color: var(--teal); }
.sfsa-hero__title {
  font-size: clamp(42px, 5.4vw, 86px) !important; line-height: 1 !important; letter-spacing: -.04em !important;
  margin: 22px 0 28px !important; max-width: 15ch; color: #f4fbfa;
  text-wrap: balance;
}
.sfsa-hero__title .sfsa-brand { text-shadow: 0 0 40px rgba(24,215,191,.45); }
.sfsa-hero__lead { font-size: clamp(17.28px, 1.5vw, 20.8px); color: var(--muted-light); max-width: 52ch; line-height: 1.55; }
.sfsa-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.sfsa-hero__reticle {
  position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; opacity: 0;
  transform: translate3d(var(--rx, -200px), var(--ry, -200px), 0); transition: opacity .3s;
}
.sfsa-hero.is-pointer .sfsa-hero__reticle { opacity: 1; }
.sfsa-hero__reticle-ring {
  position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(24,215,191,.7);
  background:
    linear-gradient(var(--teal), var(--teal)) center/1.5px 10px no-repeat,
    linear-gradient(90deg, var(--teal), var(--teal)) center/10px 1.5px no-repeat;
}
.sfsa-hero__reticle-xy {
  position: absolute; left: 30px; top: 14px; white-space: nowrap; font: 600 10.88px/1 var(--mono);
  letter-spacing: .06em; color: var(--mint); background: rgba(7,23,29,.7); padding: 5px 8px; border-radius: 6px;
}

/* Устройство-плейсхолдер в hero */
.sfsa-hero__device { aspect-ratio: 4 / 5; width: 100%; max-width: 420px; justify-self: end; }
.sfsa-slot--device { background: transparent !important; box-shadow: none !important; overflow: visible !important; }
.sfsa-slot--device::after { display: none; }
.sfsa-device { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.sfsa-device__halo { animation: sfsa-breathe 5s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes sfsa-breathe { 50% { opacity: .55; transform: scale(.92); } }
.sfsa-device__trace { stroke-dasharray: 140; stroke-dashoffset: 140; animation: sfsa-trace 4.5s var(--ease) infinite; }
@keyframes sfsa-trace { 0% { stroke-dashoffset: 140; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -140; } }
.sfsa-device__head { animation: sfsa-blink 1.2s steps(2) infinite; }
@keyframes sfsa-blink { 50% { opacity: .2; } }
.sfsa-device__waves path { stroke-width: 2.5; opacity: 0; animation: sfsa-wave 2.4s ease-out infinite; }
.sfsa-device__waves path:nth-child(2) { animation-delay: .3s; }
.sfsa-device__waves path:nth-child(3) { animation-delay: .6s; }
@keyframes sfsa-wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.sfsa-device__tags li {
  position: absolute; left: var(--x); top: var(--y); font: 700 11.2px/1 var(--mono); letter-spacing: .12em; color: var(--mint);
  padding: 7px 10px; border-radius: 8px; background: rgba(7,23,29,.7); border: 1px solid rgba(24,215,191,.35);
  backdrop-filter: blur(6px); transform: translateZ(40px);
  animation: sfsa-float 6s ease-in-out infinite;
}
.sfsa-device__tags li:nth-child(2) { animation-delay: -1.5s; }
.sfsa-device__tags li:nth-child(3) { animation-delay: -3s; }
.sfsa-device__tags li:nth-child(4) { animation-delay: -4.5s; }
@keyframes sfsa-float { 50% { translate: 0 -8px; } }
[data-tilt] { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transform-style: preserve-3d; transition: transform .5s var(--ease-out); will-change: transform; }

/* Цепочка внизу hero */
.sfsa-chain {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; font-family: var(--mono); font-size: 12.8px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light);
}
.sfsa-chain li { display: flex; align-items: center; }
.sfsa-chain li + li::before {
  content: ""; width: clamp(24px, 6vw, 86px); height: 2px; margin: 0 14px;
  background: linear-gradient(90deg, rgba(24,215,191,.15) 0 40%, var(--teal) 50%, rgba(24,215,191,.15) 60% 100%) 0 0 / 300% 100%;
  animation: sfsa-flowline 2.6s linear infinite; animation-delay: calc(var(--i, 0) * .35s);
}
.sfsa-chain li:nth-child(2) { --i: 0; } .sfsa-chain li:nth-child(3) { --i: 1; } .sfsa-chain li:nth-child(4) { --i: 2; } .sfsa-chain li:nth-child(5) { --i: 3; }
.sfsa-chain li:last-child { color: var(--teal); }
@keyframes sfsa-flowline { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sfsa-scrollcue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(188,236,229,.4); z-index: 3; }
.sfsa-scrollcue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: sfsa-cue 1.8s var(--ease) infinite; }
@keyframes sfsa-cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(16px); opacity: 0; } }

/* ==========================================================================
   Плейсхолдеры изображений (заменяются <img> внутри .sfsa-slot__media)
   ========================================================================== */
.sfsa-slot {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, #10303a, #07171d 70%);
  box-shadow: inset 0 0 0 1px rgba(188,236,229,.12);
}
.sfsa-slot__media { position: absolute; inset: 0; }
.sfsa-slot__media > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); display: block; }
.sfsa-slot__media:has(img) .sfsa-slot__ph { display: none; }
.sfsa-slot::after { /* сканирующая линия — «данные считываются» */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(24,215,191,.13) 85%, rgba(24,215,191,.5) 100%);
  transform: translateY(-110%); animation: sfsa-scan 6s var(--ease) infinite;
}
.sfsa-slot:has(img)::after { display: none; }
@keyframes sfsa-scan { 0% { transform: translateY(-110%); } 60%, 100% { transform: translateY(380%); } }
.sfsa-slot::before { /* уголки видоискателя */
  content: ""; position: absolute; inset: 14px; z-index: 3; pointer-events: none;
  background:
    linear-gradient(var(--teal), var(--teal)) 0 0 / 18px 2px no-repeat, linear-gradient(var(--teal), var(--teal)) 0 0 / 2px 18px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 100% 0 / 18px 2px no-repeat, linear-gradient(var(--teal), var(--teal)) 100% 0 / 2px 18px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 0 100% / 18px 2px no-repeat, linear-gradient(var(--teal), var(--teal)) 0 100% / 2px 18px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 100% 100% / 18px 2px no-repeat, linear-gradient(var(--teal), var(--teal)) 100% 100% / 2px 18px no-repeat;
  opacity: .7;
}
.sfsa-slot--device::before, .sfsa-slot:has(img)::before { display: none; }
.sfsa-slot__ph { position: absolute; inset: 0; display: block; }
.sfsa-slot__ph--contours {
  background:
    repeating-radial-gradient(ellipse 120% 90% at 30% 70%, transparent 0 22px, rgba(24,215,191,.22) 23px 24px, transparent 25px 46px),
    repeating-radial-gradient(ellipse 80% 120% at 85% 15%, transparent 0 18px, rgba(188,236,229,.14) 19px 20px, transparent 21px 38px),
    radial-gradient(circle at 30% 70%, rgba(24,215,191,.18), transparent 50%);
}
.sfsa-slot__ph--pcb {
  background:
    radial-gradient(circle at 22% 30%, var(--teal) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 62%, var(--teal) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 24%, var(--mint) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent 22%, rgba(24,215,191,.4) 22% calc(22% + 2px), transparent 0) 0 30% / 100% 2px no-repeat,
    linear-gradient(transparent 30%, rgba(24,215,191,.4) 30% calc(30% + 2px), transparent 0) 68% 0 / 2px 100% no-repeat,
    linear-gradient(rgba(188,236,229,.06) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(188,236,229,.06) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(circle at 60% 50%, rgba(24,215,191,.16), transparent 60%);
}
.sfsa-slot__ph--ui {
  background:
    linear-gradient(rgba(188,236,229,.18), rgba(188,236,229,.18)) 6% 10% / 30% 6px no-repeat,
    linear-gradient(rgba(188,236,229,.1), rgba(188,236,229,.1)) 6% 18% / 22% 6px no-repeat,
    linear-gradient(rgba(24,215,191,.14), rgba(24,215,191,.14)) 6% 88% / 26% 40% no-repeat,
    linear-gradient(rgba(7,23,29,.6), rgba(7,23,29,.6)) 94% 50% / 30% 80% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 250'%3E%3Cpath d='M30 210 C90 150 120 200 170 140 S260 60 300 110 360 60 380 40' fill='none' stroke='%2318d7bf' stroke-width='3' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M20 60 C80 90 140 40 200 80 S300 200 380 180' fill='none' stroke='%23bcece5' stroke-width='2' stroke-dasharray='6 8' opacity='.4'/%3E%3C/svg%3E") center / cover no-repeat,
    radial-gradient(circle at 40% 40%, rgba(24,215,191,.12), transparent 60%);
}
.sfsa-slot__ph--course {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 250'%3E%3Cg fill='none' stroke='%23e0479e' stroke-width='3' opacity='.85'%3E%3Cpath d='M90 190l20-34 20 34z'/%3E%3Ccircle cx='190' cy='80' r='16'/%3E%3Ccircle cx='300' cy='140' r='16'/%3E%3Ccircle cx='250' cy='210' r='11'/%3E%3Ccircle cx='250' cy='210' r='17'/%3E%3Cpath d='M118 164 176 92M204 88l82 44M294 155l-36 42'/%3E%3C/g%3E%3C/svg%3E") center / 88% no-repeat,
    repeating-radial-gradient(ellipse 120% 90% at 70% 60%, transparent 0 24px, rgba(24,215,191,.16) 25px 26px, transparent 27px 50px);
}
.sfsa-slot__ph--portrait {
  background:
    radial-gradient(circle at 50% 38%, rgba(24,215,191,.28) 0 18%, transparent 19%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(24,215,191,.2) 0 60%, transparent 61%),
    repeating-linear-gradient(0deg, rgba(188,236,229,.05) 0 1px, transparent 1px 6px);
}
.sfsa-slot__note {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 4; font: 600 11.2px/1.4 var(--mono);
  color: var(--mint); background: rgba(7,23,29,.78); padding: 8px 10px; border-radius: 10px; letter-spacing: .02em;
  border: 1px dashed rgba(24,215,191,.5);
}

/* ==========================================================================
   2. КТО МЫ
   ========================================================================== */
.sfsa-edge { position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 80px); z-index: 1; pointer-events: none; }
.sfsa-edge--top { top: -1px; }
.sfsa-who .sfsa-edge path { fill: var(--ink); }
.sfsa-history .sfsa-edge path { fill: var(--ink-deep); }
.sfsa-team .sfsa-edge path { fill: var(--paper-alt); }
.sfsa-who { padding: clamp(110px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); }
.sfsa-who__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 48px); }
.sfsa-who__head { grid-column: 1 / span 7; }
.sfsa-who__head .sfsa-h2 { max-width: 15ch; }
.sfsa-who__text { grid-column: 1 / span 6; padding-top: 10px; color: var(--muted-dark); }
.sfsa-who__text .sfsa-lead { color: var(--text-dark); }
.sfsa-who__text strong { color: var(--text-dark); }
.sfsa-who__media { grid-column: 8 / span 5; grid-row: 1 / span 2; align-self: end; aspect-ratio: 4 / 5; margin-top: 40px; }
.sfsa-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--line-dark); }
.sfsa-facts > div { padding: 26px 20px 0 0; }
.sfsa-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.sfsa-facts dt { font-size: clamp(28.8px, 3.4vw, 44.8px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--text-dark); }
.sfsa-facts dd { margin: 10px 0 0; color: var(--muted-dark); font-size: 15.2px; line-height: 1.45; }

/* ==========================================================================
   3. ЧТО МЫ СОЗДАЁМ — раскрывающиеся панели
   ========================================================================== */
.sfsa-build { padding: clamp(90px, 11vw, 150px) 0; background:
  radial-gradient(900px 500px at 100% 0%, rgba(24,215,191,.09), transparent 60%), var(--ink); }
.sfsa-build .sfsa-sub { color: var(--muted-light); opacity: 1; }
.sfsa-dirs { display: flex; flex-direction: column; gap: 16px; }
.sfsa-dir {
  position: relative; border-radius: var(--radius); background: linear-gradient(160deg, rgba(20,48,57,.85), rgba(10,30,37,.9));
  box-shadow: inset 0 0 0 1px var(--line-light); overflow: hidden; outline: none;
  transition: box-shadow .4s, background .4s;
}
.sfsa-dir::before { /* световой след по краю активной панели */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--teal), transparent);
  transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease-out);
}
.sfsa-dir.is-active::before { transform: scaleY(1); }
.sfsa-dir:focus-visible { box-shadow: inset 0 0 0 2px var(--teal); }
.sfsa-dir__rail { display: flex; align-items: baseline; gap: 14px; padding: 26px 28px 0; }
.sfsa-dir__rail span { font: 600 12.8px/1 var(--mono); color: var(--teal); letter-spacing: .1em; }
.sfsa-dir__rail b { font-size: 16.8px; font-weight: 700; color: var(--mint); }
.sfsa-dir__body { padding: 14px 28px 30px; display: grid; gap: 18px 36px; grid-template-columns: minmax(0, 1fr); }
.sfsa-dir__icon { width: 64px; height: 64px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sfsa-ico-pulse { animation: sfsa-wave 2.2s ease-out infinite; }
.sfsa-ico-line { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.6s var(--ease); }
.sfsa-dir.is-active .sfsa-ico-line, .sfsa-dir.is-in .sfsa-ico-line { stroke-dashoffset: 0; }
.sfsa-dir h3 { font-size: clamp(25.6px, 2.6vw, 36.8px); color: #f2fbf9; }
.sfsa-dir__body > p { color: var(--muted-light); max-width: 46ch; margin: 0; }
.sfsa-items { display: grid; gap: 2px; }
.sfsa-items li {
  display: grid; grid-template-columns: 1fr; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line-light);
}
.sfsa-items li .sfsa-status { justify-self: start; }
.sfsa-items b { font-size: 16.8px; color: #f2fbf9; font-weight: 700; }
.sfsa-items li > span:last-child { color: var(--muted-light); font-size: 15.2px; line-height: 1.5; }
.sfsa-slot--wide { aspect-ratio: 16 / 10; }

@media (min-width: 1024px) {
  .sfsa-dirs { flex-direction: row; height: 860px; }
  .sfsa-dir { flex: 0 0 104px; cursor: pointer; transition: flex-basis .75s var(--ease-out), box-shadow .4s, background .4s; }
  .sfsa-dir.is-active { flex: 1 1 0; cursor: default; background: linear-gradient(160deg, rgba(22,56,66,.95), rgba(9,28,35,.95)); }
  .sfsa-dir:not(.is-active):hover { box-shadow: inset 0 0 0 1px rgba(24,215,191,.5); }
  .sfsa-dir__rail {
    position: absolute; left: 0; top: 0; bottom: 0; width: 104px; padding: 30px 0; flex-direction: column; align-items: center;
    transition: opacity .35s;
  }
  .sfsa-dir__rail b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 21.6px; letter-spacing: .01em; margin-top: auto; }
  .sfsa-dir.is-active .sfsa-dir__rail { opacity: 0; pointer-events: none; }
  .sfsa-dir__body {
    /* фиксированная ширина = ширина раскрытой панели: при раскрытии текст не переливается */
    position: absolute; top: 0; bottom: 0; left: 0; width: calc(min(var(--wrap), 100vw - 66px) - 2 * 104px - 32px);
    padding: 40px 44px; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: auto auto auto 1fr;
    opacity: 0; visibility: hidden; transform: translateX(24px);
    transition: opacity .35s, transform .6s var(--ease-out), visibility 0s .35s;
  }
  .sfsa-dir.is-active .sfsa-dir__body { opacity: 1; visibility: visible; transform: none; transition: opacity .55s .25s, transform .8s .2s var(--ease-out), visibility 0s; }
  .sfsa-dir__icon, .sfsa-dir h3, .sfsa-dir__body > p { grid-column: 1; }
  .sfsa-items { grid-column: 1; grid-row: 4; align-content: start; overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
  .sfsa-items li { grid-template-columns: 1fr auto; column-gap: 14px; }
  .sfsa-items li .sfsa-status { grid-column: 2; grid-row: 1; justify-self: end; }
  .sfsa-items b { grid-column: 1; grid-row: 1; }
  .sfsa-items li > span:last-child { grid-column: 1 / -1; }
  .sfsa-dir .sfsa-slot--wide { grid-column: 2; grid-row: 1 / span 4; aspect-ratio: auto; height: 100%; }
}

/* ==========================================================================
   4. КАК РАБОТАЕТ — конвейер данных
   ========================================================================== */
.sfsa-flow { padding: clamp(90px, 11vw, 150px) 0 clamp(110px, 12vw, 170px); overflow: hidden; }
.sfsa-flow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 360px at 50% 55%, rgba(24,215,191,.12), transparent 70%);
}
.sfsa-flow .sfsa-sub { color: var(--muted-light); opacity: 1; }
.sfsa-pipe__track { display: flex; align-items: center; justify-content: space-between; }
.sfsa-node {
  --c: rgba(188,236,229,.35);
  appearance: none; border: 0; background: none; cursor: pointer; color: var(--muted-light);
  display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; padding: 6px; font: inherit;
  transition: color .4s;
}
.sfsa-node__ico {
  width: clamp(64px, 7vw, 92px); height: clamp(64px, 7vw, 92px); border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #133740, #0a1f26); box-shadow: inset 0 0 0 2px var(--c), 0 0 0 0 rgba(24,215,191,0);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out), background .5s;
}
.sfsa-node__ico svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sfsa-node__n { font: 600 11.2px/1 var(--mono); letter-spacing: .14em; opacity: .7; }
.sfsa-node__t { font-weight: 700; font-size: 16px; }
.sfsa-node.is-on { --c: rgba(24,215,191,.85); color: var(--mint); }
.sfsa-node.is-on .sfsa-node__ico { box-shadow: inset 0 0 0 2px var(--c), 0 0 34px -6px rgba(24,215,191,.6); }
.sfsa-node:hover .sfsa-node__ico { transform: translateY(-4px); }
.sfsa-node.is-current { color: #fff; }
.sfsa-node.is-current .sfsa-node__ico { background: var(--teal); color: var(--ink); box-shadow: 0 0 0 8px rgba(24,215,191,.14), 0 0 50px -4px rgba(24,215,191,.8); transform: scale(1.06); }
.sfsa-link { position: relative; flex: 1 1 auto; height: 2px; margin: 0 8px 52px; background: rgba(188,236,229,.14); border-radius: 2px; overflow: hidden; }
.sfsa-link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,215,191,.2), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.sfsa-link.is-on::before { transform: scaleX(1); }
.sfsa-link i { position: absolute; top: -2px; left: 0; width: 18px; height: 6px; border-radius: 3px; background: #dffcf7; box-shadow: 0 0 12px var(--teal); opacity: 0; }
.sfsa-link.is-on i { animation: sfsa-packet 1.8s linear infinite; }
.sfsa-link.is-on i:nth-child(2) { animation-delay: .6s; }
.sfsa-link.is-on i:nth-child(3) { animation-delay: 1.2s; }
@keyframes sfsa-packet { 0% { left: -18px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.sfsa-pipe__panels {
  margin: clamp(36px, 5vw, 60px) auto 0; max-width: 820px; min-height: 230px; position: relative;
  padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); background: rgba(20,48,57,.55); box-shadow: inset 0 0 0 1px var(--line-light);
  backdrop-filter: blur(8px);
}
.sfsa-step h3 { font-size: clamp(22.4px, 2.4vw, 32px); color: #f2fbf9; margin-bottom: 14px; }
.sfsa-step p { color: var(--muted-light); }
.sfsa-step.is-current { animation: sfsa-stepin .55s var(--ease-out); }
@keyframes sfsa-stepin { from { opacity: 0; transform: translateY(12px); } }
.sfsa-step__data { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.sfsa-step__data li { font: 600 11.52px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); padding: 8px 12px; border-radius: 999px; background: rgba(24,215,191,.09); box-shadow: inset 0 0 0 1px rgba(24,215,191,.25); }
@media (max-width: 860px) {
  .sfsa-pipe { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 20px; align-items: start; }
  .sfsa-pipe__track { flex-direction: column; align-items: flex-start; }
  .sfsa-node { flex-direction: row; gap: 14px; padding: 4px 0; text-align: left; }
  .sfsa-node__ico { width: 56px; height: 56px; }
  .sfsa-node__n { display: none; }
  .sfsa-node__t { font-size: 14.72px; }
  .sfsa-link { width: 2px; height: 26px; flex: none; margin: 4px 0 4px 27px; }
  .sfsa-link::before { background: linear-gradient(rgba(24,215,191,.2), var(--teal)); transform: scaleY(0); transform-origin: top; }
  .sfsa-link.is-on::before { transform: scaleY(1); }
  .sfsa-link i { width: 6px; height: 10px; left: -2px; top: 0; }
  @keyframes sfsa-packet-v { 0% { top: -10px; opacity: 0; } 20%, 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  .sfsa-link.is-on i { animation-name: sfsa-packet-v; }
  .sfsa-pipe__panels { margin: 0; min-height: 0; position: sticky; top: 100px; }
}
@media (max-width: 560px) {
  .sfsa-pipe { grid-template-columns: 1fr; }
  .sfsa-pipe__track { display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; }
  .sfsa-link { display: none; }
  .sfsa-node { flex-direction: column; text-align: center; gap: 8px; }
  .sfsa-node__ico { width: 52px; height: 52px; }
  .sfsa-node__t { font-size: 11.52px; }
  .sfsa-pipe__panels { margin-top: 22px; position: relative; top: 0; }
}

/* ==========================================================================
   5. ИСТОРИЯ — таймлайн с прорисовкой линии
   ========================================================================== */
.sfsa-history { padding: clamp(120px, 13vw, 180px) 0 clamp(90px, 10vw, 140px); }
.sfsa-years {
  position: sticky; top: 86px; z-index: 5; display: flex; gap: 6px; width: max-content; max-width: 100%; overflow-x: auto;
  padding: 6px; margin: -30px 0 50px; border-radius: 999px; background: rgba(243,248,248,.86); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-dark), 0 10px 30px -18px rgba(7,23,29,.4);
}
.sfsa-years a { padding: 9px 16px; border-radius: 999px; font: 700 13.12px/1 var(--mono); color: var(--muted-dark); white-space: nowrap; transition: background .3s, color .3s; }
.sfsa-years a:hover { color: var(--text-dark); background: rgba(7,23,29,.06); }
.sfsa-years a.is-current { background: var(--ink); color: var(--teal); }
.sfsa-timeline { position: relative; display: grid; gap: clamp(28px, 4vw, 48px); --spine: 200px; }
.sfsa-tl__spine { position: absolute; left: var(--spine); top: 8px; bottom: 8px; width: 2px; background: var(--line-dark); border-radius: 2px; }
.sfsa-tl__fill { position: absolute; inset: 0; background: linear-gradient(var(--teal), var(--teal-ink)); transform-origin: top; transform: scaleY(var(--p, 0)); border-radius: 2px; box-shadow: 0 0 14px rgba(24,215,191,.6); }
.sfsa-tl { position: relative; display: grid; grid-template-columns: calc(var(--spine) - 40px) minmax(0, 1fr); column-gap: 80px; align-items: start; }
.sfsa-tl__pin {
  position: absolute; left: calc(var(--spine) - 10px); top: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 2px solid rgba(7,23,29,.25); transition: border-color .4s, background .4s, box-shadow .4s, transform .4s var(--ease-out);
}
.sfsa-tl.is-past .sfsa-tl__pin { border-color: var(--teal-ink); background: var(--teal); box-shadow: 0 0 0 6px rgba(24,215,191,.18); transform: scale(1.1); }
.sfsa-tl__when { margin: 6px 0 0 !important; font-size: clamp(22.4px, 3vw, 41.6px); font-weight: 800; letter-spacing: -.03em; line-height: 1; text-align: right; color: rgba(7,23,29,.28); transition: color .5s; }
.sfsa-tl.is-past .sfsa-tl__when { color: var(--text-dark); }
.sfsa-tl__card {
  padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line-dark), 0 24px 50px -36px rgba(7,23,29,.45);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.sfsa-tl__card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line-dark), 0 34px 60px -34px rgba(7,23,29,.5); }
.sfsa-tl__card h3 { font-size: clamp(20px, 2vw, 25.6px); margin-bottom: 12px; }
.sfsa-tl__card p { color: var(--muted-dark); margin: 0; }
.sfsa-slot--tl { aspect-ratio: 4 / 3; max-width: 420px; margin-top: 22px; border-radius: 16px; }
.sfsa-tl--brand .sfsa-tl__card { background: var(--ink); color: var(--text-light); }
.sfsa-tl--brand .sfsa-tl__card p { color: var(--muted-light); }
.sfsa-tl--brand .sfsa-tl__card h3 { color: var(--teal); }
.sfsa-tl--next .sfsa-tl__card { background: transparent; box-shadow: inset 0 0 0 2px var(--line-dark); border: 0; }
.sfsa-tl--next .sfsa-tl__card { background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(24,215,191,.06) 14px 15px); }
.sfsa-tl--next .sfsa-tl__pin { border-style: dashed; }
@media (max-width: 760px) {
  .sfsa-timeline { --spine: 10px; }
  .sfsa-tl { grid-template-columns: 1fr; padding-left: 40px; column-gap: 0; }
  .sfsa-tl__pin { left: 0; top: 4px; }
  .sfsa-tl__when { text-align: left; margin-bottom: 12px !important; font-size: 24px; }
  .sfsa-years { top: 70px; }
}

/* ==========================================================================
   6. ПОДХОД — инженерная петля
   ========================================================================== */
.sfsa-approach { padding: clamp(90px, 11vw, 150px) 0 0; }
.sfsa-approach__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 0 clamp(28px, 5vw, 72px); }
.sfsa-approach .sfsa-sechead { grid-column: 1; }
.sfsa-approach .sfsa-sub { color: var(--muted-dark); opacity: 1; }
.sfsa-loop { grid-column: 1; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.sfsa-approach__media { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 4 / 5; align-self: center; }
.sfsa-loop__ring { width: 100%; height: auto; overflow: visible; }
.sfsa-loop__base { fill: none; stroke: var(--line-dark); stroke-width: 2; }
.sfsa-loop__arc {
  fill: none; stroke: var(--teal); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 80 520;
  stroke-dashoffset: var(--arc, 0); transform: rotate(-90deg); transform-origin: 200px 200px;
  transition: stroke-dashoffset .9s var(--ease-out); filter: drop-shadow(0 0 8px rgba(24,215,191,.7));
}
.sfsa-loop__dots circle { fill: var(--paper-alt); stroke: var(--text-dark); stroke-width: 2; transition: fill .4s, r .4s; }
.sfsa-loop__dots circle.is-active { fill: var(--teal); }
.sfsa-loop__dots text { font: 700 13px var(--mono); fill: var(--text-dark); }
.sfsa-loop__big { font: 700 54px "SFS Gropled", "SFS Inter", sans-serif; fill: var(--text-dark); letter-spacing: 2px; }
.sfsa-loop__small { font: 600 12px var(--mono); fill: var(--muted-dark); letter-spacing: 3px; text-transform: uppercase; }
.sfsa-principles { counter-reset: p; display: grid; }
.sfsa-principles li {
  counter-increment: p; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--line-dark); cursor: default;
  transition: background .3s;
}
.sfsa-principles li::before {
  content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 17px; font: 700 12.48px/1.6 var(--mono); color: var(--muted-dark);
  transition: color .3s;
}
.sfsa-principles b { display: block; font-size: 17.6px; font-weight: 750; transition: color .3s; }
.sfsa-principles span { display: block; color: var(--muted-dark); font-size: 15.2px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease-out), opacity .4s, margin .4s; }
.sfsa-principles li.is-active::before { color: var(--teal-ink); }
.sfsa-principles li.is-active b { color: var(--teal-ink); }
.sfsa-principles li.is-active span { max-height: 8em; opacity: 1; margin-top: 6px; }
.sfsa-principles li::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.sfsa-principles li.is-active::after { animation: sfsa-timer var(--loop-ms, 4200ms) linear forwards; }
.sfsa-loop.is-paused .sfsa-principles li.is-active::after { animation: none; transform: scaleX(1); }
@keyframes sfsa-timer { to { transform: scaleX(1); } }
.sfsa-js .sfsa-loop:not(.is-ready) .sfsa-principles span { max-height: none; opacity: 1; margin-top: 6px; }

.sfsa-marquee { margin-top: clamp(70px, 9vw, 120px); padding: 26px 0; display: flex; overflow: hidden; background: var(--ink); color: var(--mint); }
.sfsa-marquee__row { display: flex; flex: none; gap: 0; animation: sfsa-marquee 38s linear infinite; }
.sfsa-marquee:hover .sfsa-marquee__row { animation-play-state: paused; }
.sfsa-marquee li { display: flex; align-items: center; font-size: clamp(17.6px, 2vw, 25.6px); font-weight: 750; letter-spacing: -.01em; white-space: nowrap; }
.sfsa-marquee li::after { content: ""; width: 10px; height: 10px; margin: 0 clamp(20px, 3vw, 40px); border-radius: 50%; border: 2px solid var(--teal); }
@keyframes sfsa-marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   7. КОМАНДА И ФИЛОСОФИЯ
   ========================================================================== */
.sfsa-team { padding: clamp(120px, 13vw, 180px) 0 clamp(90px, 11vw, 150px); background:
  radial-gradient(800px 500px at 0% 100%, rgba(24,215,191,.1), transparent 60%), var(--ink); }
.sfsa-team__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0 clamp(30px, 6vw, 90px); }
.sfsa-team .sfsa-sechead { grid-column: 1 / -1; }
.sfsa-founder { margin: 0; display: grid; gap: 26px; align-content: start; }
.sfsa-slot--portrait { aspect-ratio: 4 / 5; max-width: 460px; }
.sfsa-founder__quote { margin: 0; padding: 0 0 0 26px; border-left: 3px solid var(--teal); }
.sfsa-founder__quote p { font-size: clamp(20px, 2vw, 25.6px); line-height: 1.35; font-weight: 650; color: #f2fbf9; margin: 0; }
.sfsa-founder figcaption { display: flex; flex-direction: column; gap: 2px; padding-left: 29px; }
.sfsa-founder figcaption b { font-size: 16.8px; }
.sfsa-founder figcaption span { color: var(--muted-light); font-size: 14.72px; }
.sfsa-tenets { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-light); border-radius: var(--radius); overflow: hidden; align-self: start; box-shadow: inset 0 0 0 1px var(--line-light); }
.sfsa-tenets li { position: relative; padding: clamp(24px, 3vw, 36px); background: var(--ink); transition: background .4s; }
.sfsa-tenets li:hover { background: #0c242c; }
.sfsa-tenets__n { display: block; font: 600 12.16px/1 var(--mono); color: var(--teal); letter-spacing: .14em; margin-bottom: 30px; }
.sfsa-tenets h3 { font-size: 20.8px; margin-bottom: 12px; color: #f2fbf9; }
.sfsa-tenets p { color: var(--muted-light); font-size: 15.36px; margin: 0; }

/* ==========================================================================
   8. НОВОСТИ
   ========================================================================== */
.sfsa-news { padding: clamp(90px, 11vw, 150px) 0; overflow: hidden; }
.sfsa-news__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.sfsa-news__ctrl { display: flex; gap: 10px; }
.sfsa-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 30vw, 380px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding: 6px 2px 26px; margin: 0 -2px;
  scrollbar-width: thin; scrollbar-color: var(--teal-ink) transparent; overscroll-behavior-x: contain;
}
.sfsa-post { scroll-snap-align: start; }
.sfsa-post__link {
  display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: #fff; overflow: hidden;
  box-shadow: 0 1px 0 var(--line-dark), 0 20px 40px -32px rgba(7,23,29,.5);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.sfsa-post__link:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line-dark), 0 34px 60px -30px rgba(7,23,29,.5); }
.sfsa-post__cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(150deg, #10303a, #07171d 70%); }
.sfsa-post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-out); }
.sfsa-post__link:hover .sfsa-post__cover img { transform: scale(1.05); }
.sfsa-post__meta { display: flex; justify-content: space-between; gap: 10px; padding: 18px 22px 0; font: 600 11.52px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); }
.sfsa-post__meta time { color: var(--muted-dark); }
.sfsa-post__title { font-size: 18.88px !important; line-height: 1.25 !important; padding: 10px 22px 0; letter-spacing: -.015em !important; }
.sfsa-post__text { color: var(--muted-dark) !important; font-size: 15.04px; padding: 10px 22px 0; flex: 1; }
.sfsa-post__more { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px 22px; font-weight: 700; font-size: 14.72px; }
.sfsa-post__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.sfsa-post__link:hover .sfsa-post__more svg { transform: translateX(4px); }
.sfsa-post__link:hover .sfsa-post__more { color: var(--teal-ink); }
.sfsa-news__all { margin-top: 26px !important; }

/* ==========================================================================
   9. СОТРУДНИЧЕСТВО
   ========================================================================== */
.sfsa-together { padding: clamp(100px, 12vw, 170px) 0 clamp(100px, 12vw, 160px); overflow: hidden; }
.sfsa-together__glow { position: absolute; inset: 0; background: radial-gradient(700px 420px at 50% 20%, rgba(24,215,191,.2), transparent 70%); }
.sfsa-together__finish { position: absolute; width: min(70vw, 760px); right: -14%; bottom: -24%; fill: none; stroke: rgba(24,215,191,.13); stroke-width: 1.4; animation: sfsa-spin 60s linear infinite; }
@keyframes sfsa-spin { to { transform: rotate(360deg); } }
.sfsa-together .sfsa-sub { color: var(--muted-light); opacity: 1; }
.sfsa-aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sfsa-aud li {
  --mx: 50%; --my: 0%;
  position: relative; padding: 30px 26px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: rgba(20,48,57,.6); box-shadow: inset 0 0 0 1px var(--line-light);
  transition: transform .5s var(--ease-out), box-shadow .4s;
}
.sfsa-aud li::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(24,215,191,.22), transparent 60%); }
.sfsa-aud li:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(24,215,191,.45); }
.sfsa-aud li:hover::before { opacity: 1; }
.sfsa-aud h3 { font-size: 19.52px; margin-bottom: 12px; color: #f2fbf9; }
.sfsa-aud p { color: var(--muted-light); font-size: 15.2px; margin: 0; }
.sfsa-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(44px, 6vw, 70px); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1100px) {
  .sfsa-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sfsa-approach__grid { grid-template-columns: 1fr; }
  .sfsa-approach__media { grid-column: 1; grid-row: auto; aspect-ratio: 16 / 9; margin-top: 48px; }
}
@media (max-width: 900px) {
  .sfsa { font-size: 16px; }
  .sfsa-hero { min-height: 0; }
  .sfsa-hero__grid { grid-template-columns: 1fr; }
  .sfsa-hero__device { max-width: 300px; justify-self: center; order: -1; margin-bottom: -10px; }
  .sfsa-who__head, .sfsa-who__text, .sfsa-who__media { grid-column: 1 / -1; grid-row: auto; }
  .sfsa-who__media { aspect-ratio: 16 / 10; margin-top: 0; }
  .sfsa-facts { grid-template-columns: 1fr 1fr; }
  .sfsa-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .sfsa-team__grid { grid-template-columns: 1fr; }
  .sfsa-tenets { margin-top: 44px; }
  .sfsa-loop { grid-template-columns: 1fr; }
  .sfsa-loop__ring { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .sfsa-wrap { width: calc(100% - 36px); }
  .sfsa-hero__device { max-width: 220px; }
  .sfsa-device__tags { display: none; }
  .sfsa-chain { font-size: 10.56px; letter-spacing: .08em; }
  .sfsa-chain li + li::before { width: 14px; margin: 0 8px; }
  .sfsa-scrollcue { display: none; }
  .sfsa-hero__actions .sfsa-btn { flex: 1 1 100%; justify-content: center; }
  .sfsa-aud, .sfsa-tenets { grid-template-columns: 1fr; }
  .sfsa-dir__rail, .sfsa-dir__body { padding-left: 20px; padding-right: 20px; }
  .sfsa-news__ctrl { display: none; }
  .sfsa-rail { grid-auto-columns: 84%; }
  .sfsa-cta .sfsa-btn { flex: 1 1 100%; justify-content: center; }
  .sfsa-facts dd { font-size: 13.76px; }
  /* Телефон: сначала заголовок и кнопки, трекер — под ними */
  .sfsa-hero__device { order: 0; max-width: 200px; margin: 8px auto 0; }
  .sfsa-eyebrow { font-size: 10.5px; letter-spacing: .12em; flex-wrap: wrap; row-gap: 4px; }
  .sfsa-slot__note { left: 8px; right: 8px; bottom: 8px; font-size: 10px; padding: 6px 8px; }
  .sfsa-hero__device:has(.sfsa-slot__note) { aspect-ratio: auto; }
  .sfsa-hero__device:has(.sfsa-slot__note) .sfsa-slot__media { position: relative; aspect-ratio: 4 / 5; }
  .sfsa-slot--device .sfsa-slot__note { position: static; margin-top: 10px; }
}

/* ==========================================================================
   Появление при прокрутке (только при работающем JS)
   ========================================================================== */
.sfsa-js .sfsa [data-r] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.sfsa-js .sfsa [data-r].is-in { opacity: 1; transform: none; }
.sfsa-w { max-width: 100%; display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sfsa-w > span { max-width: 100%; overflow-wrap: anywhere; display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
[data-split].is-in .sfsa-w > span { transform: none; }
[data-parallax] { will-change: transform; }

/* ==========================================================================
   Меньше движения
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .sfsa *, .sfsa *::before, .sfsa *::after { animation: none !important; transition: none !important; }
  .sfsa-js .sfsa [data-r] { opacity: 1; transform: none; }
  .sfsa-w > span { transform: none; }
  .sfsa-marquee { flex-wrap: wrap; }
  .sfsa-marquee__row { flex-wrap: wrap; justify-content: center; }
  .sfsa-marquee__row[aria-hidden] { display: none; }
  [data-tilt], [data-parallax] { transform: none !important; }
  .sfsa-device__trace, .sfsa-ico-line { stroke-dashoffset: 0; }
  .sfsa-hero__reticle { display: none; }
}
