﻿/* ============================================================
   layout.css — 通用 section 容器与排版
   ============================================================ */

/* ========== SECTION COMMON ========== */
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 500;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--lake);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.section-title .accent { color: var(--lake); }
.section-desc {
  font-size: 15px; color: var(--text-body);
  max-width: 640px; line-height: 1.9;
}

/* ========== 居中标题块（多页通用） ========== */
.section-head-center { text-align: center; margin-bottom: 64px; }
.section-head-center .section-desc { margin: 0 auto; }

/* ========== PAGE HERO 内页顶部标题区（多页通用） ========== */
.page-hero {
  position: relative;
  min-height: clamp(360px, 46vh, 520px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 50px) clamp(24px, 5vw, 60px) 60px;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(93, 194, 210, 0.14);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(12,161,184,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(93,194,210,0.12) 0%, transparent 50%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px);
}
.page-hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
}
.page-hero-text { text-align: left; }
.page-hero-tag { font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: 5px; text-transform: uppercase; color: var(--lake-light); margin-bottom: 18px; padding: 6px 20px; border: 1px solid rgba(12,161,184,0.25); border-radius: 2px; display: inline-block; animation: fadeInDown 1s ease both; }
.page-hero h1 { font-size: clamp(30px, 5vw, 56px); font-weight: 900; color: var(--white); letter-spacing: 3px; margin-bottom: 18px; text-align: left; animation: fadeInUp 1s 0.2s ease both; }
.page-hero h1 .accent { background: linear-gradient(135deg, var(--lake), var(--lake-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { font-size: clamp(14px, 1.6vw, 17px); color: rgba(255,255,255,0.6); line-height: 1.9; animation: fadeInUp 1s 0.4s ease both; }
.page-hero-cta { display: inline-block; margin-top: 28px; padding: 13px 36px; background: linear-gradient(135deg, var(--lake), var(--lake-dark)); color: var(--white) !important; border-radius: 8px; font-size: 14px; font-weight: 700; letter-spacing: 2px; box-shadow: 0 0 20px rgba(12,161,184,0.3); transition: all 0.3s var(--ease); }
.page-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(12,161,184,0.5); }
/* 右侧可视化面板（通用，各页复用） */
.hero-visual { position: relative; }
.hero-panel { position: relative; padding: 22px 26px; border-radius: 14px; border: 1px solid rgba(12,161,184,0.18); background: linear-gradient(155deg, rgba(12,161,184,0.07) 0%, rgba(10,22,40,0.5) 60%, rgba(5,13,26,0.55) 100%); backdrop-filter: blur(10px) saturate(1.15); -webkit-backdrop-filter: blur(10px) saturate(1.15); box-shadow: 0 10px 30px rgba(0,0,0,0.28), inset 0 1px 0 rgba(93,194,210,0.08); }
.hero-panel::before, .hero-panel::after { content: ''; position: absolute; width: 12px; height: 12px; border-color: rgba(93,194,210,0.5); border-style: solid; z-index: 1; }
.hero-panel::before { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.hero-panel::after { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }
.hero-panel-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid rgba(12,161,184,0.2); font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--lake-light); }
.hero-panel-count { color: rgba(255,255,255,0.4); }
.hero-panel-item { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; font-size: 13px; color: rgba(255,255,255,0.78); border-bottom: 1px dashed rgba(12,161,184,0.12); }
.hero-panel-item:last-child { border-bottom: none; }
.hero-panel-item .num { font-family: var(--font-en); font-size: 11px; color: var(--lake); letter-spacing: 1px; flex-shrink: 0; }
@media (max-width: 768px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
}

/* ========== 通用表单控件（多页通用：留言板 / 招聘投递等） ========== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-body); margin-bottom: 8px; font-weight: 500; }
.form-group label .req { color: var(--lake); }
.form-control {
  width: 100%; padding: 12px 16px; font-size: 14px; font-family: inherit;
  background: var(--white); border: 1px solid #DCE3ED; border-radius: 8px;
  color: var(--text-dark); transition: all 0.3s var(--ease);
}
.form-control:focus { outline: none; border-color: var(--lake); box-shadow: 0 0 0 3px rgba(12,161,184,0.12); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 14px; font-size: 15px; font-weight: 700; letter-spacing: 2px;
  color: var(--white); background: linear-gradient(135deg, var(--lake), var(--lake-dark));
  border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s var(--ease);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(12,161,184,0.35); }
.form-note { font-size: 12px; color: var(--text-light); margin-top: 12px; text-align: center; }

/* ========== RESPONSIVE (layout) ========== */
@media (max-width: 768px) {
  .section { padding: 56px 20px; }
  .section-head-center { margin-bottom: 48px; }
  .page-hero { min-height: 50vh; padding: calc(var(--nav-h) + 40px) 20px 60px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
