/* ═══════════════════════════════════════════════════════════════════════════
   PAGES.CSS — Shared styles for generated pages (destinations, packages, etc.)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Page Hero (all pages except homepage) ── */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  background: var(--c-dark);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(181,138,74,.08) 0%, transparent 60%);
}
.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
}
.page-hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
}
.page-hero-title em {
  font-style: italic;
  color: var(--c-accent);
}
.page-hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.65);
  max-width: 560px;
}

/* ── Page Body ── */
.page-body-section {
  padding: 80px 0;
}

/* ── Active nav link ── */
.nav-link.active {
  color: var(--c-text) !important;
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--c-accent);
  border-radius: 1px;
}

/* ── Mobile nav fix for pages ── */
@media (max-width: 768px) {
  .page-hero {
    padding: 160px 0 60px;
  }
  .page-body-section {
    padding: 60px 0;
  }
}

/* ── Legal Content (Privacy Policy, Cancellation Policy) ── */
.legal-content h2 {
  font-family: var(--ff-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--c-text);
  margin: 32px 0 12px;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-muted);
  margin-bottom: 12px;
}
.legal-content ul {
  margin: 8px 0 16px 20px;
  list-style: disc;
}
.legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-muted);
  margin-bottom: 4px;
}
.legal-content a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: var(--c-accent-dark);
}
.legal-section {
  margin-bottom: 24px;
}
.legal-box {
  background: rgba(181,138,74,0.06);
  border-left: 3px solid var(--c-accent);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}
.legal-box p {
  margin: 0;
  color: var(--c-text);
  font-size: 14.5px;
}
.legal-table-wrapper {
  overflow-x: auto;
  margin: 20px 0 24px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-surface, #fff);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.legal-table th {
  background: var(--c-dark, #16241b);
  color: #fff;
  font-family: var(--ff-sans);
  font-weight: 600;
  padding: 12px 16px;
  font-size: 13px;
  letter-spacing: .03em;
}
.legal-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--c-border);
  color: var(--c-text-muted);
  vertical-align: middle;
}
.legal-table tr:nth-child(even) td {
  background: rgba(0,0,0,0.015);
}
.legal-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
}
.legal-badge-refund {
  background: #e6f4ea;
  color: #137333;
}
.legal-badge-warn {
  background: #fef7e0;
  color: #b06000;
}
.legal-badge-danger {
  background: #fce8e6;
  color: #c5221f;
}
.legal-updated {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  font-style: italic;
  color: var(--c-text-light);
  font-size: 13px;
}
