/* ==========================================================================
   广州润森网络科技有限公司 官网样式
   ========================================================================== */

:root {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --accent: #0ea5e9;
  --ink: #0f172a;
  --text: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  --maxw: 1120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑",
    "Segoe UI", Arial, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img,
svg {
  vertical-align: middle;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-name small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 2px;
  line-height: 1.2;
}

.main-nav ul {
  display: flex;
  gap: 8px;
}

.main-nav a {
  display: block;
  padding: 8px 18px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
  background: #eff6ff;
  color: var(--primary);
}

.main-nav a.active {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* --------------------------------------------------------------------------
   首页 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 55%, #0e7490 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  position: relative;
  padding: 96px 0 88px;
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #e0f2fe;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 600;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* 下载图标 */
.dl-icon {
  width: 15px;
  height: 15px;
  vertical-align: -2px;
  margin-right: 6px;
}

/* 数据条 */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 34px 0;
}

.stat {
  text-align: center;
}

.stat b {
  display: block;
  font-size: 26px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.4;
}

.stat span {
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   通用区块
   -------------------------------------------------------------------------- */
.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--bg);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: 30px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-head .bar {
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 0 auto 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   关于摘要（首页两栏）
   -------------------------------------------------------------------------- */
.about-summary {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-summary h2 {
  font-size: 28px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 16px;
}

.about-summary p {
  margin-bottom: 12px;
  text-align: justify;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.fact b {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 6px;
}

.fact span {
  font-size: 17px;
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   业务卡片
   -------------------------------------------------------------------------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.biz-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.12);
}

.biz-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: var(--primary);
  margin-bottom: 18px;
}

.biz-icon svg {
  width: 26px;
  height: 26px;
}

.biz-card h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 600;
}

.biz-card p {
  font-size: 14.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   优势
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-item {
  text-align: center;
  padding: 12px;
}

.why-item .num {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.why-item h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 600;
}

.why-item p {
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   子页 banner
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #0e7490 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.page-banner h1 {
  font-size: 32px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   关于页：企业信息 & 经营范围
   -------------------------------------------------------------------------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  text-align: left;
}

.info-table th {
  width: 160px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.about-text {
  max-width: 820px;
  margin: 0 auto 48px;
}

.about-text p {
  text-align: justify;
  margin-bottom: 14px;
}

.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.scope-tags li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 14px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   联系页
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 30px 20px;
}

.contact-card .biz-icon {
  margin: 0 auto 14px;
}

.contact-card h3 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14px;
  color: var(--muted);
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0f1c3f;
  color: #b6c2dd;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer-top h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-top p {
  font-size: 14px;
  line-height: 1.9;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #b6c2dd;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #8fa0c5;
}

.footer-bottom a {
  color: #8fa0c5;
  margin: 0 6px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .about-summary {
    grid-template-columns: 1fr;
  }

  .biz-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 10px 24px 16px;
  }

  .hero-inner {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .biz-grid,
  .why-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: none;
    padding-bottom: 0;
  }
}
