/* ============================================================
 * 习思研学 · 农场研学站点共享样式
 * 主题：农场绿 + 麦浪金，延续习思集团站点设计语言
 * ============================================================ */
:root {
    --farm: #2e7d32; --farm-dark: #1b5e20; --farm-light: #43a047; --farm-pale: #e8f5e9;
    --wheat: #f2a93b; --wheat-dark: #d98e1e; --soil: #8d6e63;
    --text-dark: #1e2a1e; --text-body: #47534a; --text-light: #7d8a80;
    --bg-light: #f7faf6; --bg-warm: #fdf9f0; --white: #ffffff;
    --shadow: 0 4px 20px rgba(27, 94, 32, 0.10); --shadow-hover: 0 10px 34px rgba(27, 94, 32, 0.16);
    --radius: 14px; --radius-lg: 22px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans SC', sans-serif; color: var(--text-body); line-height: 1.75; background: var(--bg-light); }
img { max-width: 100%; }
a { color: var(--farm); }

/* ===== 顶部导航 ===== */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.navbar-container { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.yx-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.yx-logo-badge { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--farm), var(--farm-light)); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.yx-logo-text { font-size: 22px; font-weight: 900; color: var(--text-dark); letter-spacing: 1px; }
.yx-logo-text span { color: var(--farm); }
.yx-logo-sub { font-size: 12px; color: var(--text-light); letter-spacing: 2px; }
.nav-menu { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-menu a { display: block; padding: 8px 14px; border-radius: 8px; text-decoration: none; color: var(--text-body); font-size: 15px; font-weight: 500; transition: all 0.25s; }
.nav-menu a:hover { background: var(--farm-pale); color: var(--farm-dark); }
.nav-menu a.active { background: var(--farm); color: #fff; }
.nav-menu a.nav-group { border: 1.5px solid #d8e4d8; color: var(--text-light); }
.nav-menu a.nav-group:hover { border-color: var(--farm); color: var(--farm); }
.student-chip { background: var(--farm-pale); border: 2px solid var(--farm-light); color: var(--farm-dark); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 700; cursor: default; white-space: nowrap; }
.nav-logout { background: none; border: none; color: var(--text-light); font-size: 14px; cursor: pointer; padding: 8px 10px; font-family: inherit; }
.nav-logout:hover { color: #c0392b; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--farm-dark); }

/* ===== 页面头图 ===== */
.page-hero { position: relative; padding: 88px 24px 72px; color: #fff; text-align: center; background-size: cover; background-position: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(20,60,24,0.82), rgba(27,94,32,0.55)); }
.page-hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.hero-badge { display: inline-block; padding: 6px 18px; border: 1.5px solid rgba(255,255,255,0.55); border-radius: 99px; font-size: 14px; letter-spacing: 3px; margin-bottom: 18px; background: rgba(255,255,255,0.12); }
.page-hero h1 { font-size: 40px; font-weight: 900; letter-spacing: 2px; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.92); max-width: 720px; margin: 0 auto; }

/* ===== 内容区块 ===== */
.section { max-width: 1100px; margin: 0 auto; padding: 64px 24px 8px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag { display: inline-block; color: var(--farm); font-weight: 700; font-size: 14px; letter-spacing: 4px; margin-bottom: 10px; }
.section-title { font-size: 30px; font-weight: 900; color: var(--text-dark); margin-bottom: 12px; }
.section-desc { font-size: 16px; color: var(--text-light); max-width: 760px; margin: 0 auto; }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* 图文并排 */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.media-row.reverse > .media-text { order: 2; }
.media-row img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-text h3 { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
.media-text p { font-size: 15px; margin-bottom: 10px; }

/* 卡片 */
.info-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.info-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.info-card-body { padding: 20px 22px 24px; }
.info-card-body h3 { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.info-card-body p { font-size: 14px; color: var(--text-body); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--farm-pale); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 14px; }
.text-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; transition: transform 0.3s, box-shadow 0.3s; }
.text-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.text-card h3 { font-size: 17px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.text-card p { font-size: 14px; }
.link-card { text-decoration: none; display: block; color: inherit; }
.link-card .go { display: inline-block; margin-top: 10px; color: var(--farm); font-weight: 700; font-size: 14px; }

/* 表格 */
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid #eef3ee; vertical-align: top; }
th { background: var(--farm); color: #fff; font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--farm-pale); }

/* 流程时间线 */
.flow { position: relative; max-width: 860px; margin: 0 auto; }
.flow::before { content: ''; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--farm-light), var(--wheat)); border-radius: 3px; }
.flow-item { position: relative; display: grid; grid-template-columns: 68px 1fr; gap: 40px; padding: 0 0 30px; }
.flow-time { text-align: right; font-weight: 800; color: var(--farm-dark); font-size: 14px; padding-top: 14px; white-space: nowrap; }
.flow-dot { position: absolute; left: 86px; top: 18px; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--farm); }
.flow-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.flow-card-body { padding: 18px 22px 20px; }
.flow-card-body h3 { font-size: 17px; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.flow-card-body h3 .gate { color: var(--wheat-dark); margin-right: 6px; }
.flow-card-body p { font-size: 14px; }
.flow-card-body .role { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--farm-dark); background: var(--farm-pale); border-radius: 6px; padding: 3px 10px; font-weight: 600; }
.flow-card img { width: 100%; height: 220px; object-fit: cover; display: block; }

/* 步骤箭头（三段式） */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.step-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 22px; text-align: center; }
.step-card .step-no { width: 40px; height: 40px; border-radius: 50%; background: var(--farm); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 18px; }
.step-card h3 { font-size: 17px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.step-card p { font-size: 13.5px; }
.step-arrow { align-self: center; color: var(--wheat-dark); font-size: 26px; font-weight: 900; }

/* 成长通道 */
.growth { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.growth-node { background: var(--white); border: 2px solid var(--farm-light); border-radius: 99px; padding: 10px 20px; font-weight: 700; color: var(--farm-dark); font-size: 14.5px; box-shadow: var(--shadow); }
.growth-node.top { background: var(--farm); color: #fff; border-color: var(--farm); }
.growth-arrow { color: var(--wheat-dark); font-weight: 900; font-size: 18px; }

/* 提示条 */
.notice { background: var(--bg-warm); border-left: 5px solid var(--wheat); border-radius: 10px; padding: 16px 20px; font-size: 14px; margin: 28px auto 0; max-width: 860px; }
.notice b { color: var(--wheat-dark); }

/* 页脚 */
.footer { margin-top: 72px; background: #16351a; color: rgba(255,255,255,0.75); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 44px 24px 24px; text-align: center; }
.footer-title { font-size: 20px; font-weight: 900; color: #fff; letter-spacing: 2px; margin-bottom: 10px; }
.footer p { font-size: 14px; margin-bottom: 6px; }
.footer-beian { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 13px; }
.footer-beian a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 10px; }
.footer-beian a:hover { color: #fff; }
.footer-beian img { height: 14px; vertical-align: -2px; margin-right: 4px; }

/* 响应式 */
@media (max-width: 960px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
    .media-row { grid-template-columns: 1fr; }
    .media-row.reverse > .media-text { order: 0; }
    .media-row img { height: 260px; }
    .steps { grid-template-columns: 1fr; }
    .step-arrow { transform: rotate(90deg); justify-self: center; }
    .page-hero { padding: 64px 20px 52px; }
    .page-hero h1 { font-size: 30px; }
}
@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .navbar-container { padding: 10px 16px; }
    .yx-logo-text { font-size: 19px; }
    .yx-logo-sub { font-size: 11px; letter-spacing: 1px; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px; box-shadow: 0 12px 24px rgba(0,0,0,0.1); gap: 2px; }
    .nav-menu.mobile-open { display: flex; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .page-hero { padding: 52px 16px 42px; }
    .page-hero h1 { font-size: 26px; letter-spacing: 1px; }
    .page-hero p { font-size: 15px; }
    .hero-badge { font-size: 12.5px; letter-spacing: 2px; padding: 5px 14px; }
    .flow::before { left: 76px; }
    .flow-item { grid-template-columns: 60px 1fr; gap: 30px; }
    .flow-dot { left: 76px; }
    .flow-time { font-size: 12.5px; }
    .flow-card img { height: 160px; }
    .section { padding: 44px 16px 4px; }
    .section-title { font-size: 24px; }
    .section-desc { font-size: 14.5px; }
    .media-row img { height: 210px; }
    .card, .text-card, .step-card { padding: 22px 18px; }
    th, td { padding: 10px 12px; font-size: 13px; }
    .growth-node { font-size: 13px; padding: 8px 14px; }
    .footer-inner { padding: 36px 18px 20px; }
    .footer p { font-size: 13px; }
}
@media (max-width: 400px) {
    .flow::before { left: 8px; }
    .flow-item { grid-template-columns: 1fr; gap: 6px; padding-bottom: 22px; }
    .flow-dot { display: none; }
    .flow-time { text-align: left; padding-top: 0; }
}
