:root {
  color-scheme: light;
  --bg: #f4f1eb;
  --paper: #fffdf8;
  --ink: #151515;
  --muted: #64645f;
  --line: #ddd7cc;
  --red: #bf1628;
  --red-dark: #8f1020;
  --steel: #2f6f8f;
  --green: #2b6f5f;
  --amber: #d8a43a;
  --charcoal: #202326;
  --shadow: 0 20px 60px rgba(16, 18, 20, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--red);
  transform: translateY(-150%);
}

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

body.has-open-dialog {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(0, 2.8fr) minmax(210px, 0.9fr);
  align-items: center;
  gap: 14px;
  padding: 7px clamp(18px, 3vw, 50px);
  color: #fff;
  background: rgba(17, 18, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 0;
  padding: 3px 8px;
}

.brand-logo {
  display: block;
  width: 112px;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  min-width: 0;
  gap: clamp(8px, 1vw, 14px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  white-space: nowrap;
}

.desktop-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.desktop-nav a:hover {
  border-color: var(--amber);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.mobile-menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mobile-menu-button span {
  width: 19px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 10px clamp(18px, 3vw, 50px) 18px;
  background: rgba(17, 18, 20, 0.98);
  border-bottom: 4px solid var(--red);
}

.mobile-site-nav[hidden] {
  display: none;
}

.mobile-site-nav a {
  padding: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.header-phone {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  white-space: nowrap;
}

.icon-button,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.icon-button:hover,
.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.icon-button {
  width: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
}

.primary-button {
  padding: 0 18px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 32px rgba(191, 22, 40, 0.28);
}

.primary-button:hover {
  background: var(--red-dark);
}

.primary-button.compact {
  min-height: 40px;
  padding: 0 14px;
}

.ghost-button {
  padding: 0 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.ghost-button.dark {
  color: var(--ink);
  border-color: rgba(21, 21, 21, 0.18);
  background: #fff;
}

.hero {
  position: relative;
  min-height: 76svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: 28px;
  padding: 118px clamp(18px, 4vw, 54px) 36px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.88), rgba(7, 8, 10, 0.4) 52%, rgba(7, 8, 10, 0.7)),
    url("./assets/catalog/001-linii-dlya-proizvodstva-formovogo-tostovogo-hleba-i-razlichnyh-hlebobu.webp")
      center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.44)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 96px);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
  animation: heroContentIn 240ms var(--ease-out) both 80ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--amber);
}

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

h1 {
  max-width: 790px;
  margin-bottom: 18px;
  font-size: 78px;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 12px;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.08;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-panel {
  position: relative;
  display: grid;
  align-self: end;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 2px solid var(--red);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 32px),
    rgba(7, 8, 10, 0.48);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  border-top: 1px solid var(--amber);
  transform: translate(17px, -17px) rotate(45deg);
  opacity: 0.85;
}

.hero-panel-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel-title i {
  width: 17px;
  height: 17px;
  color: var(--amber);
  stroke-width: 2;
}

.hero-panel-code {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-metrics {
  position: relative;
}

.hero-metrics::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 35px;
  width: 1px;
  background: linear-gradient(var(--red), rgba(255, 255, 255, 0.14));
}

.hero-metric {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 136px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  animation: metricReveal 240ms var(--ease-out) both;
}

.hero-metric:last-child {
  border-bottom: 0;
}

.hero-metric:nth-child(1) {
  animation-delay: 140ms;
}

.hero-metric:nth-child(2) {
  animation-delay: 190ms;
}

.hero-metric:nth-child(3) {
  animation-delay: 240ms;
}

.metric-index {
  position: relative;
  align-self: start;
  padding-top: 5px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 900;
}

.metric-index::after {
  content: "";
  position: absolute;
  top: 29px;
  left: 10px;
  width: 7px;
  height: 7px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(191, 22, 40, 0.16);
  transform: rotate(45deg);
}

.metric-main {
  display: grid;
  gap: 6px;
}

.metric-value {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 44px;
  font-weight: 900;
  line-height: 0.94;
}

.metric-value small {
  color: var(--amber);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-label {
  max-width: 245px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.35;
}

.metric-rule {
  position: relative;
  width: 64px;
  height: 1px;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.24);
}

.metric-rule::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  background: var(--red);
}

