:root {
  --ink: #14212b;
  --muted: #65727d;
  --line: #dfe6e8;
  --surface: #f4f7f7;
  --white: #ffffff;
  --green: #c3202f;
  --green-dark: #961523;
  --blue: #2f6fda;
  --orange: #c58a2b;
  --header-height: 72px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(15, 46, 55, 0.1);
  box-shadow: 0 2px 12px rgba(14, 42, 48, 0.04);
}

.nav-shell {
  width: min(1360px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 180px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--green);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  display: block;
  color: #123138;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
}

.brand-en {
  display: block;
  margin-top: 3px;
  color: #7b8a90;
  font-size: 9px;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  margin-left: auto;
}

.desktop-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: #34464d;
  font-size: 15px;
  white-space: nowrap;
}

.desktop-nav > a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 3px;
  background: var(--green);
  transition: left 180ms ease, right 180ms ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.active {
  color: var(--green-dark);
  font-weight: 700;
}

.desktop-nav > a:hover::after,
.desktop-nav > a.active::after {
  left: 0;
  right: 0;
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 17px;
  color: #ffffff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.login-link:hover {
  background: var(--green-dark);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #233940;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.mobile-nav {
  display: none;
}

.page-hero {
  position: relative;
  min-height: 360px;
  color: #ffffff;
  background-color: #8f1020;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 12, 18, 0.2), transparent 68%);
}

