/* Landing pública de TarjetasFree — fiel al sistema de diseño de marca. */

.tf-hero{ background:var(--tinta-oscura); color:var(--crema); overflow:hidden; }
.tf-nav{
  max-width:1240px; margin:0 auto; padding:26px 22px 0; display:flex; align-items:center;
  justify-content:space-between; gap:18px; flex-wrap:wrap;
}
.tf-nav__marca{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.tf-nav__marca span.punto{ width:28px; height:28px; border-radius:10px; background:#FF6B3D; display:block; }
.tf-nav__marca span.texto{
  font-family:var(--fuente-mono); font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:#CFC8BD;
}
.tf-nav__links{ display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.tf-nav__links a{ font-size:14px; color:#A9A29A; text-decoration:none; }
.tf-nav__links a:hover{ color:var(--crema); }

.tf-btn{
  border:0; cursor:pointer; font-family:var(--fuente-base); font-weight:600; font-size:15px;
  min-height:52px; padding:0 28px; border-radius:20px; text-decoration:none; display:inline-flex;
  align-items:center; justify-content:center; gap:8px; transition:all .15s ease;
}
.tf-btn:hover{ transform:translateY(-2px); }
.tf-btn--primary{ background:#FF6B3D; color:#000; font-weight:700; }
.tf-nav__links .tf-btn--primary{ color:#000; }
.tf-btn--ghost{ background:transparent; border:1px solid rgba(251,247,240,.28); color:var(--crema); }
.tf-btn--ghost:hover{ background:rgba(251,247,240,.06); }
.tf-btn--oscuro{ background:#B33C18; color:#fff; }

.tf-hero__grid{
  max-width:1240px; margin:0 auto; padding:52px 22px 0; display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:44px; align-items:center;
}
.tf-badge{
  display:inline-flex; align-self:flex-start; align-items:center; gap:8px; border:1px solid rgba(251,247,240,.22);
  border-radius:999px; padding:7px 14px; font-size:13px; color:#E6DFD6;
}
.tf-badge__punto{ width:8px; height:8px; border-radius:999px; background:#4FC3A1; display:block; }
.tf-hero h1{
  margin:0; font-family:var(--fuente-titulo); font-weight:700; font-size:clamp(38px,6vw,74px);
  line-height:.98; letter-spacing:-0.02em; color:var(--crema);
}
.tf-hero h1 span{ color:#FF6B3D; }
.tf-hero p.tf-lead{ margin:0; font-size:18px; line-height:1.55; color:#C6BFB6; max-width:52ch; }
.tf-hero__acciones{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:6px; }

.tf-marquee{ margin-top:48px; border-top:1px solid rgba(251,247,240,.12); overflow:hidden; }
.tf-marquee__pista{ display:flex; width:max-content; animation:tf-slide 46s linear infinite; }
.tf-marquee__item{
  display:flex; align-items:center; gap:9px; padding:16px 22px; border-right:1px solid rgba(251,247,240,.1);
  color:#BDB6AD; white-space:nowrap; font-size:14px;
}
@keyframes tf-slide{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

.tf-contenido{ max-width:1240px; margin:0 auto; padding:60px 22px 90px; display:flex; flex-direction:column; gap:70px; }
.tf-eyebrow{ font-family:var(--fuente-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#6E6A62; }
.tf-seccion__cabecera{ display:flex; flex-wrap:wrap; gap:20px; align-items:flex-end; justify-content:space-between; }
.tf-seccion h2{ margin:0; font-family:var(--fuente-titulo); font-weight:600; font-size:clamp(26px,3.2vw,38px); line-height:1.08; }
.tf-seccion p.tf-desc{ margin:6px 0 0; font-size:16px; line-height:1.5; color:#55524B; max-width:56ch; }

.tf-grid-plantillas{ display:grid; grid-template-columns:repeat(auto-fill, minmax(124px,1fr)); gap:10px; margin-top:22px; }
.tf-plantilla{
  cursor:pointer; text-align:left; border:1.5px solid var(--borde); border-radius:16px; padding:0; overflow:hidden;
  background:#fff; display:flex; flex-direction:column; transition:transform .16s ease, border-color .16s ease;
  text-decoration:none; color:inherit;
}
.tf-plantilla:hover{ transform:translateY(-3px); border-color:var(--tinta-oscura); }
.tf-plantilla__cab{ height:52px; display:flex; align-items:center; justify-content:center; }
.tf-plantilla__cab .material-symbols-rounded{ font-size:26px; }
.tf-plantilla__cuerpo{ padding:9px 11px 11px; display:flex; flex-direction:column; gap:3px; }
.tf-plantilla__nombre{ font-size:13px; font-weight:600; line-height:1.25; color:var(--texto); }
.tf-plantilla__tag{ font-family:var(--fuente-mono); font-size:10px; color:#6E6A62; }

.tf-toggle-plan{ display:inline-flex; background:#EFEAE0; border-radius:999px; padding:4px; gap:4px; }
.tf-toggle-plan a{
  border:0; cursor:pointer; font-family:var(--fuente-base); font-size:14px; font-weight:600; padding:9px 20px;
  border-radius:999px; text-decoration:none; color:#7A756C;
}
.tf-toggle-plan a.activo{ background:#fff; color:var(--texto); }

.tf-preview-envoltura{ display:flex; justify-content:center; position:relative; }
.tf-preview-glow{ position:absolute; width:300px; height:300px; border-radius:999px; background:#FF6B3D; filter:blur(80px); opacity:.35; }
.tf-preview-marco{
  width:100%; max-width:330px; border-radius:40px; padding:8px; background:#2A2D31;
  box-shadow:0 40px 70px -24px rgba(0,0,0,.6); position:relative;
}

.tf-datos-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(130px,1fr)); gap:10px; }
.tf-dato{ background:#fff; border:1px solid var(--borde); border-radius:14px; padding:14px; display:flex; flex-direction:column; gap:5px; }
.tf-dato .material-symbols-rounded{ font-size:20px; color:var(--primario); }
.tf-dato__valor{ font-family:var(--fuente-titulo); font-size:24px; }
.tf-dato__etiqueta{ font-size:12px; color:#6E6A62; line-height:1.35; }

/* Estilos para tabs de categorías */
.tf-plantillas-tabs{ margin-top:28px; margin-bottom:22px; display:flex; align-items:center; gap:8px; width:100%; }
.tf-tabs-mobile{ display:none; padding:9px 12px; border:1px solid var(--borde); border-radius:10px; font-size:14px; font-weight:600; cursor:pointer; }
.tf-tabs-desktop{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }

.tf-tab{
  cursor:pointer; text-decoration:none; padding:10px 18px; border-radius:12px; font-size:14px; font-weight:600;
  color:#6E6A62; border:1px solid transparent; background:#f9f7f4; transition:all .2s ease;
  white-space:nowrap;
}
.tf-tab:hover{ background:#ede8e0; color:var(--tinta-oscura); }
.tf-tab--activo{ background:var(--tinta-oscura); color:#fff; }

@media (max-width:768px){
  .tf-tabs-desktop{ display:none; }
  .tf-tabs-mobile{ display:block; width:100%; }
  .tf-grid-plantillas{ grid-template-columns:repeat(auto-fill, minmax(100px,1fr)); }
}

@media (max-width:640px){
  .tf-nav__links{ display:none; }
  .tf-grid-plantillas{ grid-template-columns:repeat(auto-fill, minmax(90px,1fr)); gap:8px; }
}
