/* =========================================================
   QUALITYFRY HoReCa — landing prototype
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-soft: #0d0d0d;
  --panel: #141414;
  --panel-2: #191919;
  --panel-3: #202020;
  --orange: #f5a11c;
  --orange-2: #ffb52e;
  --orange-soft: rgba(245, 161, 28, 0.12);
  --text: #ffffff;
  --muted: #a6a6a6;
  --muted-2: #7d7d7d;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1240px;
  --header-h: 78px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
}

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

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

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

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

h1, h2, h3, h4, p, ul, ol, dl, dd {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--orange);
  color: #000;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--orange);
  color: #000;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section--panel {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.55rem, 5vw, 4.5rem);
  line-height: 1.02;
}

h1 span {
  color: var(--orange);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--orange);
  color: #090909;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head {
  max-width: 860px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-bottom: 18px;
}

.section-head p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: end;
  max-width: none;
}

.section-head--split h2 {
  margin-bottom: 0;
}

.section-head__note {
  padding-bottom: 8px;
  color: var(--muted) !important;
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
}

.source {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--orange);
  color: #0a0a0a;
  box-shadow: 0 10px 30px rgba(245, 161, 28, 0.16);
}

.btn--primary:hover {
  background: var(--orange-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(245, 161, 28, 0.24);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(245, 161, 28, 0.55);
  background: rgba(245, 161, 28, 0.08);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.8125rem;
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--orange);
  font-size: 0.9375rem;
  font-weight: 600;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled,
.header.nav-active {
  background: rgba(10, 10, 10, 0.88);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__logo {
  width: auto;
  height: 42px;
  mix-blend-mode: screen;
}

.brand__badge {
  padding: 5px 8px;
  border: 1px solid rgba(245, 161, 28, 0.5);
  border-radius: 6px;
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav > a {
  position: relative;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav > a:hover,
.nav > a.active {
  color: var(--text);
}

.nav > a:hover::after,
.nav > a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__extra {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.header__phone .icon {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
}

.burger .icon {
  width: 22px;
  height: 22px;
}

.burger .icon--close {
  display: none;
}

body.nav-open .burger .icon--menu {
  display: none;
}

body.nav-open .burger .icon--close {
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 96px;
  background:
    radial-gradient(circle at 78% 34%, rgba(245, 161, 28, 0.13), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(245, 161, 28, 0.05), transparent 26%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 78%);
}

.hero__glow {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(245, 161, 28, 0.16);
  filter: blur(120px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 48px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero h1 {
  margin-bottom: 26px;
}

.hero__lead {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.68;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__facts strong {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__facts span {
  color: var(--muted-2);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.hero__proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(245, 161, 28, 0.12);
}

.hero__visual {
  position: relative;
  min-height: 620px;
}

.hero__image-wrap {
  position: relative;
  height: 100%;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #111;
}

.hero__image {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.hero__image-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10, 10, 10, 0.55), transparent 34%),
    linear-gradient(to top, rgba(10, 10, 10, 0.72), transparent 38%);
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(16, 16, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.float-card--top {
  top: 34px;
  right: 24px;
}

.float-card--bottom {
  bottom: 34px;
  left: 24px;
}

.float-card__value {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.float-card__label {
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Market ---------- */

.market__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: stretch;
}

.market__stats {
  display: grid;
  gap: 14px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 150px;
  padding: 26px 28px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--panel), #101010);
}

.stat-card__value {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.stat-card__label {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.market__visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #111;
}

.market__visual > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.market__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.06) 55%);
  pointer-events: none;
}

.market__visual-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 26px 28px;
}

