/* =========================================================
   星海广场 · 大连  |  style.css
   浅色海洋主题：白底 + 海蓝 + 细沙色点缀
   ========================================================= */

/* ---------- 变量 ---------- */
:root {
  --ink: #0c2436;
  --ink-soft: #4d6a7e;
  --ink-faint: #7b93a4;

  --ocean-900: #062a44;
  --ocean-700: #0b4f7a;
  --ocean-500: #1279b8;
  --ocean-300: #7cc4e4;
  --aqua: #37b6c8;
  --sun: #f6b93b;
  --sand: #f4ead9;
  --sand-deep: #e6d5b8;

  --bg: #f8fbfd;
  --bg-muted: #eef6fa;
  --card: #ffffff;
  --line: rgba(12, 36, 54, 0.09);

  --shadow-sm: 0 2px 8px rgba(11, 79, 122, 0.06);
  --shadow-md: 0 14px 34px rgba(11, 79, 122, 0.1);
  --shadow-lg: 0 28px 64px rgba(11, 79, 122, 0.16);

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-en: "Optima", "Palatino Linotype", "Georgia", serif;

  --ease: cubic-bezier(0.22, 0.68, 0.35, 1);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(55, 182, 200, 0.28);
}

/* ---------- 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 112px 0;
  position: relative;
}

.section-muted {
  background: linear-gradient(180deg, #f8fbfd 0%, var(--bg-muted) 18%, var(--bg-muted) 82%, #f8fbfd 100%);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.section-head-center {
  justify-content: center;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean-500);
}

.section-tag::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--ocean-500));
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-note {
  max-width: 330px;
  font-size: 15px;
  color: var(--ink-soft);
  padding-bottom: 6px;
}

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--aqua), var(--ocean-500) 60%, var(--sun));
  transition: width 0.1s linear;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.35s var(--ease);
}

.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(11, 79, 122, 0.06);
}

.site-header.is-stuck .header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.brand-text em {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}

/* 导航链接 */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ocean-500);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav-link:hover {
  color: var(--ocean-700);
  background: rgba(18, 121, 184, 0.06);
}

.nav-link.is-active {
  color: var(--ocean-700);
  font-weight: 600;
}

.nav-link.is-active::after {
  width: 16px;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ocean-700);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 0%, #dff0f9 0%, rgba(223, 240, 249, 0) 55%),
    radial-gradient(90% 70% at 8% 12%, #fdf4e4 0%, rgba(253, 244, 228, 0) 60%),
    linear-gradient(180deg, #fbfdff 0%, #eef7fc 62%, #ffffff 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  animation: floaty 14s ease-in-out infinite;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(124, 196, 228, 0.5);
}

.hero-glow-b {
  width: 340px;
  height: 340px;
  bottom: 60px;
  left: -110px;
  background: rgba(246, 185, 59, 0.22);
  animation-delay: -6s;
}

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -26px, 0); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 121, 184, 0.18);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ocean-700);
  box-shadow: var(--shadow-sm);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(55, 182, 200, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(55, 182, 200, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(55, 182, 200, 0.05); }
}

.hero-title {
  margin: 26px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.title-main {
  font-size: clamp(44px, 6.4vw, 82px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  background: linear-gradient(120deg, var(--ocean-900) 12%, var(--ocean-700) 52%, var(--aqua) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-sub {
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.hero-desc {
  max-width: 520px;
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ocean-700), var(--ocean-500));
  color: #fff;
  box-shadow: 0 14px 28px rgba(11, 79, 122, 0.26);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(11, 79, 122, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ocean-700);
  border: 1px solid rgba(18, 121, 184, 0.2);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

/* Hero 数据 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 26px;
  border-top: 1px dashed rgba(18, 121, 184, 0.22);
}

.stat dt {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 2px;
  order: 2;
}

.stat dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ocean-900);
}

.stat dd strong {
  font-family: var(--font-en);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat dd i {
  font-style: normal;
  font-size: 12.5px;
  color: var(--ink-faint);
}

.stat {
  display: flex;
  flex-direction: column;
}

/* Hero 图片卡片 */
.hero-media {
  position: relative;
}

.postcard {
  position: relative;
  margin: 0;
  padding: 12px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.6deg);
  transition: transform 0.5s var(--ease);
}

.postcard:hover {
  transform: rotate(0deg) translateY(-4px);
}

.postcard img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.postcard figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px 4px;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.postcard-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
}

.chip {
  position: absolute;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ocean-700);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 121, 184, 0.14);
  box-shadow: 0 10px 24px rgba(11, 79, 122, 0.14);
  white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}