section {
  padding: 84px clamp(18px, 4vw, 54px);
}

.reveal-section {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 240ms var(--ease-out),
    transform 240ms var(--ease-out);
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-section:target {
  opacity: 1;
  transform: translateY(0);
}

.section-heading {
  width: 100%;
  max-width: none;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.row-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.row-heading > p {
  max-width: 560px;
}

.directions-section {
  background: var(--bg);
}

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

.direction-card,
.benefit-list article,
.training-card,
.about-points div,
.contact-grid a,
.contact-grid button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.direction-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  padding: 22px;
  box-shadow: 0 8px 28px rgba(42, 36, 28, 0.06);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transform-origin: center;
  will-change: transform;
  transition:
    transform 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    border-color 240ms var(--ease-out);
}

.direction-card:is(:hover, :focus-visible) {
  transform: translateY(-7px) scale(1.03);
  border-color: rgba(191, 22, 40, 0.34);
  box-shadow: 0 22px 52px rgba(16, 18, 20, 0.16);
}

.direction-card .lucide,
.benefit-list .lucide,
.training-console .lucide {
  width: 28px;
  height: 28px;
}

.direction-card .lucide {
  transform-origin: left center;
  transition: transform 240ms var(--ease-out);
}

.direction-card:is(:hover, :focus-visible) .lucide {
  transform: translateY(-3px) scale(1.18);
}

.direction-card h3,
.benefit-list h3,
.training-card h3 {
  font-size: 22px;
}

.direction-card p,
.benefit-list p,
.training-card p {
  color: var(--muted);
  line-height: 1.5;
}

.direction-card > span {
  align-self: end;
  margin-top: auto;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.accent-red .lucide {
  color: var(--red);
}

.accent-green .lucide {
  color: var(--green);
}

.accent-steel .lucide {
  color: var(--steel);
}

.accent-amber .lucide {
  color: var(--amber);
}

.solution-band {
  background: var(--paper);
}

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 24px;
}

.selector,
.recommendation {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(42, 36, 28, 0.08);
}

.selector {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.selector-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: clamp(22px, 3vw, 30px) clamp(20px, 3vw, 32px);
  background: linear-gradient(120deg, rgba(191, 22, 40, 0.07), transparent 58%);
}

.selector-intro-index {
  padding-top: 3px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.selector-intro strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.selector-intro p,
.automation-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.selector-step {
  padding: 22px clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

.selector-step legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.selector-step legend span {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.08em;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.segmented,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented button,
.filter-bar button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.segmented button:hover,
.filter-bar button:hover {
  transform: translateY(-1px);
}

.segmented button.is-active,
.filter-bar button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.range-row {
  display: grid;
  gap: 12px;
}

.range-row span {
  font-size: 28px;
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--red);
}

.capacity-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.capacity-presets button {
  min-height: 32px;
  padding: 0 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.capacity-presets button:hover,
.capacity-presets button:focus-visible {
  transform: translateY(-1px);
  color: var(--ink);
}

.capacity-presets button.is-active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.automation-note {
  margin-top: 12px;
}

.recommendation {
  position: relative;
  display: grid;
  align-content: start;
  gap: 20px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.07), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px),
    var(--charcoal);
  color: #fff;
}

.recommendation::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 106px;
  height: 106px;
  border-top: 1px solid rgba(216, 164, 58, 0.7);
  border-right: 1px solid rgba(216, 164, 58, 0.7);
  opacity: 0.55;
  pointer-events: none;
}

.recommendation.is-updating h3,
.recommendation.is-updating p,
.recommendation.is-updating dd,
.recommendation.is-updating .rec-selection {
  animation: recSwap 220ms var(--ease-out) both;
}

.rec-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.rec-topline > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.rec-code {
  color: var(--amber);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(43, 111, 95, 0.16);
}

.recommendation p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.rec-heading h3 {
  max-width: 520px;
  margin-bottom: 10px;
}

.rec-heading p {
  margin-bottom: 0;
}

.rec-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rec-selection span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 800;
}

.spec-list {
  display: grid;
  gap: 1px;
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(172px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.spec-list dt {
  color: rgba(255, 255, 255, 0.54);
  min-width: 0;
  white-space: nowrap;
}

.spec-list dd {
  margin: 0;
  font-weight: 800;
  min-width: 0;
}

.rec-guidance {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding-top: 2px;
}

.rec-guidance .lucide {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--amber);
}

.rec-guidance p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.45;
}

