/* ============================================
   小北亲子游泳俱乐部 - 品牌官网 v5
   港湾色系 v2.0：Harbor Blue / Deep Sea / Sage Mist / Warm Sand / Sunflower / Polar Blush
   Hero 呼吸渐变剧场动画（纯 CSS）
   ============================================ */

/* ----- 字体回退（Google Fonts 不可用时） ----- */
@font-face {
  font-family: 'Playfair Display Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 105%;
  ascent-override: 90%;
}
@font-face {
  font-family: 'Noto Sans SC Fallback';
  src: local('PingFang SC'), local('Microsoft YaHei'), local('Hiragino Sans GB');
  size-adjust: 100%;
}

/* ----- CSS Variables ----- */
:root {
  /* 港湾色系 v2.0 */
  --harbor-blue: #3B7DA3;
  --deep-sea: #1A3D54;
  --sage-mist: #8FB2A8;
  --warm-sand: #E8D5C0;
  --sunflower: #E8C44A;
  --polar-blush: #E8A8B5;
  --harbor-white: #FDF9F2;

  /* 功能色 */
  --c-bg: #FDF9F2;
  --c-bg-alt: #F5EFE5;
  --c-surface: #FFFFFF;
  --c-primary: #1A3D54;
  --c-primary-light: #3B7DA3;
  --c-accent: #E8C44A;
  --c-accent-dark: #D4A830;
  --c-text: #1A3D54;
  --c-text-light: #475A68;
  --c-text-muted: #6E7D88;
  --c-border: #E8DDD0;
  --c-border-light: #F0E8DB;

  /* 排版 */
  --font-display: 'Playfair Display', 'Playfair Display Fallback', 'Noto Sans SC', serif;
  --font-body: 'Noto Sans SC', 'Noto Sans SC Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1120px;
  --header-h: 72px;

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* 阴影 */
  --sh-sm: 0 1px 3px rgba(26, 61, 84, .04);
  --sh-md: 0 4px 24px rgba(26, 61, 84, .07);
  --sh-lg: 0 12px 48px rgba(26, 61, 84, .10);

  /* 动效 */
  --t: .35s cubic-bezier(.4, 0, .2, 1);
  --t-smooth: .55s cubic-bezier(.25, .1, .25, 1);

  /* z-index 层级 */
  --z-header: 1000;
  --z-cta: 900;
  --z-overlay: 1500;
  --z-modal: 2000;
  --z-toast: 2100;
}

/* ----- Reset ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
::selection {
  background: rgba(232, 196, 74, .3);
  color: var(--deep-sea);
}

/* ----- Container & Shared ----- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #2A5D7D;
  margin-bottom: 14px;
}
@media (max-width: 768px) {
  .eyebrow { letter-spacing: 3px; }
}
.title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--deep-sea);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
/* 手机端标题换行：桌面不换，手机端换 */
.mobile-br { display: none; }
@media (max-width: 768px) {
  .mobile-br { display: inline; }
  .title-break { line-height: 1.25; }
}
.subtitle {
  font-size: 15px;
  color: var(--c-text-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}
.text-accent {
  color: var(--harbor-blue);
  font-style: italic;
}
.hero .text-accent {
  color: var(--sunflower);
  text-shadow: 0 2px 12px rgba(232, 196, 74, .3);
  font-weight: 600;
}
.section-head {
  text-align: center;
  margin-bottom: 60px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 28px;
  transition: all var(--t);
  letter-spacing: 0.01em;
}
.btn-cta {
  background: var(--sunflower);
  color: var(--deep-sea);
  font-weight: 600;
  will-change: transform;
}
.btn-cta:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 196, 74, .4);
}
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .85);
}
.btn-outline-dark {
  border: 1.5px solid var(--harbor-blue);
  color: var(--harbor-blue);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--harbor-blue);
  color: #fff;
  transform: translateY(-2px);
}
.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
}

