/* ═══════════════════════════════════════════════
   TEMPLE GIRL KIDS — Legal Pages Styles
   Privacy Policy · Terms · Refund Policy
   ═══════════════════════════════════════════════ */

/* Meta bar */
.legal-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212,160,74,0.2);
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--muted);
}
.legal-meta span { display: flex; align-items: center; gap: 6px; }

/* Intro block */
.legal-intro {
  background: linear-gradient(135deg, var(--cream), var(--lGold));
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border-left: 4px solid var(--saffron);
  margin-bottom: 32px;
}
.legal-intro p {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.8;
}

/* Table of contents */
.legal-toc {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}
.legal-toc h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--night);
  margin-bottom: 16px;
}
.legal-toc ol {
  list-style: decimal;
  padding-left: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.legal-toc ol li a {
  font-size: 13px;
  color: var(--saffron);
  transition: var(--transition);
}
.legal-toc ol li a:hover { color: #D4621E; text-decoration: underline; }

/* Legal body sections */
.legal-body { display: flex; flex-direction: column; gap: 0; }
.legal-section {
  padding: 36px 0;
  border-bottom: 1px solid rgba(212,160,74,0.15);
}
.legal-section:last-child { border-bottom: none; }
.legal-section h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--night);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-num {
  width: 32px; height: 32px;
  background: var(--saffron);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.legal-section h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--dim);
  margin: 20px 0 10px;
}
.legal-section p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.85;
  margin-bottom: 12px;
}
.legal-section ul, .legal-section ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.legal-section ul li, .legal-section ol li {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.75;
}
.legal-section a { color: var(--saffron); transition: var(--transition); }
.legal-section a:hover { color: #D4621E; }

/* Contact box */
.legal-contact-box {
  background: var(--cream);
  border: 1px solid rgba(212,160,74,0.25);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.8;
}
.legal-contact-box strong { color: var(--night); font-size: 15px; }
.legal-contact-box a { color: var(--saffron); }

/* Nav links between legal pages */
.legal-nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(212,160,74,0.2);
}

/* ── Refund-specific ───────────────────── */
.refund-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}
.refund-summary h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--night);
  margin-bottom: 18px;
}
.refund-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.refund-card {
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.refund-card-yes {
  background: rgba(15,110,86,0.06);
  border: 1.5px solid rgba(15,110,86,0.2);
}
.refund-card-no {
  background: rgba(192,57,43,0.05);
  border: 1.5px solid rgba(192,57,43,0.15);
}
.refund-card-icon { font-size: 24px; margin-bottom: 10px; display: block; }
.refund-card h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--night);
  margin-bottom: 12px;
}
.refund-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.refund-card ul li {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.refund-card-yes ul li::before { content: '✓'; position: absolute; left: 0; color: var(--peacock); font-weight: 700; }
.refund-card-no ul li::before { content: '✕'; position: absolute; left: 0; color: #C0392B; font-weight: 700; }

/* Timeline */
.refund-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 0;
}
.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--saffron), rgba(232,114,42,0.15));
}
.timeline-dot {
  width: 32px;
  height: 32px;
  background: var(--saffron);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  z-index: 1;
}
.timeline-step div:last-child strong {
  font-size: 14px;
  color: var(--night);
  display: block;
  margin-bottom: 3px;
}
.timeline-step div:last-child p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 700px) {
  .legal-toc ol { grid-template-columns: 1fr; }
  .refund-cards { grid-template-columns: 1fr; }
  .legal-intro { padding: 20px; }
}