.recommendation .primary-button {
  width: 100%;
  justify-content: center;
}

.catalog-section {
  background: #ece7dd;
}

.catalog-launch {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.catalog-launch p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.catalog-launch .primary-button {
  width: fit-content;
  margin-top: 8px;
}

.catalog-flow {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(21, 21, 21, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(21, 21, 21, 0.035) 42px 43px);
  box-shadow: 0 22px 54px rgba(21, 21, 21, 0.08);
  overflow: hidden;
}

.catalog-flow::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--red);
}

.catalog-flow-head {
  display: grid;
  gap: 4px;
  padding-left: 6px;
}

.catalog-flow-head span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-flow-head strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.05;
}

.catalog-flow-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-weight: 800;
}

.catalog-flow-search i,
.catalog-flow-note i {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex: 0 0 auto;
}

.catalog-flow-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-flow-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(21, 21, 21, 0.1);
}

.catalog-flow-steps li:last-child {
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
}

.catalog-flow-steps li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: var(--amber);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.catalog-flow-steps strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.catalog-flow-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.catalog-flow-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: rgba(199, 49, 38, 0.08);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.8fr) auto;
  align-items: center;
  gap: 12px;
  margin: -12px 0 24px;
}

.catalog-search,
.catalog-select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
}

.catalog-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.catalog-select {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
}

.catalog-select span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-select select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}

.catalog-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

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

.equipment-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  min-height: 466px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.equipment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(191, 22, 40, 0.26);
  box-shadow: var(--shadow);
}

.equipment-card:hover img {
  transform: scale(1.025);
}

.equipment-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #ddd;
  transition: transform 260ms var(--ease-out);
}

.equipment-card-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}