/* ----- Animations ----- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp .8s ease forwards;
  will-change: transform, opacity;
}
.fade-up.delay-1 { animation-delay: .15s; }
.fade-up.delay-2 { animation-delay: .3s; }
.fade-up.delay-3 { animation-delay: .5s; }
.fade-up.delay-4 { animation-delay: .7s; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   Header
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  transition: background .4s, box-shadow .4s;
}
.header.scrolled {
  background: rgba(253, 249, 242, .94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(26, 61, 84, .06);
}
/* 未滚动时：在 Hero 深色背景上显示白色/浅色文字 */
.header:not(.scrolled) .logo,
.header:not(.scrolled) .nav-link,
.header:not(.scrolled) .nav-cta {
  color: #fff;
}
.header:not(.scrolled) .nav-link::after {
  background: #fff;
}
.header:not(.scrolled) .nav-cta {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
}
.header:not(.scrolled) .nav-cta:hover {
  background: var(--sunflower);
  border-color: var(--sunflower);
  color: var(--deep-sea);
}
.header:not(.scrolled) .mobile-toggle span {
  background: #fff;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 17px;
  color: var(--deep-sea);
}
.logo-img {
  height: 40px;
  width: auto;
  vertical-align: middle;
}
.logo-color { display: none; }
.header.scrolled .logo-white { display: none; }
.header.scrolled .logo-color { display: block; }
.logo-text { line-height: 1; font-size: 16px; }
.nav { display: flex; gap: 28px; }
.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--c-text-light);
  transition: color var(--t);
  position: relative;
  padding: 8px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--harbor-blue);
  border-radius: 2px;
  transition: width var(--t);
}
.nav-link:hover,
.nav-link.active {
  color: var(--deep-sea);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-cta {
  padding: 10px 22px;
  background: var(--sunflower);
  color: var(--deep-sea);
  font-size: 13px;
  font-weight: 600;
  border-radius: 24px;
  transition: all var(--t);
}
.nav-cta:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 196, 74, .35);
}
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-sea);
  transition: var(--t);
  border-radius: 1px;
}

/* =============================================
   Hero - 渐变背景
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-base {
  position: absolute;
  inset: 0;
  background: url('images/hero.jpg') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26, 61, 84, .82) 0%,
    rgba(26, 61, 84, .55) 40%,
    rgba(26, 61, 84, .45) 100%
  );
  pointer-events: none;
}

/* 气泡层 - JS 生成 */
.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  animation: bubbleRise linear infinite;
  pointer-events: none;
}
@keyframes bubbleRise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: .6; }
  90% { opacity: .15; }
  100% { transform: translateY(-105vh) scale(.4); opacity: 0; }
}

/* Hero 内容 */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 24px;
  font-size: 13px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sunflower);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 300;
  opacity: .85;
  line-height: 1.9;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
/* Hero 信任图标行 */
.hero-trust-icons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp .8s ease .5s forwards;
}
.hti {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  opacity: .8;
  font-weight: 400;
  letter-spacing: .5px;
}
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 3px;
  opacity: .45;
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* =============================================
   About - 关于小北
   ============================================= */
.about {
  padding: 110px 0;
  background: var(--c-bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: center;
}
.about-text .eyebrow { margin-bottom: 12px; }
.about-text .title { margin-bottom: 24px; }
.about-p {
  font-size: 15px;
  color: var(--c-text-light);
  line-height: 2;
  margin-bottom: 20px;
}
.about-p strong {
  color: var(--deep-sea);
  font-weight: 600;
}
.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  color: var(--harbor-blue);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-top: 6px;
  font-weight: 400;
}

/* About Card - 小北极熊 */
.about-visual {
  display: flex;
  justify-content: center;
}
.about-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--sh-md);
  border: 1px solid var(--c-border-light);
  transition: transform var(--t-smooth), box-shadow var(--t-smooth);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.about-card-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--deep-sea);
  margin-bottom: 12px;
}
.about-card p {
  font-size: 14px;
  color: var(--c-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.about-tags span {
  font-size: 11px;
  padding: 5px 14px;
  background: #F5EFE5;
  color: #2A5D7D;
  border-radius: 16px;
  font-weight: 500;
}

/* =============================================
   Courses - 课程体系 (Tab Switching)
   ============================================= */
.courses {
  padding: 110px 0;
  background: var(--c-bg-alt);
}

/* Course Tabs */
.course-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 40px;
}
.course-tabs::-webkit-scrollbar { display: none; }
/* 手机端 Tab 滚动提示箭头 */
@media (max-width: 768px) {
  .course-tabs::after {
    content: '›';
    position: sticky;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--harbor-blue);
    background: linear-gradient(90deg, transparent, var(--c-bg-alt) 60%);
    border-radius: 50%;
    flex-shrink: 0;
    pointer-events: none;
    animation: tabHint 1.5s ease-in-out infinite;
  }
}
@keyframes tabHint {
  0%, 100% { opacity: .4; transform: translateY(-50%) translateX(0); }
  50% { opacity: .8; transform: translateY(-50%) translateX(4px); }
}
.ctab {
  flex-shrink: 0;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-light);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  transition: all var(--t);
  white-space: nowrap;
}
.ctab:hover {
  color: var(--deep-sea);
  border-color: var(--harbor-blue);
}
.ctab.active {
  background: var(--harbor-blue);
  color: #fff;
  border-color: var(--harbor-blue);
  box-shadow: 0 4px 16px rgba(59, 125, 163, .3);
}

