/*
 * privacy-policy.css
 * Page-specific styles for privacy-policy.html
 * Extends styles.css — do not duplicate shared tokens.
 * WordPress: enqueue via wp_enqueue_style() on the privacy-policy page template.
 */

/*
 * STICKY FIX: styles.css sets body.lws-body { overflow-x: hidden } which
 * creates a new scroll container and breaks position:sticky on all children.
 * Overriding to overflow-x: clip achieves the same visual clipping without
 * creating a new scroll container, so sticky works correctly.
 */
body.lws-body {
  overflow-x: clip;
  font-size: 17px;
}



/* ================================================================
   HERO BANNER
================================================================ */

.prv-hero {
  position: relative;
  height: 46vh;
  min-height: 280px;
  max-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Spa photo background */
.prv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,14,11,0.45) 0%, rgba(10,14,11,0.72) 100%),
    url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&w=1920&q=80')
    center / cover no-repeat;
  z-index: 0;
}

.prv-hero-overlay { display: none; }

.prv-hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, 88%);
  margin: 0 auto;
  padding-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.prv-hero-eyebrow {
  font-family: var(--lws-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lws-gold);
  margin: 0;
}

.prv-hero-title {
  font-family: var(--lws-serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--lws-cream);
  margin: 0;
}

.prv-hero-meta {
  font-family: var(--lws-sans);
  font-size: 0.82rem;
  color: rgba(255,249,241,0.55);
  margin: 0.2rem 0 0;
  letter-spacing: 0.02em;
}


/* ================================================================
   MAIN LAYOUT — two-column grid
================================================================ */

.prv-main {
  background: var(--lws-bg);
  padding: 5rem 0 8rem;
}

.prv-layout {
  width: min(1200px, 88%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}


/* ================================================================
   TABLE OF CONTENTS — sticky left sidebar
================================================================ */

.prv-toc {
  position: sticky;
  top: 7rem;           /* pins just below fixed header */
  align-self: start;   /* required: grid must not stretch the column */
}

.prv-toc-inner {
  background: var(--lws-cream);
  border: 1px solid var(--lws-line);
  border-radius: var(--lws-radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  /* Scroll INSIDE the box if content is taller than viewport */
  max-height: calc(100vh - 9rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--lws-line) transparent;
}

.prv-toc-brand {
  font-family: var(--lws-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--lws-ink);
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--lws-line);
}

.prv-toc-brand em {
  font-style: italic;
  color: var(--lws-gold-deep);
}

.prv-toc-updated {
  font-family: var(--lws-sans);
  font-size: 0.75rem;
  color: var(--lws-muted);
  line-height: 1.6;
  margin: 0;
}

/* Numbered TOC list */
.prv-toc-list {
  list-style: none;
  counter-reset: toc-counter;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.prv-toc-list li {
  counter-increment: toc-counter;
  border-bottom: 1px solid var(--lws-line);
}

.prv-toc-list li:last-child {
  border-bottom: none;
}

.prv-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.6rem 0;
  font-family: var(--lws-sans);
  font-size: 0.8rem;
  color: var(--lws-gold-deep);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s var(--lws-ease), padding-left 0.2s var(--lws-ease);
}

.prv-toc-list a::before {
  content: counter(toc-counter) ".";
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--lws-muted);
  flex-shrink: 0;
  min-width: 1.4rem;
}

.prv-toc-list a:hover {
  color: var(--lws-ink);
  padding-left: 0.35rem;
}


/* ================================================================
   POLICY CONTENT — right column
================================================================ */

.prv-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual section */
.prv-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--lws-line);
}

.prv-section:first-child {
  padding-top: 0;
}

.prv-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Section heading — gold left accent */
.prv-section-title {
  font-family: var(--lws-serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--lws-ink);
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--lws-gold);
}

/* Body text */
.prv-content p {
  font-family: var(--lws-sans);
  font-size: 1.04rem;
  color: var(--lws-ink);
  line-height: 1.85;
  margin: 0 0 1rem;
  opacity: 0.82;
}

.prv-content p:last-child {
  margin-bottom: 0;
}

/* Lists */
.prv-content ul,
.prv-content ol {
  padding-left: 0;
  list-style: none;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prv-content ul li,
.prv-content ol li {
  font-family: var(--lws-sans);
  font-size: 1.02rem;
  color: var(--lws-ink);
  line-height: 1.8;
  padding-left: 1.4rem;
  position: relative;
  opacity: 0.82;
}

/* Gold dot bullet */
.prv-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lws-gold);
  flex-shrink: 0;
}

/* Strong inside list items */
.prv-content li strong,
.prv-content p strong {
  color: var(--lws-ink);
  font-weight: 600;
  opacity: 1;
}

/* Inline link */
.prv-link {
  color: var(--lws-gold-deep);
  text-decoration: underline;
  text-decoration-color: rgba(140,109,63,0.4);
  text-underline-offset: 3px;
  transition: color 0.2s var(--lws-ease), text-decoration-color 0.2s var(--lws-ease);
}
.prv-link:hover {
  color: var(--lws-ink);
  text-decoration-color: rgba(31,38,34,0.4);
}

/* Thank you sign-off */
.prv-thankyou {
  font-family: var(--lws-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--lws-gold-deep) !important;
  opacity: 1 !important;
  margin-top: 1.5rem !important;
}


/* ================================================================
   RESPONSIVE — TABLET (≤ 960px)
================================================================ */

@media (max-width: 960px) {

  .prv-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .prv-toc {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .prv-toc-inner {
    padding: 1.6rem;
  }

  /* On tablet, TOC becomes a compact accordion-style strip */
  .prv-toc-list a {
    font-size: 0.82rem;
  }

  .prv-hero {
    height: 38vh;
  }

}


/* ================================================================
   RESPONSIVE — MOBILE (≤ 600px)
================================================================ */

@media (max-width: 600px) {

  .prv-main {
    padding: 3.5rem 0 5rem;
  }

  .prv-hero {
    height: 50vw;
    min-height: 200px;
  }

  .prv-hero-title {
    font-size: 2.2rem;
  }

  .prv-section {
    padding: 2rem 0;
  }

  .prv-section-title {
    font-size: 1.5rem;
  }

  .prv-content p,
  .prv-content li {
    font-size: 0.92rem;
  }

}