.equipment-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.equipment-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 6px 9px;
  border-radius: 5px;
  background: #f2eee6;
  color: #3e3e3a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.catalog-empty {
  padding: 28px;
  border: 1px dashed rgba(21, 21, 21, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.catalog-more {
  display: flex;
  width: fit-content;
  margin: 24px auto 0;
}

.process-section {
  background: var(--paper);
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  overflow: visible;
}

.process-preview {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: var(--process-preview-left, 0px);
  width: var(--process-preview-width, 20%);
  background: var(--red);
  transition:
    left var(--process-preview-duration, 260ms) var(--ease-out),
    width var(--process-preview-duration, 260ms) var(--ease-out);
}

.process-preview::after {
  position: absolute;
  z-index: 1;
  bottom: -14px;
  left: 50%;
  width: 28px;
  height: 28px;
  content: "";
  background: var(--red);
  transform: translateX(-50%) rotate(45deg);
}

.process-step {
  display: grid;
  position: relative;
  z-index: 1;
  place-items: center;
  gap: 10px;
  min-height: 124px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.process-step:hover {
  transform: translateY(-1px);
}

.process-step:last-child {
  border-right: 0;
}

.process-step.is-active {
  color: #fff;
}

.process-rail.is-moving .process-step.is-active {
  color: var(--ink);
}

.process-detail {
  display: grid;
  position: relative;
  z-index: 0;
  grid-template-columns: 84px minmax(180px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 150px;
  max-height: 260px;
  padding: 26px;
  border-top: 8px solid var(--red);
  border-radius: 0 0 8px 8px;
  background: var(--charcoal);
  color: #fff;
  overflow: hidden;
  transition:
    min-height 180ms var(--ease-out),
    max-height 180ms var(--ease-out),
    padding 180ms var(--ease-out),
    gap 180ms var(--ease-out),
    opacity 140ms var(--ease-standard);
}

.process-detail.is-collapsing {
  min-height: 0;
  max-height: 8px;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.process-detail.is-updating {
  animation: recSwap 220ms var(--ease-out) both;
}

.process-detail span {
  color: var(--amber);
  font-size: 46px;
  font-weight: 900;
}

.process-detail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.projects-section {
  background: #ded8cb;
}

.project-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.project-card {
  display: grid;
  align-content: start;
  min-height: 238px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 18, 20, 0.12);
}

.project-card.is-active {
  background: var(--green);
  color: #fff;
}

.project-card-body {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 20px;
}

.project-card-top {
  display: grid;
  align-items: flex-start;
  gap: 10px;
  justify-items: start;
  min-width: 0;
}

.project-card .project-place {
  min-width: 0;
  color: var(--red);
  font-weight: 900;
  overflow-wrap: normal;
  text-transform: uppercase;
  word-break: normal;
}

.project-card.is-active .project-place,
.project-card.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.project-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  justify-self: end;
  width: 88px;
  height: 54px;
  padding: 7px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(21, 21, 21, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.project-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-logo.is-text {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.74)),
    var(--project-logo-accent);
}

.project-logo.is-text span {
  color: var(--project-logo-accent);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.project-card:hover .project-logo {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(199, 49, 38, 0.24);
  box-shadow: 0 16px 32px rgba(21, 21, 21, 0.1);
}

.project-card.is-active .project-logo {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.project-card strong {
  font-size: 24px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.project-card small {
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.fermentation-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(239, 234, 224, 0.98)),
    var(--paper);
}

.fermentation-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

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

.benefit-list article {
  min-height: 250px;
  padding: 22px;
}

.fermentation-section .benefit-list article {
  display: grid;
  position: relative;
  align-content: start;
  min-height: 270px;
  padding: 22px 18px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(42, 36, 28, 0.07);
  transform-origin: center;
  transition:
    transform 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    border-color 240ms var(--ease-out);
}

.fermentation-section .benefit-list article::before {
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 4px;
  content: "";
  background: var(--red);
  transform: scaleX(0.34);
  transform-origin: left center;
  transition: transform 240ms var(--ease-out);
}

.fermentation-section .benefit-list article::after {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  content: "";
  border: 1px solid rgba(191, 22, 40, 0.18);
  border-radius: 50%;
}

.fermentation-section .benefit-list article:hover {
  transform: translateY(-7px) scale(1.03);
  border-color: rgba(191, 22, 40, 0.32);
  box-shadow: 0 24px 56px rgba(16, 18, 20, 0.15);
}

.fermentation-section .benefit-list article:hover::before {
  transform: scaleX(1);
}

.fermentation-section .benefit-list .lucide {
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: var(--red);
  transition: transform 240ms var(--ease-out), color 240ms var(--ease-out);
}

.fermentation-section .benefit-list article:nth-child(2) .lucide {
  color: var(--steel);
}

.fermentation-section .benefit-list article:nth-child(3) .lucide {
  color: var(--green);
}

.fermentation-section .benefit-list article:hover .lucide {
  transform: translateY(-3px) scale(1.18);
}

.fermentation-section .benefit-list h3,
.fermentation-section .benefit-list p {
  overflow-wrap: anywhere;
}

.fermentation-console {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 0.95fr) minmax(250px, 1.05fr);
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    var(--charcoal);
  box-shadow: var(--shadow);
  color: #fff;
  overflow: hidden;
}

.fermentation-console > * {
  position: relative;
  z-index: 1;
}

.fermentation-console-head {
  display: flex;
  grid-column: 1 / -1;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.fermentation-console-head span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fermentation-console-head strong {
  max-width: 240px;
  font-size: 24px;
  line-height: 1.08;
  text-align: right;
}

.fermentation-cycle {
  display: grid;
  position: relative;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fermentation-cycle::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 21px;
  width: 2px;
  content: "";
  background: rgba(216, 164, 58, 0.42);
}

.fermentation-cycle li {
  display: grid;
  position: relative;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 9px 0;
}

.fermentation-cycle li > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(191, 22, 40, 0.24);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.fermentation-cycle li:hover > span {
  transform: scale(1.12);
  box-shadow: 0 18px 34px rgba(191, 22, 40, 0.34);
}

.fermentation-cycle strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  line-height: 1.2;
}

.fermentation-cycle p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.42;
}

.fermentation-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.fermentation-types div {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-height: 120px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  transition:
    transform 220ms var(--ease-out),
    background-color 220ms var(--ease-out),
    border-color 220ms var(--ease-out);
}

.fermentation-types div:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 164, 58, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.fermentation-types dt {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fermentation-types dd {
  display: grid;
  gap: 3px;
  margin: 0;
}

.fermentation-types dd strong {
  color: var(--amber);
  font-size: 38px;
  line-height: 0.95;
}

.fermentation-types dd span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.25;
}

.service-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--charcoal);
  color: #fff;
}