.market__visual-overlay > span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market__chains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.market__chains > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 12, 12, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.market__chains strong {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.market__chains b {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ---------- Problems ---------- */

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

.pain-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.pain-card:hover {
  border-color: rgba(245, 161, 28, 0.35);
  transform: translateY(-4px);
}

.pain-card h3 {
  margin-top: 6px;
}

.pain-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.pain-card--accent {
  border-color: rgba(245, 161, 28, 0.42);
  background: linear-gradient(145deg, rgba(245, 161, 28, 0.16), rgba(245, 161, 28, 0.03) 70%), var(--panel);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
}

.icon-box .icon {
  width: 22px;
  height: 22px;
}

/* ---------- Benefits ---------- */

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

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(150deg, var(--panel-2), var(--panel));
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.benefit-card:hover {
  border-color: rgba(245, 161, 28, 0.35);
  transform: translateY(-4px);
}

.benefit-card h3 {
  margin-top: 6px;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* ---------- How ---------- */

.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.how__lead {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.steps {
  display: grid;
  gap: 0;
  margin-bottom: 34px;
}

.step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}

.step:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.step__num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245, 161, 28, 0.55);
  border-radius: 50%;
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 4px;
  font-size: 1.0625rem;
}

.step p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.how__visual {
  position: relative;
  min-height: 600px;
}

.how__visual img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.how__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border: 1px solid rgba(245, 161, 28, 0.4);
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.how__badge strong {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.how__badge span {
  color: var(--muted);
  font-size: 0.75rem;
}

/* ---------- Calculator ---------- */

.calculator {
  background:
    radial-gradient(circle at 12% 20%, rgba(245, 161, 28, 0.07), transparent 28%),
    var(--bg);
}

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.calc__controls {
  display: grid;
  gap: 26px;
  padding: 34px;
}

.calc__field {
  display: grid;
  gap: 10px;
}

.calc__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calc__label-row label {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
}

.calc__label-row output {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.calc input[type="range"] {
  width: 100%;
  height: 4px;
  margin: 6px 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: linear-gradient(to right, var(--orange) 0%, var(--orange) var(--fill, 50%), rgba(255, 255, 255, 0.12) var(--fill, 50%), rgba(255, 255, 255, 0.12) 100%);
  outline: none;
}

.calc input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  appearance: none;
  -webkit-appearance: none;
  border: 4px solid #101010;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
  cursor: grab;
}

.calc input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 4px solid #101010;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
  cursor: grab;
}

.calc input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.calc__range {
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.6875rem;
}

.calc__result {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-left: 1px solid var(--line);
  background: linear-gradient(160deg, #1c1c1c, #111);
}

.calc__result-label {
  color: var(--muted-2);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}

.calc__main-label {
  color: var(--muted);
  font-size: 0.8125rem;
}

.calc__main-value {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.calc__rows {
  display: grid;
  gap: 0;
  margin-bottom: 18px;
}

.calc__rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.calc__rows span {
  color: var(--muted);
  font-size: 0.8125rem;
}

.calc__rows b {
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.calc__note {
  margin-bottom: 22px;
  color: var(--muted-2);
  font-size: 0.6875rem;
  line-height: 1.55;
}

.calc__result .btn {
  margin-top: auto;
}

/* ---------- Assortment ---------- */

.food-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.food-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.food-card:hover {
  border-color: rgba(245, 161, 28, 0.35);
  transform: translateY(-4px);
}

.food-card > img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center;
}

.food-card__body {
  padding: 17px 18px 20px;
}

.food-card__body h3 {
  margin-bottom: 3px;
  font-size: 1rem;
}

.food-card__body p {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.food-card--cta {
  border-color: rgba(245, 161, 28, 0.35);
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 161, 28, 0.16), transparent 55%),
    var(--panel);
}

.food-card__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  min-height: 260px;
  padding: 24px;
}

.food-card__cta > .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--orange);
}

.food-card__cta h3 {
  margin-bottom: 6px;
  font-size: 1.0625rem;
}

.food-card__cta p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* ---------- Technology ---------- */

.tech__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.tech__visual {
  position: relative;
  min-height: 600px;
}

.tech__visual img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.tech__label {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--orange);
  color: #090909;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech__lead {
  max-width: 560px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.tech__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-bottom: 28px;
}

.tech__features > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 0.875rem;
}

.tech__features .icon {
  width: 17px;
  height: 17px;
  color: var(--orange);
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--line-soft);
}

.specs > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 17px;
  background: var(--panel);
}

