/* ===== 基础变量 ===== */
:root {
  --primary: #1f7a4d;
  --primary-dark: #155c39;
  --primary-light: #e6f4ec;
  --accent: #f6a623;
  --accent-dark: #e08e0b;
  --ink: #1c2b24;
  --ink-soft: #51635b;
  --line: #e4ebe7;
  --bg-soft: #f5f9f7;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(31, 122, 77, 0.08);
  --shadow-lg: 0 20px 50px rgba(31, 122, 77, 0.14);
  --container: 1160px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-icon { font-size: 28px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; font-size: 20px; }
.logo-text small { font-size: 11px; font-weight: 500; color: var(--ink-soft); letter-spacing: 1px; }
.logo-light { color: #fff; }
.logo-light .logo-text small { color: rgba(255,255,255,.7); }

.main-nav ul { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--primary); border-radius: 2px;
}
.nav-cta { background: var(--accent); color: #fff !important; padding: 8px 20px; border-radius: 999px; }
.nav-cta:hover { background: var(--accent-dark); }
.nav-cta::after { display: none !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #f0f8f3 0%, #e6f4ec 60%, #fef6e7 100%);
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero-eyebrow {
  display: inline-block; background: #fff; color: var(--primary);
  font-weight: 600; font-size: 14px; padding: 6px 16px; border-radius: 999px;
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-text h1 { font-size: 48px; line-height: 1.2; font-weight: 800; letter-spacing: -.5px; }
.hero-desc { font-size: 17px; color: var(--ink-soft); margin: 22px 0 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 34px; color: var(--primary); font-weight: 800; }
.hero-stats strong span { font-size: 18px; }
.hero-stats em { font-style: normal; font-size: 14px; color: var(--ink-soft); }

.hero-card {
  position: relative; aspect-ratio: 1/1; border-radius: 30px;
  background: linear-gradient(145deg, var(--primary) 0%, #2fa56a 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero-card-emoji { font-size: 140px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.2)); }
.hero-card-bubble {
  position: absolute; background: #fff; padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 15px; box-shadow: var(--shadow); animation: float 3.5s ease-in-out infinite;
}
.bubble-1 { top: 12%; left: -8%; }
.bubble-2 { top: 46%; right: -10%; animation-delay: .8s; }
.bubble-3 { bottom: 10%; left: 2%; animation-delay: 1.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== 优势条 ===== */
.features { margin-top: -40px; position: relative; z-index: 2; padding-bottom: 30px; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg);
}
.feature-item { text-align: center; padding: 8px; }
.feature-item span { font-size: 34px; }
.feature-item h3 { font-size: 17px; margin: 8px 0 4px; }
.feature-item p { font-size: 13px; color: var(--ink-soft); }

/* ===== 通用区块 ===== */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -.5px; }
.section-sub { color: var(--ink-soft); font-size: 16px; margin-top: 12px; }

/* ===== 项目卡片 ===== */
.programs { background: var(--bg-soft); }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.program-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-cover { height: 140px; display: flex; align-items: center; justify-content: center; }
.cover-military { background: linear-gradient(135deg, #4b6043, #6b8e5a); }
.cover-nature { background: linear-gradient(135deg, #1f7a4d, #34b377); }
.cover-study { background: linear-gradient(135deg, #2b6fb3, #4d9be0); }
.cover-steam { background: linear-gradient(135deg, #7a4fd6, #a982f0); }
.program-emoji { font-size: 60px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
.program-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.program-body h3 { font-size: 21px; margin-bottom: 4px; }
.program-tag { color: var(--accent-dark); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.program-body > p { color: var(--ink-soft); font-size: 14px; }
.program-points { margin: 14px 0 18px; }
.program-points li { font-size: 13.5px; color: var(--ink-soft); padding-left: 22px; position: relative; margin-bottom: 6px; }
.program-points li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.program-link { margin-top: auto; color: var(--primary); font-weight: 600; font-size: 15px; }
.program-link:hover { color: var(--primary-dark); }

/* ===== 成长收获 ===== */
.growth-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.growth-item {
  text-align: center; padding: 36px 22px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line); transition: .25s;
}
.growth-item:hover { background: var(--primary-light); transform: translateY(-4px); }
.growth-item span { font-size: 40px; }
.growth-item h3 { margin: 14px 0 8px; font-size: 19px; }
.growth-item p { color: var(--ink-soft); font-size: 14px; }

/* ===== 家长评价 ===== */
.testimonials { background: var(--bg-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}
.testi-card p { font-size: 15.5px; color: var(--ink); margin-bottom: 16px; }
.testi-card footer { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; font-size: 16.5px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit;
}
.faq-icon { font-size: 24px; color: var(--primary); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--ink-soft); font-size: 15px; }

/* ===== CTA 横幅 ===== */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 28px; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 8px; }

/* ===== 页脚 ===== */
.site-footer { background: #14241b; color: #c4d3cb; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: #c4d3cb; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-about { font-size: 14px; margin-top: 16px; line-height: 1.8; }
.footer-contact li { font-size: 14.5px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom p { font-size: 13px; color: #7e9389; text-align: center; }

/* ===== 内页通用 ===== */
.page-hero {
  background: linear-gradient(135deg, #f0f8f3, #e6f4ec);
  padding: 56px 0; text-align: center;
}
.breadcrumb { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: 38px; font-weight: 800; }
.page-hero .lead { color: var(--ink-soft); font-size: 17px; margin-top: 12px; max-width: 680px; margin-left: auto; margin-right: auto; }

.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.detail-main h2 { font-size: 26px; margin: 36px 0 16px; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main p { color: var(--ink-soft); margin-bottom: 14px; }
.detail-main ul.rich { margin: 0 0 20px; }
.detail-main ul.rich li { padding-left: 26px; position: relative; margin-bottom: 10px; color: var(--ink-soft); }
.detail-main ul.rich li::before { content: "🏕️"; position: absolute; left: 0; }

.schedule { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.schedule .day { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid var(--line); }
.schedule .day:last-child { border-bottom: none; }
.schedule .day-label { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; padding: 16px; }
.schedule .day-content { padding: 16px; color: var(--ink-soft); font-size: 14.5px; }

.detail-aside {
  position: sticky; top: 96px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.detail-aside h3 { font-size: 20px; margin-bottom: 16px; }
.aside-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.aside-row:last-of-type { border-bottom: none; }
.aside-row span:first-child { color: var(--ink-soft); }
.aside-row span:last-child { font-weight: 700; }
.detail-aside .btn { width: 100%; text-align: center; margin-top: 18px; }
.price-big { color: var(--accent-dark); font-size: 26px; }

/* ===== 关于页面 ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-grid .visual {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(145deg, var(--primary), #2fa56a);
  display: flex; align-items: center; justify-content: center; font-size: 110px;
  box-shadow: var(--shadow-lg);
}
.about-text h2 { font-size: 30px; margin-bottom: 18px; }
.about-text p { color: var(--ink-soft); margin-bottom: 14px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card { text-align: center; padding: 32px 20px; background: var(--bg-soft); border-radius: var(--radius); }
.value-card span { font-size: 40px; }
.value-card h3 { margin: 12px 0 8px; }
.value-card p { color: var(--ink-soft); font-size: 14px; }

/* ===== 联系/报名页面 ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info h2 { font-size: 28px; margin-bottom: 18px; }
.contact-info p { color: var(--ink-soft); margin-bottom: 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-list .ic { font-size: 24px; }
.contact-list strong { display: block; }
.contact-list em { font-style: normal; color: var(--ink-soft); font-size: 14.5px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card .form-sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.form-group label .req { color: #e05a4d; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); transition: border .2s, box-shadow .2s; background: #fbfdfc;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-error { color: #e05a4d; font-size: 13px; margin-top: 6px; display: none; }
.form-group.invalid .form-error { display: block; }
.form-group.invalid input, .form-group.invalid select { border-color: #e05a4d; }
.form-success {
  display: none; background: var(--primary-light); color: var(--primary-dark);
  padding: 16px; border-radius: 10px; font-weight: 600; text-align: center; margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .hero-inner, .about-grid, .detail-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-card { max-width: 380px; margin: 0 auto; }
  .features-grid, .program-grid, .growth-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-aside { position: static; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 560px; box-shadow: var(--shadow-lg); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .main-nav ul li { padding: 0 24px; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--bg-soft); }
  .main-nav a.active::after { display: none; }
  .nav-cta { text-align: center; margin: 10px 0; }
  .hero-text h1 { font-size: 36px; }
  .section-head h2 { font-size: 28px; }
  .hero-stats { gap: 24px; }
  .cta-band h2 { font-size: 23px; }
}

@media (max-width: 520px) {
  .features-grid, .program-grid, .growth-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 30px; }
}
