/* ==========================================================================
   Performance Care Page  —  /website-maintenance/
   wrb-* base classes come from website-rebuild.css (loaded first).
   This file covers only pca-* component styles.
   ========================================================================== */


/* ==========================================================================
   S02  —  Signal Selector
   ========================================================================== */

/* Grid — 3 cols desktop, 2 tablet, 1 mobile */
.pca-sig__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

/* Card button */
.pca-sig__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 20px 18px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  width: 100%;
}
.pca-sig__card:hover {
  border-color: #D97706;
  box-shadow: 0 4px 18px rgba(217,119,6,.12);
  transform: translateY(-2px);
}
.pca-sig__card--active {
  border-color: #D97706;
  background: #fffbf2;
  box-shadow: 0 4px 18px rgba(217,119,6,.15);
}

.pca-sig__icon {
  font-size: 26px;
  line-height: 1;
}
.pca-sig__text {
  font-size: 15px;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.4;
}
.pca-sig__hint {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .18s;
}
.pca-sig__card:hover .pca-sig__hint {
  color: #D97706;
}
.pca-sig__card--active .pca-sig__hint { display: none; }

/* Result panel */
.pca-sig__result {
  background: #fffbf2;
  border: 1px solid #D97706;
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 8px;
  overflow: hidden;
  animation: pca-fade-in .25s ease;
}
@keyframes pca-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pca-sig__result[hidden] { display: none; }

.pca-sig__result-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: start;
  gap: 28px;
  padding: 0;
}

/* Left — Track label */
.pca-sig__res-left {
  grid-column: 1;
  grid-row: 1;
  padding-right: 40px;
  border-right: 1px solid #fde68a;
}
.pca-sig__res-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #D97706;
  margin-bottom: 8px;
}
.pca-sig__res-track {
  font-size: 17px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0;
  line-height: 1.35;
}

/* Right — Meaning + Action */
.pca-sig__res-right {
  grid-column: 2;
  grid-row: 1;
}
.pca-sig__res-meaning {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.7;
  margin: 0 0 20px;
}
.pca-sig__res-action-wrap { margin-top: 0; }
.pca-sig__res-action {
  font-size: 14px;
  color: #92400e;
  font-weight: 600;
  line-height: 1.65;
  margin: 6px 0 0;
  padding-top: 10px;
  border-top: 1px solid #fde68a;
}

/* Footer — CTA (right column, PSO style) */
.pca-sig__res-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Secondary risk link in result panel */
.pca-sig__risk-link {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .18s;
  white-space: nowrap;
}
.pca-sig__risk-link:hover {
  color: #D97706;
}


/* ==========================================================================
   S04  —  What's Included — Two Tracks
   ========================================================================== */

.pca-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pca-tracks__col {
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pca-tracks__col--iter   { border-color: #D97706; }
.pca-tracks__col--health { border-color: #2563eb; }

/* Head */
.pca-tracks__head {
  padding: 28px 28px 20px;
  border-bottom: 1px solid #f3f4f6;
}
.pca-tracks__col--iter   .pca-tracks__head { background: #fffbf2; }
.pca-tracks__col--health .pca-tracks__head { background: #eff6ff; }

/* Badge */
.pca-tracks__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.pca-tracks__badge--iter   { background: #D97706; color: #fff; }
.pca-tracks__badge--health { background: #2563eb; color: #fff; }

.pca-tracks__title {
  font-size: 18px;
  font-weight: 800;
  color: #0a0a0a;
  margin: 0 0 6px;
  line-height: 1.3;
}
.pca-tracks__tagline {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* System Health included badge */
.pca-tracks__includes {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 50px;
}

/* List */
.pca-tracks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.pca-tracks__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 28px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}
.pca-tracks__item:last-child { border-bottom: none; }

.pca-tracks__item-text {
  color: #374151;
  line-height: 1.45;
  flex: 1;
}
.pca-tracks__freq {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  background: #f3f4f6;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.pca-tracks__col--iter   .pca-tracks__freq { color: #D97706; background: #fef3c7; }
.pca-tracks__col--health .pca-tracks__freq { color: #2563eb; background: #dbeafe; }


/* ==========================================================================
   S05  —  Care Rhythm  —  3-Column Cadence Layout
   ========================================================================== */

.pca-rhythm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.pca-rhythm__col {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pca-rhythm__col--mid {
  border-color: #D97706;
  box-shadow: 0 8px 32px rgba(217,119,6,.12);
}

.pca-rhythm__head {
  padding: 28px 28px 20px;
  border-bottom: 1px solid #f3f4f6;
  background: #f9f7f4;
}
.pca-rhythm__col--mid .pca-rhythm__head {
  background: #fffbf2;
  border-bottom-color: rgba(217,119,6,.15);
}

.pca-rhythm__freq {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  background: #e5e7eb;
  color: #6b7280;
  margin-bottom: 14px;
}
.pca-rhythm__col--mid .pca-rhythm__freq {
  background: #D97706;
  color: #fff;
}

.pca-rhythm__title {
  font-size: 17px;
  font-weight: 800;
  color: #0a0a0a;
  margin: 0 0 6px;
  line-height: 1.3;
}

.pca-rhythm__sub {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.55;
}

.pca-rhythm__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.pca-rhythm__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 28px;
  font-size: 14px;
  color: #374151;
  line-height: 1.45;
  border-bottom: 1px solid #f3f4f6;
}
.pca-rhythm__col--mid .pca-rhythm__list li {
  border-bottom-color: rgba(217,119,6,.1);
}
.pca-rhythm__list li:last-child { border-bottom: none; }
.pca-rhythm__list li::before {
  content: '✓';
  color: #D97706;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pca-rhythm__cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.pca-rhythm__note {
  text-align: center;
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 24px;
}


/* ==========================================================================
   S09  —  Two Tiers
   ========================================================================== */

.pca-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.pca-tiers__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 36px 32px;
  transition: box-shadow .2s;
}
.pca-tiers__card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.pca-tiers__card--featured {
  border-color: #D97706;
  background: #fffbf2;
  box-shadow: 0 8px 32px rgba(217,119,6,.12);
}

.pca-tiers__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #D97706;
  margin-bottom: 10px;
}

.pca-tiers__subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 24px;
  line-height: 1.55;
}

.pca-tiers__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}
.pca-tiers__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  border-bottom: 1px solid #f3f4f6;
}
.pca-tiers__card--featured .pca-tiers__list li {
  border-bottom-color: rgba(217,119,6,.15);
}
.pca-tiers__list li:last-child { border-bottom: none; }
.pca-tiers__list li::before {
  content: '✓';
  color: #D97706;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .pca-rhythm {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .pca-tracks {
    grid-template-columns: 1fr;
  }
  .pca-tiers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pca-sig__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pca-sig__result-inner {
    grid-template-columns: 1fr;
  }
  .pca-sig__res-footer {
    grid-column: 1 / -1;
  }
  .pca-sig__res-left {
    border-right: none;
    border-bottom: 1px solid #fde68a;
    padding-right: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .pca-sig__grid {
    grid-template-columns: 1fr;
  }
  .pca-sig__result {
    padding: 24px 20px;
  }
  .pca-tiers__card {
    padding: 28px 22px;
  }
}
