:root {
  color-scheme: light dark;
  --bg: #f2f3f5;
  --surface: #ffffff;
  --surface-soft: #e7e9ec;
  --ink: #15171c;
  --muted: #5e626b;
  --line: rgba(21, 23, 28, 0.14);
  --accent: #d51f2e;
  --accent-hover: #b71926;
  --on-accent: #ffffff;
  --dark: #111318;
  --dark-soft: #1a1d24;
  --on-dark: #f5f6f7;
  --on-dark-muted: #b8bbc2;
  --focus: #d51f2e;
  --radius: 14px;
  --shadow: 0 24px 70px rgba(23, 26, 34, 0.13);
  --shell: min(1240px, calc(100vw - 48px));
  --header-height: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --surface: #191c22;
    --surface-soft: #20242c;
    --ink: #f2f3f5;
    --muted: #b3b7bf;
    --line: rgba(255, 255, 255, 0.13);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 10px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  flex: 0 0 auto;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.075em;
  transform: skew(-6deg);
}

.wordmark span {
  font-size: 25px;
}

.wordmark small {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.3vw, 34px);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.main-nav > a:not(.button) {
  position: relative;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  transition: transform 250ms var(--ease);
}

.main-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-button__label {
  font-size: 13px;
  font-weight: 800;
}

.menu-button__lines,
.menu-button__lines::before,
.menu-button__lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 220ms ease;
}

.menu-button__lines {
  position: relative;
}

.menu-button__lines::before,
.menu-button__lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-button__lines::before { top: -7px; }
.menu-button__lines::after { top: 7px; }

.menu-button[aria-expanded="true"] .menu-button__lines { background: transparent; }
.menu-button[aria-expanded="true"] .menu-button__lines::before { top: 0; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__lines::after { top: 0; transform: rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 24%, transparent);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--accent) 30%, transparent);
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.button--small {
  min-height: 42px;
  padding: 10px 17px;
}

.button--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(45px, 5.5vw, 78px);
}

h1 em {
  display: block;
  padding-bottom: 5px;
  color: var(--accent);
  font-style: italic;
  line-height: 1.08;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4.6vw, 66px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - var(--header-height));
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
}

.hero__texture {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(17, 19, 24, 0.98) 0%, rgba(17, 19, 24, 0.88) 42%, rgba(17, 19, 24, 0.3) 100%), url("images/technical-fabric.webp?v=c30af5ef");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(transparent, rgba(17, 19, 24, 0.58));
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  min-height: calc(100dvh - var(--header-height));
  padding-block: 42px 36px;
}

.hero__lead {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--on-dark-muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 26px;
}

.hero__media {
  position: relative;
  align-self: end;
  max-height: calc(100dvh - var(--header-height) - 36px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eceeef;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - var(--header-height) - 36px);
  object-fit: cover;
  object-position: 50% 35%;
}

.proof {
  padding-block: 34px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.proof__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.15fr 1fr 1.35fr;
  gap: 22px;
}

.proof__grid > div {
  min-width: 0;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.proof__grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.proof span,
.source-note {
  color: var(--muted);
  font-size: 13px;
}

.source-note {
  margin: 18px auto 0;
}

.section {
  padding-block: clamp(84px, 10vw, 144px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(42px, 6vw, 78px);
}

.section-heading p,
.process-head p,
.faq-title p,
.lead-copy > p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  grid-auto-rows: 410px;
  gap: 18px;
}

.product-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9ebee;
  box-shadow: var(--shadow);
}

.product-tile--wide {
  grid-row: span 2;
}

.product-tile--red {
  background: #e7e7e8;
}

.product-tile--dark {
  background: #1b1e24;
}

.product-tile--light {
  grid-column: span 2;
  grid-row: auto;
}

.product-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 700ms var(--ease), filter 500ms ease;
}

.product-tile::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  z-index: 0;
  background: linear-gradient(transparent, rgba(9, 11, 15, 0.9));
}

.product-tile__copy {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  color: #ffffff;
}

.product-tile__copy strong,
.product-tile__copy small {
  display: block;
}

.product-tile__copy strong {
  font-size: 21px;
  line-height: 1.15;
}

.product-tile__copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.product-tile:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.02);
}

.section--control {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.control-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(60px, 10vw, 150px);
}

