/* ============================================
   Shine Care Group — inner pages
   Privacy Policy · Feedback & Complaints · 404 · Thank You
   Depends on css/styles.css for tokens.
   ============================================ */

/* ===== SKIP LINK (all pages) ===== */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ===== PAGE HERO (shared) ===== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FDFBF6 0%, var(--cream) 100%);
  padding: 180px 0 72px;
}
.page-hero .hero-bg-shape { z-index: 0; }
.page-hero-inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--text-muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--sage-dark); }
.breadcrumb span[aria-hidden] { opacity: 0.5; }
.breadcrumb strong { color: var(--navy); font-weight: 600; }

.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.page-lead {
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.75;
  font-weight: 500;
  max-width: 60ch;
  text-wrap: pretty;
}

/* Split hero: copy + summary card */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.compliance-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.compliance-chips span {
  background: var(--white);
  border: 1.5px solid rgba(40, 65, 102, 0.1);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

/* "The short version" card */
.summary-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.summary-card h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.summary-card ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.summary-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}
.summary-card li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(235, 166, 74, 0.2);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 3px;
}
.summary-card .summary-note {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== POLICY BODY: sticky contents + section cards ===== */
.policy-body {
  background: var(--cream);
  padding: 72px 0 100px;
}
.policy-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 56px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 120px;
}
.policy-toc h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.policy-toc ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid rgba(40, 65, 102, 0.1);
}
.policy-toc a {
  display: block;
  padding: 8px 0 8px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.policy-toc a:hover,
.policy-toc a.is-active {
  color: var(--sage-dark);
  border-left-color: var(--sage-dark);
}
.policy-toc .toc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  border: none;
  padding: 0;
}
.policy-toc .toc-back:hover { color: var(--sage-dark); }

.policy-sections {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 780px;
}
.policy-section {
  scroll-margin-top: 120px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 38px;
  box-shadow: var(--shadow-sm);
}
.policy-section h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 18px;
}
.policy-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.policy-section p,
.policy-section li {
  color: var(--charcoal);
  font-size: 0.98rem;
  line-height: 1.75;
}
.policy-section p + p { margin-top: 14px; }
.policy-section a {
  color: var(--sage-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-section a:hover { color: var(--navy); }

/* Collected-data tiles */
.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 18px;
}
.data-grid li {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Plain-English callout */
.in-short {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem !important;
  line-height: 1.6;
  color: var(--navy) !important;
}
.in-short strong {
  font-family: var(--font-display);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Bordered note panel */
.note-panel {
  background: var(--cream-deep);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-top: 16px;
}
.note-panel h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.note-panel p { font-size: 0.93rem !important; line-height: 1.7; }

/* Two side-by-side reference panels */
.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.split-panels > div {
  background: var(--cream);
  border: 1.5px solid rgba(40, 65, 102, 0.1);
  border-radius: 12px;
  padding: 18px 20px;
}
.split-panels h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.split-panels p { font-size: 0.93rem !important; line-height: 1.6; }

/* Gradient contact section */
.policy-section--cta {
  background: linear-gradient(150deg, var(--sage-dark) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-md);
  padding: 38px;
}
.policy-section--cta h2 { color: var(--white); margin-bottom: 14px; }
.policy-section--cta .policy-number {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.policy-section--cta p {
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.7;
  max-width: 52ch;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.btn-on-dark {
  background: var(--white);
  color: var(--navy);
}
.btn-on-dark:hover { background: var(--gold-light); }
.btn-on-dark-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-on-dark-ghost:hover { background: rgba(255, 255, 255, 0.22); }

/* ===== COMPLAINTS PAGE ===== */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.promise-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.promise-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.promise-card span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}
.section-intro p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.routes {
  background: var(--cream);
  padding: 72px 0 40px;
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.route-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid transparent;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
a.route-card:hover {
  border-color: var(--sage);
  transform: translateY(-4px);
}
.route-card .route-kind {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.route-card .route-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.2;
}
.route-card .route-value--sm { font-size: 1.1rem; line-height: 1.25; word-break: break-word; }
.route-card .route-note {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.route-card--static { background: var(--cream-deep); box-shadow: none; }
.route-card--static .route-kind { color: var(--sage-dark); }

/* Process panel with 4-step timeline */
.process-panel-wrap {
  background: var(--cream);
  padding: 60px 0;
}
.process-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 56px 48px;
  box-shadow: var(--shadow-md);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(235, 136, 68, 0.45) 0 8px, transparent 8px 16px);
}
.timeline-step { position: relative; }
.timeline-marker {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 2px solid var(--sage);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.timeline-when {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  min-height: 2.6em;
}
.timeline-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.timeline-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Escalation + advocacy */
.escalate-wrap {
  background: var(--cream);
  padding: 40px 0 100px;
}
.escalate-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  align-items: stretch;
}
.escalate-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-lg);
}
.escalate-panel .eyebrow { color: var(--gold); }
.escalate-panel h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 16px;
}
.escalate-panel > p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 56ch;
}
.escalate-panel > p strong { color: var(--white); }
.escalate-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.escalate-contacts > * {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.3s var(--ease);
}
a.escalate-contact:hover { background: rgba(255, 255, 255, 0.16); }
.escalate-contacts .escalate-kind {
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.escalate-contacts .escalate-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1.1;
}
.escalate-contacts .escalate-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
.escalate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.escalate-link:hover { color: var(--gold); }

