/* SilentCore — сайт компании. Монохром: бумага и чёрный, без фирменного цвета.
   Слои и тонкие линии вместо обводок и теней. Акцент тратится только на главное действие. */

:root {
  color-scheme: light;

  --paper: #f2f2ee;
  --paper-2: #e9e9e4;
  --white: #ffffff;

  --ink: #0b0d10;
  --ink-2: #2a2f35;
  --muted: #5a6168;
  --faint: #8b9198;
  --line: rgba(11, 13, 16, 0.13);
  --line-soft: rgba(11, 13, 16, 0.07);

  --black: #030405;
  --black-2: #0b0d11;
  --black-3: #13161b;
  --ink-on-dark: #f3f4f2;
  --muted-on-dark: rgba(243, 244, 242, 0.68);
  --faint-on-dark: rgba(243, 244, 242, 0.46);
  --line-dark: rgba(255, 255, 255, 0.11);
  --line-dark-soft: rgba(255, 255, 255, 0.06);

  --radius: 8px;
  --radius-lg: 12px;
  --shell: 1180px;
  --header-offset: 88px;

  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "IBM Plex Sans", ui-sans-serif, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--ink); color: var(--white); }
.section--dark ::selection, .hero ::selection { background: var(--white); color: var(--ink); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.skip-link:focus { top: 12px; }

.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }

/* ─────────── типографика ─────────── */

.eyebrow {
  margin-bottom: 14px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero .eyebrow, .section--dark .eyebrow { color: var(--faint-on-dark); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.025em; }

.lead {
  color: var(--muted-on-dark);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.62;
  max-width: 56ch;
}

.panel-label {
  display: block;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─────────── кнопки ─────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--ink-2); }
.hero .button-primary, .section--dark .button-primary { background: var(--ink-on-dark); color: var(--ink); }
.hero .button-primary:hover, .section--dark .button-primary:hover { background: var(--white); }

.button-ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--ink-on-dark); }
.button-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }

/* ─────────── шапка ─────────── */

.site-header {
  position: fixed;
  z-index: 50;
  top: 12px; left: 50%;
  width: min(100% - 24px, var(--shell));
  transform: translateX(-50%);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(3, 4, 5, 0.78);
  color: var(--ink-on-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(242, 242, 238, 0.9);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(11, 13, 16, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 14px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
/* Логотип — растр с чёрным фоном в исходнике, поэтому заполняет плитку целиком:
   так фон знака сливается с плиткой без каймы. */
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

/* Локап: название в две строки, дескриптор мельче и с разрядкой. */
.brand-name {
  display: grid;
  gap: 2px;
  line-height: 1;
}
.brand-name__main {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-name__sub {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  white-space: nowrap;
}

/* ─────────── переключатель языков ─────────── */

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}
.site-header.is-scrolled .lang-switch { border-color: var(--line); }

.lang {
  min-width: 36px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.6;
  transition: opacity 140ms ease, background 140ms ease, color 140ms ease;
}
.lang:hover { opacity: 1; }
.lang.is-active { background: var(--ink-on-dark); color: var(--ink); opacity: 1; }
.site-header.is-scrolled .lang.is-active { background: var(--ink); color: var(--white); }

.site-nav { display: flex; justify-content: center; gap: 2px; }

.site-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.74;
  transition: opacity 140ms ease, background 140ms ease;
}
.site-nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.07); }
.site-header.is-scrolled .site-nav a:hover { background: rgba(11, 13, 16, 0.06); }

.header-cta { min-height: 38px; padding: 0 14px; font-size: 0.86rem; }
.site-header .button-primary { background: var(--ink-on-dark); color: var(--ink); }
.site-header.is-scrolled .button-primary { background: var(--ink); color: var(--white); }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: transparent;
  place-items: center;
}
.site-header.is-scrolled .nav-toggle { border-color: var(--line); }

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 16px; height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -5px; }
.nav-toggle__bar::after { top: 5px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-5px) rotate(-45deg); }