.specs dt {
  color: var(--muted-2);
  font-size: 0.625rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.specs dd {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
}

/* ---------- Formats ---------- */

.format-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.format-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #111;
}

.format-card img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.format-card:hover img {
  transform: scale(1.04);
}

.format-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 6, 0.96), rgba(6, 6, 6, 0.08) 62%);
  pointer-events: none;
}

.format-card__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 22px;
}

.format-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border: 1px solid rgba(245, 161, 28, 0.4);
  border-radius: 10px;
  background: rgba(245, 161, 28, 0.14);
  color: var(--orange);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.format-card__icon .icon {
  width: 20px;
  height: 20px;
}

.format-card h3 {
  margin-bottom: 5px;
  font-size: 1.125rem;
}

.format-card p {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.format-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.875rem;
}

.format-note .icon {
  color: var(--orange);
}

.format-note a {
  margin-left: auto;
  color: var(--orange);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Support ---------- */

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

.support-card {
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(150deg, var(--panel-2), var(--panel));
}

.support-card__num {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.support-card h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.support-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* ---------- Case ---------- */

.case__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.case__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 42px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 100%, rgba(245, 161, 28, 0.12), transparent 45%),
    var(--panel);
}

.case__content h2 {
  margin-bottom: 18px;
}

.case__content > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.case__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  width: 100%;
}

.case__stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case__stats strong {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.case__stats span {
  color: var(--muted);
  font-size: 0.75rem;
}

.case__visual {
  min-height: 520px;
}

.case__visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

/* ---------- Pilot ---------- */

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pilot-step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel);
}

.pilot-step__num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--orange);
  color: #090909;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 800;
}

.pilot-step h3 {
  margin-bottom: 7px;
  font-size: 1.0625rem;
}

.pilot-step p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.pilot__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 26px 30px;
  border: 1px solid rgba(245, 161, 28, 0.35);
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(245, 161, 28, 0.16), rgba(245, 161, 28, 0.03));
}

.pilot__cta > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pilot__cta strong {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pilot__cta span {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: start;
}

.faq__head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq__head h2 {
  margin-bottom: 16px;
}

.faq__head p {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq__head .link-arrow {
  margin-top: 22px;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
}

.faq-question .icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item.open .faq-question .icon {
  color: var(--orange);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 260px;
}

.faq-answer p {
  max-width: 780px;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- Contact ---------- */

.contact {
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 161, 28, 0.1), transparent 32%),
    var(--bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.contact__content h2 {
  margin-bottom: 18px;
}

.contact__content > p {
  max-width: 480px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.contact__list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.9375rem;
}

.contact__list .icon {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.contact__list a:hover {
  color: var(--orange);
}

.contact__note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--panel);
}

.contact__note strong {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 800;
}

.contact__note span {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.form {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--panel-2), var(--panel));
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form__field label {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form__field label span {
  color: var(--muted-2);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0d0d0d;
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form__field textarea {
  min-height: 92px;
  resize: vertical;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: #666;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--orange);
  background: #101010;
  outline: none;
}

.form__field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a6a6a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.form__field select:invalid {
  color: #666;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 20px;
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1.5;
  cursor: pointer;
}

.form__consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--orange);
}

.form__consent a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__consent a:hover {
  color: var(--orange);
}

.form__hint {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.6875rem;
  text-align: center;
}

.form__error {
  margin-top: 10px;
  color: #ff9b8a;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
}

.form__error a {
  color: inherit;
  text-decoration: underline;
}

.form__success {
  padding: 30px 10px;
  text-align: center;
}

.form.is-success > :not(.form__success) {
  display: none;
}

.form__success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--orange);
  color: #090909;
}

.form__success-icon .icon {
  width: 26px;
  height: 26px;
}

.form__success h3 {
  margin-bottom: 6px;
  font-size: 1.375rem;
}

.form__success p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.form__again {
  margin-top: 18px;
  border: 0;
  background: none;
  color: var(--orange);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form__again:hover {
  color: var(--orange-2);
}

/* ---------- Footer ---------- */

.footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line-soft);
  background: #080808;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.7fr);
  gap: 48px;
}

