/* AlkemIA · Página «Todos los superpoderes» (propuesta aprobada por el dueño el 30-10-2026: propuestas/superpoderes-pagina-final.html).
 * Usa menú, botones, footer y tokens de sitio.css. Las clases propias llevan el prefijo tp- para no chocar con la sección 6 del inicio.
 * Ritmo de fondos: portada crema con puntos → rubros azul marino con cuadrícula → ficha blanca → con y sin asistente crema
 * → qué necesitas blanco → para saber si te sirve crema → cierre azul marino. */
/* tokens que el sistema del sitio no trae */
.tp { --plomo-2: var(--plomo-texto-2); --ia-a: #8c6cf2; --ia-b: #527bff; --verde: #1f9d63; overflow-x: clip; }
.tp a { text-decoration: none; }
.tp img { display: block; max-width: 100%; }
/* el prototipo usaba * { margin: 0 }; sitio.css solo lo hace en títulos y párrafos */
:where(.tp) :is(figure, ul, ol, li) { margin: 0; }
.tp-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 600 .86rem/1 var(--f-body); color: var(--prusia-600); }
.tp-eyebrow::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--oro-400); }
.tp-oscuro .tp-eyebrow { color: var(--prusia-200); }
.tp h1, .tp h2, .tp h3 { font-family: var(--f-display); letter-spacing: -.02em; }
.tp h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.1; margin-top: .7rem; }
.tp-hl { color: var(--oro-700); }
.tp-oscuro .tp-hl { color: var(--oro-300); }
.tp-lead { margin-top: .9rem; color: var(--plomo-2); max-width: 40rem; }
.tp-oscuro .tp-lead { color: var(--prusia-200); }

