:root {
  --cf-red: #c5242d;
  --cf-red-dark: #9e1d24;
  --cf-red-soft: #f7e9ea;
  --ink: #171918;
  --ink-soft: #3f4441;
  --muted: #6f7471;
  --line: #dfe2df;
  --line-strong: #cfd3cf;
  --surface: #ffffff;
  --surface-soft: #f5f6f4;
  --surface-muted: #eef0ed;
  --surface-warm: #faf9f7;
  --header-h: 86px;
  --radius: 2px;
  --shadow-sm: 0 8px 24px rgba(20, 24, 21, 0.06);
  --shadow-md: 0 20px 54px rgba(20, 24, 21, 0.10);
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

::selection {
  background: var(--cf-red);
  color: #fff;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cf-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-title {
  max-width: 880px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 730px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.text-link,
.inline-link {
  position: relative;
  color: var(--ink);
  font-weight: 700;
}

.text-link::after,
.inline-link::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: var(--cf-red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.text-link:hover::after,
.inline-link:hover::after {
  transform: scaleX(1);
}

/* ========================= HEADER ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .97);
  border-top: 4px solid var(--cf-red);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 8px 28px rgba(20, 24, 21, .08);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(170px, 240px) 1fr auto;
  align-items: center;
  gap: 28px;
  height: calc(var(--header-h) - 4px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 206px;
  max-width: 100%;
}

.brand img {
  width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
}

.main-nav a {
  position: relative;
  padding: 29px 0 27px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--cf-red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: #fff;
  background: var(--cf-red);
  border: 1px solid var(--cf-red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.header-cta:hover {
  background: var(--cf-red-dark);
  border-color: var(--cf-red-dark);
  transform: translateY(-1px);
}

.lang-switcher {
  position: relative;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.lang-current:hover,
.lang-switcher.open .lang-current {
  border-color: var(--line);
  background: var(--surface-soft);
}

.lang-arrow {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.lang-switcher.open .lang-arrow {
  transform: translateY(2px) rotate(225deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 25;
  width: 170px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 11px 12px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.lang-option:hover,
.lang-option.active {
  color: var(--cf-red);
  background: var(--surface-soft);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

/* ========================= HERO ========================= */
.hero {
  position: relative;
  min-height: min(720px, calc(100vh - var(--header-h)));
  overflow: hidden;
  background: #d9dbd8;
}

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

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  transition: transform 7s linear;
}

.hero-slide.active img {
  transform: scale(1.045);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.76) 28%, rgba(255,255,255,.18) 59%, rgba(255,255,255,.03) 100%),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.16));
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: min(720px, calc(100vh - var(--header-h)));
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-copy {
  width: min(690px, 62vw);
  padding: 36px 42px 38px 0;
}

.hero-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--cf-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 5.7vw, 82px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.045em;
}

.hero-subline {
  max-width: 630px;
  margin: 28px 0 0;
  color: #353a37;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

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

.btn-primary,
.btn-secondary,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.btn-primary {
  color: #fff;
  background: var(--cf-red);
  border-color: var(--cf-red);
}

.btn-primary:hover {
  background: var(--cf-red-dark);
  border-color: var(--cf-red-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255,255,255,.72);
  border-color: rgba(23,25,24,.34);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--ink);
  transform: translateY(-1px);
}

.hero-controls {
  position: absolute;
  right: 32px;
  bottom: 30px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  background: rgba(255,255,255,.91);
  border: 1px solid rgba(255,255,255,.9);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
  transition: background .2s ease, color .2s ease;
}

.hero-arrow:hover {
  color: #fff;
  background: var(--cf-red);
}

.hero-dots {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255,255,255,.91);
}

.hero-dot {
  width: 22px;
  height: 3px;
  padding: 0;
  background: #a9adaa;
  border: 0;
  cursor: pointer;
  transition: width .22s ease, background .22s ease;
}

.hero-dot.active {
  width: 38px;
  background: var(--cf-red);
}

/* ========================= QUICK PATHS ========================= */
.quick-paths {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-link {
  position: relative;
  min-height: 150px;
  padding: 28px 58px 26px 30px;
  border-right: 1px solid var(--line);
  transition: background .22s ease;
}

.quick-link:first-child {
  border-left: 1px solid var(--line);
}

.quick-link:hover {
  background: var(--surface-soft);
}

.quick-link small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quick-link strong {
  display: block;
  max-width: 290px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
}

.quick-link::after {
  position: absolute;
  top: 50%;
  right: 28px;
  color: var(--cf-red);
  content: "→";
  font-size: 24px;
  transform: translateY(-50%);
  transition: transform .2s ease;
}

.quick-link:hover::after {
  transform: translate(5px, -50%);
}

/* ========================= COMPANY ========================= */
.company-section {
  padding: 120px 0 128px;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  gap: 90px;
  align-items: start;
}

.company-copy .section-title {
  max-width: 760px;
}

.company-prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 44px;
  margin-top: 48px;
}