.escalate-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.advocate-card {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  flex: 1;
}
.advocate-card .eyebrow { color: var(--sage-dark); margin-bottom: 12px; }
.advocate-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.advocate-card p {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 18px;
}
.commitment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  flex: 1;
}
.commitment-card .eyebrow { margin-bottom: 12px; }
.commitment-card p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--navy);
  text-wrap: pretty;
}
.commitment-card em { color: var(--sage-dark); }

/* ===== 404 ===== */
.nf-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.nf-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.95;
  color: var(--sage-light);
  -webkit-text-stroke: 2px var(--sage-dark);
  margin-bottom: 18px;
}
.nf-grid h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 16px;
}
.nf-grid > div > p {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 32px;
}
.nf-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.nf-links { display: flex; flex-direction: column; gap: 12px; }
.nf-links h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.nf-link {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1.5px solid transparent;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.nf-link:hover { border-color: var(--sage); transform: translateX(4px); }
.nf-link span { display: flex; flex-direction: column; gap: 3px; }
.nf-link strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.08rem;
}
.nf-link em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.nf-link .nf-arrow { color: var(--sage-dark); font-size: 1.1rem; flex-shrink: 0; }

/* ===== THANK YOU ===== */
.ty-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.ty-tick {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 2px solid var(--sage);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2.1rem;
  line-height: 1;
}
.ty-inner h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.16;
  margin-bottom: 18px;
}
.ty-inner > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto 44px;
  text-wrap: pretty;
}
.ty-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  margin-bottom: 40px;
}
.ty-step {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.ty-step .policy-number { background: var(--sage-light); margin-bottom: 16px; }
.ty-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.ty-step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }
.ty-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .hero-split,
  .nf-grid,
  .escalate-grid,
  .policy-layout { grid-template-columns: 1fr; gap: 40px; }
  .policy-toc {
    position: static;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
  }
  .policy-toc ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-left: none;
    gap: 0;
  }
  .policy-toc a { border-left: none; padding: 8px 0; margin-left: 0; }
  .policy-toc a:hover, .policy-toc a.is-active { border-left: none; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .timeline::before { display: none; }
  .timeline-when { min-height: 0; }
  .process-panel { padding: 40px 34px; }
  .nf-links { order: -1; }
}

@media (max-width: 720px) {
  .page-hero { padding: 130px 0 56px; }
  .policy-body { padding: 48px 0 72px; }
  .routes { padding: 48px 0 24px; }
  .process-panel-wrap { padding: 32px 0; }
  .escalate-wrap { padding: 24px 0 64px; }
  .promise-grid,
  .route-grid,
  .data-grid,
  .split-panels,
  .escalate-contacts,
  .ty-steps { grid-template-columns: 1fr; }
  .policy-toc ul { grid-template-columns: 1fr; }
  .policy-section { padding: 26px 24px; }
  .policy-section--cta { padding: 30px 26px; }
  .summary-card { padding: 28px 26px; }
  .escalate-panel { padding: 32px 28px; }
  .advocate-card, .commitment-card { padding: 28px 26px; }
  .process-panel { padding: 32px 24px; }
  .timeline { grid-template-columns: 1fr; row-gap: 28px; }
  .nf-link { padding: 18px 20px; }
  .cta-actions .btn,
  .nf-actions .btn,
  .ty-actions .btn { width: 100%; }
}
