/* Páginas de tema de neuropsicologia.co. Encima de npa.css: solo lo que el
   home no tenía. Las anteriores medían 50-65 KB y había que plegarlas en
   acordeones para que alguien las leyera; estas se leen de una pasada. */
.tema-hero { padding: 120px 0 34px; background: linear-gradient(180deg,#f8fafc 0%,#fff 100%); }
.tema-migas { font-size: 13px; color: #94a3b8; margin-bottom: 14px; }
.tema-migas a { color: #0d9488; }
.tema-migas a:hover { text-decoration: underline; }
.tema-hero h1 {
  font-size: clamp(28px,4vw,44px); line-height: 1.12; color: #0f172a;
  margin: 6px 0 16px; letter-spacing: -1px;
}
.tema-lead { font-size: clamp(16px,1.5vw,18.5px); color: #475569; line-height: 1.7; max-width: 680px; }
.tema-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.tema-btns .btn-p, .tema-btns .btn-o {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: 15.5px;
  font-family: 'Nunito', system-ui, sans-serif; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tema-btns .btn-p { background: #0d9488; color: #fff; box-shadow: 0 4px 15px rgba(13,148,136,.25); }
.tema-btns .btn-p:hover { box-shadow: 0 6px 25px rgba(13,148,136,.4); transform: translateY(-2px); }
.tema-btns .btn-o { background: transparent; color: #475569; border: 1.5px solid #e2e8f0; }
.tema-btns .btn-o:hover { border-color: #0d9488; color: #0d9488; }
.tema-datos {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,190px),1fr));
  gap: 14px; margin-top: 30px; padding-top: 26px; border-top: 1px solid #e2e8f0;
}
.tema-datos div { display: grid; gap: 2px; }
.tema-datos b { font-family: 'Plus Jakarta Sans',sans-serif; font-size: 17px; color: #0f172a; }
.tema-datos span { font-size: 13.5px; color: #94a3b8; line-height: 1.4; }

.tema { padding: 10px 0 20px; }
.tema-sec { padding: 26px 0; border-top: 1px solid #f1f5f9; }
.tema-sec:first-child { border-top: 0; padding-top: 14px; }
.tema-sec h2 {
  font-size: clamp(21px,2.4vw,28px); line-height: 1.25; color: #0f172a; margin: 0 0 12px;
}
.tema-sec p { color: #475569; line-height: 1.78; margin: 0 0 13px; font-size: 16.5px; }
.tema-sec p:last-child { margin-bottom: 0; }
.tema-sec strong { color: #0f172a; font-weight: 700; }
.tema-sec ul { list-style: none; display: grid; gap: 10px; margin: 0 0 13px; padding: 0; }
.tema-sec li { position: relative; padding-left: 24px; color: #475569; line-height: 1.65; font-size: 16px; }
.tema-sec li::before {
  content: ''; position: absolute; left: 5px; top: 10px; width: 7px; height: 7px;
  border-radius: 50%; background: #0d9488;
}
.tema-sec li b { color: #0f172a; }

.tema-faq { display: grid; gap: 9px; }
.tema-faq details {
  border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; overflow: hidden;
  transition: border-color .2s;
}
.tema-faq details[open] { border-color: #0d9488; }
.tema-faq summary {
  cursor: pointer; list-style: none; padding: 15px 48px 15px 18px; position: relative;
  font-family: 'Plus Jakarta Sans',sans-serif; font-weight: 700; font-size: 16px; color: #0f172a;
}
.tema-faq summary::-webkit-details-marker { display: none; }
.tema-faq summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 21px; color: #0d9488; line-height: 1;
}
.tema-faq details[open] summary::after { content: '−'; }
.tema-faq p { margin: 0; padding: 0 18px 17px; color: #475569; line-height: 1.72; font-size: 15.5px; }

.tema-rel { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 13px; }
.tema-rel a {
  display: grid; gap: 5px; padding: 16px 18px; border: 1px solid #e2e8f0; border-radius: 16px;
  background: #fff; transition: border-color .2s, transform .2s;
}
.tema-rel a:hover { border-color: #0d9488; transform: translateY(-2px); }
.tema-rel-tag { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0d9488; }
.tema-rel b { font-family: 'Plus Jakarta Sans',sans-serif; font-size: 16px; color: #0f172a; line-height: 1.3; }
.tema-rel-sub { font-size: 13.5px; color: #94a3b8; line-height: 1.45; }

.tema-cta { background: #f8fafc; border-top: 1px solid #e2e8f0; padding: 52px 0; margin-top: 20px; text-align: center; }
.tema-cta h2 { font-size: clamp(22px,2.6vw,30px); color: #0f172a; margin-bottom: 10px; }
.tema-cta p { color: #475569; line-height: 1.7; max-width: 620px; margin: 0 auto 22px; }
.tema-cta .tema-btns { justify-content: center; }

@media (max-width: 640px) {
  .tema-hero { padding: 100px 0 26px; }
  .tema-sec { padding: 22px 0; }
  .tema-sec p, .tema-sec li { font-size: 16px; }
}