.company-prose p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.company-prose p:first-child {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.7;
}

.company-visual {
  position: sticky;
  top: calc(var(--header-h) + 34px);
}

.company-image {
  position: relative;
  aspect-ratio: 4 / 4.55;
  overflow: hidden;
  background: var(--surface-muted);
}

.company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-image::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(0,0,0,.46));
  content: "";
}

.company-image-caption {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  z-index: 2;
  color: #fff;
}

.company-image-caption strong {
  display: block;
  max-width: 320px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.company-image-caption small {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-item {
  min-height: 118px;
  padding: 22px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--cf-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.process-item p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
}

/* ========================= SOLUTIONS ========================= */
.solutions-section {
  padding: 112px 0 124px;
  background: var(--surface-soft);
}

.section-head-row {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 500px);
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head-row .section-intro {
  margin: 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.solution-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  padding: 0;
  background: #d9dbd8;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.solution-card img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}

.solution-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.03) 22%, rgba(0,0,0,.80) 100%);
  content: "";
}

.solution-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 32px 34px;
  color: #fff;
}

.solution-card-number {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,255,255,.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.solution-card h3 {
  margin: 0;
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.solution-card p {
  max-width: 500px;
  margin: 15px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.6;
}

.solution-card .card-arrow {
  display: grid;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: #fff;
  font-size: 21px;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.solution-card:hover img {
  transform: scale(1.035);
}

.solution-card:hover .card-arrow {
  color: #fff;
  background: var(--cf-red);
  transform: translateX(3px);
}

/* ========================= MODAL ========================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(20, 23, 21, .48);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.solutions-modal {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1210;
  width: min(760px, 92vw);
  height: 100vh;
  overflow-y: auto;
  background: #fff;
  box-shadow: -28px 0 70px rgba(20,24,21,.16);
  visibility: hidden;
  transform: translateX(103%);
  transition: transform .38s cubic-bezier(.22,.8,.25,1), visibility .38s;
}

.solutions-modal.active {
  visibility: visible;
  transform: translateX(0);
}

.modal-close {
  display: grid;
  position: sticky;
  top: 22px;
  z-index: 4;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 22px 22px 0 auto;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  transition: color .2s ease, background .2s ease;
}

.modal-close:hover {
  color: #fff;
  background: var(--cf-red);
  border-color: var(--cf-red);
}

.modal-content {
  padding: 46px 70px 78px;
}

.modal-panel {
  display: none;
}

.modal-panel.active {
  display: block;
  animation: modalPanelIn .3s ease both;
}

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

.modal-panel .eyebrow {
  margin-bottom: 24px;
}

.modal-panel h3 {
  margin: 0;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}

.modal-panel .modal-lead {
  margin: 30px 0 34px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
}

.modal-panel p:not(.modal-lead) {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

/* ========================= SUPPLY ========================= */
.supply-section {
  padding: 120px 0 126px;
}

.supply-list {
  margin-top: 56px;
  border-top: 1px solid var(--line-strong);
}

.supply-row {
  display: grid;
  grid-template-columns: 86px minmax(220px, .84fr) minmax(360px, 1.16fr) 190px;
  gap: 28px;
  align-items: center;
  min-height: 190px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
  transition: background .22s ease;
}

.supply-row:hover {
  background: linear-gradient(90deg, transparent, var(--surface-soft) 10%, var(--surface-soft) 90%, transparent);
}

.supply-index {
  align-self: start;
  padding-top: 8px;
  color: var(--cf-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.supply-row h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.supply-description p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.supply-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.supply-tags span {
  padding: 6px 9px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.supply-thumb {
  width: 190px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  justify-self: end;
  background: var(--surface-muted);
}

.supply-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.supply-row:hover .supply-thumb img {
  transform: scale(1.045);
}

/* ========================= IMAGE BAND ========================= */
.image-band {
  display: grid;
  grid-template-columns: 1.3fr .9fr .9fr;
  min-height: 400px;
  background: var(--surface-muted);
}

.image-band figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.image-band img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  transition: transform .55s ease;
}

.image-band figure:hover img {
  transform: scale(1.03);
}

.image-band figure + figure {
  border-left: 4px solid #fff;
}

/* ========================= CONTACT ========================= */
.contact-section {
  padding: 118px 0 126px;
  background: var(--surface-soft);
}

.contact-shell {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-info {
  padding: 56px 56px 52px;
  border-right: 1px solid var(--line);
}

.contact-info h2 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.contact-lead {
  margin: 28px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
}

.contact-text {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.contact-points {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.contact-point {
  position: relative;
  padding: 16px 0 16px 26px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.contact-point::before {
  position: absolute;
  top: 22px;
  left: 2px;
  width: 8px;
  height: 8px;
  background: var(--cf-red);
  content: "";
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 26px;
  margin-top: 40px;
}

.contact-detail-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-detail-block p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.contact-detail-block a:hover {
  color: var(--cf-red);
}

.contact-form-panel {
  padding: 56px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid #9ea39f;
  border-radius: 0;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group textarea {
  min-height: 144px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cf-red);
  box-shadow: 0 1px 0 var(--cf-red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a2a6a3;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.contact-submit-btn {
  min-height: 50px;
  padding: 0 26px;
  color: #fff;
  background: var(--cf-red);
  border: 1px solid var(--cf-red);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background .22s ease, transform .22s ease;
}

.contact-submit-btn:hover {
  background: var(--cf-red-dark);
  transform: translateY(-1px);
}

.contact-response-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.contact-privacy-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.contact-privacy-note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--cf-red);
  text-underline-offset: 3px;
}

/* ========================= FOOTER ========================= */
.site-footer {
  background: #252825;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 54px;
  padding-top: 62px;
  padding-bottom: 56px;
}

.footer-brand img {
  width: 198px;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.footer-brand p {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 14px;
  line-height: 1.7;
}

.footer-column strong {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin: 10px 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.5);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,.64);
  font-size: 12px;
}

.footer-links a:hover {
  color: #fff;
}

/* ========================= LEGAL PAGES ========================= */
.legal-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--surface-muted);
}

.legal-hero-media {
  position: absolute;
  inset: 0 0 0 46%;
}

.legal-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legal-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #f7f8f6 0%, #f7f8f6 45%, rgba(247,248,246,.76) 54%, rgba(247,248,246,.02) 82%);
  content: "";
}

.legal-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.legal-hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}

.legal-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.legal-content-section {
  padding: 84px 0 112px;
}

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

.legal-article {
  min-width: 0;
}

.legal-article > .eyebrow {
  margin-bottom: 30px;
}

.legal-block {
  padding: 0 0 42px;
  margin: 0 0 42px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h2,
.legal-block h3 {
  margin: 0 0 20px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.legal-block h2 {
  font-size: clamp(27px, 2.7vw, 38px);
}

.legal-block h3 {
  font-size: 25px;
}

.legal-block p,
.legal-block li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.legal-block p {
  margin: 0 0 16px;
}

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

.legal-block a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--cf-red);
  text-underline-offset: 3px;
}

.legal-block ul {
  padding-left: 20px;
  margin: 18px 0;
}

.legal-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 26px;
  background: var(--surface-soft);
  border-top: 3px solid var(--cf-red);
}

.legal-aside .eyebrow {
  margin-bottom: 20px;
}

.legal-meta-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.legal-meta-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.legal-meta-item p,
.legal-meta-item a {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--cf-red);
  font-size: 13px;
  font-weight: 700;
}

.legal-back-link::before {
  content: "←";
}

.legal-mini-nav {
  display: grid;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.legal-mini-nav a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  transition: color .18s ease, padding-left .18s ease;
}

.legal-mini-nav a span {
  color: #a0a5a1;
  font-size: 10px;
}

.legal-mini-nav a:hover,
.legal-mini-nav a.is-active {
  padding-left: 5px;
  color: var(--cf-red);
}

.legal-mini-nav a.is-active span {
  color: var(--cf-red);
}

.legal-summary {
  padding: 90px 0 100px;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

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

.legal-summary-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.legal-summary-code {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.legal-summary-card {
  min-height: 230px;
  padding: 30px;
  background: #fff;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.legal-summary-card h3 {
  margin: 0 0 18px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
}

.legal-summary-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ========================= REVEAL ========================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s ease, transform .62s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 185px 1fr auto;
    gap: 20px;
  }

  .main-nav {
    gap: 22px;
  }

  .header-cta {
    display: none;
  }

  .company-layout {
    gap: 52px;
  }

  .supply-row {
    grid-template-columns: 60px minmax(220px, .8fr) minmax(320px, 1.2fr) 150px;
  }

  .supply-thumb {
    width: 150px;
  }

  .contact-info,
  .contact-form-panel {
    padding: 44px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 76px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .site-header {
    height: var(--header-h);
    backdrop-filter: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
    height: calc(var(--header-h) - 4px);
  }

  .brand {
    width: 174px;
  }

  .brand img {
    height: 46px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 999;
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 34px 20px 60px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }

  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 20px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 24px;
    font-weight: 500;
  }

  .main-nav a::after {
    display: none;
  }

  .header-actions {
    order: 2;
  }

  .lang-current {
    min-height: 42px;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.74) 55%, rgba(255,255,255,.10) 100%);
  }

  .hero-copy {
    width: min(680px, 86vw);
    padding-right: 0;
  }

  .hero-controls {
    right: 20px;
    bottom: 20px;
  }

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

  .quick-link {
    min-height: 100px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .company-section,
  .solutions-section,
  .supply-section,
  .contact-section {
    padding-top: 88px;
    padding-bottom: 94px;
  }

  .company-layout,
  .section-head-row,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .company-visual {
    position: static;
  }

  .company-image {
    aspect-ratio: 16 / 10;
  }

  .company-prose {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head-row {
    gap: 26px;
  }

  .solution-card,
  .solution-card img {
    min-height: 410px;
  }

  .supply-row {
    grid-template-columns: 52px 1fr 150px;
    gap: 20px;
  }

  .supply-description {
    grid-column: 2 / 3;
  }

  .supply-thumb {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .image-band {
    min-height: 320px;
  }

  .image-band img {
    min-height: 320px;
  }

  .contact-info {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-hero-media {
    inset: 0 0 0 54%;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .legal-aside {
    position: static;
    order: -1;
  }

  .legal-mini-nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .legal-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    width: 146px;
  }

  .header-inner {
    gap: 8px;
  }

  .lang-current {
    padding: 0 8px;
    font-size: 12px;
  }

  .lang-menu {
    right: -56px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero,
  .hero-inner {
    min-height: 640px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.84) 55%, rgba(255,255,255,.96) 100%),
      linear-gradient(90deg, rgba(255,255,255,.65), rgba(255,255,255,.08));
  }

  .hero-inner {
    align-items: flex-end;
    padding-bottom: 96px;
  }

  .hero-copy {
    width: 100%;
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero-subline {
    font-size: 17px;
  }

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-controls {
    right: 14px;
    bottom: 14px;
  }

  .hero-dots {
    display: none;
  }

  .quick-link {
    padding-left: 22px;
  }

  .section-title {
    font-size: clamp(34px, 11vw, 48px);
  }

  .company-prose {
    margin-top: 34px;
  }

  .company-image {
    aspect-ratio: 4 / 4.7;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .section-head-row {
    margin-bottom: 34px;
  }

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

  .solution-card,
  .solution-card img {
    min-height: 390px;
  }

  .solution-card-content {
    padding: 26px 24px;
  }

  .modal-content {
    padding: 30px 26px 64px;
  }

  .supply-list {
    margin-top: 36px;
  }

  .supply-row {
    grid-template-columns: 40px 1fr;
    padding: 26px 0 30px;
  }

  .supply-description,
  .supply-thumb {
    grid-column: 2;
  }

  .supply-thumb {
    grid-row: auto;
    width: 100%;
    margin-top: 4px;
    justify-self: stretch;
  }

  .image-band {
    grid-template-columns: 1fr;
  }

  .image-band figure + figure {
    border-top: 4px solid #fff;
    border-left: 0;
  }

  .image-band img {
    min-height: 250px;
  }

  .contact-info,
  .contact-form-panel {
    padding: 34px 24px;
  }

  .contact-details,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.full,
  .form-actions,
  .contact-privacy-note {
    grid-column: 1;
  }

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

  .contact-submit-btn {
    width: 100%;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .legal-hero {
    min-height: 440px;
  }

  .legal-hero-media {
    inset: 0;
  }

  .legal-hero::after {
    background: linear-gradient(180deg, rgba(247,248,246,.35), rgba(247,248,246,.93) 66%, #f7f8f6 100%);
  }

  .legal-hero-inner {
    justify-content: flex-end;
    min-height: 440px;
    padding-bottom: 42px;
  }

  .legal-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .legal-hero p {
    font-size: 16px;
  }

  .legal-content-section,
  .legal-summary {
    padding-top: 66px;
    padding-bottom: 74px;
  }

  .legal-mini-nav {
    grid-template-columns: 1fr;
  }

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

  .legal-summary-grid {
    grid-template-columns: 1fr;
  }
}

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

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

  .hero-slide img {
    transform: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   C&F — SUBTLE BACKGROUND TYPOGRAPHY + SECTION ACCENTS
   ========================================================= */


/* ---------------------------------------------------------
   1. Общая подготовка секций
   --------------------------------------------------------- */

.solutions-section,
.supply-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Весь настоящий контент всегда находится над фоновым текстом */
.solutions-section > .container,
.supply-section > .container {
  position: relative;
  z-index: 2;
}


/* ---------------------------------------------------------
   2. КРУПНАЯ ФОНОВАЯ ТИПОГРАФИКА
   --------------------------------------------------------- */

.solutions-section::before,
.supply-section::before {
  position: absolute;
  z-index: 0;

  pointer-events: none;
  user-select: none;

  white-space: nowrap;

  color: rgba(24, 31, 36, 0.038);

  font-size: clamp(120px, 16vw, 270px);
  font-weight: 700;
  line-height: 0.8;

  letter-spacing: -0.075em;

  text-transform: uppercase;
}


/* SOLUTIONS */
.solutions-section::before {
  content: "SOLUTIONS";

  top: 58px;
  right: -1.8vw;
}


/* SUPPLY */
.supply-section::before {
  content: "CASTING / FORGING";

  top: 62px;
  left: 38%;

  transform: translateX(-10%);
}


/* ---------------------------------------------------------
   3. МАЛЕНЬКИЕ КРАСНЫЕ НОМЕРА СЕКЦИЙ
   --------------------------------------------------------- */

.company-copy,
.solutions-section .section-head-row,
.supply-section .section-head-row {
  position: relative;
}


/* одинаковый стиль */
.company-copy::before,
.solutions-section .section-head-row::before,
.supply-section .section-head-row::before {
  position: absolute;

  top: -42px;
  left: 0;

  width: 38px;

  padding-top: 8px;

  color: var(--cf-red);

  border-top: 1px solid var(--cf-red);

  font-size: 10px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: 0.16em;

  pointer-events: none;
}


/* номера */
.company-copy::before {
  content: "01";
}

.solutions-section .section-head-row::before {
  content: "02";
}

.supply-section .section-head-row::before {
  content: "03";
}


/* ---------------------------------------------------------
   4. ДОПОЛНИТЕЛЬНЫЙ ОЧЕНЬ ТОНКИЙ КРАСНЫЙ ШТРИХ
   --------------------------------------------------------- */

.solutions-section .section-head-row::after,
.supply-section .section-head-row::after {
  position: absolute;

  top: -42px;
  left: 48px;

  width: 54px;
  height: 1px;

  background: rgba(190, 30, 45, 0.20);

  content: "";

  pointer-events: none;
}


/* ---------------------------------------------------------
   5. Немного различаем две большие надписи
   --------------------------------------------------------- */

.supply-section::before {
  color: rgba(24, 31, 36, 0.032);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .solutions-section::before,
  .supply-section::before {
    font-size: clamp(100px, 19vw, 180px);
  }

  .solutions-section::before {
    top: 52px;
    right: -30px;
  }

  .supply-section::before {
    top: 58px;
    left: 25%;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  /*
     На телефоне декор делаем ещё спокойнее.
     Он остаётся видимым, но не конкурирует с текстом.
  */

  .solutions-section::before,
  .supply-section::before {
    font-size: 25vw;

    color: rgba(24, 31, 36, 0.027);

    letter-spacing: -0.065em;
  }


  .solutions-section::before {
    top: 70px;
    right: -34px;
  }


  .supply-section::before {
    content: "C&F";

    top: 72px;
    right: -12px;
    left: auto;

    transform: none;

    font-size: 38vw;
  }


  /* маленькие номера чуть ближе к заголовкам */
  .company-copy::before,
  .solutions-section .section-head-row::before,
  .supply-section .section-head-row::before {
    top: -30px;

    width: 28px;

    padding-top: 6px;

    font-size: 9px;
  }


  .solutions-section .section-head-row::after,
  .supply-section .section-head-row::after {
    top: -30px;
    left: 38px;

    width: 36px;
  }

}