/* ─────────── hero ─────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-offset) + 72px) 0 0;
  background: var(--black);
  color: var(--ink-on-dark);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: grayscale(1) brightness(0.42) contrast(1.15);
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.97) 0%, rgba(3, 4, 5, 0.88) 45%, rgba(3, 4, 5, 0.55) 100%),
    linear-gradient(180deg, rgba(3, 4, 5, 0.35), rgba(3, 4, 5, 0.1) 40%, rgba(3, 4, 5, 0.9));
}

.hero-inner { position: relative; }

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 17ch;
}

.hero .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* Полоса «о компании» — одна панель с внутренними разделителями, не четыре коробки. */
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--line-dark);
}
.hero-meta li {
  display: grid;
  gap: 5px;
  padding: 22px 24px 30px 0;
  border-left: 1px solid var(--line-dark-soft);
  padding-left: 24px;
}
.hero-meta li:first-child { border-left: 0; padding-left: 0; }
.hero-meta span {
  color: var(--faint-on-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-meta strong { font-size: 0.98rem; font-weight: 500; line-height: 1.4; }

/* ─────────── схема системы в hero — единственный цвет на сайте ───────────
   Чип-«ядро» со знаком SilentCore, дорожки к системам клиента, по ним бегут цветные
   импульсы данных (SMIL внутри SVG). Сами дорожки, площадки и подписи — монохром,
   цвет только у импульсов и их вспышек. */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  margin: 0;
}
/* затемнение фото под схемой, чтобы дорожки читались */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10% -14%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(3, 4, 5, 0.92), rgba(3, 4, 5, 0.7) 50%, transparent 78%);
}
.hero-visual svg { width: 100%; height: auto; overflow: visible; }

.sch-trace { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.sch-trace--faint { stroke: rgba(255, 255, 255, 0.09); }
.sch-via { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.25; }
.sch-pin { fill: rgba(255, 255, 255, 0.16); }
.sch-pad { fill: #0d0f13; stroke: rgba(255, 255, 255, 0.34); stroke-width: 1.25; }
.sch-chip { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)); }
.sch-die { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.sch-label {
  fill: rgba(243, 244, 242, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─────────── секции ─────────── */

.section { padding: 96px 0; }
.section--dark { background: var(--black); color: var(--ink-on-dark); }
.section--contact { padding: 76px 0; }

#expertise, #work, #approach, #technology, #company, #contact { scroll-margin-top: var(--header-offset); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}
.section--dark .section-head p:not(.eyebrow) { color: var(--muted-on-dark); }

/* ─────────── карточки экспертизы ─────────── */

.cards { display: grid; gap: 14px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 160ms ease;
}
.card:hover { border-color: rgba(11, 13, 16, 0.3); }

.card__index {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.card h3 { margin: 14px 0 8px; font-size: 1.14rem; line-height: 1.3; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 0.95rem; line-height: 1.58; }

/* ─────────── работы ─────────── */

.work-list { display: grid; gap: 14px; }

.work-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--black-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.work-row__mock { color: var(--ink-on-dark); }
.work-row__mock svg { width: 100%; height: auto; border-radius: var(--radius); }

.work-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--faint-on-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.work-row__meta span + span::before { content: "· "; }

.work-row h3 {
  margin: 12px 0 10px;
  font-size: 1.24rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.work-row__problem { color: var(--muted-on-dark); font-size: 0.95rem; line-height: 1.58; }

.work-row__built { margin-top: 16px; display: grid; gap: 7px; }
.work-row__built li {
  position: relative;
  padding-left: 18px;
  color: rgba(243, 244, 242, 0.84);
  font-size: 0.9rem;
  line-height: 1.5;
}
.work-row__built li::before {
  content: "";
  position: absolute;
  top: 9px; left: 0;
  width: 7px; height: 1px;
  background: var(--faint-on-dark);
}

.work-row__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark-soft);
}
.work-row__facts dt {
  color: var(--faint-on-dark);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.work-row__facts dd { color: var(--muted-on-dark); font-size: 0.84rem; line-height: 1.5; }

/* Обложка кейса — авторская графика, а не снимок клиентской системы. */
.work-row__cover {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}


/* ─────────── принципы ─────────── */

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line-soft);
}
.principle { padding: 28px; background: var(--white); }
.principle h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.015em; }
.principle p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; line-height: 1.58; }

