/* ============================================================
   ATULYA HELI YATRA — Legal Pages Shared Design
   Used by: privacy-policy, terms, cancellation-policy, disclaimer
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.legal-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 0 1.5rem 4rem;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 25% 45%, rgba(212,168,74,0.07), transparent 65%),
    linear-gradient(180deg, #080A0C 0%, #0D1015 70%, #111820 100%);
}
.legal-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,74,0.35), transparent);
}
.lh-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  pointer-events: none;
}
.lh-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.lh-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--e-expo) 0.1s forwards;
}
.lh-title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 2rem + 3vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--bone);
  margin: 0 0 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--e-expo) 0.2s forwards;
}
.lh-title em {
  color: var(--brass);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.lh-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--mist);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.7s var(--e-expo) 0.35s forwards;
}

/* ── Body Wrapper ─────────────────────────────────────────── */
.legal-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 7rem;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 2.5rem;
  transition: color 0.3s;
}
.legal-back:hover { color: var(--brass); }

.legal-intro {
  font-size: 1.05rem;
  color: var(--bone-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(212,168,74,0.15);
}
.legal-intro strong { color: var(--bone); }

/* ── Section Cards ────────────────────────────────────────── */
.legal-section {
  position: relative;
  background: rgba(29,34,37,0.5);
  border: 1px solid rgba(245,241,232,0.07);
  border-radius: 10px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  /* reveal state */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1),
              border-color 0.4s;
}
.legal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}
.legal-section:hover {
  border-color: rgba(212,168,74,0.18);
}
/* Animated gold top-line */
.legal-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brass) 0%, rgba(212,168,74,0.2) 80%, transparent 100%);
  transition: width 1s cubic-bezier(0.16,1,0.3,1) 0.2s;
}
.legal-section.revealed::before { width: 100%; }

/* Ghost section number */
.legal-section::after {
  content: attr(data-num);
  position: absolute;
  top: 0.5rem; right: 1.2rem;
  font-family: "Fraunces", serif;
  font-size: 5.5rem;
  font-weight: 700;
  color: rgba(212,168,74,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.ls-heading {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  color: var(--brass);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.ls-subheading {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bone);
  margin: 1.5rem 0 0.6rem;
}
.ls-content p,
.ls-content li {
  color: var(--bone-muted);
  line-height: 1.78;
  margin-bottom: 0.9rem;
  font-size: 0.97rem;
}
.ls-content ul,
.ls-content ol {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}
.ls-content ul li {
  padding-left: 1.5rem;
  position: relative;
}
.ls-content ul li::before {
  content: '·';
  position: absolute;
  left: 0.4rem;
  color: var(--brass);
  font-size: 1.2rem;
  line-height: 1.6;
}
.ls-content ol { counter-reset: ol-counter; }
.ls-content ol li {
  counter-increment: ol-counter;
  padding-left: 2rem;
  position: relative;
}
.ls-content ol li::before {
  content: counter(ol-counter) ".";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  top: 0.3rem;
}
.ls-content a {
  color: var(--brass);
  border-bottom: 1px solid rgba(212,168,74,0.35);
  transition: border-color 0.3s;
}
.ls-content a:hover { border-color: var(--brass); }
.ls-content strong { color: var(--bone); font-weight: 600; }

/* Callout block */
.ls-callout {
  padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--brass);
  background: rgba(212,168,74,0.05);
  border-radius: 0 6px 6px 0;
  margin: 1.25rem 0;
}
.ls-callout p { margin: 0; }

/* Table */
.ls-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}
.ls-table th, .ls-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(212,168,74,0.12);
  color: var(--bone-muted);
}
.ls-table th {
  color: var(--brass);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}
@media (max-width: 620px) {
  .ls-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Contact block */
.ls-contact {
  background: rgba(212,168,74,0.04);
  border: 1px solid rgba(212,168,74,0.18);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}
.ls-contact strong { color: var(--brass); display: block; margin-bottom: 0.5rem; }
.ls-contact a { color: var(--brass); }

/* ── Animations ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  .legal-hero { min-height: 44vh; padding: 0 1rem 3rem; }
  .legal-body { padding: 2rem 1rem 6rem; }
  .legal-section { padding: 1.5rem; }
  .legal-section::after { font-size: 4rem; }
}