.page-hero-scenes {
  background: linear-gradient(118deg, #73101e 0%, #a51d2d 56%, #c14942 100%);
}

.page-hero-demands {
  background: linear-gradient(118deg, #173963 0%, #235d8f 58%, #3d82a2 100%);
}

.page-hero-news {
  background: linear-gradient(118deg, #174b4d 0%, #21696a 58%, #3b8580 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 0 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.page-eyebrow {
  margin: 0 0 6px;
  color: #ffe8c2;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.3;
}

.page-hero-inner > p:not(.page-eyebrow) {
  max-width: 720px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.page-hero-ornament {
  position: absolute;
  right: 2%;
  bottom: 28px;
  width: 330px;
  height: 230px;
  color: rgba(255, 255, 255, 0.48);
  pointer-events: none;
}

.page-hero-ornament-scenes {
  background: linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.18) 50%, transparent 50.5%), linear-gradient(transparent 49.5%, rgba(255,255,255,.18) 50%, transparent 50.5%);
  background-size: 74px 74px;
}

.page-hero-ornament-scenes::before,
.page-hero-ornament-scenes::after {
  content: "";
  position: absolute;
  height: 1px;
  background: rgba(255,255,255,.56);
  transform-origin: left center;
}

.page-hero-ornament-scenes::before { left: 46px; top: 154px; width: 230px; transform: rotate(-27deg); }
.page-hero-ornament-scenes::after { left: 122px; top: 44px; width: 174px; transform: rotate(42deg); }

.hero-mark {
  position: absolute;
  width: 18px;
  height: 18px;
  background: currentColor;
  border: 5px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.7);
}

.hero-mark-a { left: 38px; top: 145px; }
.hero-mark-b { left: 112px; top: 64px; }
.hero-mark-c { right: 40px; top: 88px; }
.hero-mark-d { right: 72px; bottom: 28px; }

.page-hero-ornament-demands {
  border: 1px solid rgba(255,255,255,.18);
  border-left-width: 8px;
}

.page-hero-ornament-demands::before,
.page-hero-ornament-demands::after {
  content: "";
  position: absolute;
  right: -12px;
  width: 148px;
  height: 1px;
  background: rgba(255,255,255,.55);
}

.page-hero-ornament-demands::before { top: 58px; transform: rotate(34deg); }
.page-hero-ornament-demands::after { bottom: 58px; transform: rotate(-34deg); }

.page-hero-ornament-demands strong,
.page-hero-ornament-news strong {
  position: absolute;
  right: 44px;
  bottom: 18px;
  color: rgba(255,255,255,.13);
  font-size: 142px;
  font-weight: 700;
  line-height: 1;
}

.hero-demand-line,
.hero-news-line {
  position: absolute;
  left: 38px;
  height: 1px;
  background: rgba(255,255,255,.48);
}

.hero-demand-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.hero-demand-line.line-a { top: 62px; width: 202px; }
.hero-demand-line.line-b { top: 112px; width: 126px; }
.hero-demand-line.line-c { top: 162px; width: 176px; }

.page-hero-ornament-news { border-left: 1px solid rgba(255,255,255,.28); }
.page-hero-ornament-news::before { content: ""; position: absolute; left: 34px; top: 18px; width: 84px; height: 3px; background: rgba(255,255,255,.48); }
.hero-news-line { left: 34px; }
.hero-news-line.line-a { top: 62px; width: 220px; height: 3px; }
.hero-news-line.line-b { top: 94px; width: 160px; }
.hero-news-line.line-c { top: 126px; width: 206px; }
.hero-news-line.line-d { top: 158px; width: 112px; }

.landing-section {
  min-height: 520px;
  padding: 54px 0 80px;
  background: #ffffff;
}

.landing-section.alt {
  background: var(--surface);
}

.landing-section.compact-section {
  padding-top: 48px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
}

.section-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

.button-primary {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

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

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.content-toolbar {
  min-height: 58px;
  margin-bottom: 30px;
  padding: 0 0 16px;
}

.filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.filter-actions .button {
  min-height: 40px;
  white-space: nowrap;
}

.demand-count {
  color: #506268;
  font-size: 14px;
  font-weight: 700;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.filter-tab {
  min-height: 36px;
  padding: 0 14px;
  color: #53636a;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
}

.filter-tab:hover {
  color: var(--green-dark);
  background: #edf5f3;
}

.filter-tab.active {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.search-box {
  position: relative;
  width: min(310px, 100%);
  flex: 0 0 auto;
}

.search-box .icon {
  position: absolute;
  left: 13px;
  top: 50%;
  color: #879399;
  transform: translateY(-50%);
}

.search-box input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 42px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cfdadc;
  border-radius: 4px;
  outline: 0;
}

.search-box input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(195, 32, 47, 0.14);
}

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

.catalog-card {
  position: relative;
  min-height: 236px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: #b5d0cc;
  box-shadow: 0 14px 30px rgba(20, 54, 61, 0.09);
}

.catalog-card[hidden],
.demand-card[hidden],
.demand-row[hidden],
.news-row[hidden] {
  display: none;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--green);
  background: #fbecee;
  border-radius: 6px;
}

.catalog-card:nth-child(3n + 2) .glyph {
  color: var(--blue);
  background: #eaf0fb;
}

.catalog-card:nth-child(3n) .glyph {
  color: #c35d31;
  background: #fff0e8;
}

.glyph .icon {
  width: 27px;
  height: 27px;
}

.card-badge {
  padding: 3px 9px;
  color: #9a4a28;
  background: #fff0e8;
  border: 1px solid #ffd8c5;
  border-radius: 99px;
  font-size: 12px;
  white-space: nowrap;
}

.catalog-card h3 {
  margin: 18px 0 9px;
  font-size: 18px;
  line-height: 1.45;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  color: #7b888d;
  border-top: 1px solid #edf0f1;
  font-size: 12px;
}

.card-meta strong {
  color: var(--green-dark);
}

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

.demand-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px 28px;
  gap: 22px;
  align-items: center;
  min-height: 132px;
  padding: 22px 14px;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease, padding 180ms ease;
}

.demand-row:hover {
  background: #f8fbfa;
  padding-right: 9px;
  padding-left: 19px;
}

.demand-main h3,
.news-row h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.demand-main p,
.news-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.demand-owner {
  color: #526268;
  font-size: 13px;
}

.demand-row > .icon,
.news-row > .icon {
  color: #809095;
}

.demand-filter-panel {
  margin-bottom: 18px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(20, 54, 61, 0.05);
}

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

.demand-filter-field span {
  display: block;
  margin-bottom: 8px;
  color: #3e5057;
  font-size: 13px;
  font-weight: 700;
}

.demand-filter-field select {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 12px;
  color: #2c4248;
  background: #ffffff;
  border: 1px solid #cfdadc;
  border-radius: 4px;
  outline: 0;
  font: inherit;
}

.demand-filter-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(195, 32, 47, 0.12);
}

.demand-type-switch {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 4px;
  overflow-x: auto;
  background: #e9eeee;
  border: 1px solid #dce3e4;
  border-radius: 6px;
  scrollbar-width: thin;
}

