/* =========================================================
   SHARED STYLES — Inner pages (FAQ, T&C, Privacy, Consent)
   ========================================================= */

/* Page hero banner */
.page-hero {
  background: var(--plum);
  padding: 100px 0 60px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--plum-soft);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 40px;
  transition: color 0.15s ease;
}
.back-link:hover { color: var(--coral); }

/* Page content wrapper */
.page-content {
  padding: 60px 0 100px;
}

/* ─── FAQ Accordion ─── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--plum);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s ease;
}
.faq-question:hover { background: var(--cream); }

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--cream-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.25s ease;
}
.faq-question .faq-icon svg { transition: transform 0.25s ease; }

.faq-item.open .faq-question { background: var(--cream); }
.faq-item.open .faq-question .faq-icon { background: var(--coral); }
.faq-item.open .faq-question .faq-icon svg { transform: rotate(180deg); color: #fff; }

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--plum-soft);
  font-size: 0.97rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

.faq-cta {
  max-width: 760px;
  margin: 32px auto 0;
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  text-align: center;
}
.faq-cta h3 { font-size: 1.2rem; margin-bottom: 8px; }
.faq-cta p { margin-bottom: 20px; }

/* ─── Legal Pages (Terms, Privacy) ─── */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-soft);
}
.legal-body h2 {
  font-size: 1.35rem;
  margin-top: 36px;
  margin-bottom: 10px;
  color: var(--plum);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--plum-soft); line-height: 1.75; margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 1.4em; }
.legal-body li { color: var(--plum-soft); line-height: 1.75; margin-bottom: 6px; }
.legal-body hr {
  border: none;
  border-top: 1px solid rgba(45,27,78,0.1);
  margin: 32px 0;
}

@media (max-width: 720px) {
  .legal-body { padding: 32px 24px; }
}

/* ─── Consent Form ─── */
.consent-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.consent-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}

.consent-print-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
}

.consent-section-title {
  font-size: 1.1rem;
  color: var(--plum);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cream-2);
}

.consent-checks { list-style: none; padding: 0; margin: 0 0 28px; }
.consent-checks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--plum-soft);
  line-height: 1.6;
}
.consent-checks li input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--coral);
  cursor: pointer;
}

.consent-declaration {
  background: var(--cream-2);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.consent-declaration p { font-size: 0.95rem; margin-bottom: 0; }

.consent-fields { display: grid; gap: 20px; }
.consent-field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--plum);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.consent-field .field-line {
  width: 100%;
  border: none;
  border-bottom: 2px solid rgba(45,27,78,0.2);
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  background: transparent;
  color: var(--plum);
  outline: none;
  transition: border-color 0.15s ease;
}
.consent-field .field-line:focus { border-color: var(--coral); }

/* Print styles */
@media print {
  .page-hero,
  .back-link,
  .consent-print-bar,
  .site-header,
  .site-footer,
  .bg-decor { display: none !important; }

  body { background: #fff !important; }
  .page-content { padding: 0 !important; }
  .consent-card {
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .consent-wrapper { max-width: 100%; }

  .consent-print-header {
    display: block !important;
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 2px solid #2D1B4E;
    padding-bottom: 16px;
  }
}
.consent-print-header { display: none; }