.chip-1 {
  top: -18px;
  left: -18px;
  animation-delay: -1s;
}

.chip-2 {
  right: -18px;
  top: -20px;
  animation-delay: -3s;
}

.chip-3 {
  left: -26px;
  bottom: 44px;
  animation-delay: -4.5s;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* 波浪分隔 */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 1;
}

.hero-wave svg {
  width: 100%;
  height: 120px;
  display: block;
}

/* 向下滚动提示 */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  z-index: 3;
}

.scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(18, 121, 184, 0) 0%, var(--ocean-300) 100%);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 1px;
  height: 40%;
  background: var(--ocean-700);
  animation: scan 2.2s ease-in-out infinite;
}

@keyframes scan {
  0% { top: -40%; }
  70%, 100% { top: 100%; }
}

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid rgba(18, 121, 184, 0.22);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about-badge {
  position: absolute;
  right: -18px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.about-badge strong {
  font-family: var(--font-en);
  font-size: 26px;
  color: var(--ocean-700);
  line-height: 1.1;
}

.about-badge span {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.about-copy p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 15.8px;
  line-height: 1.95;
}

.about-copy .section-title {
  margin-bottom: 24px;
}

.fact-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.fact-list span {
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.fact-list b {
  font-weight: 600;
  color: var(--ocean-900);
  text-align: right;
}

/* ---------- 景点卡片 ---------- */
.spot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.spot-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(12, 36, 54, 0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.spot-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 121, 184, 0.18);
}

.spot-media {
  overflow: hidden;
  background: #eaf5fb;
}

.spot-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.spot-card:hover .spot-media img {
  transform: scale(1.06);
}

.spot-body {
  position: relative;
  padding: 26px 26px 28px;
}

.spot-index {
  position: absolute;
  top: -18px;
  right: 24px;
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: rgba(18, 121, 184, 0.12);
  letter-spacing: -0.03em;
}

.spot-body h3 {
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.spot-body p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.spot-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ocean-700);
  background: rgba(18, 121, 184, 0.08);
}

/* ---------- 时间轴 ---------- */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 132px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(55, 182, 200, 0) 0%, var(--ocean-300) 12%, var(--ocean-300) 88%, rgba(55, 182, 200, 0) 100%);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 46px;
  padding: 18px 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 127px;
  top: 42px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--ocean-500);
  box-shadow: 0 0 0 5px rgba(18, 121, 184, 0.1);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tl-item:hover::before {
  background: var(--ocean-500);
  box-shadow: 0 0 0 7px rgba(18, 121, 184, 0.14);
}

