/* ============================================================
   IVY CLUB @ ZYSPHERE — 官网设计系统
   主色：深蓝 #16263C · 金 #C6A15B · 米白 #F6F3EC
   字体：衬线标题（Noto Serif SC / 宋体系）+ 无衬线正文
   断点：375px 手机 / 768px 平板 / 1440px 桌面
   ============================================================ */
:root {
  --navy: #16263C;
  --navy2: #1F3A5F;
  --navy3: #2C4E7F;
  --gold: #C6A15B;
  --gold-deep: #9C7A35;
  --gold-bg: #F4EADA;
  --ivory: #F6F3EC;
  --paper: #FFFDF8;
  --ink: #23272F;
  --muted: #5F6670;
  --line: #E5DCCB;
  --ok: #2E7D5B;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 8px 28px rgba(22, 38, 60, .10);
  --shadow-lg: 0 16px 48px rgba(22, 38, 60, .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy3); text-decoration: none; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.35; color: var(--navy); font-weight: 700; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 顶部公告条 ---------- */
.announce {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  color: #fff; font-size: 13px; text-align: center; padding: 7px 40px;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.announce a:hover { color: var(--navy); }

/* ---------- 顶部导航 ---------- */
.header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 14px rgba(10, 20, 35, .25);
}
.header .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; max-width: 1280px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand .mark {
  font-family: var(--serif); font-weight: 700; letter-spacing: .06em;
  color: var(--gold); border: 1px solid rgba(198, 161, 91, .65);
  padding: 3px 10px; border-radius: 4px; font-size: 15px; white-space: nowrap;
}
.brand .sub { font-size: 11px; color: #AEB9C8; letter-spacing: .14em; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  color: #D6DEE8; font-size: 13.5px; padding: 8px 9px; border-radius: 4px; white-space: nowrap;
}
.nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav a.active { color: var(--gold); font-weight: 700; }
.nav .cta-btn {
  background: var(--gold); color: var(--navy); font-weight: 700;
  padding: 9px 18px; border-radius: 4px; margin-left: 8px; white-space: nowrap;
}
.nav .cta-btn:hover { background: #D8B672; color: var(--navy); }
/* 语言切换按钮（header 右上角） */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); border: 1px solid rgba(198, 161, 91, .55);
  background: rgba(198, 161, 91, .08); border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 14px; min-height: 30px; white-space: nowrap; margin-left: 6px;
  transition: background .2s, color .2s;
}
.lang-switch:hover { background: var(--gold); color: var(--navy); text-decoration: none; }
.drawer .lang-switch { display: block; text-align: center; margin-top: 14px; border-radius: 999px; }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff;
  border-radius: 4px; padding: 6px 12px; font-size: 15px; margin-left: 10px;
}
/* 抽屉 */
.drawer {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; overflow: hidden;
}
.drawer .mask {
  position: absolute; inset: 0; background: rgba(10, 18, 30, .55); opacity: 0;
  transition: opacity .25s;
}
.drawer .panel {
  position: absolute; top: 0; bottom: 0; width: min(300px, 82vw);
  background: var(--navy); padding: 22px 18px;
  right: calc(-1 * min(300px, 82vw));
  transition: right .28s ease; overflow-y: auto;
}
.drawer.open { pointer-events: auto; }
.drawer.open .mask { opacity: 1; }
.drawer.open .panel { right: 0; }
.drawer .brand { margin-bottom: 18px; }
.drawer a { display: block; color: #D6DEE8; padding: 11px 8px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; }
.drawer a.active { color: var(--gold); font-weight: 700; }
.drawer .cta-btn { margin-top: 16px; background: var(--gold); color: var(--navy); text-align: center; font-weight: 700; border-radius: 4px; }
.drawer .close { position: absolute; top: 14px; right: 14px; background: none; border: none; color: #AEB9C8; font-size: 22px; line-height: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, #101F33 0%, var(--navy) 45%, var(--navy2) 100%);
  padding: 118px 0 128px;
}
.hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 68% center; z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(198, 161, 91, .18), transparent 60%),
    linear-gradient(90deg, rgba(8, 15, 27, .88) 0%, rgba(8, 15, 27, .66) 40%, rgba(8, 15, 27, .32) 68%, rgba(8, 15, 27, .60) 100%);
}
.hero .schools {
  position: absolute; inset: 0; pointer-events: none; opacity: .1; z-index: 2;
  font-family: var(--serif); font-size: clamp(15px, 2vw, 22px); letter-spacing: .35em;
  color: #fff; white-space: nowrap;
  display: flex; flex-direction: column; justify-content: space-around; align-items: center;
  transform: rotate(-6deg) scale(1.05);
}
.hero .wrap { position: relative; z-index: 3; }
.hero .kicker {
  display: inline-block; font-size: 13px; letter-spacing: .22em; color: var(--gold);
  border: 1px solid rgba(198, 161, 91, .55); padding: 4px 14px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(28px, 5vw, 46px); font-weight: 900; color: #fff; max-width: 14em; }
.hero .trust {
  margin-top: 16px; font-size: clamp(15px, 2vw, 18px); color: #E8EDF4;
  font-family: var(--serif); max-width: 40em;
}
.hero .sub { margin-top: 10px; color: #C9D2DE; max-width: 44em; font-size: 14.5px; }
.hero .cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 4px; font-size: 15px;
  font-weight: 700; text-align: center; transition: all .18s; min-height: 44px;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D8B672; color: var(--navy); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.btn-navy:hover { background: var(--navy2); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- 页面内页标题区 ---------- */
.page-hero {
  background: linear-gradient(150deg, #101F33, var(--navy) 55%, var(--navy2));
  color: #fff; padding: 56px 0 48px;
}
.page-hero h1 { color: #fff; font-size: clamp(24px, 3.6vw, 34px); font-weight: 900; }
.page-hero .sub { margin-top: 10px; color: #C9D2DE; max-width: 46em; font-size: 14.5px; }
.breadcrumb { margin-top: 18px; font-size: 13px; color: #8FA0B5; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ---------- 章节 ---------- */
section { padding: 56px 0 8px; }
.sec-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--navy); padding-bottom: 10px; margin-bottom: 26px; }
.sec-head .no { font-family: var(--serif); font-weight: 900; color: var(--gold-deep); font-size: 20px; }
.sec-head h2 { font-size: clamp(20px, 2.8vw, 26px); }
.sec-head .en { margin-left: auto; font-size: 12px; color: var(--muted); letter-spacing: .14em; }
.sec-head .en:empty { display: none; }
.sec-head .more { margin-left: auto; font-size: 14px; color: var(--navy3); font-weight: 500; }
.sec-head .more:hover { color: var(--gold-deep); }
h3 { font-size: 18px; margin: 26px 0 12px; }
h4 { font-size: 16px; margin: 18px 0 8px; }
p { margin: 8px 0; }
.lead { font-size: 15px; color: var(--muted); max-width: 60em; }
ul, ol { margin: 8px 0 8px 22px; }
li { margin: 5px 0; }

/* ---------- 数据信任条 ---------- */
.stats-band { background: var(--navy); padding: 34px 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.stat {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px; padding: 20px 18px; text-align: center; color: #fff;
  display: block; transition: all .18s;
}
.stat:hover { background: rgba(198, 161, 91, .12); border-color: rgba(198, 161, 91, .5); color: #fff; transform: translateY(-2px); }
.stat .num { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; color: var(--gold); line-height: 1.15; }
.stat .lbl { margin-top: 6px; font-size: 13px; color: #C9D2DE; }
.stat .tip { font-size: 11px; color: #8FA0B5; margin-top: 4px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: minmax(0,1fr); }
.g3 { grid-template-columns: minmax(0,1fr); }
.g4 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px; display: block; color: inherit; transition: all .18s;
}
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold); color: inherit; }
.card h4 { margin-top: 0; }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 100px;
  background: var(--gold-bg); color: var(--gold-deep);
}
.tag.navy { background: #E8EDF4; color: var(--navy3); }
.tag.ok { background: #E2F0E8; color: var(--ok); }
.tag.todo { background: #EDEFF3; color: #8A93A0; }

/* ---------- 案例详情：录取成果一览 ---------- */
.offers { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; font-size: 13.5px; font-weight: 600; padding: 8px 18px;
  border-radius: 100px; background: var(--gold-bg); color: var(--gold-deep);
  border: 1px solid rgba(198,161,91,.45);
}

/* ---------- 服务九宫格 ---------- */
.svc-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.svc-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start; color: inherit; transition: all .18s;
}
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold); color: inherit; }
.svc-card > div { min-width: 0; }
.svc-card h4, .svc-card p { overflow-wrap: break-word; }
.svc-card .icon {
  flex: none; width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 17px;
}
.svc-card h4 { font-size: 16px; }
.svc-card p { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; }

/* ---------- 导师 / 案例卡片 ---------- */
.mentor-card, .case-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px; display: block; color: inherit; transition: all .18s; position: relative;
}
.mentor-card:hover, .case-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold); color: inherit; }
.mentor-card .crest {
  width: 76px; height: 56px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 6px; margin-bottom: 12px; overflow: hidden;
}
.mentor-card .crest img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.mentor-card .crest--text {
  width: 52px; height: 52px; border-radius: 50%; padding: 0; border: 0;
  background: linear-gradient(140deg, var(--navy), var(--navy2));
  color: var(--gold); font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.mentor-card h4 { margin: 0 0 4px; }
.mentor-card .code { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.mentor-card .tag-row { margin-top: 8px; }
.mentor-card .mbio { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 10px 0 0; }
.case-card .school { font-family: var(--serif); color: var(--gold-deep); font-weight: 700; font-size: 15px; }
.case-card .student { font-size: 13px; color: var(--muted); margin-top: 2px; }
.case-card .result { margin-top: 8px; font-size: 13.5px; }
.case-card .dir-tag { position: absolute; top: 14px; right: 14px; }

/* ---------- 六大优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.adv-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 20px; position: relative; transition: all .18s;
}
.adv-item:hover { box-shadow: var(--shadow); border-color: var(--gold); transform: translateY(-2px); }
.adv-item .no {
  font-family: var(--serif); font-weight: 900; font-size: 30px; line-height: 1;
  color: var(--gold); position: absolute; top: 18px; right: 20px; opacity: .55;
}
.adv-item h4 { margin: 0 0 8px; font-size: 16.5px; }
.adv-item p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ---------- 录取院校明细表 ---------- */
.school-detail { border-collapse: collapse; width: 100%; }
.school-detail th, .school-detail td { padding: 7px 10px; font-size: 13px; text-align: left; border-bottom: 1px solid var(--line); }
.school-detail thead th { background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap; }
.school-detail tr.group-row td { background: var(--gold-bg); border-bottom: 1px solid var(--line); }
.school-detail tr.group-row td b { color: var(--gold-deep); font-size: 13.5px; }

/* ---------- offer 墙 ---------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.offer {
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 8px; padding: 14px 16px; font-size: 14px;
}
.offer b { font-family: var(--serif); color: var(--navy); }
.offer .yr { color: var(--muted); font-size: 12px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.filter-btn {
  background: var(--paper); border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 16px; font-size: 13px; color: var(--muted);
}
.filter-btn.active, .filter-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 语录轮播 ---------- */
.quote-band { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 34px 28px; position: relative; }
.quote-item { text-align: center; display: none; animation: fadeIn .5s; }
.quote-item.active { display: block; }
.quote-item .q {
  font-family: var(--serif); font-size: clamp(17px, 2.4vw, 21px); color: var(--navy);
  max-width: 34em; margin: 0 auto; line-height: 1.7;
}
.quote-item .src { margin-top: 14px; font-size: 13px; color: var(--muted); }
.quote-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.quote-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: #CBD2DB; padding: 0; }
.quote-dots button.active { background: var(--gold-deep); width: 22px; border-radius: 100px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 媒体卡 ---------- */
.media-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px 20px; display: block; color: inherit; transition: all .18s; }
.media-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold); color: inherit; }
.media-card .m-logo { font-family: var(--serif); font-weight: 900; color: var(--navy); font-size: 18px; letter-spacing: .04em; }
.media-card .m-desc { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.media-card .m-link { font-size: 12.5px; color: var(--gold-deep); margin-top: 10px; display: inline-block; }
.news-art { width: 100%; border-radius: 12px; display: block; margin-top: 18px; box-shadow: 0 6px 24px rgba(22, 38, 60, .08); }
.news-art-empty { border: 1.5px dashed var(--line); color: var(--muted); font-size: 13px; text-align: center; padding: 38px 20px; border-radius: 12px; margin-top: 18px; }
.points { list-style: none; margin-top: 14px; }
.points li { border-left: 3px solid var(--gold); padding: 8px 0 8px 16px; margin-bottom: 14px; }
.points .pt-cn { font-size: 15.5px; color: var(--navy); font-weight: 600; line-height: 1.7; }
.points .pt-en { font-size: 13px; color: var(--muted); margin-top: 6px; font-style: italic; line-height: 1.6; }

/* ---------- 时间轴（9 步流程） ---------- */
.timeline { position: relative; margin: 20px 0; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 22px 12px; }
.tl-item::before {
  content: ""; position: absolute; left: -23px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold); border: 3px solid var(--navy);
  box-sizing: border-box;
}
.tl-item h4 { margin: 0 0 2px; }
.tl-item .no { position: absolute; left: -24px; top: -18px; font-family: var(--serif); font-weight: 900; color: var(--gold-deep); font-size: 14px; }
.tl-item p { font-size: 13.5px; color: var(--muted); margin: 2px 0; }

/* ---------- 表格 ---------- */
table { width: 100%; border-collapse: collapse; margin: 14px 0; background: var(--paper); font-size: 13.5px; }
th, td { border: 1px solid var(--line); padding: 9px 12px; vertical-align: top; text-align: left; }
th { background: var(--navy); color: #fff; font-weight: 500; font-size: 13px; }
tr:nth-child(even) td { background: #FAF7F0; }
.table-scroll { overflow-x: auto; }

/* ---------- 提示框 ---------- */
.note { background: var(--gold-bg); border-left: 4px solid var(--gold-deep); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; font-size: 14px; }
.note b { color: var(--gold-deep); }
.placeholder-box {
  background: #F1F0EB; border: 1px dashed #C9C4B5; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #9A9586; font-size: 13.5px; padding: 34px 20px; margin: 16px 0;
}
/* 品牌化图片占位（照片/封面待提供时保持页面完整观感） */
.photo-ph {
  aspect-ratio: 4 / 3; border-radius: 10px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy2) 72%, var(--navy3) 100%);
  border: 1px solid rgba(198, 161, 91, .35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(198, 161, 91, .8); font-family: var(--serif); letter-spacing: .18em;
  font-size: 13px; text-align: center; gap: 6px; padding: 20px;
}
.photo-ph::before { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border: 1px solid rgba(198, 161, 91, .28); border-radius: 50%; }
.photo-ph::after { content: ""; position: absolute; left: -40px; bottom: -60px; width: 170px; height: 170px; border: 1px solid rgba(198, 161, 91, .18); border-radius: 50%; }
.cover-ph {
  border-radius: 12px; min-height: 300px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #101F33, var(--navy) 55%, var(--navy2));
  border: 1px solid rgba(198, 161, 91, .4);
  display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 34px 30px;
}
.cover-ph::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 260px; height: 260px; border: 1px solid rgba(198, 161, 91, .3); border-radius: 50%; }
.cover-ph .t { font-family: var(--serif); color: var(--gold); font-size: 14px; letter-spacing: .22em; }
.cover-ph .t2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: #fff; line-height: 1.4; }
.cover-ph .meta { font-size: 12.5px; color: #AEB9C8; letter-spacing: .12em; }
.badge-soon {
  display: inline-block; background: var(--gold-bg); color: var(--gold-deep);
  border: 1px solid var(--gold); border-radius: 100px; padding: 2px 12px; font-size: 12px;
  vertical-align: middle; margin-left: 6px; letter-spacing: .1em;
}
.qr-img.placeholder {
  border: 1px dashed rgba(156, 122, 53, .55); background: var(--gold-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--gold-deep); font-size: 13px; line-height: 1.9;
}
/* ---------- offer 截图墙 ---------- */
.offer-img-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.offer-img {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--paper); display: block; aspect-ratio: 3 / 4; position: relative;
}
.offer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.offer-img:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.offer-img:hover img { transform: scale(1.05); }
.offer-img::after {
  content: "查看大图"; position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 0 8px; text-align: center; font-size: 12px; color: #fff;
  background: linear-gradient(transparent, rgba(10, 18, 30, .78));
  opacity: 0; transition: opacity .25s;
}
.offer-img:hover::after { opacity: 1; }
/* ---------- 评价截图网格 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.review-img {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--paper); display: block; position: relative;
}
.review-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-img:hover { border-color: var(--gold); box-shadow: var(--shadow); }
/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: none;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox .lb-mask { position: absolute; inset: 0; background: rgba(8, 14, 24, .88); }
.lightbox img {
  position: relative; max-width: 92vw; max-height: 88vh;
  border-radius: 6px; box-shadow: var(--shadow-lg); background: #fff;
}
.lightbox .lb-close {
  position: absolute; top: 16px; right: 20px; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.1); color: #fff; font-size: 24px; line-height: 1;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,.25); }
@media (min-width: 640px) {
  .offer-img-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .review-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .offer-img-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .review-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.video-box { aspect-ratio: 16 / 9; }

/* ---------- 表单 ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 30px 26px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--navy); }
.field label .req { color: #A33B2E; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 16px; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold-deep);
}
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 0 14px; }
.submit-btn { width: 100%; border: none; font-size: 16px; }

/* ---------- 咨询 CTA 区 ---------- */
.cta-panel {
  background: linear-gradient(140deg, var(--navy), var(--navy2));
  border-radius: 14px; color: #E8EDF4; padding: 44px 34px; position: relative; overflow: hidden;
}
.cta-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border: 1px solid rgba(198,161,91,.3); border-radius: 50%; }
.cta-panel h2 { color: #fff; font-size: clamp(21px, 3vw, 28px); }
.cta-panel p { color: #C9D2DE; max-width: 40em; }
.cta-panel .cta-row { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-panel .addr { margin-top: 20px; font-size: 13px; color: #AEB9C8; line-height: 1.9; }
.cta-panel .addr b { color: var(--gold); font-weight: 500; }

/* ---------- 微信二维码弹层 ---------- */
.qr-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; }
.qr-modal.open { display: flex; }
.qr-modal .mask { position: absolute; inset: 0; background: rgba(10,18,30,.6); }
.qr-modal .box {
  position: relative; background: var(--paper); border-radius: 14px; padding: 28px; width: min(360px, 90vw); text-align: center;
}
.qr-modal .box h4 { margin: 0 0 6px; }
.qr-modal .qr-img { width: 220px; height: 220px; margin: 14px auto; border-radius: 8px; }
.qr-modal .close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 22px; color: var(--muted); }
.qr-modal .tip { font-size: 13px; color: var(--muted); }

/* ---------- 漂浮按钮 ---------- */
.fab {
  position: fixed; right: 18px; bottom: 22px; z-index: 150;
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: 14.5px;
  padding: 13px 20px; border-radius: 100px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 8px; transition: all .18s;
}
.fab:hover { background: #D8B672; color: var(--navy); transform: translateY(-2px); }
.fab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: #AEB9C8; margin-top: 60px; padding: 48px 0 30px; font-size: 13.5px; }
.footer .cols { display: grid; grid-template-columns: minmax(0,1fr); gap: 30px; }
.footer .brand { color: #fff; }
.footer .brand .mark { font-size: 17px; }
.footer .slogan {
  margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center; font-family: var(--serif); font-size: 15px;
  color: #C9D2DE; letter-spacing: .06em; line-height: 2;
}
.footer h5 { color: #fff; font-family: var(--serif); font-size: 15px; margin-bottom: 10px; }
.footer a { display: block; color: #AEB9C8; padding: 3px 0; }
.footer a:hover { color: var(--gold); }
.footer .contact li { list-style: none; margin: 5px 0; }
.footer .bottom { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12.5px; color: #7E8CA0; }

/* ---------- 404 ---------- */
.err-wrap { text-align: center; padding: 90px 20px; }
.err-wrap .code { font-family: var(--serif); font-size: clamp(60px, 12vw, 110px); font-weight: 900; color: var(--navy); line-height: 1; }
.err-wrap .code em { color: var(--gold); font-style: normal; }
.err-wrap p { color: var(--muted); margin: 14px 0 26px; }

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .g2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .form-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .offers { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer .cols { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr); }
}
@media (min-width: 768px) {
  body { font-size: 15.5px; }
  .g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .svc-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  section { padding: 64px 0 10px; }
}
@media (min-width: 1024px) {
  .g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .svc-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 1150px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .lang-switch { margin-left: auto; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .svc-grid { grid-template-columns: minmax(0,1fr); }
  .sec-head { flex-wrap: wrap; row-gap: 6px; }
  .sec-head .en { margin-left: 0; width: 100%; order: 3; }
  .adv-grid { grid-template-columns: minmax(0,1fr); }
  .offers { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .hero { padding: 64px 0 70px; }
  .fab { padding: 11px 16px; font-size: 13.5px; }
}
@media print {
  .header, .footer, .fab, .announce, .drawer, .qr-modal { display: none !important; }
  body { background: #fff; }
}
/* 成果页统计区（5 张卡，避免孤卡） */
.results-stats { grid-template-columns: repeat(5, minmax(0,1fr)); }
@media (max-width: 1023px) { .results-stats { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 640px) {
  .results-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .results-stats .stat:last-child { grid-column: span 2; }
}
/* 案例列表（10 张卡：≥768 四列 4+4+2，窄屏两列 2×5，避免孤卡） */
.cases-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
/* 评价列表（10 张卡，同上）与反馈截图（13 张，末张占满整行） */
.reviews-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.review-grid .review-img:last-child:nth-child(odd) { grid-column: span 2; }
@media (min-width: 768px) { .review-grid .review-img:last-child:nth-child(3n+1) { grid-column: span 3; } }
@media (min-width: 1024px) { .review-grid .review-img:last-child:nth-child(4n+1) { grid-column: span 4; } }
