:root {
  --ink: #101722;
  --muted: #5c6874;
  --line: #d8dee5;
  --paper: #f6f7f5;
  --white: #ffffff;
  --navy: #122235;
  --blue: #254f70;
  --steel: #6a7f91;
  --red: #9e3028;
  --gold: #bd9048;
  --green: #4f765f;
  --shadow: 0 18px 48px rgba(16, 23, 34, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(40px, 6.2vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.7vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(16, 23, 34, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 186px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  font-size: 11px;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  opacity: 0.86;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.site-nav a:hover {
  opacity: 1;
}

.site-header.is-scrolled .site-nav a,
.site-header.is-open .site-nav a {
  color: var(--ink);
  opacity: 1;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 25, 0.94) 0%, rgba(8, 15, 25, 0.78) 48%, rgba(8, 15, 25, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 15, 25, 0.38), rgba(8, 15, 25, 0.05));
}

.hero-content {
  position: relative;
  width: min(920px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

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

.btn {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(158, 48, 40, 0.24);
}

.btn-primary:hover {
  background: #84251f;
  box-shadow: 0 16px 34px rgba(158, 48, 40, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn:hover::after {
  transform: translateX(4px);
}

.prototype-note {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.capability-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  background: var(--line);
}

.capability-grid article {
  min-height: 138px;
  padding: 28px;
  background: var(--white);
}

.capability-grid strong,
.capability-grid span {
  display: block;
}

.capability-grid strong {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 14px;
}

.capability-grid span {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.36;
  word-break: break-all;
}

.section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

section[id] {
  scroll-margin-top: 92px;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background: #eceff1;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 0.7fr);
  gap: 40px;
  margin-bottom: 42px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr);
  gap: 46px;
  align-items: start;
}

.about-copy {
  font-size: 19px;
}

.about-copy p {
  margin-bottom: 18px;
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 16px 38px rgba(16, 23, 34, 0.08);
}

.trust-panel article {
  min-height: 178px;
  padding: 22px;
  background: var(--white);
}

.trust-panel small {
  display: block;
  margin-bottom: 28px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 700;
}

.trust-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
}

.trust-panel span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  word-break: break-all;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.36fr) minmax(0, 0.64fr);
  gap: 28px;
  align-items: stretch;
}

.solution-lead {
  min-height: 100%;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 42px rgba(16, 23, 34, 0.15);
}

.solution-lead-media {
  position: relative;
  height: 260px;
  margin: 0;
  overflow: hidden;
}

.solution-lead-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(18, 34, 53, 0) 20%, rgba(18, 34, 53, 0.72) 100%);
}

.solution-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.solution-lead:hover .solution-lead-media img {
  transform: scale(1.04);
}

.solution-lead-content {
  padding: 30px;
}

.solution-lead h3 {
  font-size: 30px;
}

.solution-lead-content > p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.solution-tags span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

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

.solution-card {
  position: relative;
  min-height: 222px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(16, 23, 34, 0.1);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 23, 34, 0.06);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.solution-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 118px;
  height: 118px;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    var(--card-accent, var(--gold));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.18;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.solution-card::after {
  margin-top: auto;
  color: var(--red);
  content: "进入咨询 →";
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.22s ease;
}

.solution-card:hover {
  border-color: rgba(158, 48, 40, 0.36);
  box-shadow: 0 20px 44px rgba(16, 23, 34, 0.12);
  transform: translateY(-4px);
}

.solution-card:hover::before {
  opacity: 0.28;
  transform: scale(1.08);
}

.solution-card:hover::after {
  transform: translateX(4px);
}

.solution-card:last-child {
  grid-column: span 2;
  min-height: 170px;
}

.solution-card-trade {
  --card-accent: var(--red);
}

.solution-card-factory {
  --card-accent: var(--blue);
}

.solution-card-foodservice {
  --card-accent: var(--gold);
}

.solution-card-upstream {
  --card-accent: var(--green);
}

.solution-card-development {
  --card-accent: #6f536f;
}

.solution-number,
.process-flow span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--steel);
  font-weight: 700;
}

.solution-card strong {
  display: inline-flex;
  width: fit-content;
  margin: 2px 0 18px;
  padding: 6px 9px;
  color: var(--ink);
  border: 1px solid rgba(16, 23, 34, 0.1);
  background: #f5f1e8;
  font-size: 12px;
}

.solution-grid p,
.resource-copy,
.application-matrix p,
.cooperation-grid span,
.contact-section p {
  color: var(--muted);
  word-break: break-all;
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.58fr) minmax(300px, 0.42fr);
  gap: 48px;
  align-items: center;
}

.map-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(20, 38, 59, 0.12);
  background: linear-gradient(135deg, #0c1d30 0%, #224866 54%, #132b42 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.map-panel::before {
  position: absolute;
  inset: 28px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.map-panel::after {
  position: absolute;
  right: -18%;
  bottom: -36%;
  width: 72%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.network-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 74px);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 82%, transparent);
  pointer-events: none;
}