.control-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  align-self: start;
}

.control-intro h2 {
  font-size: clamp(38px, 4.2vw, 60px);
}

.control-intro p {
  max-width: 540px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.control-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.control-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.control-list li:first-child { padding-top: 0; }
.control-list li:last-child { border-bottom: 0; }

.control-list li > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.control-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.control-list p {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
}

.section--technology {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
}

.technology-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(17, 19, 24, 0.96) 0%, rgba(17, 19, 24, 0.8) 42%, rgba(17, 19, 24, 0.2) 100%), url("images/technical-fabric.webp?v=c30af5ef");
  background-size: cover;
  background-position: center;
}

.section--technology::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(17, 19, 24, 0.9), transparent 60%);
}

.technology-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.95fr);
  align-items: end;
  gap: clamp(54px, 8vw, 120px);
  min-height: 520px;
}

.technology-title h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.technology-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.technology-facts article {
  min-height: 190px;
  padding: 24px;
  background: rgba(17, 19, 24, 0.85);
}

.technology-facts strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.technology-facts p {
  margin-bottom: 0;
  color: var(--on-dark-muted);
  font-size: 14px;
}

.process-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 58px;
}

.process-head h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.process-head p {
  max-width: 360px;
  margin-bottom: 3px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.process-track article {
  min-height: 260px;
  padding: 28px 24px;
  background: var(--surface);
}

.process-track article::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 60px;
  background: var(--accent);
}

.process-track b {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.15;
}

.process-track p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section--detail {
  background: var(--surface-soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(54px, 10vw, 150px);
}

.detail-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-image img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.detail-copy > p {
  max-width: 660px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 18px;
}

.detail-copy dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}

.detail-copy dl > div {
  padding-top: 15px;
  border-top: 3px solid var(--accent);
}

.detail-copy dt {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
}

.detail-copy dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section--faq {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(58px, 10vw, 150px);
}

.faq-title h2 {
  font-size: clamp(38px, 4.3vw, 62px);
}

.faq-list details {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding-right: 46px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 18px;
  height: 2px;
  background: var(--accent);
  transition: transform 220ms var(--ease);
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 640px;
  margin: 15px 46px 0 0;
  color: var(--muted);
}

.section--lead {
  background: var(--dark);
  color: var(--on-dark);
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.78fr);
  align-items: start;
  gap: clamp(60px, 10vw, 150px);
}