.tl-year {
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 700;
  color: var(--ocean-700);
  text-align: right;
  padding: 24px 20px 0 0;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.tl-card {
  background: #fff;
  border: 1px solid rgba(12, 36, 54, 0.06);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.tl-item:hover .tl-card {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.tl-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.tl-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- 画廊 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eaf5fb;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-cap {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ocean-900);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.gallery-item:hover .gallery-cap,
.gallery-item:focus-visible .gallery-cap {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 42, 68, 0) 55%, rgba(6, 42, 68, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ---------- 攻略 ---------- */
.tip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.tip-card {
  padding: 30px 28px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(12, 36, 54, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.tip-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.tip-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(55, 182, 200, 0.16), rgba(18, 121, 184, 0.1));
  color: var(--ocean-700);
}

.tip-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tip-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.tip-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.tip-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand-deep);
}

.tip-list li:nth-child(1)::before { background: var(--ocean-300); }
.tip-list li:nth-child(2)::before { background: var(--aqua); }
.tip-list li:nth-child(3)::before { background: var(--sun); }

.note-box {
  margin-top: 34px;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 185, 59, 0.3);
  background: linear-gradient(120deg, rgba(253, 246, 228, 0.9), rgba(255, 255, 255, 0.9));
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.note-box strong {
  color: #8a5a0b;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #f8fbfd, #eef6fa);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.footer-brand strong {
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--ocean-900);
}

.footer-brand span {
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}

.footer-note {
  flex: 1;
  min-width: 260px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-faint);
}

.footer-top {
  font-size: 13px;
  font-weight: 600;
  color: var(--ocean-700);
  transition: opacity 0.25s var(--ease);
}

.footer-top:hover {
  opacity: 0.65;
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 110;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 121, 184, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  color: var(--ocean-700);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s var(--ease), background 0.25s var(--ease);
}

.to-top svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--ocean-700);
  color: #fff;
}

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px;
  background: rgba(8, 30, 46, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lb-figure {
  margin: 0;
  max-width: min(1000px, 88vw);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}

.lightbox.is-open .lb-figure {
  transform: scale(1);
}

.lb-figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lb-figure figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
}

.lb-close,
.lb-nav {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.lb-close:hover,
.lb-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}

.lb-close {
  position: absolute;
  top: 24px;
  right: 26px;
  width: 44px;
  height: 44px;
  font-size: 24px;
  line-height: 1;
}

.lb-nav {
  width: 52px;
  height: 52px;
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
  padding-bottom: 4px;
}

/* ---------- 滚动出现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 依次出现的轻微错位 */
.spot-grid .reveal:nth-child(2),
.tip-grid .reveal:nth-child(2),
.gallery .reveal:nth-child(2) { transition-delay: 0.08s; }
.spot-grid .reveal:nth-child(3),
.tip-grid .reveal:nth-child(3),
.gallery .reveal:nth-child(3) { transition-delay: 0.16s; }
.spot-grid .reveal:nth-child(4),
.gallery .reveal:nth-child(4) { transition-delay: 0.24s; }
.spot-grid .reveal:nth-child(5),
.gallery .reveal:nth-child(5) { transition-delay: 0.32s; }
.spot-grid .reveal:nth-child(6),
.gallery .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-media {
    max-width: 560px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-visual {
    max-width: 520px;
  }

  .spot-grid,
  .tip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 88px 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s var(--ease);
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-active {
    background: rgba(18, 121, 184, 0.08);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 40px;
  }

  .section-head-center {
    align-items: center;
  }

  .hero {
    padding-top: 140px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }

  .gallery-item-wide {
    grid-column: span 2;
  }

  .timeline::before {
    left: 8px;
  }

  .tl-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 34px;
  }

  .tl-item::before {
    left: 3px;
    top: 30px;
  }

  .tl-year {
    text-align: left;
    padding-top: 0;
    font-size: 18px;
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    padding: 14px 20px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 124px 0 96px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .spot-grid,
  .tip-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-item-wide {
    grid-column: span 1;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .chip-1 {
    left: -6px;
    top: -14px;
    font-size: 11.5px;
  }

  .chip-2 {
    right: -6px;
    font-size: 11.5px;
  }

  .chip-3 {
    display: none;
  }

  .about-badge {
    right: 8px;
    bottom: 12px;
    padding: 12px 16px;
  }

  .about-visual::after {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .lb-close {
    top: 14px;
    right: 14px;
  }

  .lb-nav {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .lightbox {
    padding: 20px 12px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- 无障碍：尊重减弱动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
