/* ==========================================================================
   ClinicalDermaLab - Clinical Framework & Methodology Stylesheet
   Sephora Beauty Retail & Editorial Science Aesthetic
   ========================================================================== */

.framework-section {
  background: var(--sephora-white, #ffffff);
  border: 1px solid var(--sephora-gray-200, #e8e8e8);
  border-radius: 8px;
  padding: 48px 36px;
  margin: 56px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.framework-header {
  text-align: center;
  margin-bottom: 40px;
}

.framework-badge {
  display: inline-block;
  background: var(--sephora-black, #000000);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.framework-header h2 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sephora-black, #000000);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.framework-intro {
  color: #666666;
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.framework-assurances {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111111;
}

.assurance-item svg {
  width: 16px;
  height: 16px;
  color: var(--sephora-red, #e00034);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.pillar-card-box {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card-box:hover {
  border-color: #000000;
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.pillar-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pillar-index {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sephora-red, #e00034);
}

.pillar-discipline {
  font-size: 0.75rem;
  font-weight: 700;
  color: #757575;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 10px;
  line-height: 1.3;
}

.pillar-summary {
  font-size: 0.86rem;
  color: #555555;
  line-height: 1.55;
  margin-bottom: 20px;
}

.pillar-spec-box {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 20px;
  margin-top: auto;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 700;
  color: #757575;
}

.spec-val {
  font-weight: 700;
  color: #111111;
  text-align: right;
}

.spec-val.highlight {
  color: var(--sephora-red, #e00034);
}

.pillar-action-link {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000000;
  border-bottom: 1.5px solid #000000;
  align-self: flex-start;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pillar-action-link:hover {
  color: var(--sephora-red, #e00034);
  border-color: var(--sephora-red, #e00034);
}

.framework-footer-bar {
  background: #000000;
  color: #ffffff;
  border-radius: 8px;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.framework-footer-content h4 {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 4px;
}

.framework-footer-content p {
  font-size: 0.86rem;
  color: #cccccc;
}

.framework-footer-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-framework-primary {
  background: #ffffff;
  color: #000000;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.btn-framework-primary:hover {
  background: var(--sephora-red, #e00034);
  color: #ffffff;
}

.btn-framework-secondary {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.btn-framework-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 820px) {
  .framework-grid {
    grid-template-columns: 1fr;
  }
  .framework-footer-bar {
    flex-direction: column;
    text-align: center;
  }
}
