/* =========================================================
   Sinolens 官网样式
   主色: 藏蓝 #0B1F3A   点缀: 金 #C9A24B
   ========================================================= */
:root {
  --navy: #0B1F3A;
  --navy-2: #12305A;
  --gold: #C9A24B;
  --gold-dark: #A98434;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --text: #1F2937;
  --muted: #6B7280;
  --line: #E5E7EB;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(11, 31, 58, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold); font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center; letter-spacing: 1px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-text strong { font-size: 15px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 15px; }
.main-nav > a:not(.btn):hover { color: var(--gold-dark); }
.lang-toggle {
  font-size: 13px; padding: 5px 12px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--navy);
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600; transition: all .2s; border: 1px solid transparent;
  cursor: pointer;
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-light { background: var(--gold); color: var(--navy); }
.btn-light:hover { background: var(--gold-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(201,162,75,.25), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 110px 0 120px;
}
.hero-kicker { color: var(--gold); letter-spacing: 4px; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.25; margin-bottom: 20px; }
.hero-sub { max-width: 640px; color: rgba(255,255,255,.82); font-size: 17px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 20px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 34px; color: var(--navy); font-weight: 800; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); margin-bottom: 12px; }
.section-head h2::after {
  content: ""; display: block; width: 48px; height: 3px;
  background: var(--gold); margin: 16px auto 0; border-radius: 2px;
}
.section-head p { color: var(--muted); }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
  transition: all .25s; position: relative;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201,162,75,.5); }
.card.plain { cursor: default; }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px; color: var(--gold-dark);
  background: rgba(201,162,75,.12); display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 17px; color: var(--navy); }
.card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.card-link { font-size: 13px; color: var(--gold-dark); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step span { font-size: 13px; font-weight: 800; color: var(--gold-dark); letter-spacing: 2px; }
.step h3 { margin: 10px 0 8px; font-size: 17px; color: var(--navy); }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }

/* ---------- Page hero / about / services ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 70px 0; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.8); }

.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.about-main h2 { color: var(--navy); font-size: 24px; margin: 34px 0 14px; }
.about-main h2:first-child { margin-top: 0; }
.about-main p { margin-bottom: 14px; color: #374151; }
.about-list { padding-left: 20px; color: #374151; }
.about-list li { margin-bottom: 8px; }
.about-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 92px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 14px; }
.side-card dl dt { font-size: 12px; color: var(--muted); margin-top: 12px; }
.side-card dl dd { font-size: 14.5px; color: var(--text); }
.side-accent { background: var(--navy); color: #fff; border: 0; }
.side-accent h3 { color: var(--gold); }
.side-accent p { color: rgba(255,255,255,.85); margin-bottom: 14px; font-size: 14px; }

.services-detail { display: flex; flex-direction: column; gap: 26px; }
.service-row {
  display: grid; grid-template-columns: 72px 1fr 90px; gap: 26px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; scroll-margin-top: 90px;
  transition: box-shadow .25s;
}
.service-row:hover { box-shadow: var(--shadow); }
.service-row-icon {
  width: 60px; height: 60px; border-radius: 12px; color: var(--gold-dark);
  background: rgba(201,162,75,.12); display: flex; align-items: center; justify-content: center;
}
.service-row-icon svg { width: 32px; height: 32px; }
.service-row h2 { color: var(--navy); font-size: 21px; margin-bottom: 10px; }
.service-row p { color: #4B5563; margin-bottom: 16px; font-size: 15px; }
.service-row-num { font-size: 44px; font-weight: 800; color: var(--bg-alt); text-align: right; line-height: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.contact-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; display: flex; flex-direction: column; gap: 18px; position: relative;
}
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14.5px; font-family: inherit; background: #FCFDFE; color: var(--text);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .btn { align-self: flex-start; }
.alert { padding: 14px 18px; border-radius: 8px; font-size: 14.5px; }
.alert-success { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.alert-error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr 1.2fr; gap: 36px; padding: 60px 20px 40px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 13.5px; margin-bottom: 8px; color: rgba(255,255,255,.65); }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { font-size: 13.5px; margin-bottom: 8px; }
.footer-slogan { color: var(--gold); font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 12.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.admin-link { color: rgba(255,255,255,.4); }
.admin-link:hover { color: var(--gold); }

/* =========================================================
   首页轮播 / 品牌条 / 资质 / 研学 / 媒体展示  （v2 新增）
   ========================================================= */