.lead-copy {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.lead-copy > p:last-child {
  color: var(--on-dark-muted);
}

.lead-form {
  padding: clamp(26px, 3.5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--dark-soft);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.field--split {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field--split > div {
  display: grid;
  gap: 7px;
}

.field label,
.field--split label {
  color: #f3f4f6;
  font-size: 13px;
  font-weight: 800;
}

.field small {
  color: #aeb2ba;
  font-size: 12px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 9px;
  background: #242830;
  color: #f7f8f9;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

/* Поле заметки: высота по содержимому, отступы как у однострочных полей. */
.field textarea {
  height: auto;
  min-height: 92px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
  font: inherit;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8adb6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(213, 31, 46, 0.25);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #ff707a;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  margin: 4px 0 22px;
  color: #c6c9d0;
  font-size: 12px;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #d2d5db;
  font-size: 13px;
}

.form-status.is-error { color: #ff9da4; }
.form-status.is-success { color: #8ee5b5; }

.site-footer {
  padding-block: 66px 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0f13;
  color: var(--on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.7fr 1fr;
  gap: 44px;
}

.wordmark--footer {
  margin-bottom: 18px;
}

.footer-grid p,
.footer-grid a {
  color: var(--on-dark-muted);
  font-size: 13px;
}

.footer-grid > div:first-child p {
  max-width: 320px;
}

.footer-grid nav,
.footer-legal {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
}

.footer-grid strong {
  margin-bottom: 6px;
  font-size: 13px;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-legal p {
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #858a94;
  font-size: 12px;
}

.mobile-cta {
  display: none;
}

.reveal {
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal--late {
  transition-delay: 120ms;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy,
  .category-hero__copy {
    animation: enter-up 700ms var(--ease) both;
  }

  .hero__media,
  .category-hero__media {
    animation: enter-up 780ms 120ms var(--ease) both;
  }

  @keyframes enter-up {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* SEO category pages */
.category-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 8vw, 118px);
  background: var(--dark);
  color: var(--on-dark);
}

.category-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.68fr);
  align-items: center;
  gap: clamp(46px, 8vw, 110px);
}

.category-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 4.6vw, 66px);
}

.category-hero__copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--on-dark-muted);
  font-size: 19px;
}

.category-hero__media {
  height: min(650px, 70dvh);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eceeef;
}

.category-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.category-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 10vw, 150px);
}

.category-intro h2 {
  font-size: clamp(38px, 4.3vw, 60px);
}

.category-intro__body {
  color: var(--muted);
  font-size: 18px;
}

.category-intro__body p:last-child {
  margin-bottom: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.benefit-grid article {
  min-height: 240px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.benefit-grid article:first-child {
  grid-row: span 2;
  min-height: 500px;
  background: var(--dark);
  color: var(--on-dark);
}

.benefit-grid h3 {
  margin: 0 0 15px;
  font-size: clamp(23px, 2.3vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.benefit-grid p {
  max-width: 540px;
  margin-bottom: 0;
  color: var(--muted);
}

.benefit-grid article:first-child p {
  color: var(--on-dark-muted);
}

.category-cta {
  padding-block: clamp(74px, 9vw, 120px);
  background: var(--accent);
  color: #ffffff;
}

.category-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
}

.category-cta h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.category-cta .button {
  border-color: #ffffff;
  background: #ffffff;
  color: #121419;
  box-shadow: none;
}

.category-cta .button:hover {
  background: #f0f1f3;
  border-color: #f0f1f3;
}


/* Блок «вся команда в одной форме». Смысл кадров — показать, что комплект
   один на всех, а не розничная покупка. Поэтому широкий кадр сверху даёт
   ряд целиком, а два портрета под ним — что система работает в разных видах. */
.team-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.team-shot,
.team-band {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.team-shot img,
.team-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-shot--wide {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 930px);
}

.team-shot--wide img { aspect-ratio: 4 / 3; }
.team-shot:not(.team-shot--wide) img { aspect-ratio: 3 / 4; }

.team-shot figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 46px 22px 18px;
  background: linear-gradient(to top, rgba(9, 11, 15, 0.82), rgba(9, 11, 15, 0));
  color: #f5f6f7;
  font-size: 14px;
  line-height: 1.45;
}

.team-band {
  grid-column: 1 / -1;
  width: min(100%, 760px);
  margin: clamp(32px, 5vw, 54px) auto 0;
}

.team-band img { aspect-ratio: 4 / 3; }

@media (max-width: 1080px) {
  :root { --shell: min(1240px, calc(100vw - 36px)); }

  .main-nav { gap: 18px; font-size: 13px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr); gap: 36px; }
  .product-grid { grid-auto-rows: 350px; }
  .technology-content { grid-template-columns: 1fr; align-items: start; }
  .technology-facts { max-width: 720px; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .detail-copy dl { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.25fr 1fr 1fr; }
  .footer-legal { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100vw - 30px);
    --header-height: 64px;
  }

  body { padding-bottom: 72px; }
  .menu-button { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    padding: 0 15px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    opacity: 0;
    transition: max-height 350ms var(--ease), opacity 220ms ease, padding 350ms var(--ease);
  }

  .main-nav.is-open {
    max-height: calc(100dvh - var(--header-height));
    padding-block: 18px 28px;
    opacity: 1;
  }

  .main-nav > a {
    display: flex;
    align-items: center;
    min-height: 50px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .main-nav > a:not(.button)::after { display: none; }
  .main-nav .button { margin-top: 18px; border-bottom: 0; }

  h1 { font-size: clamp(42px, 11vw, 62px); }
  h2 { font-size: clamp(36px, 9.2vw, 52px); }

  .hero { min-height: auto; }
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 60px 18px;
  }
  .hero__copy { max-width: 670px; }
  .hero__lead { font-size: 17px; }
  .hero__media { width: 100%; max-height: 620px; }
  .hero__media img { max-height: 620px; }
  .proof__grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .proof__grid > div:nth-child(2) { border-right: 0; }
  .section { padding-block: 82px; }
  .product-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 370px; }
  .product-tile--wide { grid-row: span 1; }
  .product-tile--light { grid-column: span 2; }
  .control-grid,
  .detail-grid,
  .faq-grid,
  .lead-grid,
  .category-hero__grid,
  .category-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .control-intro,
  .lead-copy { position: static; }
  .technology-content { min-height: auto; }
  .process-head { align-items: flex-start; flex-direction: column; }
  .detail-image { max-height: 650px; }
  .detail-image img { height: 650px; }
  .lead-grid { gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-legal { grid-column: 1 / -1; }
  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 38;
    display: block;
    padding: 10px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(13, 15, 19, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .mobile-cta .button { width: 100%; }
  .category-hero__media { height: 580px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article:first-child { grid-row: auto; min-height: 340px; }
  .category-cta__grid { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 24px); }

  .hero__grid { padding-top: 44px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button,
  .hero__actions .text-link { width: 100%; justify-content: center; }
  .hero__media { max-height: 520px; }
  .hero__media img { max-height: 520px; }
  .proof__grid { grid-template-columns: 1fr; }
  .proof__grid > div { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof__grid > div:last-child { border-bottom: 0; }
  .section { padding-block: 68px; }
  .section-heading { margin-bottom: 36px; }
  .product-grid { grid-template-columns: 1fr; grid-auto-rows: 430px; }
  .team-gallery { grid-template-columns: 1fr; }
  .team-shot figcaption { padding: 38px 16px 14px; font-size: 13px; }
  .product-tile--light { grid-column: auto; }
  .control-list li { grid-template-columns: 44px 1fr; gap: 12px; }
  .technology-facts { grid-template-columns: 1fr; }
  .technology-facts article { min-height: auto; }
  .process-track { grid-template-columns: 1fr; }
  .process-track article { min-height: 220px; }
  .process-track article::before { margin-bottom: 42px; }
  .detail-image,
  .detail-image img { height: 520px; }
  .field--split { grid-template-columns: 1fr; }
  .lead-form { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child,
  .footer-legal { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .category-hero { padding-block: 52px 30px; }
  .category-hero__media { height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .mobile-cta {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header { background: var(--bg); }
  .mobile-cta { background: #0d0f13; }
}


/* ---- Дополнения бандла посадочных ---- */
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.field-error{display:none;color:#ff8a94;font-size:.85rem;margin-top:.35rem}
.field-error.is-visible{display:block}
.lead-form [aria-invalid="true"]{border-color:#ff8a94;outline-color:#ff8a94}
.lead-form abbr[title]{text-decoration:none;color:#ff8a94;border:0}
.lead-facts{list-style:none;padding:0;margin:1.25rem 0 0;display:grid;gap:.5rem}
.lead-facts li{position:relative;padding-left:1.25rem;opacity:.85;font-size:.95rem}
.lead-facts li::before{content:"";position:absolute;left:0;top:.55em;width:.45rem;height:.45rem;border-radius:50%;background:#e2444f}
.optional{opacity:.6;font-weight:400}
.form-note{margin-top:.75rem;font-size:.8rem;opacity:.6}
.consent--optional{margin-top:.5rem;opacity:.85}
/* Фирменный знак NERO вместо набранного шрифтом слова.
   Через CSS-маску, а не <img>: так знак берёт цвет из currentColor
   и сам переключается вместе с темой — на светлой шапке тёмный,
   на тёмной светлый. Файл при этом один и кэшируется отдельно.
   Пропорции знака 1185:208, поэтому ширина считается от высоты. */
.wordmark__logo{display:block;width:5.7em;height:1em;background-color:currentColor;
  -webkit-mask:url("images/logo-nero.svg?v=469cf88f") no-repeat center/contain;
  mask:url("images/logo-nero.svg?v=469cf88f") no-repeat center/contain}
@supports not (mask: url("images/logo-nero.svg?v=469cf88f")){
  /* Старые браузеры маску не поймут — показываем слово текстом,
     иначе на месте знака был бы сплошной прямоугольник. */
  .wordmark__logo{background:none;-webkit-mask:none;mask:none;width:auto}
  .wordmark__logo::before{content:"NERO"}
}
/* Хлебные крошки. Разметка BreadcrumbList обязана повторять то, что человек
   реально видит на странице, поэтому крошки не только в разметке, но и в вёрстке. */
.crumbs{padding:1rem 0 0}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;
  gap:.5rem;font-size:.85rem;color:var(--muted)}
.crumbs li+li::before{content:"/";margin-right:.5rem;opacity:.5}
.crumbs a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}
.crumbs a:hover{color:var(--accent)}
.crumbs [aria-current]{color:var(--ink);font-weight:700}
/* Мобильная CTA-панель больше не перекрывает низ формы */
@media (max-width:820px){.section--lead{padding-bottom:7rem}}
/* Контраст eyebrow: 3.60:1 -> проходит AA */
.eyebrow{color:#ff8a94}
/* ---- Баннер согласия на файлы cookie (29.08.2026) ---- */
/* Цвета полосы заданы явно, а не наследуются: тема сайта светлеет при
   prefers-color-scheme: light, и тогда унаследованный --ink давал тёмный текст
   на тёмной полосе. Поймано 30.08.2026 по скриншотам из двух профилей браузера. */
.cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#111318;
  color:#f4f5f7;
  border-top:1px solid rgba(255,255,255,.14);box-shadow:0 -12px 40px rgba(0,0,0,.35)}
.cookie-bar[hidden]{display:none}
.cookie-bar__inner{max-width:1120px;margin:0 auto;padding:1rem 1.25rem;display:flex;
  gap:1.25rem;align-items:center;flex-wrap:wrap}
.cookie-bar__text{flex:1 1 320px;min-width:260px}
.cookie-bar__text strong{display:block;margin-bottom:.25rem}
.cookie-bar__text p{margin:0;font-size:.9rem;opacity:.85;line-height:1.5}
.cookie-bar__text a{color:#ff8a94;text-decoration:underline;text-underline-offset:2px}
.cookie-bar__actions{display:flex;gap:.6rem;flex-wrap:wrap}
.cookie-bar .button--ghost{background:transparent;
  border:1px solid rgba(255,255,255,.35);color:#f4f5f7}
.cookie-bar .button--ghost:hover{background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.6);color:#fff}
@media (max-width:820px){
  .cookie-bar__inner{padding:.9rem 1rem}
  .cookie-bar__actions{width:100%}
  .cookie-bar__actions .button{flex:1 1 auto;text-align:center}
}
/* Цели нажатия на телефоне: квадратики согласия были 18 точек при норме 24 */
.consent input[type="checkbox"]{width:1.5rem;height:1.5rem;flex:0 0 auto}
.consent{display:flex;gap:.6rem;align-items:flex-start}
/* Мелкие акцентные подписи лежат на фоне, который меняется вместе с темой
   (шапка и секция шагов светлеют при prefers-color-scheme: light).
   Один жёстко заданный оттенок не может пройти AA в обеих темах:
   светлый #ff8a94 давал на светлой шапке 2.03:1, фирменный #d51f2e
   давал на тёмной секции шагов 3.30:1. Поэтому оттенок тоже темозависимый.
   Проверено 30.08.2026: 5.48:1 в светлой теме, 7.64:1 в тёмной. */
:root{--accent-quiet:#c31624}
@media (prefers-color-scheme: dark){:root{--accent-quiet:#ff8a94}}
.process-step__num,.wordmark small,.control-list li > span{color:var(--accent-quiet)}
/* Контакты в подвале и рядом с формой */
.footer-contacts{display:grid;gap:.4rem}
.footer-contacts strong{margin-bottom:.35rem}
.footer-contacts a{display:block}
.footer-note{margin-top:.5rem;font-size:.8rem;opacity:.6}
.footer-legal p{margin:0 0 .5rem}
.contact-list{list-style:none;padding:0;display:grid;gap:.5rem;margin:1rem 0}
.lead-direct{margin-top:1.25rem;font-size:.95rem;opacity:.9}
.lead-direct a{text-decoration:underline}
.lead-hours{margin-top:.35rem;font-size:.85rem;opacity:.6}
/* strong/b заменены на h3 ради корректного outline — переносим стили */
.technology-facts h3{display:block;margin:0 0 12px;font-size:20px;font-weight:700;line-height:1.2}
.process-track h3{display:block;margin:0 0 12px;font-size:20px;font-weight:700;line-height:1.15}
