/* ============================================================
   海南森宇信息科技有限公司 · 官网样式
   主题：蓝色商务风
   ============================================================ */

:root {
  --primary: #1d5fd6;          /* 主蓝 */
  --primary-dark: #14479f;     /* 深蓝 */
  --primary-light: #eaf1ff;    /* 浅蓝底 */
  --accent: #0ea5e9;           /* 点缀亮蓝 */
  --navy: #0f2137;             /* 深海军蓝（页脚） */
  --ink: #1f2937;              /* 正文主色 */
  --muted: #5b6472;            /* 次要文字 */
  --line: #e5e9f0;             /* 分割线 */
  --bg: #ffffff;
  --bg-soft: #f6f9ff;          /* 浅色区块背景 */
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 33, 55, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 33, 55, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 33, 55, 0.16);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
          "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.logo small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 1.5px;
}

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

.nav a {
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: all .2s ease;
}

.nav a:hover { color: var(--primary); background: var(--primary-light); }

.nav a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  margin-left: 8px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(29, 95, 214, 0.28);
  transition: all .2s ease;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  color: var(--navy);
}

/* ---------- 通用区块 ---------- */
section { padding: 80px 0; }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }

.section-head .eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 34px;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-head p { color: var(--muted); font-size: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 95, 214, 0.30);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-ghost:hover { background: var(--primary-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(14, 165, 233, 0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 10%, rgba(29, 95, 214, 0.14), transparent 55%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.22;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 .hl {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
}

.hero-stats .stat strong {
  display: block;
  font-size: 30px;
  color: var(--primary);
  line-height: 1.2;
}

.hero-stats .stat span { font-size: 14px; color: var(--muted); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.hero-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.hero-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.hero-card p { color: var(--muted); font-size: 14.5px; }

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; }

/* ---------- 特性卡片 ---------- */
.features { background: #fff; }

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

.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: all .25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.feature-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 通用卡片网格（服务/案例） ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: all .25s ease;
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.card .tag {
  display: inline-block;
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  border-radius: 22px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
}

.cta-band h2 { font-size: 30px; margin-bottom: 10px; }
.cta-band p { opacity: 0.92; font-size: 16px; }

.cta-band .btn {
  background: #fff;
  color: var(--primary);
  flex-shrink: 0;
}

.cta-band .btn:hover { transform: translateY(-2px); }

/* ---------- 页面内页标题 ---------- */
.page-hero {
  background:
    radial-gradient(700px 400px at 80% -20%, rgba(14, 165, 233, 0.18), transparent 60%),
    linear-gradient(180deg, #f6f9ff, #ffffff);
  padding: 72px 0 56px;
  text-align: center;
}

.page-hero h1 { font-size: 40px; color: var(--navy); margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto; }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-text h2 { font-size: 30px; color: var(--navy); margin-bottom: 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }

.about-text .check-list { margin-top: 20px; }
.about-text .check-list li {
  padding: 10px 0;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px dashed var(--line);
}

.about-text .check-list li::before {
  content: "✓";
  color: #fff;
  background: var(--primary);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-visual {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
  text-align: center;
}

.about-visual .big {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-visual .lbl { color: var(--muted); font-size: 15px; margin-top: 8px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.value-card .icon {
  font-size: 30px;
  margin-bottom: 14px;
}

.value-card h4 { color: var(--navy); margin-bottom: 8px; font-size: 17px; }
.value-card p { color: var(--muted); font-size: 14px; }

/* ---------- 案例 ---------- */
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
}

.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.case-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
}

.case-body { padding: 24px; }
.case-body h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.case-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }

.case-body .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.case-body .meta span {
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 40px;
}

.contact-info-card h3 { font-size: 24px; margin-bottom: 24px; }

.contact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item:last-child { border-bottom: none; }

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item .label { font-size: 13px; opacity: 0.75; }
.contact-item .value { font-size: 16px; font-weight: 600; margin-top: 2px; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
}

.contact-form h3 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.contact-form .sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 95, 214, 0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 10px 14px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 64px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #94a3b8; max-width: 300px; }

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 14px;
  padding: 6px 0;
  transition: color .2s ease;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748b;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .feature-grid,
  .card-grid,
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 60px 0 56px; }
  .hero h1 { font-size: 30px; }
  .feature-grid,
  .card-grid,
  .values-grid,
  .form-row { grid-template-columns: 1fr; }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav.open { display: flex; }
  .nav-cta { margin-left: 0; justify-content: center; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   爱点效平台 · 模块化产品矩阵
   ============================================================ */

.module-block { padding: 76px 0; }
.module-block.alt { background: var(--bg-soft); }

.module-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 44px;
}

.module-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(29, 95, 214, 0.30);
}

.module-head h2 { font-size: 30px; color: var(--navy); margin-bottom: 8px; }
.module-head p { color: var(--muted); font-size: 15.5px; max-width: 760px; }

.category-block { margin-bottom: 40px; }
.category-block:last-child { margin-bottom: 0; }

.category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.category-title .bar {
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--primary);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.item-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
}

.item-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #c8d8f8;
  transform: translateY(-2px);
}

.item-card h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-card p {
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 14px;
}

.price-tag {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.price-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 30px;
  padding: 12px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 10px;
}

@media (max-width: 640px) {
  .module-block { padding: 56px 0; }
  .module-head { flex-direction: column; gap: 12px; }
  .module-head h2 { font-size: 26px; }
  .item-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   服务边界 & 地图
   ============================================================ */

.boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.boundary-card {
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  background: #fff;
}

.boundary-card.do { border-top: 4px solid #16a34a; }
.boundary-card.dont { border-top: 4px solid #dc2626; }

.boundary-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.boundary-card .sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.boundary-card ul li {
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}

.boundary-card ul li:last-child { border-bottom: none; }

.boundary-card.do ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.boundary-card.dont ul li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
  font-size: 16px;
}

.map-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  background: var(--bg-soft);
  object-fit: cover;
}

.map-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: #fff;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.map-info .addr {
  font-size: 14px;
  color: var(--muted);
  max-width: 660px;
  line-height: 1.6;
}

.map-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.map-actions .btn {
  padding: 9px 18px;
  font-size: 14px;
}

@media (max-width: 960px) {
  .boundary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .map-frame { height: 300px; }
  .map-info { flex-direction: column; align-items: flex-start; }
}

/* ---------- 品牌 Logo ---------- */
.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.footer-logo-chip {
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-logo-chip .logo-img { height: 30px; }

@media (max-width: 640px) {
  .logo-img { height: 30px; }
}

/* ---------- 两列卡片布局 ---------- */
.item-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) {
  .item-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- 核心优势弹窗 ---------- */
.feature-card.is-clickable { cursor: pointer; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 33, 55, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 1000;
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 940px;
  max-height: 86vh;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(15, 33, 55, 0.3);
  transform: translateY(14px) scale(0.98);
  transition: transform .22s ease;
}

.modal-content {
  padding: 40px 36px 36px;
  overflow-y: auto;
  min-height: 0;
}

.modal-visual {
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.modal-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 33, 55, 0.12);
}

.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.modal-close:hover { background: var(--primary-light); color: var(--primary); }

.modal-title {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
  padding-right: 44px;
}

.modal-lead {
  font-size: 15px;
  color: var(--primary);
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.modal-list { list-style: none; }

.modal-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
  line-height: 1.7;
}

.modal-list li:last-child { border-bottom: none; }

.modal-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

body.modal-open { overflow: hidden; }

@media (max-width: 820px) {
  .modal {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-visual { order: -1; padding: 20px; }
  .modal-content { padding: 28px 24px 32px; }
}

@media (max-width: 640px) {
  .modal-title { font-size: 21px; }
}

/* ---------- 两列模块布局 ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.section-more {
  text-align: center;
  margin-top: 34px;
}

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
}