.demand-type-option {
  min-width: 104px;
  min-height: 40px;
  padding: 0 18px;
  flex: 0 0 auto;
  color: #657278;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.demand-type-option:hover {
  color: #8f2430;
}

.demand-type-option.active {
  color: #8f2430;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(41, 52, 57, 0.1);
}

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

.demand-card {
  display: flex;
  flex-direction: column;
  min-height: 318px;
  padding: 25px 24px 23px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.demand-card:hover {
  transform: translateY(-3px);
  border-color: #b6d0cc;
  box-shadow: 0 12px 28px rgba(19, 53, 60, 0.08);
}

.demand-card-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  color: inherit;
}

.demand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.demand-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #24a68f;
  border-radius: 50%;
}

.demand-card h3 {
  margin: 17px 0 9px;
  font-size: 18px;
  line-height: 1.5;
}

.demand-card > p,
.demand-card-main > p {
  display: -webkit-box;
  min-height: 70px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.demand-card .demand-owner {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 17px;
  color: #526268;
  border-top: 1px solid #edf0f1;
  font-size: 13px;
}

.demand-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #edf0f1;
}

.demand-contact-copy {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.demand-contact-copy small {
  color: #7b898e;
  font-size: 12px;
}

.demand-contact-copy strong {
  color: #2f454b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.demand-contact-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #9b1f2c;
  background: #fff7f8;
  border: 1px solid rgba(195, 32, 47, 0.24);
  border-radius: 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.demand-contact-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demand-contact-toggle.is-revealed {
  color: #5e6e73;
  background: #f4f6f6;
  border-color: #d9dfe1;
}

.demand-contact-toggle:hover,
.demand-contact-toggle:focus-visible {
  color: #ffffff;
  background: #b91f2d;
  border-color: #b91f2d;
}

.owner-mark {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #ffffff;
  background: #3f6f78;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 34px;
}

.news-list-full {
  width: 100%;
}

.news-list-full .news-row {
  grid-template-columns: 110px minmax(0, 1fr) 28px;
  min-height: 124px;
  padding-right: 18px;
  padding-left: 12px;
  transition: background 160ms ease, padding 160ms ease;
}

.news-list-full .news-row:hover {
  padding-left: 18px;
  background: #ffffff;
}

.news-total {
  color: #7c898e;
  font-size: 13px;
}

.news-pagination,
.demand-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 38px;
}

.news-pagination button,
.demand-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  color: #59676d;
  background: #ffffff;
  border: 1px solid #d8e0e2;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}

.news-pagination button:hover:not(:disabled),
.news-pagination button.active,
.demand-pagination button:hover:not(:disabled),
.demand-pagination button.active {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.news-pagination button:disabled,
.demand-pagination button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.news-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 26px;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-date strong {
  display: block;
  color: var(--green-dark);
  font-family: Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
}

.news-date span {
  color: #8d999d;
  font-size: 11px;
}

.news-aside {
  align-self: start;
  padding: 25px;
  background: #f3f7f7;
  border-left: 3px solid var(--green);
}

.news-aside h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.news-aside a {
  display: block;
  padding: 13px 0;
  color: #46575e;
  border-top: 1px solid #dfe7e8;
  font-size: 13px;
}

.news-aside a:hover {
  color: var(--green-dark);
}

.empty-state {
  display: none;
  padding: 70px 20px;
  color: var(--muted);
  text-align: center;
}

.empty-state.visible {
  display: block;
}

.auth-section {
  padding: 64px 0 84px;
  background: var(--surface);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 70px;
  align-items: center;
}

.auth-intro h2 {
  margin: 0;
  font-size: 32px;
}

.auth-intro > p {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--muted);
}

.auth-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.auth-point {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.auth-point strong {
  display: block;
  color: var(--green-dark);
  font-size: 15px;
}

.auth-point span {
  color: var(--muted);
  font-size: 12px;
}

.auth-panel {
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(20, 54, 61, 0.1);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  position: relative;
  min-height: 44px;
  color: #66747a;
  background: transparent;
  border: 0;
  font-weight: 700;
}

.auth-tab.active {
  color: var(--green-dark);
}

.auth-tab.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--green);
}

.form-view[hidden] {
  display: none;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #46575e;
  font-size: 13px;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 1px solid #ccd7d9;
  border-radius: 4px;
  outline: 0;
}

.field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(195, 32, 47, 0.13);
}