/* ---------- 顶部轮播 ---------- */
.slider { position: relative; height: 560px; overflow: hidden; background: var(--navy); }
.slider-track { position: relative; height: 100%; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-bg {
  position: absolute; inset: 0;
  background-color: var(--navy);
  background-image: var(--bg-d, linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%));
  background-size: cover; background-position: center;
  transform: scale(1.04); transition: transform 6s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,31,58,.88) 0%, rgba(11,31,58,.62) 45%, rgba(11,31,58,.2) 100%);
}
.slide-inner { position: relative; height: 100%; display: flex; align-items: center; }
.slide-copy { max-width: 660px; color: #fff; }
.slide-kicker { color: var(--gold); letter-spacing: 4px; font-size: 12.5px; font-weight: 700; margin-bottom: 16px; }
.slide-copy h2 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.25; margin-bottom: 16px; }
.slide-sub { color: rgba(255,255,255,.86); font-size: 16.5px; margin-bottom: 30px; max-width: 560px; }
.slide-copy .btn-light { color: var(--navy); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: 26px; line-height: 1; padding: 0 0 4px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; z-index: 3;
}
.slider-arrow:hover { background: rgba(201,162,75,.9); border-color: var(--gold); color: var(--navy); }
.slider-arrow.prev { left: 22px; }
.slider-arrow.next { right: 22px; }
.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3;
  display: flex; justify-content: center; gap: 10px;
}
.slider-dots .dot {
  width: 30px; height: 3px; border-radius: 3px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.4); transition: all .25s;
}
.slider-dots .dot.active { background: var(--gold); width: 46px; }