.network-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  pointer-events: none;
}

.orbit-one {
  width: 52%;
  height: 30%;
}

.orbit-two {
  width: 72%;
  height: 43%;
  transform: translate(-50%, -50%) rotate(18deg);
}

.orbit-three {
  width: 88%;
  height: 56%;
  transform: translate(-50%, -50%) rotate(2deg);
}

.network-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, rgba(189, 144, 72, 0.96), rgba(255, 255, 255, 0));
  transform-origin: 0 0;
  pointer-events: none;
}

.line-one {
  transform: rotate(205deg);
}

.line-two {
  width: 36%;
  transform: rotate(145deg);
}

.line-three {
  width: 30%;
  transform: rotate(24deg);
}

.line-four {
  width: 34%;
  transform: rotate(-34deg);
}

.network-center,
.network-region,
.network-caption {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 20, 34, 0.7);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.network-center {
  top: 50%;
  left: 50%;
  width: 170px;
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--ink);
  background: linear-gradient(135deg, #d3b06a, #bd9048);
  text-align: center;
  transform: translate(-50%, -50%);
}

.network-center strong,
.network-center span,
.network-region strong,
.network-region span,
.network-caption strong,
.network-caption span {
  display: block;
}

.network-center strong {
  font-size: 22px;
  line-height: 1.2;
}

.network-center span {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 700;
}

.network-region {
  width: min(214px, 33%);
  padding: 13px 14px;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.network-region:hover {
  border-color: rgba(189, 144, 72, 0.72);
  background: rgba(8, 20, 34, 0.84);
  transform: translateY(-3px);
}

.network-region strong {
  color: #f0c46d;
  font-size: 17px;
  line-height: 1.2;
}

.network-region span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.region-na {
  top: 18%;
  left: 9%;
}

.region-sa {
  left: 11%;
  bottom: 18%;
}

.region-oc {
  right: 9%;
  bottom: 16%;
}

.region-eu {
  top: 16%;
  right: 11%;
}

.region-as {
  top: 52%;
  right: 5%;
}

.network-caption {
  left: 30px;
  right: 30px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.09);
}

.network-caption strong {
  color: var(--white);
  font-size: 15px;
}

.network-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.resource-copy {
  font-size: 18px;
}

.resource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.resource-tags span {
  padding: 8px 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--green);
}

.process-section {
  color: var(--white);
  background: var(--navy);
}

.process-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.process-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr);
  margin-bottom: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0e1d2d;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.process-showcase img {
  width: 100%;
  height: 100%;
  min-height: 286px;
  object-fit: cover;
}

.process-showcase div {
  display: grid;
  align-content: center;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(158, 48, 40, 0.16), rgba(18, 34, 53, 0)),
    var(--navy);
}

.process-showcase h3 {
  max-width: 560px;
  color: var(--white);
  font-size: 28px;
}

.process-showcase p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
}

.process-flow::before {
  position: absolute;
  top: 24px;
  right: 24px;
  left: 24px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(189, 144, 72, 0.2), rgba(189, 144, 72, 0.9), rgba(189, 144, 72, 0.2));
}

