/* Portada "Taller Digital" — solo se carga en page-home.php, además de biblioteca.css */

.bt-home-hero {
  max-width:1180px; margin:20px auto 0; padding:0 32px;
  display:grid; grid-template-columns:1.1fr 1fr; gap:40px; align-items:center;
}
.bt-home-eyebrow { font-size:12px; font-weight:700; color:var(--gold); text-transform:uppercase; letter-spacing:1px; margin-bottom:14px; }
.bt-home-hero h2 { font-size:clamp(28px,4vw,44px); font-weight:800; line-height:1.15; margin-bottom:16px; }
.bt-home-hero p { font-size:15px; color:var(--text-dim); max-width:460px; margin-bottom:26px; }
.bt-home-hero-btns { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:28px; }

.bt-home-trust { display:flex; gap:22px; flex-wrap:wrap; }
.bt-home-trust div { font-size:12px; color:var(--text-dim); }
.bt-home-trust strong { display:block; font-size:19px; color:var(--text); font-weight:800; font-variant-numeric:tabular-nums; }

.bt-home-visual {
  background:var(--surface); border:1px solid var(--border); border-radius:18px;
  padding:20px; position:relative; overflow:hidden;
}
.bt-home-visual::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 30% 20%, rgba(79,143,247,0.12), transparent 60%);
}
.bt-home-visual svg { position:relative; width:100%; height:auto; display:block; }

.bt-home-features { max-width:1180px; margin:56px auto 0; padding:0 32px; display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.bt-home-feat { text-align:left; }
.bt-home-feat .ic {
  width:40px; height:40px; border-radius:10px; background:var(--accent-glow); border:1px solid rgba(79,143,247,0.2);
  display:flex; align-items:center; justify-content:center; font-size:18px; margin-bottom:12px;
}
.bt-home-feat h4 { font-size:14.5px; font-weight:700; margin-bottom:5px; }
.bt-home-feat p { font-size:12.5px; color:var(--text-dim); }

.bt-home-cats { max-width:1180px; margin:56px auto 0; padding:0 32px; text-align:center; }
.bt-home-cats h3 { font-size:22px; font-weight:700; margin-bottom:6px; }
.bt-home-cats > p { font-size:13.5px; color:var(--text-dim); margin-bottom:28px; }
.bt-home-cat-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(140px,1fr)); gap:10px; text-align:center; }
.bt-home-cat { background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:14px 10px; transition:all .15s; }
.bt-home-cat:hover { border-color:var(--gold); }
.bt-home-cat .ic { color:var(--accent); margin-bottom:6px; display:flex; justify-content:center; }
.bt-home-cat .ic svg { width:19px; height:19px; display:block; }
.bt-home-cat .lb { font-size:11px; font-weight:600; color:var(--text-dim); }

.bt-home-shelf { max-width:1180px; margin:56px auto 0; padding:0 32px; }
.bt-home-shelf-head { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:18px; }
.bt-home-shelf-head h3 { font-size:20px; font-weight:700; }
.bt-home-shelf-head a { font-size:13px; font-weight:600; }

.bt-home-pricing { max-width:1180px; margin:56px auto 0; padding:0 32px 40px; text-align:center; }
.bt-home-pricing h3 { font-size:22px; font-weight:700; margin-bottom:28px; }
.bt-home-plans { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; text-align:left; max-width:1060px; margin:0 auto; }
.bt-home-plan { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:22px; position:relative; display:flex; flex-direction:column; color:var(--text); text-decoration:none; cursor:pointer; transition:border-color .2s, transform .2s; }
.bt-home-plan:hover { border-color:var(--accent); transform:translateY(-2px); }
.bt-home-plan .pbtn { margin-top:auto; display:block; text-align:center; padding:10px; }
.bt-home-plan .pfeat:last-of-type { margin-bottom:18px; }
.bt-home-plan.feat { border-color:var(--gold); }
.bt-home-plan .badge {
  position:absolute; top:-10px; right:16px; background:var(--gold); color:#1a1200;
  padding:3px 11px; border-radius:10px; font-size:10px; font-weight:700;
}
.bt-home-plan .pname { font-size:13px; font-weight:700; color:var(--text-dim); margin-bottom:4px; }
.bt-home-plan .pprice { font-size:26px; font-weight:800; margin-bottom:14px; }
.bt-home-plan .pprice span { font-size:12px; font-weight:400; color:var(--text-dim); }
.bt-home-plan .pfeat { font-size:12px; color:var(--text-dim); margin:6px 0; padding-left:16px; position:relative; }
.bt-home-plan .pfeat::before { content:'✓'; position:absolute; left:0; color:var(--green); font-size:10px; }

@media(max-width:820px){
  .bt-home-hero { grid-template-columns:1fr; padding:0 16px; }
  .bt-home-features { grid-template-columns:repeat(2,1fr); padding:0 16px; }
  .bt-home-cats, .bt-home-shelf, .bt-home-pricing { padding-left:16px; padding-right:16px; }
  .bt-home-plans { grid-template-columns:1fr; }
}

/* Aviso solo para administradores cuando faltan páginas de PMP */
.bt-admin-aviso { max-width: 720px; margin: 0 auto 16px; padding: 10px 14px; border: 1px solid #b8862b; border-radius: 8px; background: rgba(214, 167, 69, .12); color: #f0d79a; font-size: 13px; text-align: left; }

/* 3 planes (2026-11-03): subtítulo, nota de ahorro, ítems que el plan no trae, nota de sesión única */
.bt-home-plan.anual { border-color:var(--accent); }
.bt-home-plan.anual .badge { background:var(--accent); color:#fff; }
.bt-home-plan .psub { font-size:12.5px; color:var(--text-dim); margin-bottom:10px; }
.bt-home-plan .pnote { font-size:12px; color:var(--text-dim); margin:-8px 0 12px; }
.bt-home-plan .pfeat b { color:var(--text); font-weight:600; }
.bt-home-plan .pfeat.no { color:var(--text-muted); }
.bt-home-plan .pfeat.no::before { content:'–'; color:var(--text-muted); }
.bt-home-plans-note { max-width:720px; margin:18px auto 0; font-size:12.5px; color:var(--text-dim); }
@media (max-width:980px) { .bt-home-plans { grid-template-columns:1fr; max-width:460px; } }
