:root {
  --ink: #1c2430;
  --muted: #66707c;
  --line: #e2e6ea;
  --bg: #f5f6f8;
  --panel: #ffffff;
  --brand: #234e6d;
  --brand-2: #2f6b4f;
  --accent: #b4532a;
  --shadow: 0 8px 24px rgba(28, 36, 48, 0.08);
  --radius: 6px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: #16202b;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar-phone { color: #fff; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.brand-text strong { display: block; font-size: 18px; letter-spacing: .02em; }
.brand-text small { color: var(--muted); font-size: 12px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 12px; color: var(--ink); font-weight: 500; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.header-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 2px; border: 0; cursor: pointer;
  background: var(--brand); color: #fff !important; font-weight: 600;
}
.btn:hover { background: #1b3f59; }
.btn-outline {
  background: transparent; color: var(--brand) !important;
  border: 1px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff !important; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; width: 40px; height: 40px; }

.section { padding: 64px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .eyebrow, .eyebrow {
  display: inline-block; color: var(--brand-2); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; margin-bottom: 8px; text-transform: uppercase;
}
.section-head h2, .mod-title {
  margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: .01em;
}
.section-head p, .mod-sub { margin: 0; color: var(--muted); }

/* Hero carousel */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: min(78vh, 680px);
  display: flex; align-items: center;
  background: #15202b;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,24,34,.82) 0%, rgba(16,24,34,.45) 55%, rgba(16,24,34,.25) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 72px 0 64px; width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.hero .eyebrow { color: #c9d6e2; }
.hero h1 {
  margin: 8px 0 10px; font-size: clamp(30px, 5vw, 52px); line-height: 1.2;
  font-weight: 800; max-width: 14ch;
}
.hero .hero-sub { font-size: clamp(18px, 2.4vw, 24px); color: #f0f3f6; margin: 0 0 12px; font-weight: 500; }
.hero .hero-desc { max-width: 560px; color: rgba(255,255,255,.82); margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero .btn-outline { color: #fff !important; border-color: rgba(255,255,255,.7); }
.hero .btn-outline:hover { background: #fff; color: var(--ink) !important; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 140px)); gap: 12px; }
.hero-stats .stat {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 12px 14px;
}
.hero-stats strong { display: block; font-size: 26px; }
.hero-stats span { color: rgba(255,255,255,.75); font-size: 13px; }
.hero-dots {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.hero-dots button {
  width: 28px; height: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35);
}
.hero-dots button.is-active { background: #fff; }
.hero-nav {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25); color: #fff; cursor: pointer; font-size: 20px;
}
.hero-nav.prev { left: 16px; }
.hero-nav.next { right: 16px; }

/* Inner page banner */
.page-banner {
  position: relative; min-height: 220px; display: flex; align-items: flex-end;
  color: #fff; background: #1a2633 center/cover no-repeat;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,26,36,.78), rgba(18,26,36,.35));
}
.page-banner .container { position: relative; z-index: 1; padding: 48px 0 28px; }
.page-banner h1 { margin: 0 0 8px; font-size: clamp(26px, 3.5vw, 38px); }
.page-banner p { margin: 0; color: rgba(255,255,255,.8); max-width: 640px; }
.page-banner .crumb { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.page-banner .crumb a:hover { color: #fff; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.about-copy p { color: var(--muted); white-space: pre-line; }
.about-image {
  overflow: hidden; border: 1px solid var(--line); background: #fff; min-height: 340px;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); padding: 14px 16px;
}
.stat-card strong { color: var(--brand); font-size: 26px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: #b8c4cf; transform: translateY(-3px); }
.card-body { padding: 16px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .cover { aspect-ratio: 16/10; background: #dfe3e8; overflow: hidden; }
.card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .cover img { transform: scale(1.04); }
.card-link { display: inline-flex; margin-top: 12px; color: var(--brand); font-weight: 600; }

.service-icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: #eef3f7; color: var(--brand); font-weight: 800; margin-bottom: 12px;
  border: 1px solid var(--line);
}

.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv-item {
  padding: 22px; background: #fff; border: 1px solid var(--line);
}
.adv-item .num { font-size: 28px; color: var(--brand); font-weight: 800; }
.adv-item p { color: var(--muted); margin: 0; }

.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.culture-item {
  padding: 24px 20px; color: #fff; min-height: 220px; background: #234e6d;
}
.culture-item:nth-child(2) { background: #2f6b4f; }
.culture-item:nth-child(3) { background: #3a5368; }
.culture-item:nth-child(4) { background: #1f3d52; }
.culture-item .big { font-size: 42px; font-weight: 800; line-height: 1; }
.culture-item h3 { margin: 10px 0 8px; font-size: 18px; }
.culture-item p { margin: 0; color: rgba(255,255,255,.86); font-size: 14px; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cert-item {
  background: #fff; padding: 12px; border: 1px solid var(--line); text-align: center;
}
.cert-item img { width: 100%; height: 210px; object-fit: contain; background: #f7f8fa; }
.cert-item h4 { margin: 10px 0 0; font-size: 14px; font-weight: 600; }

.news-meta { color: var(--muted); font-size: 13px; display: flex; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }

.cta-band {
  margin: 8px 0 0; color: #fff; overflow: hidden;
  background: #1a2633 center/cover no-repeat;
  padding: 42px; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  position: relative;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; background: rgba(18,28,38,.78);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 8px; font-size: 28px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.contact-card, .form-card {
  background: #fff; padding: 26px; border: 1px solid var(--line);
}
.form-row { margin-bottom: 14px; }
.form-row label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.form-row input, .form-row textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 2px; padding: 11px 12px;
  font: inherit; background: #fff;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.alert { padding: 12px 14px; margin-bottom: 14px; border: 1px solid transparent; }
.alert-success { background: #eef7f1; color: #215f3b; border-color: #cfe5d8; }
.alert-error { background: #fbf0ef; color: #8f2f2a; border-color: #efd2cf; }

.rich-content { background: #fff; padding: 28px; border: 1px solid var(--line); }
.rich-content img { margin: 12px 0; }
.rich-content h3 { margin: 28px 0 12px; font-size: 20px; color: var(--ink); }
.rich-content p { margin: 0 0 14px; color: #3a4450; }
.rich-content ul, .rich-content ol { margin: 0 0 16px; padding-left: 1.3em; color: #3a4450; }
.rich-content li { margin: 6px 0; }
.rich-content strong { color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-grid img { width: 100%; height: 210px; object-fit: cover; }
.article-gallery a { display: block; border: 1px solid var(--line); }
.article-gallery a:hover { opacity: .92; }

.site-footer {
  margin-top: 48px; background: #141c26; color: rgba(255,255,255,.84); padding-top: 48px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 32px; }
.footer-brand img { width: 58px; height: 58px; object-fit: contain; background: #fff; margin-bottom: 12px; border: 1px solid #2a3644; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0 24px;
  color: rgba(255,255,255,.5); font-size: 13px;
}
.float-phone {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 20px;
  box-shadow: var(--shadow);
}

.text-module { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.text-module.reverse { grid-template-columns: .9fr 1.1fr; }
.text-module.reverse .text-copy { order: 2; }
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  background: #fff; border: 1px solid var(--line); padding: 18px;
}
.stats-band .item { text-align: center; }
.stats-band strong { display: block; font-size: 28px; color: var(--brand); }

@media (max-width: 980px) {
  .cards, .adv-grid, .culture-grid, .cert-grid, .footer-grid, .stats-band { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .text-module, .text-module.reverse { grid-template-columns: 1fr; }
  .text-module.reverse .text-copy { order: 0; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .main-nav {
    display: none; position: absolute; left: 16px; right: 16px; top: 72px;
    background: #fff; border: 1px solid var(--line); padding: 10px; flex-direction: column;
  }
  .main-nav.open { display: flex; }
  .hero-nav { display: none; }
}
@media (max-width: 640px) {
  .cards, .adv-grid, .culture-grid, .cert-grid, .footer-grid, .stats-band, .gallery-grid, .hero-stats { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; }
  .section { padding: 48px 0; }
  .cta-band, .page-banner .container { padding-left: 18px; padding-right: 18px; }
  .hero { min-height: 560px; }
}
