:root {
  --ink: #07111f;
  --graphite: #172033;
  --mist: #f4f7fa;
  --line: #dbe4ee;
  --ocean: #0e7cc7;
  --cobalt: #1555a8;
  --gold: #d0a957;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(219, 228, 238, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/*
.logo {
  height: 36px;
  width: auto;
}*/

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}


.logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.brand-cn {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

/*.menu {
  display: flex;
  gap: 30px;
  color: rgba(23, 32, 51, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.menu a.active,
.menu a:hover {
  color: var(--cobalt);
}*/


.menu {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(23, 32, 51, 0.76);
  font-size: 14px;
  font-weight: 600;
}

.menu a {
  position: relative;
  padding: 10px 0;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--ocean);
  transition: transform 180ms ease;
}

.menu a:hover,
.menu a.active {
  color: var(--cobalt);
}

.menu a:hover::after,
.menu a.active::after {
  transform: scaleX(1);
}

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

.lang-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: rgba(23, 32, 51, 0.74);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.lang-button:hover {
  color: var(--cobalt);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--cobalt);
  background: var(--cobalt);
}

.backbar {
  position: sticky;
  top: 72px;
  z-index: 9;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  padding: 18px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cobalt);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, color 180ms ease;
}

.back-link:hover {
  transform: translateX(-3px);
  color: var(--ocean);
}

#consultForm {
  scroll-margin-top: 150px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.meta-row span {
  min-height: 44px;
  border-radius: 8px;
  background: #f3f6fa;
  color: #4f5d70;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

/*.meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.meta-row span {
  border-radius: 8px;
  padding: 10px;
  background: var(--mist);
  color: rgba(23, 32, 51, 0.68);
  font-size: 12px;
  font-weight: 700;
}*/

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-left {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes line-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.page-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, rgba(244, 247, 250, 0.94), rgba(255, 255, 255, 0.98) 48%, rgba(238, 243, 248, 0.82));
  padding: 0;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
  min-height: 430px;
  padding: 42px 0;
}

.copy {
  animation: fade-up 720ms ease both;
}

.visual {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
  box-shadow: var(--shadow);
  animation: fade-left 820ms ease 120ms both;
}

.visual img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.kicker {
  margin: 0;
  color: var(--ocean);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 16px 0 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.12;
}

.lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(23, 32, 51, 0.72);
  font-size: 16px;
  line-height: 1.85;
}

section {
  padding: 49px 0;
}

.section-mist {
  background: var(--mist);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 12px 0 0;
  font-size: 34px;
  line-height: 1.2;
}

.section-head p {
  margin: 12px 0 0;
  color: rgba(23, 32, 51, 0.72);
  line-height: 1.8;
}

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

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

.social-qr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.social-qr-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.social-qr-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-qr-title .social-icon {
  flex: 0 0 44px;
  background: var(--ink);
  color: #fff;
}

.social-qr-title .social-icon.instagram {
  background: #fff;
  border-color: var(--ink);
  color: var(--ink);
}

.social-qr-title h3 {
  margin: 0;
  font-size: 18px;
}

.social-qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--ocean);
}