/* chat simulado (WhatsApp) */
.tp-tel { color: var(--plomo-900); width: 100%; max-width: 19.5rem; margin-inline: auto; padding: .55rem; border-radius: 2rem; background: #15181d; box-shadow: 0 30px 50px -28px rgb(12 34 64 / 70%), 0 0 0 1px rgb(255 255 255 / 8%) inset; }
.tp-tel__pant { position: relative; border-radius: 1.5rem; overflow: hidden; background: var(--plomo-50); }
.tp-tel__pant::before { content: ""; position: absolute; top: .45rem; left: 50%; z-index: 2; width: 4.6rem; height: 1.15rem; margin-left: -2.3rem; border-radius: 999px; background: #15181d; }
.tp-chat__top { display: flex; align-items: center; gap: .65rem; padding: 1.9rem .9rem .65rem; background: var(--prusia-900); color: #fff; }
.tp-chat__av { width: 2rem; height: 2rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--ia-a), var(--ia-b)); font: 700 .8rem/1 var(--f-display); }
.tp-chat__nom { font: 600 .86rem/1.15 var(--f-body); }
.tp-chat__est { font-size: .72rem; color: var(--prusia-200); display: flex; align-items: center; gap: .3rem; }
.tp-chat__est::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: #2fd07a; }
.tp-chat__ej { margin-left: auto; padding: .2rem .5rem; border-radius: 999px; background: rgb(255 255 255 / 14%); font-size: .64rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tp-chat__cuerpo { padding: .8rem .7rem 1rem; display: flex; flex-direction: column; gap: .45rem; min-height: 21rem;
  background: radial-gradient(circle, rgb(26 29 34 / 7%) 1px, transparent 1.3px) 0 0 / 12px 12px, var(--plomo-50); }
.tp-msg { max-width: 84%; padding: .5rem .7rem .35rem; border-radius: .9rem; font-size: .82rem; line-height: 1.38; box-shadow: 0 1px 2px rgb(26 29 34 / 8%); }
.tp-msg small { display: block; margin-top: .1rem; text-align: right; font-size: .62rem; opacity: .65; }
.tp-msg--c { align-self: flex-start; background: #fff; border-bottom-left-radius: .25rem; }
.tp-msg--a { align-self: flex-end; background: var(--prusia-600); color: #fff; border-bottom-right-radius: .25rem; }
.tp-msg--chip { align-self: center; max-width: 96%; padding: .35rem .65rem; border-radius: 999px; background: var(--oro-50); border: 1px solid var(--oro-400); color: #5b4108; font-size: .7rem; font-weight: 600; text-align: center; box-shadow: none; }
.tp-msg--aviso { align-self: center; max-width: 96%; display: flex; gap: .5rem; align-items: flex-start; padding: .55rem .75rem; border-radius: .8rem; background: var(--prusia-900); color: #fff; font-size: .74rem; box-shadow: 0 6px 16px rgb(12 34 64 / 30%); }
.tp-msg--aviso b { color: var(--oro-300); }
.tp-msg--aviso svg { width: 1rem; height: 1rem; flex: none; margin-top: .1rem; color: var(--oro-300); }
.tp-msg--audio { display: flex; align-items: center; gap: .5rem; min-width: 11rem; }
.tp-msg--audio .tp-play { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--prusia-600); display: grid; place-items: center; flex: none; }
.tp-msg--audio .tp-play::after { content: ""; border-left: .5rem solid #fff; border-block: .3rem solid transparent; margin-left: .12rem; }
.tp-msg--audio .tp-onda { display: flex; align-items: center; gap: 2px; height: 1.3rem; }
.tp-msg--audio .tp-onda i { width: 2px; border-radius: 2px; background: var(--prusia-600); }
.tp-msg--foto { padding: .25rem .25rem .3rem; }
.tp-msg--foto img { width: 9.5rem; height: 6.2rem; object-fit: cover; border-radius: .65rem; }
.tp-msg--foto small { padding: 0 .4rem; }

/* foto con pie */
.tp-foto { position: relative; border-radius: 1.2rem; overflow: hidden; background: var(--prusia-900); box-shadow: 0 24px 44px -28px rgb(12 34 64 / 70%); }
.tp-foto img { width: 100%; height: 100%; object-fit: cover; }
.tp-foto figcaption { position: absolute; left: .8rem; bottom: .8rem; right: .8rem; display: flex; gap: .5rem; align-items: center; padding: .5rem .75rem; border-radius: .8rem; background: rgb(12 34 64 / 78%); backdrop-filter: blur(6px); color: #fff; font-size: .8rem; line-height: 1.3; }
.tp-foto figcaption b { color: var(--oro-300); }

/* etiquetas */
.tp-val { display: inline-block; padding: .1rem .5rem; border-radius: 999px; border: 1px dashed var(--ia-a); color: #5b3fd0; font-size: .66rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; vertical-align: middle; }
.tp-nota { margin-top: 1.4rem; font-size: .82rem; color: var(--plomo-2); }
.tp-oscuro .tp-nota { color: var(--prusia-200); }
.tp-ico { width: 2.6rem; height: 2.6rem; flex: none; display: grid; place-items: center; border-radius: .8rem; background: linear-gradient(135deg, var(--oro-300), var(--oro-400)); color: var(--prusia-900); }
.tp-ico svg { width: 1.35rem; height: 1.35rem; }
.tp-ico--ia { background: linear-gradient(135deg, var(--ia-a), var(--ia-b)); color: #fff; }

.tp-cierre { position: relative; isolation: isolate; overflow: hidden; padding: 4.5rem 0; text-align: center; background: var(--prusia-900); color: #fff; }
.tp-cierre::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.tp-cierre h2 { margin-inline: auto; max-width: 38rem; }
.tp-cierre p { margin: .9rem auto 1.6rem; max-width: 34rem; color: var(--prusia-200); }


.tp { --sec: 5rem; }

.tp-sh { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 2.2rem; }
.tp-sh .tp-eyebrow { padding: .45rem .9rem; border-radius: 999px; background: var(--eb-bg); border: 1px solid var(--eb-bd); }
.tp-sh h2 { max-width: 56rem; text-wrap: balance; }
.tp-sh h2::after { content: ""; display: block; width: 3.4rem; height: 4px; margin: .9rem auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--oro-400), var(--ia-a)); }
.tp-sh .tp-lead { margin-inline: auto; text-align: center; }
:where(.tp) section { position: relative; isolation: isolate; overflow: hidden; padding: var(--sec) 0; }
.tp section::before, .tp section::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }

/* HERO */
.tp-hero { padding: 4.4rem 0 3.6rem; text-align: center; }
.tp-hero h1 { margin: 1rem auto 0; max-width: 46rem; font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.06; }
.tp-hero .tp-lead { margin-inline: auto; text-align: center; }
.tp-hero .tp-eyebrow { padding: .45rem .9rem; border-radius: 999px; background: var(--eb-bg); border: 1px solid var(--eb-bd); }
.tp-chips4 { margin: 2rem auto 0; max-width: 62rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.tp-c4 { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 1.1rem .8rem; border-radius: 1.1rem; background: #fff; border: 1px solid rgb(30 77 140 / 14%); box-shadow: 0 16px 28px -22px rgb(12 34 64 / 60%); text-align: center; transition: transform .2s, border-color .2s; }
.tp-c4:hover { transform: translateY(-3px); border-color: var(--oro-400); }
.tp-c4 b { display: block; font: 700 .98rem/1.2 var(--f-display); } .tp-c4 small { color: var(--plomo-2); font-size: .78rem; }

/* RUBROS */
.tp-icons { margin: 0 auto; max-width: 66rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.tp-rb { width: calc((100% - 6 * .9rem) / 7); min-width: 6.4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1rem .4rem .85rem; border-radius: 1.1rem; border: 1.5px solid var(--rb-bd); background: var(--rb-bg); color: inherit; font: 600 .86rem/1.15 var(--f-body); text-align: center; cursor: pointer; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.tp-rb:hover { transform: translateY(-3px); border-color: var(--oro-400); }
.tp-rb .tp-ico { width: 3.3rem; height: 3.3rem; border-radius: 1rem; } .tp-rb .tp-ico svg { width: 1.7rem; height: 1.7rem; }
.tp-rb[aria-selected="true"] { border-color: var(--oro-400); background: var(--rb-on); box-shadow: 0 0 0 3px rgb(224 176 74 / 28%), 0 18px 30px -20px rgb(0 0 0 / 55%); transform: none; }
.tp-stack { margin-top: 1.8rem; display: grid; grid-template-columns: minmax(0, 1fr); }
.tp-panel > * { min-width: 0; }
.tp-panel { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 19.5rem 1fr; gap: 1.6rem; align-items: stretch; padding: 1.4rem; border-radius: 1.6rem; background: var(--pn-bg); border: 1px solid var(--pn-bd); transition: opacity .35s, visibility .35s; }
.tp-panel[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
.tp-panel .tp-foto { position: relative; height: 100%; min-height: 28rem; border-radius: 1.2rem; }
.tp-panel .tp-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-pcol { display: flex; }
.tp-pcol .tp-tel { height: 100%; display: flex; }
.tp-pcol .tp-tel__pant { flex: 1; display: flex; flex-direction: column; }
.tp-pcol .tp-chat__cuerpo { flex: 1; min-height: 0; justify-content: center; }
.tp-ptxt { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 1.2rem 1.1rem; border-radius: 1.2rem; background: var(--tx-bg); border: 1px solid var(--tx-bd); text-align: center; }
.tp-ptxt h3 { font-size: 1.45rem; line-height: 1.15; }
.tp-ptxt .tp-sit { margin-top: .7rem; font-size: .95rem; color: var(--tx-sub); }
.tp-usa { margin: 1.2rem 0 0; padding: 0; width: 100%; display: grid; gap: .6rem; text-align: left; }
.tp-usa li { list-style: none; display: grid; grid-template-columns: 1.7rem 1fr; gap: .7rem; padding: .65rem .8rem; border-radius: .85rem; background: rgb(224 176 74 / 14%); border: 1px solid rgb(224 176 74 / 42%); }
.tp-usa li i { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--oro-400); color: var(--prusia-900); } .tp-usa li i svg { width: .95rem; height: .95rem; }
.tp-usa b { display: block; font-size: .93rem; } .tp-usa span { font-size: .82rem; color: var(--tx-sub); }
.tp-ctl { margin: 1.3rem auto 0; display: flex; position: sticky; z-index: 5; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.tp-ctl button.tp-fl { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--rb-bd); background: var(--rb-bg); color: inherit; cursor: pointer; transition: transform .2s, border-color .2s; }
.tp-ctl button.tp-fl:hover { border-color: var(--oro-400); transform: scale(1.06); } .tp-ctl button.tp-fl svg { width: 1.2rem; height: 1.2rem; }
.tp-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; max-width: 22rem; }
.tp-dots button { width: .7rem; height: .7rem; padding: 0; border-radius: 50%; border: 0; background: var(--dot); cursor: pointer; transition: width .25s, background .25s; }
.tp-dots button[aria-current="true"] { width: 1.9rem; border-radius: 999px; background: var(--oro-400); }
.tp-cuenta { width: 100%; text-align: center; font-size: .84rem; color: var(--tx-sub); } .tp-cuenta b { color: inherit; }
.tp-rub .tp-nota { margin: 1.2rem auto 0; text-align: center; max-width: 44rem; }

/* FUNCIONES */
.tp-filtros { margin: 0 auto 1.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.tp-filtro { padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgb(30 77 140 / 25%); background: #fff; font: 600 .86rem/1 var(--f-body); color: var(--prusia-800); cursor: pointer; }
.tp-filtro[aria-pressed="true"] { background: var(--prusia-900); border-color: var(--prusia-900); color: #fff; }
.tp-tabla { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid rgb(30 77 140 / 20%); border-radius: 1rem; overflow: hidden; font-size: .88rem; background: #fff; box-shadow: 0 24px 44px -34px rgb(12 34 64 / 60%); }
.tp-tabla th { padding: .85rem 1rem; text-align: left; font: 700 .76rem/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; background: var(--prusia-900); color: #fff; }
.tp-tabla td { padding: .85rem 1rem; vertical-align: top; border-top: 1px solid rgb(26 29 34 / 7%); line-height: 1.45; color: #3d444f; }
.tp-tabla tr.tp-w td { background: #fff; } .tp-tabla tr.tp-y td { background: #fdf3d6; }
.tp-tabla tr.tp-g td { padding: .65rem 1rem; border-top: 1px solid rgb(30 77 140 / 18%); font: 700 .95rem/1.2 var(--f-display); color: var(--prusia-900); }
.tp-tabla tr.tp-g.tp-w td { background: var(--prusia-50); } .tp-tabla tr.tp-g.tp-y td { background: #f6dd97; }
.tp-tabla tr.tp-g td span { margin-left: .6rem; font: 400 .8rem/1 var(--f-body); color: var(--plomo-2); }
.tp-tabla td.tp-n { width: 19%; font-weight: 600; color: var(--plomo-900); } .tp-tabla td.tp-n div { display: flex; gap: .6rem; align-items: flex-start; } .tp-tabla td.tp-n .tp-ico { width: 1.9rem; height: 1.9rem; border-radius: .55rem; } .tp-tabla td.tp-n .tp-ico svg { width: .95rem; height: .95rem; }
.tp-tabla td.tp-p { font-weight: 600; color: var(--prusia-800); }
.tp-tabla td.tp-l { color: var(--plomo-2); }
.tp-tabla tr[hidden] { display: none; }

/* CON / SIN */
.tp-cmp table { width: 100%; max-width: 64rem; margin: 0 auto; border-collapse: separate; border-spacing: 0; border-radius: 1.1rem; overflow: hidden; background: #fff; font-size: .92rem; box-shadow: 0 24px 44px -32px rgb(12 34 64 / 60%); border: 1px solid rgb(30 77 140 / 18%); }
.tp-cmp th { padding: .95rem 1.1rem; text-align: left; font: 700 .8rem/1.2 var(--f-body); letter-spacing: .04em; text-transform: uppercase; background: var(--prusia-900); color: #fff; }
.tp-cmp th:last-child { background: linear-gradient(135deg, var(--ia-a), var(--ia-b)); }
.tp-cmp td { padding: .95rem 1.1rem; vertical-align: top; border-top: 1px solid rgb(26 29 34 / 8%); }
.tp-cmp td:first-child { font-weight: 700; width: 25%; } .tp-cmp td:nth-child(2) { color: var(--plomo-2); } .tp-cmp td:last-child { background: rgb(140 108 242 / 7%); font-weight: 600; }

/* NECESITAS + NO HACE */
.tp-need { max-width: 66rem; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.4rem; align-items: stretch; }
.tp-req { margin: 0; padding: 0; display: grid; gap: .7rem; } .tp-req li { list-style: none; display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; padding: .9rem 1rem; border-radius: 1rem; background: #fff; border: 1px solid rgb(30 77 140 / 15%); box-shadow: 0 12px 22px -20px rgb(12 34 64 / 55%); }
.tp-req li i { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--oro-400); color: var(--prusia-900); font: 700 .9rem/1 var(--f-display); font-style: normal; }
.tp-req b { display: block; font-size: .96rem; } .tp-req span { font-size: .84rem; color: var(--plomo-2); }
.tp-nh { padding: 1.5rem; border-radius: 1.2rem; background: var(--prusia-900); color: #fff; box-shadow: 0 24px 40px -28px rgb(12 34 64 / 80%); }
.tp-nh h3 { font-size: 1.2rem; } .tp-nh ul { margin: 1rem 0 0; padding: 0; display: grid; gap: .65rem; } .tp-nh li { list-style: none; position: relative; padding-left: 1.3rem; font-size: .88rem; color: var(--prusia-200); } .tp-nh li::before { content: "✕"; position: absolute; left: 0; color: var(--oro-300); font-size: .75rem; }

/* TE SIRVE */
.tp-dos__cols { max-width: 56rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.tp-bx { padding: 1.6rem; border-radius: 1.2rem; background: #fff; border: 1px solid rgb(91 63 208 / 20%); box-shadow: 0 16px 30px -24px rgb(47 79 196 / 55%); }
.tp-bx h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; } .tp-bx h3 svg { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; color: #fff; background: var(--verde); }
.tp-bx--no h3 svg { background: var(--plomo-2); }
.tp-bx ul { margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; } .tp-bx li { list-style: none; position: relative; padding-left: 1.2rem; font-size: .92rem; color: #3d444f; } .tp-bx li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--oro-400); }

/* CIERRE */
.tp-cierre p { text-align: center; }
.tp-cierre .btn { margin-top: .4rem; }

@media (max-width: 1080px) { .tp-panel { grid-template-columns: 1fr 19.5rem; } .tp-panel .tp-foto { grid-row: span 2; } .tp-ptxt { grid-column: 2; } }
@media (max-width: 900px) {
  .tp { --sec: 3.6rem; }
  .tp-rb { width: calc((100% - 3 * .7rem) / 4); min-width: 0; } .tp-icons { gap: .7rem; }
  .tp-chips4 { grid-template-columns: 1fr 1fr; }
  .tp-panel { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1rem; } .tp-panel .tp-foto { grid-row: auto; min-height: 0; aspect-ratio: 16 / 11; height: auto; width: 100%; } .tp-ptxt { grid-column: auto; }
  .tp-pcol .tp-tel { height: auto; } .tp-tel { max-width: 21rem; }
  .tp-need, .tp-dos__cols { grid-template-columns: 1fr; }
  
  .tp-tabla thead { display: none; } .tp-tabla, .tp-tabla tbody, .tp-tabla tr, .tp-tabla td { display: block; }
  .tp-tabla td.tp-n { width: auto; } .tp-tabla td[data-l]::before { content: attr(data-l); display: block; margin-bottom: .15rem; font: 700 .68rem/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--prusia-600); }
  .tp-tabla td { border-top: 0; padding: .45rem 1rem; } .tp-tabla tr.tp-f { border-top: 1px solid rgb(26 29 34 / 8%); padding: .4rem 0; } .tp-tabla tr.tp-g td { padding: .65rem 1rem; }
  .tp-cmp thead { display: none; } .tp-cmp table, .tp-cmp tbody, .tp-cmp tr, .tp-cmp td { display: block; } .tp-cmp td:first-child { width: auto; padding-bottom: 0; } .tp-cmp tr { border-top: 1px solid rgb(26 29 34 / 8%); } .tp-cmp td { border-top: 0; padding: .5rem 1.1rem; }
  .tp-cmp td[data-l]::before { content: attr(data-l); display: block; font: 700 .68rem/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--prusia-600); }
}
@media (max-width: 900px) { .tp-rub .wrap { display: flex; flex-direction: column; } .tp-rub .tp-sh { order: 0; } .tp-rub .tp-icons { order: 1; } .tp-rub .tp-ctl { order: 2; margin: 1.2rem auto 0; } .tp-rub .tp-stack { order: 3; } .tp-rub .tp-nota { order: 4; } }
.tp-dots button { position: relative; } .tp-dots button::after { content: ""; position: absolute; inset: -.55rem -.3rem; }
@media (max-width: 560px) { .tp-dots { display: none; } .tp-ctl { flex-wrap: nowrap; } .tp-cuenta { width: auto; flex: 1; font-size: .9rem; } .tp-ctl button.tp-fl { width: 3rem; height: 3rem; } .tp-rb { width: calc((100% - 2 * .6rem) / 3); font-size: .8rem; } .tp-icons { gap: .6rem; } .tp-rb .tp-ico { width: 2.9rem; height: 2.9rem; } .tp-chips4 { gap: .6rem; } .tp .wrap { padding-inline: 1.1rem; } .tp-ctl { gap: .7rem; } .tp-ctl { justify-content: space-between; max-width: 22rem; } #ant { order: 1; } .tp-cuenta { order: 2; } #sig { order: 3; } }
@media (prefers-reduced-motion: reduce) { .tp-panel { transition: none; } }

.tp { --eb-bg: rgb(255 255 255 / 70%); --eb-bd: rgb(30 77 140 / 18%); }
.tp-hero { background: linear-gradient(180deg, #faf6ec, var(--plomo-50)); }
.tp-hero::before { inset: 0; background: radial-gradient(circle, rgb(30 77 140 / 22%) 1.3px, transparent 1.7px) 0 0 / 16px 16px; -webkit-mask-image: radial-gradient(ellipse at 50% 0, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0, #000 20%, transparent 75%); }
.tp-hero::after { width: 30rem; height: 30rem; right: -8rem; top: -10rem; border-radius: 50%; background: radial-gradient(circle, rgb(224 176 74 / 40%), transparent 65%); }
.tp-rub { background: var(--prusia-900); color: #fff; --rb-bg: rgb(255 255 255 / 6%); --rb-bd: rgb(255 255 255 / 16%); --rb-on: rgb(242 207 116 / 14%); --pn-bg: rgb(255 255 255 / 6%); --pn-bd: rgb(255 255 255 / 14%); --tx-bg: rgb(255 255 255 / 5%); --tx-bd: rgb(255 255 255 / 12%); --tx-sub: var(--prusia-200); --dot: rgb(255 255 255 / 25%); --eb-bg: rgb(255 255 255 / 8%); --eb-bd: rgb(255 255 255 / 20%); }
.tp-rub::before { inset: 0; background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 80%); }
.tp-rub::after { width: 28rem; height: 28rem; left: -9rem; bottom: -10rem; border-radius: 50%; background: radial-gradient(circle, rgb(140 108 242 / 30%), transparent 65%); }
.tp-rub .tp-hl, .tp-oscuro .tp-hl { color: var(--oro-300); }
.tp-ficha-t { background: #fff; }
.tp-ficha-t::before { inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--oro-300), var(--ia-a), var(--ia-b)); }
.tp-ficha-t::after { inset: 0; background: radial-gradient(circle, rgb(30 77 140 / 10%) 1.2px, transparent 1.6px) 0 0 / 18px 18px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 30%); mask-image: linear-gradient(180deg, #000, transparent 30%); }
.tp-cmp { background: var(--prusia-50); }
.tp-cmp::before { inset: 0; background: repeating-linear-gradient(135deg, rgb(30 77 140 / 9%) 0 1px, transparent 1px 16px); -webkit-mask-image: linear-gradient(250deg, transparent 5%, #000 80%); mask-image: linear-gradient(250deg, transparent 5%, #000 80%); }
.tp-need-s { background: var(--oro-50); }
.tp-need-s::before { inset: 0; background: var(--grano); opacity: .22; mix-blend-mode: multiply; }
.tp-need-s::after { width: 26rem; height: 26rem; right: -8rem; top: -8rem; border-radius: 50%; background: radial-gradient(circle, rgb(224 176 74 / 38%), transparent 65%); }
.tp-dos { background: #ece8fb; }
.tp-dos::before { inset: 0; background: repeating-linear-gradient(135deg, rgb(91 63 208 / 10%) 0 1px, transparent 1px 14px); -webkit-mask-image: linear-gradient(250deg, transparent 5%, #000 75%); mask-image: linear-gradient(250deg, transparent 5%, #000 75%); }

.tp-hero::after { display: none; }
.tp-chat__est { font-size: .66rem; white-space: nowrap; } .tp-chat__ej { font-size: .58rem; padding: .18rem .4rem; } .tp-chat__nom { white-space: nowrap; }
.tp-panel .tp-foto, .tp-ptxt { border: 2px solid rgb(255 255 255 / 55%); }
.tp-pcol { padding: .8rem; border: 2px solid rgb(255 255 255 / 55%); border-radius: 1.2rem; background: rgb(255 255 255 / 4%); }
.tp-ctl button.tp-fl { width: 3.2rem; height: 3.2rem; background: #fff; color: var(--prusia-900); border: 0; box-shadow: 0 8px 18px -8px rgb(0 0 0 / 60%); }
.tp-ctl button.tp-fl:hover { background: var(--oro-300); }
.tp-dots button { background: #fff; opacity: .9; } .tp-dots button[aria-current="true"] { background: var(--oro-400); opacity: 1; }
.tp-cuenta { color: #fff; }
.tp-tabla tr.tp-g.tp-w td, .tp-tabla tr.tp-g.tp-y td { background: #f4d77f; color: var(--prusia-900); border-top: 1px solid rgb(138 95 7 / 30%); }
.tp-tabla tr.tp-g td span { color: #5b4108; }
.tp-tabla tr.tp-f.tp-w td { background: #fff; } .tp-tabla tr.tp-f.tp-y td { background: #e4edf8; }
.tp-tabla tr.tp-f td { border-top: 1px solid rgb(30 77 140 / 14%); }
.tp-cmp { background: #e6ecf4; }
.tp-cmp::before { inset: 0; background: linear-gradient(rgb(30 77 140 / 8%) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgb(30 77 140 / 8%) 1px, transparent 1px) 0 0 / 32px 32px; -webkit-mask-image: none; mask-image: none; }
.tp-cmp::after { inset: 0; background: var(--grano); opacity: .16; mix-blend-mode: multiply; }
.tp-cmp table { border: 1.5px solid rgb(30 77 140 / 32%); }
.tp-cmp th + th { border-left: 1px solid rgb(255 255 255 / 28%); }
.tp-cmp td { border-top: 1px solid rgb(30 77 140 / 24%); } .tp-cmp td + td { border-left: 1px solid rgb(30 77 140 / 20%); }
.tp-cmp tbody tr:nth-child(even) td:not(:last-child) { background: #f5f8fc; }
.tp-need-s { background: #f7f5f1; }
.tp-need-s::before { inset: 0; background: radial-gradient(circle, rgb(26 29 34 / 14%) 1.2px, transparent 1.6px) 0 0 / 18px 18px; opacity: 1; mix-blend-mode: normal; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.tp-need-s::after { display: none; }
.tp-req li { border-color: rgb(26 29 34 / 12%); }
.tp-dos { background: #dfe3e9; }
.tp-dos::before { inset: 0; background: repeating-linear-gradient(135deg, rgb(26 29 34 / 8%) 0 1px, transparent 1px 14px); -webkit-mask-image: none; mask-image: none; }
.tp-dos::after { inset: 0; background: var(--grano); opacity: .2; mix-blend-mode: multiply; }
.tp-bx { border-color: rgb(26 29 34 / 14%); box-shadow: 0 16px 30px -24px rgb(26 29 34 / 45%); }
@media (min-width: 901px) { .tp-icons { max-width: 54rem; gap: .7rem; } .tp-rb { width: calc((100% - 6 * .7rem) / 7); min-width: 5.4rem; gap: .45rem; padding: .7rem .3rem .6rem; font-size: .78rem; border-radius: .95rem; } }
.tp-rb .tp-ico { width: 2.5rem; height: 2.5rem; border-radius: .8rem; } .tp-rb .tp-ico svg { width: 1.3rem; height: 1.3rem; }
@media (max-width: 900px) { .tp-cmp td + td { border-left: 0; } .tp-cmp td:last-child { border-top: 0; }  .tp-chat__est { font-size: .7rem; white-space: normal; } .tp-chat__ej { font-size: .68rem; } .tp-msg--aviso { font-size: .78rem; } .tp-msg--chip { font-size: .74rem; } .tp-cmp tr { border-top: 3px solid rgb(30 77 140 / 22%) !important; } .tp-cmp tbody tr:first-child { border-top: 0 !important; } }
.tp-dos .tp-hl { color: #7a5206; }
.tp-cmp, .tp-dos { background: #f4f2ee; }
.tp-cmp::before, .tp-dos::before { inset: 0; background: radial-gradient(circle, rgb(26 29 34 / 17%) 1.2px, transparent 1.6px) 0 0 / 18px 18px; -webkit-mask-image: none; mask-image: none; }
.tp-cmp::after, .tp-dos::after { display: none; }
.tp-need-s { background: #fff; } .tp-need-s::before, .tp-need-s::after { display: none; }
.tp-cierre::before { background-image: linear-gradient(rgb(185 205 234 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(185 205 234 / 6%) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 60% at 50% 60%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 60%, #000 30%, transparent 80%); }
/* ---------- Ajustes al pasar al sitio ---------- */
/* el menú fijo va sobre una portada clara: texto oscuro y logo para fondo claro desde el inicio */
.hdr--claro { color: var(--plomo-900); }
.hdr--claro .logo-a .logo-oscuro { display: none; }
.hdr--claro .logo-a .logo-claro { display: block; }
.hdr--claro:not(.is-solid) :focus-visible { outline-color: var(--prusia-600); }
.hdr--claro .hdr__nav a:hover { text-decoration-color: var(--oro-700); }
.hdr__nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--oro-700); }
.tp-hero { padding-top: calc(5.5rem + 3.8rem); }
.tp > section { scroll-margin-top: 5.5rem; }
.tp-rub :focus-visible, .tp-cierre :focus-visible { outline-color: var(--oro-300); }
.tp .btn--ico svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 900px) { .tp-hero { padding-top: calc(4.75rem + 2.4rem); } }
/* en celular el nombre del negocio baja de línea para que la etiqueta «Ejemplo» no se corte */
@media (max-width: 560px) { .tp-chat__nom { white-space: normal; } .tp-chat__ej { flex: none; } .tp-filtro { min-height: 2.75rem; } }
/* el cierre y el footer son ambos azul marino: una línea suave los separa */
.tp ~ .pie { border-top: 1px solid rgb(185 205 234 / 14%); }