.footer__logo {
  width: auto;
  height: 40px;
  margin-bottom: 16px;
}

.footer__brand p {
  max-width: 280px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  align-content: start;
}

.footer__nav a {
  color: var(--muted);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--orange);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer__contacts a {
  color: var(--text);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer__contacts a:hover {
  color: var(--orange);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.6875rem;
  line-height: 1.5;
}

.footer__bottom a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__bottom a:hover {
  color: var(--orange);
}

/* ---------- Reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .nav {
    gap: 18px;
  }

  .header__phone {
    display: none;
  }

  .hero__inner {
    gap: 32px;
  }

  .hero__visual,
  .hero__image-wrap,
  .hero__image {
    min-height: 560px;
  }

  .how__grid,
  .tech__grid {
    gap: 40px;
  }

  .how__visual,
  .how__visual img,
  .tech__visual,
  .tech__visual img {
    min-height: 520px;
  }

  .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .format-card,
  .format-card img {
    min-height: 380px;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 84px 0;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 24px;
    overflow-y: auto;
    border-top: 1px solid var(--line-soft);
    background: #0a0a0a;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav > a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 700;
  }

  .nav > a::after {
    display: none;
  }

  .nav__extra {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 28px;
  }

  .nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
  }

  .nav__phone .icon {
    width: 18px;
    height: 18px;
    color: var(--orange);
  }

  .nav__extra .btn {
    justify-content: center;
  }

  .burger {
    display: inline-flex;
  }

  .header__actions .btn {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 42px);
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__visual {
    min-height: 520px;
  }

  .hero__image-wrap,
  .hero__image {
    min-height: 520px;
  }

  .section-head--split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq__head {
    position: static;
  }

  .faq__head p {
    max-width: 560px;
  }

  .section-head__note {
    padding-bottom: 0;
  }

  .market__grid {
    grid-template-columns: 1fr;
  }

  .market__visual {
    min-height: 440px;
  }

  .market__visual > img {
    min-height: 440px;
  }

  .how__grid,
  .tech__grid {
    grid-template-columns: 1fr;
  }

  .how__visual {
    order: -1;
  }

  .how__visual,
  .how__visual img {
    min-height: 440px;
  }

  .tech__visual,
  .tech__visual img {
    min-height: 480px;
  }

  .calc {
    grid-template-columns: 1fr;
  }

  .calc__result {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .case__grid {
    grid-template-columns: 1fr;
  }

  .case__visual {
    min-height: 420px;
  }

  .case__visual img {
    min-height: 420px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pilot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pain-grid,
  .benefit-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 70px 0;
  }

  .brand__logo {
    height: 36px;
  }

  .brand__badge {
    display: none;
  }

  .hero__facts {
    gap: 20px 28px;
  }

  .hero__facts strong {
    font-size: 1.25rem;
  }

  .float-card--top {
    top: 18px;
    right: 14px;
  }

  .float-card--bottom {
    bottom: 18px;
    left: 14px;
  }

  .float-card {
    padding: 11px 14px;
  }

  .float-card__value {
    font-size: 1.125rem;
  }

  .pain-grid,
  .benefit-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .format-card,
  .format-card img {
    min-height: 340px;
  }

  .format-note {
    flex-wrap: wrap;
  }

  .format-note a {
    margin-left: 0;
  }

  .case__content {
    padding: 30px;
  }

  .pilot__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .form {
    padding: 24px;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    padding-bottom: 64px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }

  .hero__visual,
  .hero__image-wrap,
  .hero__image {
    min-height: 400px;
  }

  .float-card--top {
    display: none;
  }

  .pain-grid,
  .benefit-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .pain-card {
    min-height: 0;
  }

  .market__visual {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--panel);
  }

  .market__visual::after {
    display: none;
  }

  .market__visual > img {
    height: 280px;
    min-height: 0;
    object-position: center;
  }

  .market__visual-overlay {
    position: static;
    padding: 18px;
    background: #0e0e0e;
  }

  .market__visual-overlay > span {
    margin-bottom: 10px;
    font-size: 0.625rem;
    color: var(--muted-2);
  }

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

  .market__chains > div {
    padding: 10px 9px;
    border-color: var(--line-soft);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .market__chains strong {
    font-size: 0.6875rem;
  }

  .market__chains b {
    font-size: 1rem;
  }

  .calc__controls,
  .calc__result {
    padding: 22px;
  }

  .calc__main-value {
    font-size: 2.1rem;
  }

  .food-grid {
    grid-template-columns: 1fr;
  }

  .food-card > img {
    height: 200px;
  }

  .tech__features {
    grid-template-columns: 1fr;
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .case__stats {
    gap: 20px;
  }

  .case__stats strong {
    font-size: 1.5rem;
  }

  .pilot-grid {
    grid-template-columns: 1fr;
  }

  .pilot__cta {
    padding: 22px;
  }

  .faq-question {
    font-size: 0.9375rem;
  }

  .footer__nav {
    grid-template-columns: 1fr;
  }

  .form__consent {
    font-size: 0.6875rem;
  }
}

/* ---------- Legal pages ---------- */

.legal-page {
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(245, 161, 28, 0.08), transparent 65%),
    var(--bg);
}