.form-view .button {
  width: 100%;
  margin-top: 7px;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: 12px;
  text-align: center;
}

body[data-page="login"] .site-footer,
body[data-page="complete"] .site-footer {
  display: none;
}

.auth-page {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 56px 24px;
  background-color: #8f1020;
  background-image: linear-gradient(rgba(91, 7, 20, 0.48), rgba(91, 7, 20, 0.72)), url("banner-gradient.png");
  background-position: center;
  background-size: cover;
}

.auth-stage {
  width: min(470px, 100%);
}

.auth-panel {
  width: 100%;
  padding: 32px 34px 30px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  box-shadow: 0 22px 56px rgba(4, 31, 38, 0.24);
}

.auth-panel-head {
  text-align: center;
}

.auth-panel-head .page-eyebrow {
  margin-bottom: 4px;
  color: var(--green);
}

.auth-panel-head h1 {
  margin: 0;
  color: #173139;
  font-size: 27px;
  line-height: 1.4;
}

.auth-panel-head > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-progress {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin: 25px 0 22px;
}

.auth-progress::before {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(25% + 13px);
  right: calc(25% + 13px);
  height: 1px;
  background: #d6e0e2;
}

.progress-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #8a969b;
  font-size: 12px;
}

.progress-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: #76868c;
  background: #edf2f2;
  border: 1px solid #d2dddf;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.progress-step.active {
  color: var(--green-dark);
  font-weight: 700;
}

.progress-step.active .progress-number {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.auth-tabs {
  margin-bottom: 22px;
}

.auth-tab {
  padding: 0 8px;
  font-size: 14px;
}

.verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 10px;
}

.code-button {
  height: 43px;
  padding: 0 12px;
  color: var(--green-dark);
  background: #edf6f4;
  border: 1px solid #bad5d1;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.code-button:hover:not(:disabled) {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.code-button:disabled {
  color: #7f8c91;
  background: #f1f4f4;
  border-color: #d7dfe1;
  cursor: not-allowed;
}

.auth-notice {
  margin: 0 0 17px;
  padding: 10px 12px;
  color: #53656b;
  background: #f3f7f7;
  border-left: 3px solid var(--green);
  font-size: 12px;
  line-height: 1.65;
}

.profile-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.profile-summary,
.profile-info {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
}

.profile-avatar-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  color: #ffffff;
  background: var(--green);
  border-radius: 50%;
  font-size: 26px;
  font-weight: 800;
  flex: 0 0 auto;
}

.profile-summary h2,
.profile-info h2 {
  margin: 0;
  font-size: 21px;
}

.profile-summary p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-info {
  padding: 26px 28px;
}

.profile-info dl {
  margin: 18px 0 0;
}

.profile-info dl > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid #edf0f1;
}

.profile-info dt {
  color: #7b898e;
  font-size: 13px;
}

.profile-info dd {
  margin: 0;
  color: #34474d;
  font-size: 14px;
}

.status-ok {
  color: var(--green-dark);
  font-weight: 700;
}

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

.about-grid article {
  min-height: 190px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 5px;
}

.about-grid article:nth-child(2) {
  border-top-color: var(--blue);
}

.about-grid article:nth-child(3) {
  border-top-color: var(--orange);
}

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

