/* ============================================================
   Goto.London — Design System 2.0 ("The London Edit")
   编辑式 / 画册式城市美学，版式语言对齐 shangrilaguide.com：
   · 全幅 page-hero：背景图 + 深色渐变遮罩，衬线大标题压在图上
   · spot-card：整版图 + hover 放大 + 文案浮现（图在文字后方）
   · 衬线展示标题 + 无衬线正文 + 纸纹底 + 极细分隔线
   说明：服务端渲染静态 HTML（SEO/GEO 关键：内容必须在 HTML 里）
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* —— 品牌色（London Edit）—— */
  --paper:      #f6f4ee;   /* 暖纸白 */
  --ink:        #14171f;   /* 墨黑（正文/标题） */
  --navy:       #0f1c2e;   /* 深海军蓝（深色区块） */
  --navy-2:     #16273d;
  --red:        #c8102e;   /* London bus red（强调色） */
  --red-d:      #9e0c24;
  --gold:       #b8912f;   /* 鎏金（GYG 强调） */
  --muted:      #4c5566;
  --line:       rgba(20, 23, 31, .15);
  --white-line: rgba(255, 255, 255, .16);
  --maxw: 1240px;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --radius: 4px;
  --shadow: 0 10px 30px rgba(15, 28, 46, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background-color: var(--paper);
  /* 纸纹质感（同 shangrilaguide） */
  background-image:
    radial-gradient(rgba(20,23,31,.035) 1px, transparent 1px),
    radial-gradient(rgba(20,23,31,.025) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: #fff; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; }
p  { margin: 0 0 1.1em; color: var(--muted); }
b, strong { font-weight: 500; color: var(--ink); }

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

/* ============================================================
   Header — 磨砂纸白吸顶（无需 JS 的 scrolled 态）
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 20px;
}
.brand {
  font-family: var(--font-serif);
  font-size: 22px; letter-spacing: .02em; color: var(--ink); font-weight: 500;
}
.brand span { color: var(--red); font-style: italic; }
.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.nav a:hover, .nav a.active { color: var(--ink); text-decoration: none; }
.nav a.active { border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 22px; cursor: pointer; }
@media (max-width: 820px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

/* ============================================================
   Page Hero — 全幅背景图 + 渐变遮罩 + 文字压图
   （版式核心：图在文字后方 / 文字浮在图上）
   ============================================================ */
.page-hero, .hero {
  position: relative;
  min-height: 66vh;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  padding: 140px 0 72px;
  overflow: hidden;
  background-color: var(--navy); /* 图未载入时的兜底 */
}
.page-hero::before, .hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,16,26,.52), rgba(10,16,26,.22) 42%, rgba(10,16,26,.80));
}
.page-hero.home { min-height: 86vh; padding: 170px 0 90px; }
.page-hero > .container, .hero > .container { position: relative; z-index: 2; width: 100%; }

.page-hero h1, .hero h1 {
  color: #fff;
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 400; line-height: 1.06;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  animation: fadeInUp 1s cubic-bezier(.4,0,.2,1) both;
}
.page-hero p, .hero p {
  color: rgba(255,255,255,.86);
  max-width: 66ch; font-size: 16.5px; line-height: 1.85;
  margin: 0 0 24px;
  animation: fadeInUp 1s .12s cubic-bezier(.4,0,.2,1) both;
}
.page-hero .chips, .hero .chips { animation: fadeInUp 1s .22s cubic-bezier(.4,0,.2,1) both; }

/* 压在图上的 breadcrumb（景点页） */
.page-hero .breadcrumb {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.72);
  margin-bottom: 22px; padding: 0;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.72); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span { color: rgba(255,255,255,.4); margin: 0 8px; }

.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.45);
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  transition: all .35s;
}
.chip:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; text-decoration: none; }

/* ============================================================
   通用区块
   ============================================================ */
.section { padding: 96px 0; }
.section.alt { background: #fff; }
.section h2 { margin: 0 0 10px; }
.section .lede { color: var(--muted); margin: 0 0 44px; max-width: 70ch; font-size: 16px; }

.eyebrow {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--red); margin: 0 0 16px; font-weight: 500;
}

.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
}

/* ============================================================
   卡片 — 极简编辑式（细线 + 大留白 + hover 浮起）
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .45s cubic-bezier(.4,0,.2,1), box-shadow .45s;
}
.section.alt .card, .card { box-shadow: none; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--red); }
.card p { font-size: 14.5px; margin-bottom: 16px; }
.card .meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   Spot Cards — 整版图像 + hover 放大 + 文案浮现
   （「图在文字上方/后方」的招牌版式）
   ============================================================ */
.spot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px) { .spot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .spot-grid { grid-template-columns: 1fr; } }

.spot-card {
  position: relative; height: 430px; overflow: hidden;
  display: block; background: var(--ink); border-radius: var(--radius);
}
.spot-card .thumb {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(.4,0,.2,1);
}
.spot-card:hover .thumb { transform: scale(1.09); }
.spot-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(to top, rgba(0,0,0,.80), rgba(0,0,0,.10) 58%, rgba(0,0,0,.28));
  transition: background .6s;
}
.spot-card:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,.84), rgba(0,0,0,.30) 58%, rgba(0,0,0,.40));
}
.spot-card .body {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px 28px; color: #fff;
}
.spot-card h3 {
  color: #fff; font-family: var(--font-serif); font-style: italic;
  font-size: 27px; margin: 0 0 8px; font-weight: 400;
}
.spot-card .blurb {
  color: rgba(255,255,255,.84); font-size: 13.5px; margin: 0 0 14px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s, opacity .6s;
}
.spot-card:hover .blurb { max-height: 110px; opacity: 1; }
.spot-card .meta {
  font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.78);
}
@media (max-width: 640px) {
  .spot-card { height: 340px; }
  .spot-card .blurb { max-height: 110px; opacity: 1; } /* 触屏无 hover：直接显示 */
}

