:root {
  --bg: #f4efe6;
  --bg-strong: #efe6d6;
  --surface: rgba(255, 251, 245, 0.72);
  --surface-strong: #fffaf1;
  --text: #2d241d;
  --muted: #6e6258;
  --line: rgba(88, 64, 43, 0.14);
  --accent: #b35c2e;
  --accent-deep: #7f3f1d;
  --accent-soft: #e7c6a8;
  --shadow: 0 18px 50px rgba(77, 49, 27, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(204, 138, 74, 0.26), transparent 28%),
    radial-gradient(circle at top right, rgba(133, 81, 38, 0.18), transparent 20%),
    linear-gradient(180deg, #f7f1e7 0%, #f0e7d8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(90, 64, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 64, 40, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 40px;
}

.hero,
.section,
.table-card {
  backdrop-filter: blur(14px);
}

.hero {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.82), rgba(249, 241, 228, 0.88));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 92, 46, 0.18), transparent 68%);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff7ee;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  font-weight: 700;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-logo-image {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(88, 64, 43, 0.12);
  background: rgba(255, 248, 238, 0.95);
  box-shadow: 0 8px 20px rgba(77, 49, 27, 0.12);
}

.highlight {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--accent-deep);
  background: rgba(179, 92, 46, 0.12);
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.topbar-links a {
  color: var(--muted);
  font-size: 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent-deep);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 10px;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.info-card p,
.address-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  padding: 12px 4px 8px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button-primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 12px 24px rgba(127, 63, 29, 0.22);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 248, 238, 0.8);
}

.hero-facts,
.list,
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-facts {
  display: grid;
  gap: 10px;
}

.hero-facts li,
.list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-facts li::before,
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #d28d5f);
}

.hero-panel {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(140, 78, 36, 0.08), rgba(255, 251, 245, 0.88)),
    var(--surface);
}

.panel-label {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero-checklist {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 249, 241, 0.86);
  border: 1px solid rgba(98, 69, 46, 0.08);
}

.mini-card strong,
.timeline strong {
  display: block;
  margin-bottom: 4px;
}

.mini-card span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.section {
  margin-top: 24px;
  padding: 30px 28px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.74);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.checklist-grid,
.card-grid,
.day-grid {
  display: grid;
  gap: 18px;
}

.checklist-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.checklist-card,
.info-card,
.day-card,
.table-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.checklist-card,
.info-card,
.day-card {
  padding: 22px;
}

.checklist-card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.checklist-card-expandable {
  min-height: auto;
  gap: 14px;
}

.step-number {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  background: rgba(179, 92, 46, 0.1);
}

.checklist-card p {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.inline-link {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
}

.expand-button {
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.95);
  color: var(--accent-deep);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.expand-button:hover {
  transform: translateY(-1px);
}

.expand-button.is-open {
  color: #fff9f0;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.expand-panel {
  display: none;
  margin-top: 4px;
  padding-top: 6px;
}

.expand-panel.is-open {
  display: block;
  animation: fade-slide 260ms ease;
}

.embedded-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.92);
}

.embedded-block + .embedded-block {
  margin-top: 12px;
}

.photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 320px);
  gap: 12px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.photo-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(88, 64, 43, 0.1);
  scroll-snap-align: start;
  background: rgba(255, 249, 241, 0.92);
}

.embedded-table {
  margin-top: 14px;
}

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

.pill {
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent-deep);
  background: rgba(179, 92, 46, 0.1);
}

.featured {
  background: linear-gradient(180deg, #fff6ea 0%, #fffaf2 100%);
}

.accent {
  background: linear-gradient(180deg, rgba(255, 241, 225, 0.95), rgba(255, 249, 240, 1));
}

.dense li {
  margin-bottom: 8px;
}

.table-card {
  margin-top: 18px;
  padding: 24px;
}

.table-header {
  margin-bottom: 18px;
}

.table-header p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.table-wrap {
  overflow-x: auto;
}

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

th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

thead th {
  color: var(--accent-deep);
  font-size: 14px;
}

tbody td {
  color: var(--muted);
  line-height: 1.6;
}

.address-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.92);
  border: 1px dashed rgba(127, 63, 29, 0.2);
}

.tabs {
  display: inline-flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(137, 90, 53, 0.08);
  margin-bottom: 22px;
}

.tab-button {
  min-width: 104px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tab-button:hover {
  transform: translateY(-1px);
}

.tab-button.is-active {
  color: #fff9f0;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.schedule-panel {
  display: none;
}

.schedule-panel.is-active {
  display: block;
  animation: fade-slide 260ms ease;
}

.day-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.day-card {
  position: relative;
  overflow: hidden;
}

.day-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), #d6a073);
}

.day-card h3 {
  margin-bottom: 18px;
  padding-left: 10px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline li {
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  background: rgba(245, 237, 227, 0.72);
}

.timeline span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .checklist-grid,
  .day-grid,
  .three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin: 10px auto 26px;
  }

  .hero,
  .section {
    padding: 20px;
    border-radius: 26px;
  }

  .topbar,
  .hero-grid,
  .checklist-grid,
  .three-up,
  .two-up,
  .day-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topbar {
    margin-bottom: 28px;
  }

  .topbar-links {
    gap: 10px 14px;
  }

  .hero-actions,
  .tabs {
    width: 100%;
  }

  .button,
  .tab-button {
    width: 100%;
  }

  .tabs {
    display: grid;
  }

  .checklist-card {
    min-height: auto;
  }
}