.legal-header {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: var(--orange);
}

.legal-back span {
  transition: transform 0.2s ease;
}

.legal-back:hover span {
  transform: translateX(-3px);
}

.legal {
  padding: 64px 0 100px;
}

.legal__layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 28px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.legal__toc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted-2);
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: default;
  list-style: none;
}

.legal__toc-title::-webkit-details-marker {
  display: none;
}

.legal__toc details:not([open]) .legal__toc-title {
  margin-bottom: 0;
}

.legal__toc ol {
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal__toc li {
  counter-increment: toc;
}

.legal__toc a {
  display: flex;
  gap: 8px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.legal__toc a::before {
  content: counter(toc) ".";
  flex: 0 0 auto;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.legal__toc a:hover {
  color: var(--orange);
}

.legal__body {
  max-width: 780px;
  min-width: 0;
}

.legal__body h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  overflow-wrap: break-word;
  hyphens: auto;
}

.legal__meta {
  color: var(--muted-2);
  font-size: 0.8125rem;
}

.legal__lead {
  margin-top: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.legal__note {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: var(--orange-soft);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.legal__body section {
  padding-top: 38px;
  scroll-margin-top: 96px;
}

.legal__body h2 {
  margin-bottom: 18px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal__body p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

.legal__body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
}

.legal__body ul li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.legal__body ul li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.legal__body a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.legal__body a:hover {
  color: var(--orange-2);
}

.legal__body strong {
  color: var(--text);
  font-weight: 600;
}

.legal__requisites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--line-soft);
}

.legal__requisites > div {
  padding: 14px 18px;
  background: var(--panel);
}

.legal__requisites > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.legal__requisites dt {
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal__requisites dd {
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.legal__requisites dd a {
  color: var(--text);
  text-decoration: none;
}

.legal__requisites dd a:hover {
  color: var(--orange);
}

.legal-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
  background: #080808;
}

.legal-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  color: var(--muted-2);
  font-size: 0.75rem;
}

.legal-footer__inner a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.legal-footer__inner a:hover {
  color: var(--orange);
}

@media (max-width: 1024px) {
  .legal {
    padding: 48px 0 80px;
  }

  .legal__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .legal__toc {
    position: static;
    padding: 20px;
  }

  .legal__toc-title {
    cursor: pointer;
  }

  .legal__toc-title::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--muted-2);
    border-bottom: 2px solid var(--muted-2);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .legal__toc details[open] .legal__toc-title::after {
    transform: translateY(2px) rotate(-135deg);
  }

  .legal__toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
  }
}

@media (max-width: 560px) {
  .legal__body h1 {
    font-size: clamp(1.5rem, 8vw, 2.25rem);
  }

  .legal__toc ol {
    grid-template-columns: 1fr;
  }

  .legal__requisites {
    grid-template-columns: 1fr;
  }

  .legal__body section {
    padding-top: 32px;
  }

  .legal-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