/* Course Panels */
.course-panels {
  min-height: 260px;
}
.cpanel {
  display: none;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border-light);
  animation: panelFadeIn .4s ease;
}
.cpanel.active { display: block; }
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.cpanel-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(59, 125, 163, .1);
  color: var(--harbor-blue);
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 16px;
}
.cpanel-summary {
  font-size: 17px;
  color: var(--deep-sea);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.6;
}
.cpanel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cpanel-grid h3, .cpanel-grid h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--harbor-blue);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.cpanel-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cpanel-grid ul li {
  font-size: 14px;
  color: var(--c-text-light);
  padding-left: 18px;
  position: relative;
  line-height: 1.7;
}
.cpanel-grid ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-mist);
}
.cpanel-grid p {
  font-size: 14px;
  color: var(--c-text-light);
  line-height: 1.8;
  font-style: italic;
}
.cpanel-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border-light);
  font-size: 13px;
  color: var(--c-text-muted);
}

/* Course Footer */
.course-footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--c-border);
}
.course-footer p {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* 课程流程 */
.course-flow {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--c-border);
}
.course-flow h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--deep-sea);
  text-align: center;
  margin-bottom: 36px;
}
.cf-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
/* 第5步（课后反馈）在桌面撑满一行时居中 */
.cf-step-wide { grid-column: span 1; }
.cf-step {
  text-align: center;
  padding: 28px 16px;
  background: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border-light);
}
.cf-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--harbor-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.cf-step strong {
  display: block;
  font-size: 15px;
  color: var(--deep-sea);
  margin-bottom: 8px;
}
.cf-step p {
  font-size: 13px;
  color: var(--c-text-light);
  line-height: 1.7;
}

/* =============================================
   Safety - 水质安全
   ============================================= */
.safety {
  padding: 110px 0;
  background: var(--c-bg);
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.safety-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border-light);
  transition: all var(--t-smooth);
}
.safety-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.sc-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  color: var(--harbor-blue);
}
.sc-icon svg { width: 100%; height: 100%; }
.safety-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--deep-sea);
  margin-bottom: 8px;
}
.sc-data {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--harbor-blue);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 10px;
}
.safety-card p {
  font-size: 13px;
  color: var(--c-text-light);
  line-height: 1.75;
}
.safety-note {
  text-align: center;
  margin-top: 48px;
  padding: 28px 32px;
  background: rgba(143, 178, 168, .1);
  border-radius: var(--r-md);
  border: 1px solid rgba(143, 178, 168, .2);
}
.safety-note p {
  font-size: 14px;
  color: var(--c-text-light);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}
.safety-note strong { color: var(--deep-sea); }

/* 水质报告按钮 */
.safety-report {
  text-align: center;
  margin-top: 32px;
}
.safety-report .btn-outline-dark {
  gap: 10px;
}

/* =============================================
   Team - 教练团队
   ============================================= */
.team {
  padding: 110px 0;
  background: var(--c-bg-alt);
}
.team-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.tf-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border-light);
  transition: transform var(--t-smooth);
}
.tf-item:hover { transform: translateY(-3px); }
.tf-icon { font-size: 32px; display: block; margin-bottom: 12px; }
.tf-item strong {
  display: block;
  font-size: 15px;
  color: var(--deep-sea);
  margin-bottom: 6px;
}
.tf-item p {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* Team Rules */
.team-rules {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

/* 教练资质墙 */
.team-credentials {
  margin-bottom: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--c-border);
}
.team-credentials h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--deep-sea);
  margin-bottom: 28px;
  text-align: center;
}
.tc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tc-card {
  background: var(--c-surface);
  border-radius: var(--r-md);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--c-border-light);
  transition: all var(--t-smooth);
}
.tc-card:hover {
  border-color: var(--harbor-blue);
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
}
.tc-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(59, 125, 163, .1);
  color: var(--harbor-blue);
  font-size: 12px;
  font-weight: 700;
  border-radius: 12px;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.tc-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--deep-sea);
  margin-bottom: 6px;
}
.tc-card small {
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* Team Rules */
.team-rules h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--deep-sea);
  margin-bottom: 32px;
}
.tr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tr-card {
  background: var(--c-surface);
  padding: 28px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border-light);
  font-size: 15px;
  font-weight: 600;
  color: var(--deep-sea);
  line-height: 1.5;
  transition: all var(--t-smooth);
}
.tr-card:hover {
  border-color: var(--harbor-blue);
  box-shadow: var(--sh-sm);
}
.tr-card span {
  display: block;
  font-weight: 300;
  font-size: 13px;
  color: var(--c-text-light);
  margin-top: 6px;
}