/* ---------- 品牌条 ---------- */
.brand-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0; }
.brand-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.brand-strip h2 { color: var(--navy); font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 6px; }
.brand-en { color: var(--navy) !important; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.brand-strip p { color: var(--muted); font-size: 14.5px; }
.brand-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- 资质/会员 ---------- */
.section-badges { padding-bottom: 70px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.badge {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: #374151; font-size: 13.5px;
  box-shadow: 0 1px 2px rgba(11,31,58,.04);
}
.section-alt .badge { background: #fff; }

/* ---------- 三列卡 ---------- */
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 区块底部按钮 ---------- */
.section-more { text-align: center; margin-top: 44px; }

/* ---------- 页脚英文名 ---------- */
.footer-en { color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 6px; }

/* ---------- 科创研学 ---------- */
.research-grid { display: grid; grid-template-columns: 400px 1fr; gap: 44px; align-items: center; }
.research-visual {
  border-radius: var(--radius); padding: 46px 36px; color: #fff; min-height: 340px;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(201,162,75,.35), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  box-shadow: var(--shadow);
}
.rv-tag {
  align-self: flex-start; font-size: 12px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); color: var(--gold); letter-spacing: 1px;
}
.research-visual strong { font-size: 30px; line-height: 1.3; }
.rv-line { color: rgba(255,255,255,.75); font-size: 14px; }
.research-points { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.rp-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.rp-item h3 { color: var(--navy); font-size: 16.5px; margin-bottom: 8px; }
.rp-item h3::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-right: 9px; vertical-align: middle;
}
.rp-item p { font-size: 13.5px; color: var(--muted); }

/* ---------- 媒体展示区 ---------- */
.media-videos { margin-bottom: 30px; }
.media-video {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.media-video video { width: 100%; max-height: 520px; display: block; background: #000; }
.media-placeholder {
  aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--muted); font-size: 14px;
  background: linear-gradient(135deg, #EEF2F7 0%, #E2E8F0 100%);
}
.media-placeholder.small { aspect-ratio: 4 / 3; font-size: 13px; }
.mp-play {
  width: 62px; height: 62px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 5px;
}
.media-caption { padding: 20px 24px; }
.media-caption h3 { color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.media-caption p { color: var(--muted); font-size: 13.5px; }

.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.media-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s;
}
.media-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.media-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.media-item figcaption { padding: 16px 18px; }
.media-item figcaption strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 5px; }
.media-item figcaption span { color: var(--muted); font-size: 13px; }

/* ---------- CTA 补充 ---------- */
.cta-sub { color: rgba(255,255,255,.78); font-size: 14.5px; margin-top: 8px; }

/* ---------- 关于页补充 ---------- */
.lead-line {
  font-size: 16.5px !important; color: var(--navy) !important; font-weight: 600;
  border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 20px !important;
}
.biz-list { display: flex; flex-direction: column; gap: 16px; }
.biz-item { background: var(--bg-alt); border-radius: var(--radius); padding: 20px 22px; }
.biz-item h3 { color: var(--navy); font-size: 16.5px; margin-bottom: 8px; }
.biz-item p { color: #4B5563; font-size: 14.5px; margin: 0; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item { border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; }
.why-item strong { display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 4px; }
.why-item span { color: var(--muted); font-size: 13.5px; }
/* ---------- 关于页 · 新版 7 板块 ---------- */
.promise-card {
  position: relative; overflow: hidden; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: var(--radius); padding: 28px 30px;
}
.promise-card::before {
  content: "\201C"; position: absolute; right: 26px; top: -14px;
  font-family: Georgia, serif; font-size: 110px; line-height: 1;
  color: rgba(201,162,75,.22);
}
.promise-card p {
  position: relative; z-index: 1; margin: 0 !important;
  color: #fff !important; font-size: 17px; line-height: 1.9;
}
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 4px; }
.policy-item {
  background: var(--bg-alt); border-radius: var(--radius);
  border-top: 3px solid var(--gold); padding: 18px 20px;
}
.policy-item h3 { color: var(--navy); font-size: 15px; margin-bottom: 8px; line-height: 1.5; }
.policy-item p { color: #4B5563; font-size: 14px; margin: 0 !important; }
.cred-list { display: flex; flex-direction: column; gap: 16px; }
.cred-item { border-left: 3px solid var(--gold); padding: 2px 0 2px 16px; }
.cred-item h3 { color: var(--navy); font-size: 15.5px; margin-bottom: 6px; }
.cred-item p { color: #4B5563; font-size: 14px; margin: 0 !important; }
.qa-list { display: flex; flex-direction: column; gap: 14px; }
.qa-item { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 20px; }
.qa-q { display: block; color: var(--navy); font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.qa-a { color: #4B5563; font-size: 14.5px; }
.qa-a strong { color: var(--navy); }
@media (max-width: 720px) {
  .policy-grid { grid-template-columns: 1fr; }
  .promise-card { padding: 22px 20px; }
  .promise-card p { font-size: 15.5px; }
}

.side-list { list-style: none; }
.side-list li {
  font-size: 13px; color: #4B5563; padding: 9px 0 9px 18px; position: relative;
  border-bottom: 1px dashed var(--line); line-height: 1.5;
}
.side-list li:last-child { border-bottom: 0; }
.side-list li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* ---------- 响应式补充 ---------- */
@media (max-width: 1024px) {
  .cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .research-grid { grid-template-columns: 1fr; gap: 30px; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .slider { height: 480px; }
}
@media (max-width: 720px) {
  .slider { height: 460px; }
  /* 手机端优先使用竖版图，未上传则自动回退到桌面图 */
  .slide-bg {
    background-image: var(--bg-m, var(--bg-d, linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%)));
    background-position: center center;
  }
  .slide-overlay { background: linear-gradient(180deg, rgba(11,31,58,.55) 0%, rgba(11,31,58,.9) 100%); }
  .slider-arrow { display: none; }
  .slider-dots { bottom: 16px; }
  .cards-grid.cols-3, .research-points, .media-grid, .why-list { grid-template-columns: 1fr; }
  .brand-strip-inner { flex-direction: column; align-items: flex-start; }
  .badge { font-size: 12.5px; padding: 9px 15px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid, .cards-grid.cols-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--line); padding: 10px 20px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 12px 0; border-bottom: 1px solid var(--bg-alt); }
  .main-nav > a.btn { margin-top: 12px; text-align: center; }
  .nav-toggle { display: block; margin-left: auto; }
  .lang-toggle { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .cards-grid.cols-4, .steps, .form-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row-num { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0; }
  .section { padding: 60px 0; }
}

/* ============================================================
   品牌 Logo
   ============================================================ */
.brand-logo { height: 44px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.footer-logo { height: 40px; width: auto; max-width: 170px; object-fit: contain; background: #fff; padding: 6px 10px; border-radius: 8px; margin-bottom: 14px; }

/* ============================================================
   导航下拉菜单（来华研学等）
   ============================================================ */
.main-nav > a.active, .nav-item.is-active > .nav-parent > span:first-child { color: var(--gold-dark); font-weight: 600; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-parent { display: flex; align-items: center; gap: 7px; color: inherit; transition: color .2s; }
.nav-item:hover > .nav-parent { color: var(--gold-dark); }
.caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px); transition: transform .22s; }
.nav-item.has-dropdown:hover .caret, .nav-item.open .caret { transform: rotate(225deg) translate(-2px, -2px); }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 208px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 31, 58, .14); padding: 8px; z-index: 60;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.nav-item.has-dropdown:hover .dropdown, .nav-item.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text); white-space: nowrap; }
.dropdown a:hover { background: var(--bg-alt); color: var(--gold-dark); }
.dropdown a.active { background: rgba(201, 162, 75, .13); color: var(--gold-dark); font-weight: 600; }

/* ============================================================
   语言切换（多语言）
   ============================================================ */
.lang-switch { position: relative; }
.lang-select { appearance: none; -webkit-appearance: none; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 30px 6px 14px; font-size: 13px; color: var(--navy); cursor: pointer;
  font-family: inherit; transition: border-color .2s;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B1F3A' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 11px; }
.lang-select:hover, .lang-select:focus { border-color: var(--gold); outline: none; }
.auto-translate-note { background: #FFFBEB; border-top: 1px solid #FDE68A; color: #92400E; font-size: 12.5px; padding: 8px 20px; text-align: center; }

/* ============================================================
   页脚备案信息区（ICP / 公安备案）
   ============================================================ */
.footer-filing { background: rgba(0, 0, 0, .2); border-top: 1px solid rgba(255, 255, 255, .1); padding: 15px 0; }
.footer-filing-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.ff-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ff-links a { color: rgba(255, 255, 255, .62); }
.ff-links a:hover { color: var(--gold); }
.ff-pending { border-bottom: 1px dashed rgba(255, 255, 255, .4); }
.ff-note { color: rgba(255, 255, 255, .45); }
.admin-link { opacity: .5; }

/* ============================================================
   来华研学 · 总览与分类页
   ============================================================ */
.tour-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 76px 0 66px; }
.tour-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(720px 400px at 84% 4%, rgba(201, 162, 75, .32), transparent 62%); }
.tour-hero-inner { position: relative; z-index: 2; max-width: 780px; }
.tour-breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .68); margin-bottom: 16px; }
.tour-breadcrumb a:hover { color: var(--gold); }
.tour-hero h1 { font-size: clamp(27px, 4vw, 42px); margin-bottom: 14px; }
.tour-hero p { color: rgba(255, 255, 255, .82); font-size: 16px; }

.tour-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tour-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.tour-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(201, 162, 75, .5); }
.tour-card-media { aspect-ratio: 16 / 10; position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0B1F3A, #17456E); color: var(--gold); }
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; }
.tour-card-media svg { width: 42px; height: 42px; }
.tour-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tour-card-body h3 { color: var(--navy); font-size: 18px; margin-bottom: 10px; }
.tour-card-body p { font-size: 13.5px; color: var(--muted); flex: 1; line-height: 1.75; }
.tour-card-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--gold-dark); font-weight: 600; }
.tour-count { background: var(--bg-alt); color: var(--muted); border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 500; }

