/* ══════════════════════════════════════════
   swot.css — Analisis SWOT page styles
══════════════════════════════════════════ */

/* ── TAB BUTTONS ── */
.swot-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.swot-tabbn,
.swot-tabbt {
  padding: 0.55rem 1.2rem; border-radius: 100px;
  border: 1.5px solid var(--border); background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.swot-tabbn.active,
.swot-tabbn:hover { border-color: var(--sdg3); color: var(--sdg3); background: rgba(76,159,56,0.06); }
.swot-tabbt.active,
.swot-tabbt:hover { border-color: var(--sdg4); color: var(--sdg4); background: rgba(197,25,45,0.04); }

/* ── PANELS ── */
.swot-panel { display: none; }
.swot-panel.active { display: block; animation: pageIn 0.3s ease; }

/* ── CONTEXT BANNER ── */
.swot-context {
  padding: 1rem 1.4rem; border-radius: 12px;
  margin-bottom: 1.5rem; font-size: 0.84rem; line-height: 1.65;
}
.ctx3 { background: rgba(76,159,56,0.07);  border-left: 3px solid var(--sdg3); color: var(--forest); }
.ctx4 { background: rgba(197,25,45,0.05);  border-left: 3px solid var(--sdg4); color: var(--forest); }

/* ── SWOT GRID ── */
.swot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.sc { border-radius: 14px; padding: 1.4rem; }
.sc-s { background: linear-gradient(135deg,#e8f7e0,#d4f0c8); border: 1px solid #abe08a; }
.sc-w { background: linear-gradient(135deg,#fff0f0,#ffe0e0); border: 1px solid #f5b3b3; }
.sc-o { background: linear-gradient(135deg,#e8f2ff,#d8eaff); border: 1px solid #9fc4f5; }
.sc-t { background: linear-gradient(135deg,#fff8e0,#fff0c0); border: 1px solid #f0d080; }

.sc-head {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem;
}
.sc-ico { font-size: 1.2rem; }
.sc-label {
  font-family: 'Fraunces', serif;
  font-size: 1rem; font-weight: 800;
}
.sc-s .sc-label { color: #2e6e18; }
.sc-w .sc-label { color: #b01818; }
.sc-o .sc-label { color: #1a4fa8; }
.sc-t .sc-label { color: #9a6c00; }

.sc-sublabel {
  font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.1em; font-family: 'Inconsolata', monospace; opacity: 0.6;
}
.sc-s .sc-sublabel { color: #3a8a1e; }
.sc-w .sc-sublabel { color: #c02020; }
.sc-o .sc-sublabel { color: #2060c0; }
.sc-t .sc-sublabel { color: #aa7800; }

/* ── LIST ITEMS ── */
.swot-ul { list-style: none; }
.swot-ul li {
  display: flex; gap: 0.5rem; align-items: flex-start;
  font-size: 0.81rem; line-height: 1.6;
  padding: 0.35rem 0; border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--forest);
}
.swot-ul li:last-child { border-bottom: none; }
.swot-ul li b { flex-shrink: 0; font-size: 0.75rem; margin-top: 2px; }
.sc-s .swot-ul li b { color: #3a8a1e; }
.sc-w .swot-ul li b { color: #c02020; }
.sc-o .swot-ul li b { color: #2060c0; }
.sc-t .swot-ul li b { color: #aa7800; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) { .swot-grid { grid-template-columns: 1fr; } }