:root {
  --ink: #19242b;
  --muted: #64717a;
  --paper: #f7f9f6;
  --panel: #ffffff;
  --line: #d9e1dd;
  --forest: #2f6f4e;
  --blue: #2368a2;
  --sun: #c7791f;
  --clay: #b5533f;
  --shadow: 0 18px 44px rgba(25, 36, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 44px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.top-nav a {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  border-color: var(--line);
  color: var(--ink);
  background: white;
  outline: none;
}

.overview-section {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, #eef5f1 0%, var(--paper) 88%);
}

.overview-grid,
.section,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.trip-summary {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: #3f4e55;
  font-size: 18px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
}

.summary-grid > div,
.info-card,
.day-card,
.research-card,
.check-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.summary-grid > div {
  min-height: 96px;
  padding: 18px;
}

.metric {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
  font-size: 22px;
  font-weight: 850;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe9e5;
  box-shadow: var(--shadow);
  min-height: 480px;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(25, 36, 43, 0.72);
  color: white;
  font-size: 12px;
}

.section {
  padding: 52px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 20px;
}

.route-map {
  min-height: 360px;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 104, 162, 0.12), transparent 46%),
    linear-gradient(315deg, rgba(199, 121, 31, 0.18), transparent 40%),
    #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.route-map ol {
  height: 100%;
  min-height: 304px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 18px;
  position: relative;
}

.route-map ol::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 50%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--forest), var(--sun));
  transform: translateY(-50%);
  border-radius: 999px;
}

.route-map li {
  min-height: 118px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(217, 225, 221, 0.86);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  font-weight: 750;
}

.route-map li:nth-child(even) {
  transform: translateY(68px);
}

.route-map span,
.day-top span {
  display: inline-flex;
  width: 42px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.route-notes {
  display: grid;
  gap: 14px;
}

.info-card {
  padding: 22px;
}

.info-card h3,
.day-card h3,
.research-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.info-card p,
.day-card p,
.research-card p {
  color: #4d5b62;
  margin-bottom: 0;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.day-card {
  min-height: 260px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.day-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
}

.day-top strong {
  color: var(--muted);
  font-size: 14px;
}

.day-card .soft {
  margin-top: auto;
  padding-top: 14px;
  color: var(--blue);
  font-weight: 650;
}

.accent-card {
  border-color: rgba(199, 121, 31, 0.42);
  background: #fffaf2;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr;
}

.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef5f1;
  font-size: 14px;
}

td:nth-child(2),
td:nth-child(3),
td:nth-child(4),
th:nth-child(2),
th:nth-child(3),
th:nth-child(4) {
  text-align: right;
  font-weight: 750;
}

tr:last-child td {
  border-bottom: 0;
}

.total-row td {
  background: #f7fbff;
  color: var(--blue);
  font-weight: 850;
}

.budget-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.research-card {
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.research-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
}

.research-card a:hover,
.research-card a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.check-item {
  min-height: 112px;
  padding: 20px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: #39484f;
  font-weight: 650;
}

.check-item span {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 5px;
  border: 2px solid var(--forest);
  background: #eaf4ee;
}

.site-footer {
  padding: 28px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--blue);
  font-weight: 750;
  margin-right: 12px;
}

@media (max-width: 1040px) {
  .overview-grid,
  .route-layout {
    grid-template-columns: 1fr;
  }

  .trip-summary,
  .hero-visual,
  .hero-visual img {
    min-height: auto;
  }

  .hero-visual img {
    aspect-ratio: 16 / 9;
  }

  .summary-grid,
  .day-grid,
  .research-grid,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .overview-grid,
  .section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .overview-section {
    padding-top: 22px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  .summary-grid,
  .day-grid,
  .research-grid,
  .check-grid,
  .budget-cards {
    grid-template-columns: 1fr;
  }

  .route-map {
    padding: 18px;
  }

  .route-map ol {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .route-map ol::before {
    left: 39px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 4px;
    height: auto;
  }

  .route-map li,
  .route-map li:nth-child(even) {
    min-height: 92px;
    transform: none;
  }

  .day-card,
  .research-card {
    min-height: auto;
  }
}