.process-flow article {
  position: relative;
  min-height: 220px;
  padding: 0 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.process-flow article:hover {
  border-color: rgba(189, 144, 72, 0.72);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.process-flow span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin: 0 0 24px;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 0 0 8px var(--navy);
  transform: translateY(-1px);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.process-flow article:hover span {
  color: var(--red);
  background: var(--white);
  transform: translateY(-3px);
}

.process-flow h3 {
  color: var(--white);
}

.process-flow p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.application-card {
  min-height: 336px;
  overflow: hidden;
  border: 1px solid rgba(16, 23, 34, 0.1);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 23, 34, 0.06);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.application-card:hover {
  border-color: rgba(158, 48, 40, 0.28);
  box-shadow: 0 20px 44px rgba(16, 23, 34, 0.12);
  transform: translateY(-4px);
}

.application-card-media {
  height: 154px;
  background-image:
    linear-gradient(180deg, rgba(18, 34, 53, 0.04), rgba(18, 34, 53, 0.46)),
    url("assets/renhe-app-beef.jpg");
  background-size: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.application-card:hover .application-card-media {
  filter: saturate(1.08);
  transform: scale(1.04);
}

.application-card-body {
  padding: 24px;
}

.app-beef .application-card-media {
  background-image:
    linear-gradient(180deg, rgba(18, 34, 53, 0.02), rgba(18, 34, 53, 0.34)),
    url("assets/renhe-app-beef.jpg");
  background-position: 50% 56%;
}

.app-pork .application-card-media {
  background-image:
    linear-gradient(135deg, rgba(158, 48, 40, 0.18), rgba(18, 34, 53, 0.42)),
    url("assets/renhe-app-pork.jpg");
  background-position: 50% 54%;
}

.app-poultry .application-card-media {
  background-image:
    linear-gradient(135deg, rgba(79, 118, 95, 0.1), rgba(18, 34, 53, 0.38)),
    url("assets/renhe-app-poultry.jpg");
  background-position: 50% 56%;
}

.app-foodservice .application-card-media {
  background-image:
    linear-gradient(135deg, rgba(18, 34, 53, 0.06), rgba(189, 144, 72, 0.26)),
    url("assets/renhe-app-foodservice.jpg");
  background-position: 50% 58%;
}

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

.cooperation-grid a {
  position: relative;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(16, 23, 34, 0.1);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 23, 34, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cooperation-grid a::after {
  margin-top: auto;
  color: var(--red);
  content: "联系沟通 →";
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.cooperation-grid a:hover {
  border-color: var(--red);
  box-shadow: 0 20px 44px rgba(16, 23, 34, 0.11);
  transform: translateY(-3px);
}

.cooperation-grid a:hover::after {
  transform: translateX(4px);
}

.cooperation-grid strong {
  color: var(--red);
  font-size: 20px;
  line-height: 1.28;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(320px, 0.58fr);
  gap: 52px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.phone-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--red);
  font-size: 32px;
  font-weight: 700;
}

.email-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 0;
}

.contact-methods,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-methods span {
  padding: 8px 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fbfbfa;
  font-size: 13px;
  font-weight: 700;
}

.contact-actions {
  gap: 10px;
}

.contact-actions .btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fbfbfa;
}

.contact-actions .btn-secondary:hover {
  color: var(--red);
  border-color: rgba(158, 48, 40, 0.38);
  background: var(--white);
}

.contact-form label,
.contact-form > span {
  display: grid;
  gap: 8px;
}

.contact-form > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbfa;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(158, 48, 40, 0.52);
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(158, 48, 40, 0.1);
}

textarea {
  resize: vertical;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-hint.is-active {
  color: var(--red);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: #0d141e;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer strong {
  margin-bottom: 6px;
  color: var(--white);
}

.legal-page {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.legal-brand {
  margin-bottom: 64px;
  color: var(--ink);
}

.legal-page section {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-page h1 {
  max-width: 720px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
}

.legal-page p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

@media (max-width: 1120px) {
  .capability-grid,
  .application-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-layout,
  .resource-layout,
  .process-showcase,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .process-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-flow::before {
    display: none;
  }

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

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    bottom: 0;
  }

  .section-heading,
  .about-layout {
    grid-template-columns: 1fr;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero {
    min-height: 790px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(8, 15, 25, 0.9), rgba(8, 15, 25, 0.68));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-top: 92px;
  }

  h1 {
    max-width: 10em;
    font-size: 30px;
    word-break: break-all;
    line-break: anywhere;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy,
  .about-copy,
  .resource-copy {
    max-width: 21em;
    font-size: 16px;
    word-break: break-all;
    line-break: anywhere;
  }

  .eyebrow {
    max-width: 24em;
    font-size: 11px;
    line-height: 1.35;
    word-break: break-all;
    line-break: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 280px);
  }

  .capability-grid,
  .solution-grid,
  .trust-panel,
  .application-matrix,
  .cooperation-grid,
  .process-flow {
    grid-template-columns: 1fr;
  }

  .solution-card:last-child {
    grid-column: auto;
  }

  .solution-lead-media,
  .application-card-media {
    height: 180px;
  }

  .capability-grid span {
    max-width: 12em;
    font-size: 18px;
    line-break: anywhere;
  }

  .section,
  .contact-section {
    padding: 68px 0;
  }

  .section-muted {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 30px;
  }

  .resource-network {
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 22px;
  }

  .map-panel::before {
    inset: 12px;
  }

  .map-panel::after,
  .network-grid,
  .network-orbit,
  .network-line {
    display: none;
  }

  .network-center,
  .network-region,
  .network-caption {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .network-center {
    min-height: 94px;
  }

  .network-region {
    padding: 12px 14px;
  }

  .network-caption {
    display: grid;
    gap: 4px;
    padding: 13px 14px;
  }

  .process-inner {
    padding: 68px 0;
  }

  .process-showcase h3 {
    font-size: 24px;
  }

  .process-flow article,
  .application-matrix article,
  .cooperation-grid a {
    min-height: auto;
  }

  .phone-link {
    font-size: 26px;
  }

  .site-footer {
    display: grid;
  }
}

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

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

  .btn:hover,
  .solution-card:hover,
  .process-flow article:hover,
  .application-card:hover,
  .cooperation-grid a:hover,
  .network-region:hover {
    transform: none;
  }

  .solution-lead:hover .solution-lead-media img,
  .application-card:hover .application-card-media {
    transform: none;
  }
}