.card img {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.card h3 {
  margin: 0;
  font-size: 21px;
}

.card p,
.text {
  color: rgba(23, 32, 51, 0.72);
  line-height: 1.8;
}

.meta {
  margin-top: auto;
  padding-top: 14px;
  color: var(--cobalt);
  font-size: 13px;
  font-weight: 800;
}

.detail {
  display: grid;
  grid-template-columns: 0.72fr 0.28fr;
  gap: 24px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.detail > .rich-content/*[data-news-content]*/ {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 920px);
}

.panel h2 {
  margin: 0 0 16px;
}

.panel li {
  margin: 10px 0;
  color: rgba(23, 32, 51, 0.74);
  line-height: 1.7;
}

.footer {
  position: relative;
  overflow: hidden;
  background: #081525;
  color: #fff;
}

.footer::before {
  content: "";
  position: absolute;
  left: -42px;
  bottom: -92px;
  width: 360px;
  height: 230px;
  opacity: 0.26;
  background:
    radial-gradient(ellipse at 48% 100%, transparent 35%, rgba(255, 255, 255, 0.52) 36%, transparent 38%),
    radial-gradient(ellipse at 50% 100%, transparent 44%, rgba(255, 255, 255, 0.44) 45%, transparent 47%),
    radial-gradient(ellipse at 52% 100%, transparent 53%, rgba(255, 255, 255, 0.36) 54%, transparent 56%),
    radial-gradient(ellipse at 54% 100%, transparent 62%, rgba(255, 255, 255, 0.28) 63%, transparent 65%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.15fr;
  gap: 46px;
  align-items: center;
  padding: 38px 0 14px;
}

.footer-brand h2,
.footer h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.footer-brand .gold,
.footer .gold {
  margin: 12px 0 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.footer-slogan {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.footer-slogan::before,
.footer-slogan::after {
  content: "";
  width: 58px;
  height: 1px;
  background: rgba(255, 255, 255, 0.64);
  transform-origin: center;
  animation: line-grow 700ms ease both;
}

.footer-contact {
  text-align: center;
}

.footer-social {
  text-align: right;
}

.footer-contact p,
.footer-social p,
.footer p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0;
}

.footer-consult {
  display: inline-flex;
  min-height: 46px;
  width: min(300px, 100%);
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  border: 2px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  font-size: 17px;
  font-weight: 500;
}

.social-icons,
.social {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 14px;
}

.social-icon,
.social span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #081525;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.social-icon.instagram {
  background: transparent;
  border: 4px solid #fff;
  color: #fff;
  font-size: 24px;
}

.social-icon.xhs,
.social span:last-child {
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.footer-bottom,
.copyright {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 10px;
  padding: 14px 0 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .menu {
    display: none;
  }

  .nav {
    min-height: 68px;
    gap: 14px;
  }

  .backbar {
    top: 68px;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .page-hero-inner,
  .detail,
  .footer-inner,
  .grid,
  .grid.two,
  .social-qr-grid {
    grid-template-columns: 1fr;
  }

  .footer,
  .footer-slogan,
  .footer .social,
  .footer .social-icons {
    text-align: center;
    justify-content: center;
  }
}

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

  .nav {
    min-height: 64px;
    gap: 10px;
  }

  .backbar {
    top: 64px;
  }

  #consultForm {
    scroll-margin-top: 170px;
  }

  .logo {
    height: 30px;
    max-width: 148px;
    object-fit: contain;
  }

  .logo-row {
    min-width: 0;
    gap: 0;
  }

  .brand-cn {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .lang-button {
    min-height: 38px;
    font-size: 12px;
  }

  .nav-actions .button {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .backbar {
    padding: 12px 0;
  }

  .page-hero-inner {
    gap: 26px;
    min-height: auto;
    padding: 42px 0;
  }

  .visual,
  .visual img {
    min-height: 220px;
  }

  .kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .lead {
    font-size: 15px;
    line-height: 1.75;
  }

  section {
    padding: 35px 0;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .grid,
  .grid.two,
  .social-qr-grid,
  .detail,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .card-body,
  .panel {
    padding: 22px;
  }

  .footer-inner {
    gap: 24px;
    padding-top: 30px;
  }

  .footer-consult {
    width: 100%;
    max-width: 260px;
    min-height: 42px;
    font-size: 14px;
  }

  .social span {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }
}

@media (max-width: 420px) {
  .logo {
    max-width: 118px;
  }

  .nav-actions .button {
    padding: 8px 10px;
    font-size: 11px;
  }

  .lang-button {
    font-size: 11px;
  }

  .lang {
    border-radius: 8px;
    padding: 11px 13px;
    color: rgba(23, 32, 51, 0.7);
    font-size: 14px;
    font-weight: 700;
  }
}