/* ─────────── технологии ─────────── */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line-dark-soft);
}
.tech-col { padding: 24px; background: var(--black-2); }
.tech-col__label {
  display: block;
  margin-bottom: 14px;
  color: var(--faint-on-dark);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tech-col ul { display: grid; gap: 9px; }
.tech-col li { color: rgba(243, 244, 242, 0.85); font-size: 0.93rem; }

/* ─────────── компания ─────────── */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: stretch;
}
.split h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.split__text { margin-top: 14px; color: var(--muted); font-size: 1rem; line-height: 1.62; }

.split__col--panel {
  display: flex;
  flex-direction: column;
  padding: 24px 26px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.facts__row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0 17px;
  border-top: 1px solid var(--line-soft);
}
.facts__row:first-child { border-top: 0; }
.facts__row dt {
  padding-top: 2px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.facts__row dd { color: var(--ink-2); font-size: 0.93rem; line-height: 1.55; }
.facts--light .facts__row { border-top-color: var(--line-soft); }

/* ─────────── контакт ─────────── */

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.contact-text { margin-top: 14px; color: var(--muted-on-dark); font-size: 1rem; line-height: 1.6; max-width: 54ch; }
.contact-actions { display: grid; gap: 16px; justify-items: start; }

.contact-mail {
  padding-bottom: 3px;
  border-bottom: 2px solid var(--ink-on-dark);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  transition: opacity 140ms ease;
}
.contact-mail:hover { opacity: 0.7; }

/* ─────────── подвал ─────────── */

.site-footer { padding: 40px 0 34px; border-top: 1px solid var(--line); background: var(--paper-2); }

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.footer-text { max-width: 58ch; min-width: 260px; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.footer-nav a { padding: 6px 10px; border-radius: var(--radius); color: var(--ink-2); font-size: 0.86rem; font-weight: 500; }
.footer-nav a:hover { background: rgba(11, 13, 16, 0.06); }

.copyright {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

/* ─────────── появление блоков — только когда JS точно работает ─────────── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .cards .card:nth-child(2) { transition-delay: 60ms; }
.js .cards .card:nth-child(3) { transition-delay: 120ms; }
.js .cards .card:nth-child(5) { transition-delay: 60ms; }
.js .cards .card:nth-child(6) { transition-delay: 120ms; }

/* ─────────── адаптив ─────────── */

@media (max-width: 1040px) {
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-row { grid-template-columns: 1fr; gap: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-meta li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-meta li:nth-child(n + 3) { border-top: 1px solid var(--line-dark-soft); }
  .split { gap: 40px; }
  .contact-band { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto auto; gap: 10px; }
  .brand { grid-row: 1; grid-column: 1; }
  .lang-switch { grid-row: 1; grid-column: 3; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; grid-row: 1; grid-column: 4; }
  .site-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 2px;
    padding: 6px 0 4px;
    border-top: 1px solid var(--line-dark-soft);
  }
  .site-header.is-scrolled .site-nav { border-top-color: var(--line-soft); }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 11px 10px; opacity: 0.9; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--header-offset) + 36px) 0 0; }
  .hero h1 { font-size: clamp(1.95rem, 8.5vw, 2.6rem); }
  .hero-meta { margin-top: 52px; }
  .hero-grid { gap: 28px; }
  .hero-visual { margin-inline: -8px; }
  .sch-label { font-size: 13px; }
  .sch-trace { stroke-width: 2; }
  .sch-dot--0 { r: 7; } .sch-dot--1 { r: 5.4; } .sch-dot--2 { r: 4; } .sch-dot--3 { r: 3; }
  .cards--3 { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .work-row { padding: 20px; }
  .work-row__facts { grid-template-columns: 1fr; gap: 12px; }
  .facts__row { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-nav { margin-left: -10px; justify-content: flex-start; }
  .footer-text { min-width: 0; }
}

@media (max-width: 600px) {
  .lang { min-width: 30px; }
  .hero-meta { margin-top: 40px; }
  .hero-meta li { padding: 16px 0 18px 16px; }
  .hero-meta li:nth-child(odd) { padding-left: 0; }
  .hero-meta strong { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .button, .card, .site-header { transition: none; }
}

/* заголовки карточек экспертизы ведут на страницы услуг; вся карточка кликабельна */
.card { position: relative; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card h3 a:hover, .card h3 a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.card:has(h3 a):hover { border-color: rgba(11, 13, 16, 0.35); }
