:root {
  --navy: #162742;
  --navy-soft: #23385b;
  --gold: #c89a54;
  --gold-soft: #e7c187;
  --text: #1d2636;
  --muted: #6c7483;
  --line: #e7ebf1;
  --bg: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(24, 43, 73, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--white);
}

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

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

button {
  font: inherit;
}

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

.section {
  padding: 60px 0 72px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231, 235, 241, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
}

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

.brand img {
  width: 54px;
  height: 54px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

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

.main-nav a {
  position: relative;
  padding: 34px 0 30px;
  font-size: 16px;
  color: #2a3140;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
}

.header-phone {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 248, 251, 0.96) 0%, rgba(246, 248, 251, 0.86) 28%, rgba(246, 248, 251, 0.12) 58%, rgba(246, 248, 251, 0) 100%);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-image.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 210, 142, 0.32), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.8) 28%, rgba(255, 255, 255, 0.16) 58%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 124px 0 100px;
}

.hero-kicker {
  margin: 0 0 16px;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.1;
  color: var(--navy);
}

.hero h1::after {
  content: "";
}

.hero h1 {
  max-width: 650px;
}

.hero h1,
.hero-kicker {
  letter-spacing: 0.01em;
}

.hero h1 span,
.hero .highlight {
  color: var(--gold);
}

.hero-subtitle {
  margin: 28px 0 34px;
  font-size: 20px;
  color: #4b5462;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 40px;
}

.hero-tags span {
  position: relative;
  padding-left: 22px;
  color: #495262;
  font-size: 16px;
}

.hero-tags span::before {
  content: "v";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 16px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(24, 43, 73, 0.14);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 39, 66, 0.18);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: 46px;
  color: var(--navy);
}

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

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

.service-card {
  padding: 30px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 30px rgba(16, 35, 62, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: var(--white);
  font-size: 34px;
  font-weight: 700;
}

.service-icon.blue {
  background: linear-gradient(135deg, #21395e, #162742);
}

.service-icon.gold {
  background: linear-gradient(135deg, #d8af6f, #c89a54);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--navy);
}

.service-card p {
  min-height: 72px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.service-card a,
.news-card a,
.more-link {
  color: var(--gold);
  font-weight: 700;
}

.section-dark {
  padding: 78px 0;
  background:
    linear-gradient(135deg, rgba(28, 44, 74, 0.98), rgba(18, 31, 53, 0.98)),
    radial-gradient(circle at top right, rgba(200, 154, 84, 0.14), transparent 22%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
}

.about-media {
  position: relative;
}

.about-brand-badge {
  position: absolute;
  left: 22px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 44px);
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(16, 35, 62, 0.16);
}

.about-brand-badge img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: none;
}

.about-brand-badge span {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.about-copy {
  color: rgba(255, 255, 255, 0.92);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.about-copy h2 {
  margin: 0 0 18px;
  font-size: 48px;
}

.about-copy > p:last-of-type {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat {
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 26px;
  color: var(--gold-soft);
}

.stat span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.news {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.section-heading-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.news-card {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(16, 35, 62, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 7.5;
  object-fit: cover;
}

.news-body {
  padding: 18px 20px 22px;
}

.news-body time {
  font-size: 14px;
  color: #8b93a1;
}

.news-body h3 {
  margin: 10px 0 10px;
  font-size: 28px;
  line-height: 1.35;
  color: var(--navy);
}

.news-body p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.site-footer {
  background: #121f35;
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 52px 0 34px;
}

.site-footer h3 {
  margin: 0 0 18px;
  font-size: 24px;
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.9;
}

.footer-links {
  display: grid;
  gap: 8px 18px;
}

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

.footer-contact {
  display: grid;
  gap: 2px;
}

.footer-address {
  margin: 2px 0 0;
  line-height: 1.55;
}

.qrcode-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qrcode-box img {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  background: var(--white);
  padding: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  padding: 18px 0 26px;
  text-align: center;
  font-size: 14px;
}

.subpage-main {
  min-height: calc(100vh - 92px);
  background: linear-gradient(180deg, #ffffff, #f6f8fb);
}

.subpage-hero,
.article-hero {
  padding: 88px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(200, 154, 84, 0.12), transparent 24%),
    linear-gradient(135deg, #f8fbff, #eef3f9);
}

.subpage-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 14px;
  font-weight: 700;
}

.subpage-hero h1,
.article-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  color: var(--navy);
}

.subpage-hero p,
.article-hero-copy > p:last-of-type {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
}

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

.news-list-main,
.article-content {
  display: grid;
  gap: 24px;
}

.news-list-card,
.sidebar-card,
.article-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(16, 35, 62, 0.05);
}

.news-list-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  overflow: hidden;
}

.news-list-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.news-list-body {
  padding: 28px 28px 24px;
}

.news-list-body time,
.article-meta {
  font-size: 14px;
  color: #8b93a1;
}

.news-list-body h2 {
  margin: 10px 0 14px;
  font-size: 30px;
  line-height: 1.35;
  color: var(--navy);
}

.news-list-body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.text-link {
  color: var(--gold);
  font-weight: 700;
}

.news-sidebar,
.article-sidebar {
  display: grid;
  gap: 20px;
}

.sidebar-card {
  padding: 24px;
}

.sidebar-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  color: var(--navy);
}

.sidebar-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.sidebar-links {
  display: grid;
  gap: 12px;
}

.sidebar-links a {
  color: #3e4a5f;
  line-height: 1.7;
}

.sidebar-btn {
  margin-top: 20px;
}

.article-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: center;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 18px;
}

.article-hero-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(16, 35, 62, 0.1);
}

.article-content {
  padding: 34px;
}

.article-content h2 {
  margin: 0 0 16px;
  font-size: 30px;
  color: var(--navy);
}

.article-content h2 + p {
  margin-top: 0;
}

.article-content p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.95;
  color: #435067;
}

.single-line-footer {
  padding: 0;
}

.admin-body {
  background: linear-gradient(180deg, #f5f8fc, #eef3f9);
}

.admin-auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.admin-auth-card,
.admin-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(16, 35, 62, 0.08);
}

.admin-auth-card {
  width: min(560px, 100%);
  padding: 34px;
}

.admin-auth-brand {
  margin-bottom: 24px;
}

.admin-auth-copy h1,
.admin-panel-head h2 {
  margin: 0 0 12px;
  color: var(--navy);
}

.admin-auth-copy p:last-child {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.8;
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field span {
  font-weight: 700;
  color: var(--navy);
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d9e1eb;
  border-radius: 14px;
  background: #fbfdff;
  color: var(--text);
  font: inherit;
}

.admin-field textarea {
  resize: vertical;
  min-height: 96px;
}

.admin-submit,
.admin-small-btn {
  min-width: 0;
}

.admin-message {
  min-height: 24px;
  margin: 0;
  color: var(--gold);
  line-height: 1.7;
}

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

.admin-top-link,
.admin-top-button,
.admin-secondary-btn,
.admin-inline-btn,
.admin-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid #d7e1ec;
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}

.admin-top-button,
.admin-secondary-btn,
.admin-inline-btn {
  appearance: none;
}

.admin-inline-btn.danger {
  color: #b94747;
  border-color: #f0d0d0;
}

.admin-subpage-hero {
  padding-bottom: 30px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: start;
}

.admin-panel {
  padding: 24px;
}

.admin-panel-head,
.admin-editor-actions,
.admin-panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-panel-head {
  margin-bottom: 18px;
}

.admin-panel-actions {
  justify-content: flex-end;
}

.admin-news-list {
  display: grid;
  gap: 16px;
}

.admin-news-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.admin-news-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
}

