/* Fupensio — componentes compartidos: encabezado y pie de página
   Usado por: Análisis Pro, Pensión Deseada, Retirómetro y blog. */
:root{--fp-azul:#1B3A6B;--fp-azul-osc:#0A1C3C;--fp-dorado:#C8922A;--fp-dorado-claro:#F5A623;--fp-gris:#5A6478;--fp-borde:#E8ECF2}
.fp-header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid var(--fp-borde);box-shadow:0 2px 20px rgba(0,0,0,.08);font-family:'DM Sans',-apple-system,'Helvetica Neue',Arial,sans-serif}
.fp-bar{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 5%}
.fp-logo{display:flex;align-items:center;flex-shrink:0}
.fp-logo img{height:60px;width:auto;display:block}
.fp-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:26px}
.fp-menu a{color:var(--fp-azul);text-decoration:none;font-size:.92rem;font-weight:500;white-space:nowrap;padding:6px 0;border-bottom:2px solid transparent}
.fp-menu a:hover{color:var(--fp-dorado)}
.fp-menu a[aria-current="page"]{border-bottom-color:var(--fp-dorado);font-weight:700}
.fp-menu a.fp-cta{background:var(--fp-dorado);color:#fff;padding:10px 18px;border-radius:8px;font-weight:700;border-bottom:0}
.fp-menu a.fp-cta:hover{background:var(--fp-dorado-claro);color:#fff}
.fp-burger{display:none;background:none;border:0;padding:10px;cursor:pointer;flex-direction:column;gap:5px}
.fp-burger span{display:block;width:24px;height:2px;background:var(--fp-azul);transition:transform .25s,opacity .25s}
.fp-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.fp-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.fp-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (max-width:900px){
  .fp-logo img{height:52px}
  .fp-burger{display:flex}
  .fp-menu{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:8px 5% 16px;border-bottom:1px solid var(--fp-borde);box-shadow:0 12px 24px rgba(0,0,0,.08)}
  .fp-menu.open{display:flex}
  .fp-menu li{border-bottom:1px solid #F0F2F5}
  .fp-menu a{display:block;padding:14px 0;font-size:1rem;white-space:normal}
  .fp-menu li:last-child{border-bottom:0;padding-top:12px}
  .fp-menu a.fp-cta{text-align:center}
}
.fp-footer{background:var(--fp-azul-osc);color:rgba(255,255,255,.72);font-family:'DM Sans',-apple-system,'Helvetica Neue',Arial,sans-serif;padding:48px 5% 28px}
.fp-footer a{color:rgba(255,255,255,.85);text-decoration:none}
.fp-footer a:hover{color:var(--fp-dorado-claro);text-decoration:underline}
.fp-footer-in{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:32px}
.fp-footer h4{margin:0 0 12px;font-size:.78rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--fp-dorado-claro)}
.fp-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:.9rem}
.fp-footer-brand img{height:76px;width:auto;background:#fff;border-radius:8px;padding:4px 8px;display:block;margin-bottom:10px}
.fp-footer-brand p{margin:0;font-size:.9rem}
.fp-legal{max-width:1100px;margin:32px auto 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:.78rem;line-height:1.7;color:rgba(255,255,255,.55)}
@media (max-width:760px){.fp-footer-in{grid-template-columns:1fr 1fr}.fp-footer-brand{grid-column:1/-1}}

/* ── Sistema unificado de botones y tarjetas (Etapa 2) ── */
:root { --fp-radio-boton: 10px; --fp-radio-tarjeta: 18px; --fp-oro-grad: linear-gradient(135deg, #C8922A, #F5A623); }
/* Botones: misma forma, peso, altura táctil y elevación al pasar el cursor */
.btn-primary, .btn-whatsapp, .btn-wa, .btn-wa-grande, .btn-precio, .btn-retiro,
.retiro-btn, .comp-btn, .nav-cta, .fp-cta {
  border-radius: var(--fp-radio-boton); font-weight: 700; min-height: 46px;
}
.btn-primary:hover, .btn-whatsapp:hover, .btn-wa:hover, .btn-wa-grande:hover,
.btn-precio:hover, .btn-retiro:hover, .retiro-btn:hover, .comp-btn:hover, .nav-cta:hover, .fp-cta:hover {
  transform: translateY(-2px);
}
/* Botón principal (dorado) con el mismo degradado en todas las páginas */
.btn-primary, .btn-precio.solid, .retiro-btn-primary, .cta-btn { background: var(--fp-oro-grad); color: #fff; }
.btn-primary:hover, .btn-precio.solid:hover, .retiro-btn-primary:hover, .cta-btn:hover { background: var(--fp-oro-grad); filter: brightness(1.06); }
/* Botón WhatsApp: un solo verde */
.btn-whatsapp, .btn-wa, .btn-wa-grande { background: #25D366; }
.btn-whatsapp:hover, .btn-wa:hover, .btn-wa-grande:hover { background: #1ebe5d; }
/* Tarjetas: mismo radio */
.dolor-card, .testimonio-card, .precio-card, .costo-card, .incluye-item, .test-card,
.forense-card, .esc-card, .comp-tabla-wrap, .garantia-inner, .faq-item, .pd-faq, .article-cta {
  border-radius: var(--fp-radio-tarjeta);
}
a:focus-visible, button:focus-visible { outline: 3px solid #F5A623; outline-offset: 2px; }

/* ── Accesibilidad: contraste de color (WCAG AA) ── */
.ej-tag, .escenarios-titulo, .escenarios-header h2 em, .test-plan, .example-row .highlight { color: #8A5F10 !important; }
.precio-badge { color: #0a1628 !important; }
.fp-footer-brand p { color: rgba(255,255,255,0.72) !important; }
.btn-wa, .btn-wa-grande, .btn-whatsapp { background: #12864A !important; }
.btn-wa:hover, .btn-wa-grande:hover, .btn-whatsapp:hover { background: #0f6f3d !important; }
.comparativa-header h2 em { color: #8A5F10 !important; }
.comp-btn { color: #0a1628 !important; }
.sim-footer p { color: rgba(255,255,255,0.72) !important; }
.sim-footer p a { color: #ffffff !important; text-decoration: underline; }
