/* Tararea Studio · Home creativa mobile-first v6
   Capa visual canónica para index.html. No contiene lógica de negocio. */

.tm-home{
  padding:clamp(1rem,3vw,2.35rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(107,82,214,.12), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(196,127,46,.13), transparent 30%),
    var(--bg);
}
.tm-creative-hero{
  max-width:920px;
  margin:0 auto 1.1rem;
  text-align:left;
  background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(250,248,245,.78));
  border:1px solid var(--border);
  border-radius:24px;
  padding:clamp(1.2rem,3vw,2rem);
  box-shadow:0 18px 55px rgba(44,32,18,.07);
}
.tm-kicker{
  font-family:var(--font-m);
  font-size:10px;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--purple);
  font-weight:700;
  margin-bottom:.45rem;
}
.tm-home-title{
  text-align:left;
  font-size:clamp(34px,6vw,64px);
  letter-spacing:-.035em;
  margin-bottom:.85rem;
}
.tm-home-sub{
  max-width:760px;
  font-size:clamp(14px,2vw,17px);
  color:var(--text2);
  line-height:1.7;
  margin-bottom:1.35rem;
}
.tm-primary-actions{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:12px;
  margin:1.25rem 0 .85rem;
}
.tm-action-card{
  border:1px solid rgba(107,82,214,.22);
  background:var(--bg2);
  border-radius:18px;
  padding:1rem;
  display:flex;
  gap:.9rem;
  align-items:flex-start;
  text-align:left;
  color:var(--text);
  cursor:pointer;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.tm-action-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,.09);
  border-color:rgba(107,82,214,.38);
}
.tm-action-main{
  background:linear-gradient(135deg,var(--purple),#4230a8);
  color:#fff;
  border-color:transparent;
}
.tm-action-icon{font-size:28px;line-height:1;flex:0 0 auto}
.tm-action-copy{display:grid;gap:.2rem}
.tm-action-copy strong{font-size:16px;line-height:1.2}
.tm-action-copy small{font-size:12px;line-height:1.45;color:inherit;opacity:.78}
.tm-secondary-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tm-active-song{
  max-width:920px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
}
.tm-active-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.tm-creative-stats{max-width:920px;margin-top:1rem;margin-bottom:1rem}
.tm-flow-strip{
  max-width:920px;
  margin:0 auto 1.2rem;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.tm-flow-step{
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:.9rem;
  min-height:120px;
}
.tm-flow-step span{
  display:inline-grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--abg);
  color:var(--amber);
  font-family:var(--font-m);
  font-size:11px;
  font-weight:700;
  margin-bottom:.55rem;
}
.tm-flow-step strong{display:block;font-size:13px;margin-bottom:.22rem}
.tm-flow-step small{display:block;font-size:11px;color:var(--text2);line-height:1.45}
.tm-section-head{
  max-width:920px;
  margin:1.35rem auto .8rem;
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:1rem;
}
.tm-section-head h2{
  font-family:var(--font-d);
  font-size:30px;
  line-height:1.05;
  letter-spacing:-.02em;
}
.tm-section-head p:last-child{
  max-width:430px;
  color:var(--text2);
  font-size:12px;
  line-height:1.55;
}
.tm-support-grid{max-width:920px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.tm-support-card .mc-title{font-size:14px;font-weight:700}
.tm-support-card .mc-desc{min-height:52px}

@media(max-width:768px){
  .tm-home{padding:1rem;padding-bottom:2rem}
  .tm-creative-hero{border-radius:20px;padding:1rem}
  .tm-home-title{font-size:38px}
  .tm-primary-actions{grid-template-columns:1fr}
  .tm-secondary-actions{display:grid;grid-template-columns:1fr 1fr}
  .tm-secondary-actions .home-cta{width:100%;padding:.7rem .65rem;font-size:12px}
  .tm-active-song{display:block}
  .tm-active-actions{margin-top:.9rem;justify-content:stretch}
  .tm-active-actions .home-cta{flex:1;text-align:center}
  .tm-flow-strip{grid-template-columns:1fr 1fr}
  .tm-flow-step{min-height:118px}
  .tm-section-head{display:block}
  .tm-section-head h2{font-size:25px;margin-bottom:.5rem}
  .tm-section-head p:last-child{max-width:none}
  .tm-support-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
  .tm-secondary-actions{grid-template-columns:1fr}
  .tm-flow-strip{grid-template-columns:1fr}
}

/* v10 · Tres modos libres: Crear canción / Aprender música / Crear aprendiendo */
.tm-mode-actions{
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr;
  gap:12px;
  margin:1.25rem 0 .85rem;
}
.tm-action-learn{
  background:linear-gradient(135deg,rgba(196,127,46,.14),rgba(255,255,255,.94));
  border-color:rgba(196,127,46,.34);
}
.tm-action-combo{
  background:linear-gradient(135deg,rgba(26,138,110,.12),rgba(255,255,255,.94));
  border-color:rgba(26,138,110,.28);
}
.tm-mode-filters{
  max-width:920px;
  margin:0 auto .9rem;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tm-mode-filter{
  border:1px solid var(--border2);
  background:var(--bg2);
  border-radius:999px;
  padding:.55rem .82rem;
  font-size:12px;
  font-weight:700;
  color:var(--text2);
  cursor:pointer;
  transition:all .15s ease;
}
.tm-mode-filter:hover{
  transform:translateY(-1px);
  border-color:var(--abd);
  background:var(--abg);
  color:var(--amber);
}
.tm-mode-filter.active{
  background:var(--text);
  border-color:var(--text);
  color:#fff;
}
@media(max-width:900px){
  .tm-mode-actions{grid-template-columns:1fr}
}
@media(max-width:768px){
  .tm-mode-filters{display:grid;grid-template-columns:1fr 1fr}
  .tm-mode-filter{width:100%;text-align:center}
}
@media(max-width:420px){
  .tm-mode-filters{grid-template-columns:1fr}
}

/* ==========================================================================
   Tararea Studio v12 · Home raíz sin parches
   Tres rutas visibles en primera pantalla + logo oficial prominente.
   ========================================================================== */
.tm-hero-v12{
  text-align:center;
  display:grid;
  justify-items:center;
  gap:.65rem;
}
.tm-brand-hero-v12{margin-bottom:.15rem;}
.tm-hero-v12 .tm-home-title{
  text-align:center;
  max-width:820px;
  font-size:clamp(34px,5.6vw,66px);
  line-height:1.02;
  margin-bottom:.2rem;
}
.tm-hero-v12 .tm-home-sub{
  text-align:center;
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:.55rem;
}
.tm-intention-panel{
  width:100%;
  max-width:980px;
  margin:.35rem auto .35rem;
  padding:1rem;
  border:1px solid rgba(107,82,214,.14);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(250,248,245,.58));
}
.tm-intention-panel h2{
  margin:0 0 .85rem;
  font-size:clamp(19px,2.4vw,28px);
  letter-spacing:-.025em;
  color:var(--text);
}
.tm-hero-v12 .tm-mode-actions{
  width:100%;
  margin:0;
}
.tm-hero-v12 .tm-action-card{
  min-height:118px;
  border-width:1px;
}
.tm-hero-v12 .tm-action-main{
  box-shadow:0 12px 30px rgba(66,48,168,.20);
}
.tm-hero-v12 .tm-secondary-actions{
  justify-content:center;
  margin-top:.35rem;
}
@media(max-width:900px){
  .tm-intention-panel{padding:.85rem;}
  .tm-hero-v12 .tm-action-card{min-height:auto;}
}

/* v15 · Selector de intención canónico */
.hdr-route-link{
  font-family:var(--font-m, monospace);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.07em;
  text-decoration:none;
  color:var(--text2,#5a5650);
  border:1px solid var(--border,rgba(0,0,0,.08));
  border-radius:999px;
  padding:4px 8px;
  background:rgba(255,255,255,.55);
}
.hdr-route-link:hover{color:var(--amber,#c47f2e);border-color:var(--abd,rgba(196,127,46,.28));background:var(--abg,rgba(196,127,46,.12));}
.tm-current-intention{
  max-width:760px;
  margin:1rem auto 1.2rem;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:.45rem .75rem;
  align-items:center;
  padding:.78rem .95rem;
  border:1px solid rgba(107,82,214,.18);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(107,82,214,.07),rgba(196,127,46,.06));
  text-align:left;
}
.tm-current-intention__label{
  font-family:var(--font-m,monospace);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--purple,#6b52d6);
  font-weight:800;
}
.tm-current-intention strong{font-size:13px;color:var(--text,#1a1917);}
.tm-current-intention small{grid-column:1/3;color:var(--text2,#5a5650);font-size:11px;line-height:1.45;}
.tm-current-intention__change{grid-row:1/3;grid-column:3;text-decoration:none;font-size:11px;font-weight:700;color:var(--amber,#c47f2e);border:1px solid rgba(196,127,46,.26);border-radius:999px;padding:6px 9px;background:rgba(255,255,255,.55);white-space:nowrap;}
.tm-current-intention__change:hover{background:var(--abg,rgba(196,127,46,.12));}
@media(max-width:768px){
  .tm-current-intention{grid-template-columns:1fr;}
  .tm-current-intention small,.tm-current-intention__change{grid-column:auto;grid-row:auto;}
  .tm-current-intention__change{text-align:center;}
}