.about-grid p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.site-footer {
  color: #d9e3e4;
  background: #18383e;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.55fr) minmax(260px, 0.7fr);
  align-items: start;
  gap: 60px;
  padding: 54px 0 42px;
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-brand .brand-en {
  color: #90a9ad;
}

.footer-summary {
  max-width: 430px;
  margin: 20px 0 0;
  color: #a9babd;
  font-size: 13px;
  line-height: 1.9;
}

.footer-heading {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.footer-links a,
.contact-list {
  color: #a9babd;
  font-size: 13px;
}

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

.miniapp-follow {
  display: flex;
  align-items: center;
  gap: 16px;
}

.miniapp-qr {
  width: 104px;
  height: 104px;
  padding: 6px;
  background: #ffffff;
  border-radius: 6px;
  image-rendering: pixelated;
}

.miniapp-copy strong {
  display: block;
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 15px;
}

.miniapp-copy span {
  display: block;
  max-width: 150px;
  color: #9fb3b6;
  font-size: 12px;
  line-height: 1.7;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  color: #879da0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.prototype-content-notice { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; padding: 14px 18px; color: #6c5a34; background: #fff9e9; border: 1px solid #eadcad; border-radius: 7px; font-size: 13px; line-height: 1.7; }
.prototype-content-notice strong { flex: none; color: #8b5f16; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(237, 122, 69, 0.52);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .desktop-nav { gap: 16px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demand-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demand-row { grid-template-columns: minmax(0, 1fr) 200px 26px; }
}

@media (max-width: 1020px) {
  .desktop-nav,
  .site-header > .nav-shell > .login-link {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    z-index: 45;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 18px 24px 30px;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav > a:not(.login-link) {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
  }

  .mobile-nav .login-link {
    margin-top: 22px;
  }

  .news-layout { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; gap: 34px; }
  .profile-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--container)); }
  .nav-shell { width: calc(100% - 28px); }
  .page-hero,
  .page-hero-inner { min-height: 300px; }
  .page-hero-inner { padding: 42px 0 48px; }
  .page-hero-ornament { right: -118px; opacity: .46; transform: scale(.78); }
  .page-hero h1 { font-size: 32px; }
  .landing-section { padding: 44px 0 60px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .landing-section.compact-section { padding-top: 36px; }
  .filter-actions { align-items: stretch; flex-direction: column; }
  .filter-actions .search-box { width: 100%; }
  .filter-actions .button { justify-content: center; }
  .search-box { width: 100%; }
  .catalog-grid { grid-template-columns: 1fr; }
  .demand-filter-grid,
  .demand-card-grid { grid-template-columns: 1fr; }
  .demand-filter-panel { padding: 18px; }
  .demand-type-switch { display: flex; width: 100%; margin-bottom: 20px; }
  .demand-card { min-height: 0; }
  .demand-row { grid-template-columns: 1fr 24px; gap: 9px 14px; }
  .demand-row .demand-main,
  .demand-row .demand-owner { grid-column: 1; }
  .demand-row > .icon { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .news-row { grid-template-columns: 70px minmax(0, 1fr) 22px; gap: 11px; }
  .auth-points { grid-template-columns: 1fr; }
  .auth-panel { padding: 24px 20px; }
  .auth-page { padding: 30px 16px; }
  .auth-panel-head h1 { font-size: 24px; }
  .verification-row { grid-template-columns: minmax(0, 1fr) 112px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 16px 0; }
}

@media (max-width: 480px) {
  .brand { min-width: 0; }
  .brand-name { font-size: 19px; }
  .brand-en { display: none; }
  .page-hero h1 { font-size: 29px; }
  .section-heading h2 { font-size: 25px; }
  .catalog-card { min-height: 0; }
  .footer-links { gap: 9px 20px; }
}


/* Service scene showcase cards */
.scene-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.scene-showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 94px 24px 24px;
  color: #ffffff;
  background-color: #174c50;
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 8px 22px rgba(16, 45, 52, 0.09);
  transition: transform 220ms ease, box-shadow 220ms ease, background-size 380ms ease;
}

.scene-showcase-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.scene-showcase-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(132, 15, 31, 0.42) 0%, rgba(5, 26, 32, 0.36) 42%, rgba(5, 25, 31, 0.94) 100%);
  transition: background 220ms ease;
}

.scene-showcase-card::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.scene-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(13, 45, 52, 0.2);
}

.scene-showcase-card:hover .scene-showcase-image {
  transform: scale(1.035);
}

.scene-showcase-card:hover::before {
  background: linear-gradient(180deg, rgba(132, 15, 31, 0.32) 0%, rgba(4, 37, 42, 0.24) 38%, rgba(4, 24, 29, 0.9) 100%);
}

.scene-showcase-icon {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #ffffff;
  background: rgba(4, 31, 37, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  font-size: 19px;
  font-weight: 800;
  backdrop-filter: blur(5px);
}

.scene-showcase-copy {
  position: relative;
  z-index: 2;
}

.scene-showcase-card h3 {
  margin: 0;
  min-height: 50px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.4;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.34);
}

.scene-showcase-card p {
  display: -webkit-box;
  min-height: 68px;
  margin: 10px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.75;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.38);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.scene-showcase-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 15px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

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

@media (max-width: 760px) {
  .scene-showcase-grid {
    grid-template-columns: 1fr;
  }

  .scene-showcase-card {
    min-height: 260px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