/* Team Photos */
.team-photos { margin-top: 56px; }
.team-photos h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--deep-sea);
  text-align: center;
  margin-bottom: 32px;
}
.tp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tp-card {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-smooth);
}
.tp-card:hover { transform: scale(1.05); }
.tp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tp-card figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px;
  background: rgba(26,61,84,.7);
  color: #fff;
  font-size: 12px;
  text-align: center;
  opacity: 0;
  transition: opacity var(--t);
}
.tp-card:hover figcaption { opacity: 1; }
.tp-grid .tp-card:nth-child(5) { grid-column: 2; }

/* =============================================
   Moments - 精彩瞬间
   ============================================= */
.moments {
  padding: 110px 0;
  background: var(--c-bg);
}
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.moment-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t-smooth);
  aspect-ratio: 4/3;
  box-shadow: var(--sh-sm);
}
.moment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.moment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.moment-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(26, 61, 84, .75));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--t);
}
.moment-card:hover figcaption { opacity: 1; }
.moments-toggle {
  display: block !important;
}
.moments-more { margin-top: 20px; }

/* =============================================
   Reviews - 家长口碑
   ============================================= */
.reviews {
  padding: 110px 0;
  background: var(--c-bg-alt);
}
.reviews-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.rs-item {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform var(--t-smooth);
  aspect-ratio: 3/4;
}
.rs-item:hover { transform: scale(1.03); }
.rs-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Reviews Platforms */
.reviews-platforms {
  text-align: center;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--c-border);
}
.reviews-platforms p {
  font-size: 15px;
  color: var(--c-text-light);
  margin-bottom: 24px;
}
.rp-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--c-surface);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--deep-sea);
  border: 1px solid var(--c-border);
  transition: all var(--t);
  min-width: 160px;
  justify-content: center;
}
.rp-soon { opacity: .5; cursor: default; }
.rp-link:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: var(--harbor-blue);
}

/* =============================================
   Contact - 预约体验
   ============================================= */
.contact {
  position: relative;
  padding: 110px 0;
  color: #fff;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26, 61, 84, .92),
    rgba(59, 125, 163, .75)
  );
}
.contact-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.contact .container {
  position: relative;
  z-index: 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-info .eyebrow {
  color: rgba(255, 255, 255, .7);
}
.contact-info .title {
  color: #fff;
}
.contact-desc {
  font-size: 15px;
  opacity: .8;
  margin-top: 16px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ci-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  opacity: .8;
}
.ci-item svg { flex-shrink: 0; opacity: .6; }
.ci-map-link {
  color: var(--sunflower) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--t);
}
.ci-map-link:hover { opacity: .8; }
.ci-transport {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  opacity: .65;
}

/* Contact Form */
.contact-form-wrap {
  display: flex;
  justify-content: flex-end;
}
.contact-form {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  color: var(--c-text);
  box-shadow: var(--sh-lg);
  width: 100%;
  max-width: 440px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--deep-sea);
  margin-bottom: 24px;
  text-align: center;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-light);
  margin-bottom: 8px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--harbor-blue);
  box-shadow: 0 0 0 3px rgba(59, 125, 163, .12);
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238B9AA3' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group input::placeholder {
  color: var(--c-text-muted);
  font-weight: 300;
}
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--c-text-muted);
  margin-top: 14px;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--deep-sea);
  color: rgba(255, 255, 255, .65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 44px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.flogo-img {
  height: 48px;
  width: auto;
  vertical-align: middle;
  border-radius: 4px;
  background: rgba(255,255,255,.9);
  padding: 3px;
}
.footer-tag {
  font-size: 13px;
  opacity: .7;
  font-style: italic;
  line-height: 1.6;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 13px;
  padding: 6px 0;
  min-height: 44px;
  opacity: .5;
  transition: opacity var(--t), transform var(--t);
}
.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  opacity: .35;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  flex-wrap: wrap;
}
.footer-dot { opacity: .4; }
.footer-bottom a:hover { opacity: .7; }
.fl-text {
  display: block;
  font-size: 13px;
  padding: 6px 0;
  min-height: 44px;
  opacity: .5;
}

