/* =====================================================================
   PRM-001 · Promociones, Cómo recargar y Preguntas frecuentes (portal del cliente final)
   Colores de Sancurec (variables de portal.css). Movimiento suave y apagado con «reducir movimiento».
   ===================================================================== */

/* ---------- Cabecera con teléfono animado ---------- */
.pm-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; color: #fff; margin: 4px 0 18px; padding: 22px 18px;
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  background: radial-gradient(120% 120% at 100% 0%, #2a5bff 0%, rgba(42, 91, 255, 0) 55%), linear-gradient(160deg, #0a1430 0%, #13235a 100%); }
.pm-hero::before, .pm-hero::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.pm-hero::before { width: 220px; height: 220px; right: -70px; bottom: -110px; background: var(--grad); opacity: .35; animation: pm-float 9s ease-in-out infinite; }
.pm-hero::after { width: 120px; height: 120px; left: -40px; top: -50px; background: #00c2ff; opacity: .18; animation: pm-float 11s ease-in-out infinite reverse; }
.pm-hero h1 { font-size: 28px; line-height: 1.1; margin: 8px 0 6px; letter-spacing: -.02em; }
.pm-hero p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.45; }
.pm-hero-txt { min-width: 0; }
.pm-hero--guide, .pm-hero--faq { grid-template-columns: 1fr; }
.pm-kicker { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.pm-live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pm-pulse 1.8s infinite; }

.pm-phone { width: 118px; height: 210px; border-radius: 24px; padding: 7px; background: linear-gradient(160deg, #1d2b5c, #0b1430);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .14); transform: rotate(6deg); animation: pm-bob 6s ease-in-out infinite; }
.pm-phone-screen { position: relative; height: 100%; border-radius: 18px; overflow: hidden; background: #f4f7ff; color: #0b1426; display: flex; flex-direction: column;
  align-items: center; padding: 10px 7px 7px; gap: 6px; font-size: 10px; }
.pm-phone-top { font-weight: 800; color: #3355ff; letter-spacing: .02em; }
.pm-dial { display: flex; align-items: center; gap: 2px; font-size: 12px; min-height: 18px; white-space: nowrap; }
.pm-dial b { margin-right: 3px; }
.pm-dial i { font-style: normal; font-weight: 900; opacity: 0; animation: pm-type 7s infinite; }
.pm-dial i:nth-of-type(1) { animation-delay: .3s; } .pm-dial i:nth-of-type(2) { animation-delay: .55s; } .pm-dial i:nth-of-type(3) { animation-delay: .8s; }
.pm-dial i:nth-of-type(4) { animation-delay: 1.05s; } .pm-dial i:nth-of-type(5) { animation-delay: 1.3s; } .pm-dial i:nth-of-type(6) { animation-delay: 1.55s; }
.pm-dial i:nth-of-type(7) { animation-delay: 1.8s; }
.pm-sending, .pm-done { position: absolute; left: 7px; right: 7px; top: 44px; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 6px; border-radius: 10px; font-weight: 800; opacity: 0; }
.pm-sending { background: #eef1ff; color: #3355ff; animation: pm-step1 7s infinite; }
.pm-done { background: #e7f8f0; color: #0f9f63; flex-direction: column; gap: 1px; animation: pm-step2 7s infinite; }
.pm-done b { font-size: 13px; }
.pm-check { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #0f9f63; color: #fff; font-size: 11px; }
.pm-spin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #c7d0ff; border-top-color: #3355ff; animation: pm-rot .8s linear infinite; }
.pm-keys { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; }
.pm-keys span { height: 17px; border-radius: 6px; background: #fff; box-shadow: 0 1px 1px rgba(16, 24, 40, .08); display: grid; place-items: center; font-weight: 700; font-size: 9px; }
.pm-keys span:empty { background: transparent; box-shadow: none; }
.pm-keys span:nth-child(5) { animation: pm-key 7s infinite .55s; } .pm-keys span:nth-child(3) { animation: pm-key 7s infinite 1.05s; }
.pm-keys span:nth-child(8) { animation: pm-key 7s infinite 1.55s; }

/* ---------- Tarjetas de promoción ---------- */
.pm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pm-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 18px; color: #fff; display: grid; gap: 8px;
  box-shadow: 0 18px 36px -22px rgba(10, 20, 48, .9); /* el color lo pone la plantilla de la promo (banners.css) */
  animation: pm-rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
.pm-card::after { content: ''; position: absolute; z-index: -1; inset: auto -50px -70px auto; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.pm-card::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%);
  transform: translateX(-120%); animation: pm-shine 5s ease-in-out infinite; animation-delay: calc(1.2s + var(--i, 0) * .6s); }
.pm-card.pt-bn--ahorra_hoy { color: #3a2600; }
.pm-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pm-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.pm-clock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 10px; background: rgba(0, 0, 0, .18);
  font-variant-numeric: tabular-nums; }
.pm-title { margin: 2px 0 0; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.pm-body { margin: 0; font-size: 14.5px; opacity: .92; line-height: 1.4; }
.pm-amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pm-amount span { font-size: 30px; font-weight: 900; letter-spacing: -.03em; }
.pm-amount small { font-size: 13px; opacity: .85; font-weight: 600; }
.pm-price { display: grid; gap: 2px; margin-top: 2px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(2px); }
.pm-card.pt-bn--ahorra_hoy .pm-price { background: rgba(255, 255, 255, .45); border-color: rgba(58, 38, 0, .12); }
.pm-from { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.pm-big { font-size: 40px; line-height: 1; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pm-cond { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }
.pm-was { font-size: 12.5px; opacity: .85; }
.pm-was s { color: inherit; }
.pm-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.pm-cta { flex: 1 1 160px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 16px; border-radius: 14px;
  background: #fff; color: #0a1430; text-decoration: none; font-weight: 800; font-size: 15.5px; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6); }
.pm-card.pt-bn--ahorra_hoy .pm-cta { background: #3a2600; color: #fff; }
.pm-wa { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 16px; border-radius: 14px; background: #25d366;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6); }
.pm-cta:active, .pm-wa:active { transform: translateY(1px); }
.pm-note { display: grid; grid-template-columns: auto 1fr; gap: 6px; align-items: start; font-size: 12.5px; color: var(--muted); margin: 12px 2px 0; line-height: 1.45; }
.pm-note svg { flex: none; margin-top: 2px; }
.pm-empty .pt-btn { margin-top: 12px; }

/* ---------- Franja de ventajas y enlaces ---------- */
.pm-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 6px; }
.pm-strip div { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 12px 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.pm-strip b { font-size: 13.5px; }
.pm-strip span:last-child { font-size: 12px; color: var(--muted); }
.pm-strip-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 4px; }
.pm-more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 6px; }
.pm-more a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; text-align: center; }

/* ---------- Guía ---------- */
.gd-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; position: relative; }
.gd-steps::before { content: ''; position: absolute; left: 25px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(#3355ff, #00c2ff); opacity: .35; }
.gd-step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line);
  animation: pm-rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 140ms); }
.gd-step h2 { font-size: 17px; margin: 2px 0 4px; }
.gd-step p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.gd-num { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 900; font-size: 17px;
  box-shadow: 0 10px 20px -10px rgba(51, 85, 255, .9); animation: pm-pop 7.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 2.5s); }
.gd-tips ul, .gd-check ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.5; }
.gd-check ul { list-style: none; padding: 0; }
.gd-check li { display: flex; gap: 8px; align-items: flex-start; }
.gd-check li svg { color: var(--green); flex: none; margin-top: 3px; }
/* SEO-003 · qué recargas se pueden enviar y dudas rápidas */
.gd-kinds-h { font-size: 14px; margin: 12px 0 6px; color: var(--ink-2); }
.gd-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gd-chips li { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--bg, #f4f7ff); border: 1px solid var(--line); }
.gd-faq h3 { font-size: 15px; margin: 14px 0 4px; }
.gd-faq h3:first-of-type { margin-top: 6px; }
.gd-faq p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.gd-faq p.pt-muted { margin-top: 12px; }
.gd-cta { margin: 4px 0 6px; }

/* ---------- Preguntas ---------- */
.fq-list { display: grid; gap: 10px; margin-bottom: 14px; }
.fq { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.fq summary { list-style: none; cursor: pointer; padding: 15px 44px 15px 16px; font-weight: 800; font-size: 15.5px; position: relative; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: '+'; position: absolute; right: 14px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 8px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 900; transition: transform .25s ease; }
.fq[open] summary::after { transform: rotate(45deg); }
.fq[open] summary { color: var(--brand-ink); }
.fq p { margin: 0; padding: 0 16px 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; animation: pm-rise .35s ease both; }
.fq-contact .pt-btn { margin-top: 10px; }

/* ---------- Movimiento ---------- */
@keyframes pm-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-14px, -10px); } }
@keyframes pm-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@keyframes pm-bob { 0%, 100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-6px); } }
@keyframes pm-type { 0%, 3% { opacity: 0; transform: translateY(3px); } 5%, 70% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; } }
@keyframes pm-step1 { 0%, 34% { opacity: 0; transform: scale(.96); } 37%, 52% { opacity: 1; transform: none; } 55%, 100% { opacity: 0; } }
@keyframes pm-step2 { 0%, 53% { opacity: 0; transform: scale(.9); } 57%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes pm-key { 0%, 100% { background: #fff; } 2% { background: #c9d4ff; } 6% { background: #fff; } }
@keyframes pm-rot { to { transform: rotate(360deg); } }
@keyframes pm-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pm-shine { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }
@keyframes pm-pop { 0%, 30%, 100% { transform: scale(1); } 4% { transform: scale(1.18); } 8% { transform: scale(1); } }

@media (min-width: 420px) { .pm-phone { width: 128px; height: 226px; } .pm-hero h1 { font-size: 30px; } }
/* APP-009 · Los Android de 360 px de ancho (muchos Samsung) también ven el teléfono: más pequeño, no escondido. */
@media (max-width: 360px) { .pm-hero { padding: 20px 14px; gap: 10px; } .pm-hero h1 { font-size: 24px; } .pm-hero p { font-size: 14px; }
  .pm-phone { zoom: .8; } .pm-big { font-size: 34px; } }
@media (max-width: 300px) { .pm-hero { grid-template-columns: 1fr; } .pm-phone { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .pm-hero::before, .pm-hero::after, .pm-live, .pm-phone, .pm-card, .pm-card::before, .gd-step, .gd-num, .fq p, .pm-keys span, .pm-spin { animation: none !important; }
  .pm-dial i { animation: none; opacity: 1; }
  .pm-sending { display: none; }
  .pm-done { animation: none; opacity: 1; top: auto; bottom: 86px; position: absolute; }
}

/* ---------- SEO-002 · meses, seguridad, migas ---------- */
.pm-crumbs { font-size: 13px; color: var(--muted); margin: 2px 2px 10px; }
.pm-crumbs a { color: var(--muted); text-decoration: none; }
.pm-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pm-sub { margin-top: 6px; }
.pm-archive { margin: 14px 0; }
.pm-archive-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm-archive-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; }
.pm-archive-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; margin-top: 2px; }
.pm-archive-tag--ended { background: var(--line); color: var(--muted); }
.pm-archive-tag--upcoming { background: var(--brand-soft); color: var(--brand); }
.pm-month-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pm-month-links a { padding: 8px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 13.5px; }
.pm-month-links a:hover { border-color: var(--brand); color: var(--brand); }
.pm-months { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.pm-howto p { font-size: 14px; line-height: 1.55; margin: 0 0 10px; }
.pm-howto p:last-child { margin-bottom: 0; }
.pt-small { font-size: 13px; }
.sg-list .gd-num svg { width: 18px; height: 18px; }
.pt-review { margin-top: 14px; height: 48px; font-size: 14.5px; }

/* ERN-001 · Gana dinero con Sancurec */
.er-cta { margin: 0 0 18px; } .er-cta2 { margin: 10px 0 6px; }
.er-h { margin: 18px 0 10px; }
.er-modes { display: grid; gap: 12px; margin-bottom: 6px; }
@media (min-width: 720px) { .er-modes { grid-template-columns: 1fr 1fr; } }
.er-mode h3 { font-size: 20px; margin: 10px 0 8px; letter-spacing: -.01em; }
.er-mode ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.er-mode li { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.er-mode li svg { color: #12a150; margin-top: 2px; }
.er-mode .pt-muted { margin: 0; font-size: 13.5px; }
.er-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.er-badge--alt { background: #fff1e6; color: #c2410c; }