.admin-news-item-body h3 {
  margin: 8px 0 8px;
  color: var(--navy);
  font-size: 22px;
}

.admin-news-item-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.admin-news-meta {
  color: #8b93a1;
  font-size: 14px;
}

.admin-news-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

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

.admin-editor-form {
  gap: 18px;
}

.admin-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #d5dee9;
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
}


@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    order: 3;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .main-nav a {
    padding: 10px 0 16px;
  }

  .about-grid,
  .article-hero-inner,
  .news-list-layout,
  .article-layout,
  .footer-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 78px 0 82px;
  }

  .hero-kicker,
  .hero h1 {
    font-size: clamp(34px, 7vw, 56px);
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .split {
    display: block;
  }

  .section-heading-links,
  .admin-top-actions,
  .admin-panel-head,
  .admin-editor-actions,
  .admin-panel-actions,
  .admin-layout {
    display: grid;
  }

  .admin-layout,
  .admin-grid-two {
    grid-template-columns: 1fr;
  }

  .section-heading.split .more-link {
    display: inline-block;
    margin-top: 12px;
  }

}

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

  .service-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 34px;
  }

  .service-card h3,
  .news-body h3 {
    font-size: 22px;
  }

  .hero-tags {
    gap: 14px 18px;
  }

  .hero-tags span {
    width: calc(50% - 9px);
  }

  .qrcode-box {
    align-items: flex-start;
  }

  .about-brand-badge {
    left: 14px;
    right: 14px;
    top: 14px;
    max-width: none;
  }

  .about-brand-badge span {
    font-size: 14px;
  }

  .admin-auth-card,
  .admin-panel {
    padding: 20px;
  }

  .admin-news-item {
    grid-template-columns: 1fr;
  }

  .news-list-body,
  .article-content,
  .sidebar-card {
    padding: 20px;
  }

  .news-list-body h2,
  .article-content h2 {
    font-size: 24px;
  }
}
