/* =====================================================================
   暨港（广州）科教投资有限公司 —— ICP 备案审核站点样式
   配色：深蓝 #1f3a5f / 暖白 #f7f6f2 / 金色 #d9b24c
   全部本地资源，无外部依赖（避免审核时外链加载失败）
   ===================================================================== */

:root {
  --navy: #1f3a5f;
  --navy-deep: #16293f;
  --navy-soft: #2c5288;
  --gold: #d9b24c;
  --gold-soft: #e8cf8f;
  --paper: #f7f6f2;
  --ink: #22303f;
  --ink-soft: #5b6b7c;
  --line: #e3e0d8;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(31, 58, 95, 0.08);
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-soft); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(6px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  line-height: 1.3;
}

.nav { display: flex; gap: 30px; }

.nav a {
  font-size: 15px;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}

.nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }

/* ---------------- 首屏 ---------------- */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #2a4a73 100%);
  color: var(--white);
  padding: 92px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 178, 76, .22) 0%, rgba(217, 178, 76, 0) 70%);
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-soft);
  border: 1px solid rgba(217, 178, 76, .45);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, .84);
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 15px;
  letter-spacing: 1px;
  transition: transform .16s, box-shadow .16s, background .16s;
}

.btn-primary { background: var(--gold); color: var(--navy-deep); font-weight: 600; }
.btn-primary:hover { background: var(--gold-soft); color: var(--navy-deep); transform: translateY(-2px); }

.btn-ghost { border: 1px solid rgba(255, 255, 255, .38); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ---------------- 区块通用 ---------------- */
.section { padding: 78px 0; }
.section-alt { background: var(--white); }

.section-head { margin-bottom: 46px; }

.section-label {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: 29px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
}

.section-title span {
  display: block;
  width: 46px;
  height: 3px;
  background: var(--gold);
  margin-top: 16px;
}

/* ---------------- 公司简介 ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 52px;
  align-items: start;
}

.about-text p { margin-bottom: 18px; color: var(--ink-soft); }
.about-text p strong { color: var(--navy); font-weight: 600; }

.fact-list { display: grid; gap: 14px; }

.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.fact dt { font-size: 13px; color: var(--ink-soft); letter-spacing: 1px; margin-bottom: 4px; }
.fact dd { font-size: 16px; color: var(--navy); font-weight: 600; }

/* ---------------- 业务范围 ---------------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.biz-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}

.biz-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s;
}

.biz-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(31, 58, 95, .12); }
.biz-card:hover::before { transform: scaleX(1); }

.biz-icon {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: rgba(31, 58, 95, .06);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.biz-icon svg { width: 24px; height: 24px; }

.biz-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: .5px;
}

.biz-card p { font-size: 15px; color: var(--ink-soft); }

/* ---------------- 联系我们 ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.contact-list { display: grid; gap: 18px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.contact-item .ci-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item .ci-icon svg { width: 19px; height: 19px; }
.contact-item .ci-text dt { font-size: 13px; color: var(--ink-soft); letter-spacing: 1px; margin-bottom: 3px; }
.contact-item .ci-text dd { font-size: 16px; color: var(--navy); font-weight: 600; word-break: break-all; }

.contact-note {
  background: rgba(217, 178, 76, .09);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 26px;
  font-size: 15px;
  color: var(--ink-soft);
}

.contact-note h4 { color: var(--navy); font-size: 16px; margin-bottom: 10px; letter-spacing: .5px; }
.contact-note ul { list-style: none; }
.contact-note li { position: relative; padding-left: 16px; margin-bottom: 7px; }
.contact-note li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .7);
  padding: 44px 0 34px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  flex-wrap: wrap;
}

.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text span { color: var(--gold-soft); }
.footer-brand p { margin-top: 12px; max-width: 420px; font-size: 14px; line-height: 1.8; }

.footer-links { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-links h5 { color: var(--gold); font-size: 14px; letter-spacing: 1px; margin-bottom: 12px; font-weight: 600; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255, 255, 255, .72); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* 备案号 —— 管局必查项，样式须清晰可点 */
.icp { display: inline-flex; align-items: center; gap: 7px; }
.icp a {
  color: var(--gold);
  border-bottom: 1px solid rgba(217, 178, 76, .4);
  padding-bottom: 1px;
}
.icp a:hover { color: var(--gold-soft); }
.icp img { width: 15px; height: 15px; }

/* 待填写字段高亮 —— 仅存在于本地构建预览，上线前必须全部替换 */
.todo {
  background: #ffe9a8;
  color: #8a5a00;
  border: 1px dashed #d99a1f;
  border-radius: 4px;
  padding: 0 6px;
  font-size: .85em;
  font-weight: 600;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .biz-grid { grid-template-columns: 1fr; }
  .hero { padding: 66px 0 60px; }
  .hero h1 { font-size: 27px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 23px; }
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 620px) {
  .brand-text span { display: none; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .footer-top { flex-direction: column; }
}