/* 分类页头部 */
.cat-banner { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cat-banner-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0B1F3A, #17456E); }
.cat-banner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cat-banner-inner { position: relative; z-index: 2; padding: 70px 0 62px; max-width: 780px; }
.cat-banner h1 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.cat-banner p { color: rgba(255, 255, 255, .84); font-size: 15.5px; line-height: 1.8; }

/* 点位卡片 */
.spot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spot-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.spot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spot-card-media { aspect-ratio: 16 / 10; position: relative; background: linear-gradient(135deg, #12305A, #2C6B4F); }
.spot-card-media img { width: 100%; height: 100%; object-fit: cover; }
.spot-card-media .no-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .55); font-size: 12.5px; }
.video-flag { position: absolute; right: 12px; top: 12px; background: rgba(11, 31, 58, .74); color: #fff;
  font-size: 11.5px; padding: 4px 10px; border-radius: 999px; display: flex; align-items: center; gap: 5px; }
.video-flag svg { width: 11px; height: 11px; fill: #fff; }
.spot-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.spot-card-body h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 9px; line-height: 1.5; }
.spot-card-body p { font-size: 13.5px; color: var(--muted); flex: 1; line-height: 1.75; }
.spot-meta { margin-top: 15px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #94A3B8; }

/* ============================================================
   点位详情页
   ============================================================ */
.spot-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 26px 0; }
.spot-head .tour-breadcrumb { color: var(--muted); }
.spot-head h1 { color: var(--navy); font-size: clamp(24px, 3.2vw, 34px); }
.spot-head .spot-sub { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 760px; }
.spot-layout { display: grid; grid-template-columns: 1fr 336px; gap: 36px; align-items: start; }
.spot-main h2 { color: var(--navy); font-size: 20px; margin: 30px 0 14px; }
.spot-main h2:first-child { margin-top: 0; }
.spot-content p { font-size: 14.5px; color: #374151; line-height: 1.85; margin-bottom: 10px; }
.spot-content .rc-head { font-weight: 700; color: var(--navy); margin-top: 18px; margin-bottom: 8px; }
.rc-list { list-style: none; margin: 6px 0 14px; padding: 0; }
.rc-list li { position: relative; padding-left: 18px; margin-bottom: 9px; font-size: 14.5px; color: #374151; line-height: 1.8; }
.rc-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.spot-video { border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.spot-video video { width: 100%; display: block; max-height: 560px; }
.spot-side { position: sticky; top: 96px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 4px; }
.gallery-grid figure { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-grid figcaption { padding: 10px 13px; font-size: 12.5px; color: var(--muted); }
.spot-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.empty-state { background: var(--bg-alt); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 46px 24px; text-align: center; color: var(--muted); font-size: 14.5px; }

/* ============================================================
   右下角在线留言 / 邮件小窗
   ============================================================ */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 130; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-btn { display: flex; align-items: center; gap: 9px; background: var(--navy); color: #fff; border: 0;
  border-radius: 999px; padding: 13px 20px; font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: inherit;
  box-shadow: 0 12px 30px rgba(11, 31, 58, .32); transition: background .2s, transform .2s; }
.chat-btn:hover { background: var(--navy-2); transform: translateY(-2px); }
.chat-btn svg { width: 19px; height: 19px; }
.chat-panel { width: 344px; max-width: calc(100vw - 40px); background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 20px 52px rgba(11, 31, 58, .24); overflow: hidden; display: none; }
.chat-panel.open { display: block; animation: chatIn .22s ease; }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.chat-head { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 16px 18px; position: relative; }
.chat-head strong { display: block; font-size: 15px; }
.chat-head span { font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.chat-close { position: absolute; right: 12px; top: 12px; background: rgba(255, 255, 255, .16); border: 0;
  color: #fff; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; }
.chat-body { padding: 16px 18px 18px; max-height: 62vh; overflow-y: auto; }
.chat-body label { font-size: 12.5px; font-weight: 600; color: var(--navy); display: block; margin: 11px 0 5px; }
.chat-body label:first-child { margin-top: 0; }
.chat-body input, .chat-body textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 9px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.chat-body input:focus, .chat-body textarea:focus { outline: none; border-color: var(--gold); }
.chat-body textarea { resize: vertical; min-height: 84px; }
.chat-submit { margin-top: 15px; width: 100%; background: var(--gold); color: var(--navy); border: 0;
  border-radius: 9px; padding: 12px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; }
.chat-submit:hover { background: var(--gold-dark); color: #fff; }
.chat-submit:disabled { opacity: .6; cursor: default; }
.chat-foot { font-size: 11.5px; color: #9CA3AF; margin-top: 10px; text-align: center; line-height: 1.6; }
.chat-msg { margin-top: 12px; font-size: 13.5px; border-radius: 9px; padding: 10px 12px; display: none; }
.chat-msg.ok { display: block; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.chat-msg.err { display: block; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.chat-quick { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; padding-top: 13px; margin-top: 14px; border-top: 1px dashed var(--line); }
.chat-quick a { display: flex; align-items: center; gap: 6px; color: var(--navy); }
.chat-quick a:hover { color: var(--gold-dark); }

/* ============================================================
   阿拉伯语等 RTL 语言适配
   ============================================================ */
html[dir="rtl"] .slider-arrow.prev { left: auto; right: 22px; }
html[dir="rtl"] .slider-arrow.next { right: auto; left: 22px; }
html[dir="rtl"] .chat-fab { right: auto; left: 24px; align-items: flex-start; }
html[dir="rtl"] .rc-list li { padding-left: 0; padding-right: 18px; }
html[dir="rtl"] .rc-list li::before { left: auto; right: 0; }
html[dir="rtl"] .side-list li { padding: 9px 18px 9px 0; }
html[dir="rtl"] .side-list li::before { left: auto; right: 0; }
html[dir="rtl"] .spot-head, html[dir="rtl"] .cat-banner-inner, html[dir="rtl"] .tour-hero-inner { text-align: right; }
html[dir="rtl"] .section-head, html[dir="rtl"] .tour-card-body, html[dir="rtl"] .spot-card-body { text-align: right; }

/* ============================================================
   研学相关响应式
   ============================================================ */
@media (max-width: 1024px) {
  .tour-cards, .spot-grid { grid-template-columns: repeat(2, 1fr); }
  .spot-layout { grid-template-columns: 1fr; }
  .spot-side { position: static; }
}
@media (max-width: 720px) {
  .tour-cards, .spot-grid, .gallery-grid { grid-template-columns: 1fr; }
  .footer-filing-inner { flex-direction: column; align-items: flex-start; gap: 9px; }
  .brand-logo { height: 38px; max-width: 130px; }
  /* 移动端：下拉改点击展开 */
  .nav-item { display: block; width: 100%; }
  .nav-parent { padding: 12px 0; border-bottom: 1px solid var(--bg-alt); justify-content: space-between; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: 0; border-radius: 0; padding: 0 0 0 14px; min-width: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav-item.open .dropdown { max-height: 460px; }
  .nav-item.has-dropdown:hover .dropdown { transform: none; }
  .dropdown a { padding: 11px 0; border-bottom: 1px dashed var(--line); border-radius: 0; white-space: normal; }
  .chat-fab { right: 14px; bottom: 14px; }
  .chat-btn { padding: 12px 17px; font-size: 14px; }
}

/* ============ 服务特色（首页） ============ */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 22px; max-width: 960px; margin: 0 auto; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; transition: transform .18s ease, box-shadow .18s ease; }
.feature-item:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11, 31, 58, .10); }
.feature-num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #fff;
  font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.feature-text h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 4px; }
.feature-text p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .features-grid { grid-template-columns: 1fr; } }
