/* Guía visual de GBM (modal de importar): tres tarjetas con un dibujo de cada pantalla de gbm.com.
   Los dibujos son HTML/CSS (no capturas reales): sin datos de nadie y nítidos en cualquier pantalla. */
.pf-gg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: gg; flex-shrink: 0; }
.pf-gg__s { counter-increment: gg; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pf-gg__cap { display: flex; gap: 8px; align-items: flex-start; font: 500 13px/1.45 'Inter', sans-serif; color: #2C3E50; }
.pf-gg__cap::before { content: counter(gg); flex: 0 0 22px; height: 22px; border-radius: 50%; background: #285260; color: #fff; font: 800 12px/22px 'Inter', sans-serif; text-align: center; }
.pf-gg__cap b { color: #16242a; font-weight: 800; }

/* marco de navegador */
.pf-gg__shot { position: relative; height: 160px; border-radius: 12px; border: 1px solid rgba(22, 36, 42, 0.12); background: #fff; overflow: hidden; font-family: 'Inter', sans-serif; box-shadow: 0 6px 18px rgba(22, 36, 42, 0.06); }
.pf-gg__bar { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; background: #f1f4f5; border-bottom: 1px solid rgba(22, 36, 42, 0.08); }
.pf-gg__bar i { width: 6px; height: 6px; border-radius: 50%; background: #cfd8db; }
.pf-gg__bar span { margin-left: 6px; padding: 1px 10px; border-radius: 999px; background: #fff; font: 600 9px/14px 'Inter', sans-serif; color: #5c6b70; }
.pf-gg__body { position: relative; padding: 10px; }

/* 1 · menú de arriba con «Documentos» */
.pf-gg__logo { display: inline-flex; flex-direction: column; gap: 2px; vertical-align: middle; }
.pf-gg__logo::before { content: ''; width: 12px; height: 6px; border-radius: 6px 6px 0 0; background: #00d37f; }
.pf-gg__logo::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: #00d37f; }
.pf-gg__nav { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: 12px; font: 500 9.5px 'Inter', sans-serif; color: #5c6b70; white-space: nowrap; }
.pf-gg__nav b { position: relative; padding: 4px 7px; border-radius: 7px; font-weight: 800; color: #16242a; }
.pf-gg__strip { height: 9px; margin: 10px -10px 0; background: #111; }
.pf-gg__ph { height: 34px; margin-top: 10px; border-radius: 8px; background: linear-gradient(90deg, #f1f4f5, #f7f9f9); }

/* 2 · pestaña «Estados de cuenta», años y «Descargar todos» */
.pf-gg__tabs { display: flex; gap: 12px; border-bottom: 1px solid rgba(22, 36, 42, 0.12); font: 500 9.5px 'Inter', sans-serif; color: #5c6b70; white-space: nowrap; }
.pf-gg__tabs b { padding-bottom: 5px; border-bottom: 2px solid #16242a; color: #16242a; font-weight: 800; }
.pf-gg__yrs { display: flex; gap: 6px; margin-top: 9px; }
.pf-gg__yrs span { padding: 3px 11px; border-radius: 999px; background: #eef1f2; font: 600 9px 'Inter', sans-serif; color: #2C3E50; }
.pf-gg__yrs span.is-on { background: #111; color: #fff; animation: pfGgYear 5s ease-in-out infinite; }
.pf-gg__yrs span:first-child { animation: pfGgYear 5s ease-in-out -2.5s infinite; }
.pf-gg__dl { position: absolute; right: 10px; top: 32px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pf-gg__dl em { padding: 2px 8px; border-radius: 999px; background: #eef1f2; font: 800 8px 'Inter', sans-serif; color: #5c6b70; font-style: normal; }
.pf-gg__dl b { position: relative; padding: 3px 6px; border-radius: 7px; font: 800 9px/1.15 'Inter', sans-serif; color: #16242a; text-decoration: underline; text-align: center; }
.pf-gg__rows { margin: 20px 0 0; padding: 0; list-style: none; font: 500 9.5px 'Inter', sans-serif; color: #2C3E50; }
.pf-gg__rows li { display: flex; justify-content: space-between; align-items: center; padding: 3px 26px 3px 0; }
.pf-gg__rows li i { font-size: 10px; color: #5c6b70; }

/* lo que hay que pulsar: aro que late + cursor */
.pf-gg__hit::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #00b36b; background: rgba(0, 211, 127, 0.12); animation: pfGgPulse 1.8s ease-out infinite; }
.pf-gg__hit::after { content: '\f245'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -4px; bottom: -11px; font-size: 13px; color: #16242a; text-decoration: none; text-shadow: 0 0 2px #fff, 0 0 2px #fff; animation: pfGgTap 1.8s ease-in-out infinite; }

/* 3 · soltar los PDF */
.pf-gg__shot--drop { display: flex; align-items: center; justify-content: center; background: #f7fafa; }
.pf-gg__zone { position: relative; width: 78%; height: 96px; border: 2px dashed #8fb3b8; border-radius: 12px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 9px; font: 700 9.5px 'Inter', sans-serif; color: #548C92; }
.pf-gg__zone i { position: absolute; top: 14px; left: 50%; font-size: 26px; color: #d93025; animation: pfGgDrop 2.6s cubic-bezier(.3, .7, .3, 1) infinite; }
.pf-gg__zone i:nth-child(2) { margin-left: -30px; animation-delay: .25s; }
.pf-gg__zone i:nth-child(3) { margin-left: 30px; animation-delay: .5s; }

.pf-gg__note { margin: 0; font: 500 12.5px/1.5 'Inter', sans-serif; color: #5c6b70; }

@keyframes pfGgPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 211, 127, 0.45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(0, 211, 127, 0); } }
@keyframes pfGgTap { 0%, 100% { transform: translate(5px, 5px); } 45%, 60% { transform: translate(0, 0) scale(.9); } }
@keyframes pfGgDrop { 0% { transform: translate(-50%, -46px); opacity: 0; } 35%, 80% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 0); opacity: 0; } }
@keyframes pfGgYear { 0%, 45% { background: #111; color: #fff; } 55%, 100% { background: #eef1f2; color: #2C3E50; } }

@media (max-width: 720px) {
  .pf-gg { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .pf-gg__s { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-gg__hit::before, .pf-gg__hit::after, .pf-gg__zone i, .pf-gg__yrs span { animation: none !important; }
  .pf-gg__zone i { opacity: 1; transform: translate(-50%, 0); }
}

/* Guía de Trading 212: mismas tarjetas, con un teléfono dibujado (la key se saca en la app) */
.pf-gg__shot--phone { display: flex; justify-content: center; background: #f7fafa; }
.pf-gg__ph1 { position: relative; width: 132px; height: 190px; margin-top: 12px; border: 4px solid #16242a; border-bottom: 0; border-radius: 18px 18px 0 0; background: #fff; padding: 12px 8px 0; font: 500 8.5px 'Inter', sans-serif; color: #2C3E50; }
.pf-gg__ph1::before { content: ''; position: absolute; top: 4px; left: 50%; width: 30px; height: 4px; margin-left: -15px; border-radius: 4px; background: #16242a; }
.pf-gg__ph1 h5 { margin: 2px 0 6px; font: 800 10px 'Inter', sans-serif; color: #16242a; }
.pf-gg__li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 5px 5px; border-radius: 6px; border-bottom: 1px solid rgba(22, 36, 42, 0.07); white-space: nowrap; }
.pf-gg__li.pf-gg__hit { border-bottom-color: transparent; font-weight: 800; color: #16242a; }
.pf-gg__li > i { font-size: 8px; color: #8a9aa0; }
.pf-gg__tg { flex: 0 0 18px; height: 10px; border-radius: 10px; background: #cfd8db; position: relative; }
.pf-gg__tg::after { content: ''; position: absolute; top: 1px; left: 1px; width: 8px; height: 8px; border-radius: 50%; background: #fff; transition: none; }
.pf-gg__tg.is-on { background: #00a7e1; animation: pfGgTg 3.6s ease-in-out infinite; }
.pf-gg__tg.is-on::after { left: 9px; }
.pf-gg__btn { position: relative; margin-top: 8px; padding: 5px; border-radius: 7px; background: #00a7e1; color: #fff; font-weight: 800; text-align: center; }
.pf-gg__key { margin-bottom: 6px; }
.pf-gg__key small { display: block; margin-bottom: 2px; font: 700 7.5px 'Inter', sans-serif; color: #8a9aa0; text-transform: uppercase; letter-spacing: .05em; }
.pf-gg__key div { display: flex; align-items: center; justify-content: space-between; padding: 4px 5px; border-radius: 6px; background: #f1f4f5; font: 700 8px ui-monospace, Menlo, Consolas, monospace; color: #16242a; letter-spacing: .5px; }
.pf-gg__key div span { position: relative; padding: 2px 3px; border-radius: 5px; font-size: 9px; color: #285260; }
.pf-gg__paste { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 8px; font: 800 8.5px 'Inter', sans-serif; color: #548C92; }
.pf-gg__paste i { animation: pfGgDown 1.6s ease-in-out infinite; }
@keyframes pfGgTg { 0%, 12% { background: #cfd8db; } 22%, 100% { background: #00a7e1; } }
@keyframes pfGgDown { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .pf-gg__tg.is-on, .pf-gg__paste i { animation: none !important; } }