.service-section > div:first-child {
  max-width: 720px;
}

.service-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(22px, 4vw, 56px);
  background: #ece7dd;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.about-points {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  background: rgba(21, 21, 21, 0.1);
}

.about-points div {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 0;
  border-radius: 0;
}

.about-points strong {
  font-size: 19px;
}

.about-points span {
  color: var(--muted);
  line-height: 1.5;
}

.training-section {
  background:
    linear-gradient(180deg, rgba(244, 241, 235, 0.98), rgba(232, 226, 216, 0.98)),
    var(--bg);
}

.training-section h2 {
  line-height: 1.06;
}

.video-section,
.news-section {
  padding: 88px clamp(18px, 4vw, 64px);
  background: var(--paper);
}

.video-section {
  background: var(--charcoal);
  color: #fff;
}

.video-section .section-heading > p,
.video-section .row-heading > p {
  color: rgba(255, 255, 255, 0.68);
}

.release-video {
  width: 100%;
  max-height: 720px;
  display: block;
  background: #0e0f10;
  object-fit: contain;
}

.training-card h3 a,
.news-card h3 a {
  color: inherit;
}

.training-card h3 a:hover,
.training-card h3 a:focus-visible,
.news-card h3 a:hover,
.news-card h3 a:focus-visible {
  color: var(--red);
}

.material-date {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.training-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.36fr);
  gap: 18px;
  align-items: stretch;
}

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

.training-card {
  display: grid;
  position: relative;
  align-content: start;
  gap: 12px;
  min-height: 292px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(42, 36, 28, 0.07);
  transform-origin: center;
  transition:
    transform 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    border-color 240ms var(--ease-out);
}

.training-card::before {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  content: "";
  background: var(--red);
  transform: scaleX(0.34);
  transform-origin: left center;
  transition: transform 240ms var(--ease-out);
}

.training-card:hover,
.training-card:focus-within {
  transform: translateY(-7px) scale(1.025);
  border-color: rgba(191, 22, 40, 0.32);
  box-shadow: 0 24px 56px rgba(16, 18, 20, 0.15);
}

.training-card:hover::before,
.training-card:focus-within::before {
  transform: scaleX(1);
}

.training-index {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border: 1px solid rgba(191, 22, 40, 0.2);
  border-radius: 8px;
  color: var(--red);
  font-size: 16px;
  font-weight: 900;
}

.training-card h3 {
  max-width: 92%;
  margin: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.training-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

.material-kind {
  align-self: end;
  justify-self: start;
  margin-top: auto;
  padding-top: 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.training-console {
  display: grid;
  align-content: stretch;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow);
}

.training-console-head {
  display: grid;
  gap: 18px;
  align-content: start;
}

.training-console-head .lucide {
  width: 34px;
  height: 34px;
  color: var(--amber);
}

.training-console-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.training-console-head strong {
  display: block;
  font-size: 26px;
  line-height: 1.08;
}

.training-summary {
  display: grid;
  gap: 8px;
  margin: 0;
}

.training-summary div {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.training-summary dt {
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 900;
}

.training-summary dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  line-height: 1.28;
}

.training-console .primary-button {
  align-self: end;
  width: 100%;
  justify-content: center;
}

.news-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(238, 233, 224, 0.98)),
    var(--paper);
}

.news-section h2 {
  line-height: 1.06;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.36fr);
  gap: 18px;
  align-items: stretch;
}

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

.news-card {
  display: grid;
  position: relative;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 420px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(42, 36, 28, 0.07);
  overflow: hidden;
  transform-origin: center;
  transition:
    transform 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    border-color 240ms var(--ease-out);
}

.news-card::before {
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 4px;
  content: "";
  background: var(--red);
  transform: scaleX(0.34);
  transform-origin: left center;
  transition: transform 240ms var(--ease-out);
}

.news-card:hover,
.news-card:focus-within {
  transform: translateY(-7px) scale(1.025);
  border-color: rgba(191, 22, 40, 0.32);
  box-shadow: 0 24px 56px rgba(16, 18, 20, 0.15);
}

