/* ============================================================
    Car Cure - Returns Policy Page Styles
    ============================================================ */

/* ── Page Hero Banner ── */
.page-hero {
  position: relative;
  padding: 7rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,.08) 0%, transparent 60%),
    var(--black);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black, transparent);
  pointer-events: none;
}

.page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.page-hero__label::before,
.page-hero__label::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: .5;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.page-hero__title em {
  font-style: italic;
  color: var(--gold);
}

.page-hero__subtitle {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 1rem auto 0;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ── Page Container ── */
.page-container {
  width: 92%;
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

/* Legacy support */
.sitemap-page {
  background: var(--black);
  min-height: 60vh;
}

/* ── Typography ── */
.page-container h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}

.page-container h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 2.5rem 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.page-container p {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: .97rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.page-container ul,
.page-container ol {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.9;
  margin: 1rem 0 1rem 1.5rem;
}
.page-container li {
  margin-bottom: 0.5rem;
}

.page-container a {
  font-family: var(--font-body);
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.page-container a:hover { border-color: var(--gold); }

/* ── Intro Lead ── */
.page-lead {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

/* ── Prose Sections (for legal pages) ── */
.prose {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.prose-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.prose-section:last-child {
  border-bottom: none;
}

.prose-section h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.prose-section p {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.85;
  margin-bottom: 0;
}

.prose-section a {
  font-family: var(--font-body);
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.prose-section a:hover {
  border-color: var(--gold);
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .page-container {
    padding: 3rem 0 4rem;
  }
  
  .page-hero {
    padding: 5rem 1.5rem 3rem;
  }
  
  .page-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}