/* =============================================
   Mobile Bottom CTA
   ============================================= */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-cta);
  background: rgba(253, 249, 242, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--c-border);
  gap: 10px;
  box-shadow: 0 -2px 16px rgba(26, 61, 84, .06);
}
.mcta-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border: 1.5px solid var(--c-border);
  border-radius: 24px;
  font-size: 14px;
  color: var(--deep-sea);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--t);
}
.mcta-tel:hover { border-color: var(--harbor-blue); }
.mcta-btn {
  flex: 1;
  padding: 12px;
  background: var(--sunflower);
  color: var(--deep-sea);
  font-size: 14px;
  font-weight: 600;
  border-radius: 24px;
  white-space: nowrap;
  transition: all var(--t);
}
.mcta-btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* =============================================
   Toast
   ============================================= */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--deep-sea);
  color: #fff;
  padding: 14px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  z-index: var(--z-toast);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--sh-lg);
  white-space: nowrap;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}
.toast.success {
  background: var(--sage-mist);
  color: #fff;
}

/* =============================================
   Responsive - Tablet
   ============================================= */
@media (max-width: 1024px) {
  .about-grid { gap: 48px; }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .team-features { grid-template-columns: repeat(2, 1fr); }
  .tc-grid { grid-template-columns: repeat(2, 1fr); }
  .tr-grid { grid-template-columns: repeat(2, 1fr); }
  .cf-steps { grid-template-columns: repeat(2, 1fr); }
  .moments-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 48px; }
  .reviews-screenshots { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   Responsive - Mobile
   ============================================= */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
  .container { padding: 0 20px; }

  /* Header */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(253, 249, 242, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform .4s ease;
    box-shadow: var(--sh-md);
  }
  .nav.open { transform: translateY(0); }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  /* Hero */
  .hero-title { font-size: clamp(28px, 8vw, 38px); line-height: 1.25; }
  .hero-subtitle { line-height: 1.7; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust-icons { gap: 12px; font-size: 12px; }

  /* About */
  .about { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { gap: 24px; }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 11px; }
  .about-card { padding: 32px 24px; }

  /* Courses */
  .courses { padding: 80px 0; }
  .course-tabs {
    justify-content: flex-start;
    padding: 0 20px 8px;
  }
  .ctab { padding: 10px 18px; font-size: 14px; }
  .cpanel { padding: 24px; }
  .cpanel-grid { grid-template-columns: 1fr; gap: 20px; }
  .cf-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cf-step { padding: 16px 10px; }
  .cf-num { width: 30px; height: 30px; font-size: 14px; margin-bottom: 10px; }
  .cf-step strong { font-size: 14px; }
  .cf-step p { font-size: 12px; line-height: 1.5; }

  /* Safety */
  .safety { padding: 80px 0; }
  .safety-grid { grid-template-columns: 1fr; }
  .safety-card { padding: 32px 20px; }

  /* Team */
  .team { padding: 80px 0; }
  .team-features { grid-template-columns: 1fr 1fr; gap: 16px; }
  .tf-item { padding: 20px 14px; }
  .tc-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tc-card { padding: 18px 14px; }
  .tr-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tr-card { padding: 20px 14px; font-size: 14px; }

  /* Moments */
  .moments { padding: 80px 0; }
  .moments-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Reviews */
  .reviews { padding: 80px 0; }
  .reviews-screenshots { grid-template-columns: 1fr; }

  /* Contact */
  .contact { padding: 80px 0; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-wrap { justify-content: center; }
  .contact-form { padding: 28px 20px; max-width: 100%; }

  /* Footer */
  .footer { padding: 48px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  /* 3列变2列时，第三列社交平台撑满 */
  .footer-links > div:last-child { grid-column: 1 / -1; }

  /* Mobile CTA */
  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }

  /* Toast */
  .toast { bottom: 90px; }
}

/* =============================================
   Performance - Reduced motion
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; opacity: .3; }
  .reveal { transition: opacity .4s ease; }
}

/* =============================================
   Performance - Low-end devices
   ============================================= */
@media (max-width: 400px), (pointer: coarse) {
  .bubble { display: none; }
  .hero-subtitle { line-height: 1.6; }
  .about-stats { gap: 28px; }
  .stat-num { font-size: 32px; }
  .safety-card { padding: 32px 20px; }
  .contact-form { padding: 32px 24px; }
  .cf-steps { grid-template-columns: repeat(2, 1fr); }
  .cf-step { padding: 20px 12px; }
}