.news-card:hover::before,
.news-card:focus-within::before {
  transform: scaleX(1);
}

.news-media {
  margin: 16px 0 2px;
  border-radius: 8px;
  background: #ede8de;
  overflow: hidden;
}

.news-media img {
  width: 100%;
  aspect-ratio: 1.22;
  display: block;
  object-fit: cover;
}

.news-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(191, 22, 40, 0.2);
  border-radius: 8px;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.news-card h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.news-kind {
  align-self: end;
  justify-self: start;
  margin-top: auto;
  padding-top: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-console {
  display: grid;
  align-content: stretch;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow);
}

.news-console-head {
  display: grid;
  gap: 18px;
  align-content: start;
}

.news-console-head .lucide {
  width: 34px;
  height: 34px;
  color: var(--amber);
}

.news-console-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-console-head strong {
  display: block;
  font-size: 26px;
  line-height: 1.08;
}

.news-summary {
  display: grid;
  gap: 8px;
  margin: 0;
}

.news-summary div {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.news-summary dt {
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 900;
}

.news-summary dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  line-height: 1.28;
}

.news-console .primary-button {
  align-self: end;
  width: 100%;
  justify-content: center;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.contacts-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(24px, 4vw, 56px);
  background: var(--charcoal);
  color: #fff;
}

.contacts-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

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

.contact-grid a,
.contact-grid button {
  display: grid;
  gap: 10px;
  min-height: 146px;
  padding: 20px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-grid a:hover,
.contact-grid button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.contact-grid .lucide {
  color: var(--red);
}

.contact-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-grid strong {
  font-size: 18px;
  line-height: 1.25;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 54px);
  background: #151515;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logo {
  display: block;
  width: 116px;
  height: auto;
  padding: 4px 8px;
  background: #fff;
}

.site-footer a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

dialog {
  width: min(720px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
}

dialog[open] {
  animation: modalIn 180ms var(--ease-out) both;
}

dialog[open]::backdrop {
  animation: backdropIn 180ms ease both;
}

dialog.is-closing {
  animation: modalOut 140ms var(--ease-standard) both;
}

dialog.is-closing::backdrop {
  animation: backdropOut 140ms ease both;
}

.catalog-dialog {
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 28px;
  overflow: auto;
  background: #ece7dd;
  transform-origin: var(--catalog-origin-x, 50%) var(--catalog-origin-y, 44%);
}

.catalog-dialog[open].is-opening {
  animation: catalogModalFromTrigger 360ms var(--ease-out) both;
}

.catalog-dialog[open].is-opening::backdrop {
  animation: catalogBackdropIn 280ms ease both;
}

.catalog-dialog.is-closing {
  animation: catalogModalOut 150ms var(--ease-standard) both;
}

.catalog-dialog.is-closing::backdrop {
  animation: catalogBackdropOut 150ms ease both;
}

.catalog-dialog-header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: end;
  padding-right: 54px;
  margin-bottom: 24px;
}

.catalog-dialog-header h2 {
  max-width: 720px;
  font-size: 64px;
}

.catalog-dialog-header p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.55;
}

.catalog-dialog .filter-bar {
  justify-content: flex-end;
}

.catalog-dialog .catalog-tools {
  margin-top: 0;
}

.details-dialog,
.project-dialog,
.direction-dialog,
.request-dialog {
  padding: 26px;
}

.project-dialog {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  overflow: auto;
}

.details-dialog {
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  overflow: auto;
}

.product-dialog-layout,
.project-dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: start;
  min-width: 0;
}

.product-dialog-layout > *,
.project-dialog-layout > *,
.dialog-gallery {
  min-width: 0;
}

.dialog-gallery-image,
.project-dialog-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 390px;
  object-fit: contain;
  border-radius: 6px;
  background: #f2eee6;
}

.project-dialog-image {
  height: 340px;
}