/* ============================================================
   Buttons — 全大写 + 宽字距（编辑式）
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 28px; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; transition: all .35s;
}
.btn:hover { text-decoration: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--red); color: #fff; }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 10.5px; }

/* ============================================================
   Breadcrumb（hero 外的兜底样式）
   ============================================================ */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--line); margin: 0 8px; }

/* ============================================================
   Callout / worth-it
   ============================================================ */
.callout {
  background: rgba(200, 16, 46, .05);
  border-left: 2px solid var(--red);
  padding: 22px 28px; margin: 26px 0; border-radius: 0;
}
.callout.good { border-color: #2e7d4f; background: rgba(46, 125, 79, .06); }
.callout h4 { font-family: var(--font-serif); font-size: 20px; margin-bottom: 8px; }
.callout p { margin: 0; font-size: 14.5px; }
.callout a { font-weight: 500; }

/* ============================================================
   FAQ 手风琴 — 细线编辑式
   ============================================================ */
.faq-item {
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; margin-bottom: 0; background: transparent; overflow: visible;
}
.faq-item summary {
  cursor: pointer; padding: 24px 0; font-weight: 400; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  font-family: var(--font-serif); font-size: 20px; line-height: 1.4;
  transition: color .35s;
}
.faq-item summary:hover { color: var(--red); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--red); font-size: 26px; font-weight: 300;
  font-family: var(--font-sans); flex-shrink: 0; transition: transform .35s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 0 26px; color: var(--muted); max-width: 76ch; }

/* ============================================================
   GYG 区块 — 深海军蓝 + 鎏金（编辑式）
   ============================================================ */
.gyg-section { background: var(--navy); }
.gyg-section h2 { color: #fff; }
.gyg-section .eyebrow { color: var(--gold); }
.gyg-section .lede { color: rgba(255,255,255,.62); }

.gyg-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .gyg-grid { grid-template-columns: 1fr; } }
.gyg-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  background: #fff; box-shadow: none; display: flex; flex-direction: column; gap: 10px;
  transition: transform .45s cubic-bezier(.4,0,.2,1), box-shadow .45s;
}
.gyg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.gyg-badge {
  align-self: flex-start;
  font-family: var(--font-sans); font-size: 9.5px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--red-d); background: transparent; padding: 0;
}
.gyg-card h4 { color: var(--ink); font-size: 21px; margin: 0; font-weight: 400; }
.gyg-card p { color: var(--muted); font-size: 13.5px; margin: 0; flex: 1; }
.gyg-rating { color: var(--gold); font-weight: 500; font-size: 13px; letter-spacing: .04em; }
.gyg-card .price { font-family: var(--font-serif); font-size: 17px; color: var(--ink); font-weight: 500; }
.gyg-card > div:last-child { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* GYG 深色变体（仅 .gyg-section 内） */
.gyg-section .gyg-grid { gap: 1px; background: var(--white-line); }
.gyg-section .gyg-card { background: var(--navy); border: 0; border-radius: 0; }
.gyg-section .gyg-card:hover { background: var(--navy-2); transform: none; box-shadow: none; }
.gyg-section .gyg-badge { color: var(--gold); }
.gyg-section .gyg-card h4 { color: #fff; }
.gyg-section .gyg-card p { color: rgba(255,255,255,.58); }
.gyg-section .gyg-card .price { color: #fff; }

/* ============================================================
   Footer — 墨蓝 + 鎏金 hover
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.55); padding: 84px 0 40px; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.6); }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.site-footer h5 {
  font-family: var(--font-sans); color: #fff; margin: 0 0 16px; font-size: 11px;
  letter-spacing: .26em; text-transform: uppercase; font-weight: 500;
}
.site-footer p { color: rgba(255,255,255,.5); font-size: 14px; }
.site-footer .brand { color: #fff; font-size: 24px; }
.site-footer .brand span { color: var(--gold); }
.disclaimer {
  margin-top: 56px; padding: 18px 22px; border-top: 0;
  border-left: 2px solid var(--gold); background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.42); font-size: 12px; line-height: 1.75;
}
@media (max-width: 880px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ============================================================
   Utility / tables
   ============================================================ */
.pill { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #2e7d4f; background: rgba(46,125,79,.08); padding: 3px 10px; border-radius: 999px; }
.tag-free { color: #2e7d4f; font-weight: 500; }
.lead-num { font-size: 14px; color: var(--muted); }
.indent { padding-left: 20px; border-left: 2px solid var(--line); margin: 16px 0; }
table.compare { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
table.compare th, table.compare td { border: 0; border-bottom: 1px solid var(--line); padding: 13px 10px; text-align: left; vertical-align: top; }
table.compare th { background: transparent; color: var(--ink); font-family: var(--font-sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border-bottom: 2px solid var(--ink); }

/* 兼容旧标记（若残留） */
.hero-figure { margin: 0; }
.hero-photo { display: none; }

/* ============================================================
   入场动效
   ============================================================ */
.fade-in-up { animation: fadeInUp 1s cubic-bezier(.4,0,.2,1) both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in-up, .page-hero h1, .page-hero p, .page-hero .chips { animation: none; }
  html { scroll-behavior: auto; }
}