.dialog-thumbnails {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.dialog-thumbnails:empty {
  display: none;
}

.dialog-thumbnails button {
  flex: 0 0 72px;
  width: 72px;
  height: 58px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.dialog-thumbnails button.is-active {
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.dialog-thumbnails img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-dialog-summary {
  padding-right: 44px;
}

.product-dialog-summary h2,
.project-dialog h2 {
  font-size: 42px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.dialog-lead {
  margin: 14px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.product-rich-content,
.project-facts {
  margin-top: 28px;
}

.product-rich-content > section,
.project-facts > section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.product-rich-content h3,
.project-facts h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
}

.project-facts > section[hidden] {
  display: none;
}

.rich-copy {
  display: grid;
  gap: 12px;
}

.rich-copy p,
.detail-sections p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.detail-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 24px;
}

.detail-sections article {
  padding-top: 14px;
  border-top: 3px solid var(--ink);
}

.detail-sections h4 {
  margin-bottom: 9px;
  font-size: 18px;
}

.detail-sections h4 > span[lang="en"] {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 650;
  line-height: 1.3;
}

.detail-sections p[lang="en"] {
  font-size: 0.94em;
}

.detail-sections p + p {
  margin-top: 9px;
}

.technical-specs {
  margin: 0;
}

.technical-specs div {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.technical-specs dt {
  color: var(--muted);
}

.technical-specs dd {
  margin: 0;
  font-weight: 750;
}

.document-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.document-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.document-list a > span,
.document-list a small {
  display: block;
}

.document-list a small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 650;
}

.document-list svg {
  width: 18px;
  height: 18px;
}

.project-dialog p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.direction-dialog p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.direction-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.direction-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.direction-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.fact-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.direction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.details-dialog .spec-list div,
.dialog-specs div {
  border-color: var(--line);
}

.details-dialog .spec-list dt,
.dialog-specs dt {
  color: var(--muted);
}

.close-dialog {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.request-context {
  display: grid;
  gap: 4px;
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.request-context[hidden] {
  display: none;
}

.request-context span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.request-context strong {
  line-height: 1.35;
}

.request-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  overflow: auto;
}

.request-dialog h2 {
  padding-right: 44px;
  font-size: 44px;
  line-height: 1.05;
}

.contact-dialog[open].is-contact-opening {
  animation: contactModalIn 240ms var(--ease-out) both;
}

.contact-intro {
  max-width: 65ch;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-specification {
  margin-top: 20px;
  border-top: 2px solid var(--ink);
}

.contact-specification-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0 12px;
}

.contact-specification-heading h3 {
  font-size: 20px;
}

.contact-specification-heading span {
  color: #237a57;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-specification-list {
  margin: 0;
}

.contact-specification-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.contact-specification-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.contact-specification-list dd {
  margin: 0;
  font-weight: 800;
  line-height: 1.4;
}

.contact-actions,
.contact-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.contact-actions > *,
.contact-tools > * {
  min-height: 48px;
  justify-content: center;
  text-align: center;
}

.contact-tools {
  margin-top: 10px;
}

.contact-tools button {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.contact-tools button:hover,
.contact-tools button:focus-visible {
  border-color: var(--ink);
  background: #f2eee6;
}

.contact-status {
  min-height: 1.4em;
  margin-top: 12px;
  color: #155139;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.contact-status:empty {
  margin-top: 0;
}

.contact-privacy-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contact-privacy-note a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

.lucide {
  width: 19px;
  height: 19px;
  stroke-width: 2.1;
}

@keyframes contactModalIn {
  from {
    opacity: 0.2;
    transform: translateY(14px) scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes metricReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes recSwap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

@keyframes catalogModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes catalogModalFromTrigger {
  from {
    opacity: 0.16;
    transform: scale(0.12);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes catalogButtonLaunch {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

.is-catalog-launching {
  animation: catalogButtonLaunch 260ms var(--ease-out) both;
}

@keyframes catalogModalOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
}

@keyframes catalogBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes catalogBackdropOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes backdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes backdropOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

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

  .reveal-section,
  .equipment-card:hover,
  .project-card:hover,
  .direction-card:is(:hover, :focus-visible),
  .training-card:hover,
  .training-card:focus-within,
  .news-card:hover,
  .news-card:focus-within,
  .fermentation-section .benefit-list article:hover,
  .fermentation-cycle li:hover > span,
  .fermentation-types div:hover,
  .process-step:hover,
  .icon-button:hover,
  .primary-button:hover,
  .ghost-button:hover {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1240px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 44px;
  }

  .hero,
  .solution-grid,
  .catalog-launch,
  .service-section,
  .fermentation-layout,
  .training-layout,
  .news-layout,
  .about-section,
  .contacts-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics::before {
    display: none;
  }

  .hero-metric {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 10px;
    min-height: 170px;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
  }

  .hero-metric:last-child {
    border-right: 0;
  }

  .metric-index {
    color: var(--amber);
  }

  .metric-index::after {
    display: none;
  }

  .equipment-grid,
  .project-board,
  .direction-grid,
  .benefit-list,
  .training-feed,
  .news-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .catalog-count {
    white-space: normal;
  }

  .catalog-dialog-header {
    grid-template-columns: 1fr;
  }

  .catalog-dialog .filter-bar {
    justify-content: flex-start;
  }

  .fermentation-section .benefit-list article {
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 7px 14px;
  }

  .header-phone,
  .header-actions .icon-button {
    display: none;
  }

  .brand-logo {
    width: 98px;
  }

  .hero {
    min-height: 86svh;
    padding: 104px 16px 26px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.04;
  }

  h2 {
    font-size: 34px;
  }

  .catalog-dialog-header h2 {
    font-size: 36px;
  }

  .product-dialog-summary h2,
  .project-dialog h2,
  .request-dialog h2 {
    font-size: 30px;
  }

  .request-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 22px 18px;
  }

  .contact-specification-heading {
    display: grid;
    gap: 5px;
  }

  .contact-specification-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-actions,
  .contact-tools {
    grid-template-columns: 1fr;
  }

  .contact-actions > *,
  .contact-tools > * {
    min-height: 48px;
  }

  .catalog-flow {
    padding: 18px;
  }

  .catalog-flow-head strong {
    font-size: 24px;
  }

  .catalog-flow-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .catalog-flow-steps li > span {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .fermentation-console {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .fermentation-console-head {
    display: grid;
  }

  .fermentation-console-head strong {
    max-width: none;
    text-align: left;
  }

  .fermentation-cycle li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .fermentation-cycle li > span {
    width: 40px;
    height: 40px;
  }

  .fermentation-cycle::before {
    left: 19px;
  }

  .fermentation-types {
    grid-template-columns: 1fr;
  }

  .project-card-body {
    padding: 18px;
  }

  .project-logo {
    width: 74px;
    height: 48px;
    padding: 6px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .primary-button,
  .hero-actions .ghost-button {
    width: 100%;
  }

  .hero-panel,
  .equipment-grid,
  .project-board,
  .direction-grid,
  .benefit-list,
  .training-feed,
  .news-feed,
  .contact-grid,
  .process-rail,
  .process-detail {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-panel-header {
    min-height: 56px;
    padding: 0 16px;
  }

  .hero-metric {
    grid-template-columns: 28px minmax(0, 1fr);
    align-content: center;
    gap: 14px;
    min-height: 124px;
    padding: 18px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-metric:last-child {
    border-bottom: 0;
  }

  .metric-value {
    font-size: 38px;
  }

  section {
    padding: 58px 16px;
  }

  .row-heading {
    display: grid;
  }

  .solution-grid {
    gap: 16px;
  }

  .catalog-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
    padding: 18px;
  }

  .details-dialog,
  .project-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
    padding: 18px;
  }

  .product-dialog-layout,
  .project-dialog-layout,
  .detail-sections,
  .project-facts {
    grid-template-columns: 1fr;
  }

  .product-dialog-summary {
    padding-right: 38px;
  }

  .dialog-gallery-image,
  .project-dialog-image {
    height: min(300px, 72vw);
  }

  .technical-specs div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .catalog-dialog-header {
    padding-right: 48px;
  }

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

  .process-step {
    min-height: 76px;
    grid-template-columns: 28px 1fr;
    justify-items: start;
    padding: 0 18px;
  }

  .process-step.is-active {
    box-shadow: none;
    background: var(--red);
  }

  .process-preview {
    display: none;
  }

  .process-detail {
    gap: 10px;
    border-top-width: 4px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .service-section {
    display: grid;
  }

  .direction-card,
  .benefit-list article,
  .training-card {
    min-height: 0;
  }

  .site-footer {
    display: grid;
  }

  .mobile-site-nav {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 68px);
    padding: 8px 14px 14px;
    overflow-y: auto;
  }

  .mobile-site-nav a {
    padding: 12px;
  }
}
