/* Cabecera del blog = la misma que la portada (index.html). Clases con prefijo ap- para no chocar con el CSS del blog. */
.ap-header { background: linear-gradient(135deg, #16212C 0%, #233242 100%); padding: 14px 0; position: sticky; top: 0; z-index: 100; font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif; line-height: 1.65; }
.ap-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ap-inner { display: flex; justify-content: space-between; align-items: center; }
.ap-logo { display: inline-flex; align-items: center; gap: 6px; font-size: 28px; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: normal; }
.ap-logo:hover { color: #fff; text-decoration: none; }
.ap-logo img { height: 38px; width: auto; display: block; transition: opacity .2s ease; }
.ap-logo:hover img { opacity: .8; }
.ap-logo span { color: #ff5722; margin-left: -6px; }
.ap-nav { display: flex; align-items: center; gap: 32px; }
.ap-links { display: flex; gap: 18px; }
.ap-links a { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.82); text-decoration: none; }
.ap-links a:hover { color: #fff; text-decoration: none; }
.ap-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; font-size: 15px; font-weight: 700; border-radius: 10px; background: #ff5722; color: #fff; text-decoration: none; box-shadow: 0 6px 20px rgba(255,87,34,.28); transition: transform .15s, box-shadow .15s, background .15s; }
.ap-btn:hover { background: #e64a19; color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255,87,34,.34); }
.ap-btn-mobile { display: none; }
.ap-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.ap-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 6px 0; }
.ap-mobile { display: none; flex-direction: column; background: #233242; border-top: 1px solid rgba(255,255,255,.08); padding: 12px 24px 20px; font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif; }
.ap-mobile.open { display: flex; position: fixed; left: 0; right: 0; top: var(--ap-top, 70px); z-index: 99; max-height: calc(100vh - var(--ap-top, 70px)); overflow-y: auto; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.ap-mobile a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.85); text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ap-mobile a:hover { color: #fff; }
.ap-mobile a.ap-signup { display: block; margin-top: 12px; background: #ff5722; color: #fff; text-align: center; padding: 12px; border-radius: 10px; font-weight: 700; border-bottom: none; }
.ap-mobile a.ap-signup:hover { background: #e64a19; }
@media (max-width: 800px) {
    .ap-links, .ap-nav .ap-btn { display: none; }
    .ap-btn-mobile { display: inline-flex; white-space: nowrap; padding: 8px 14px; font-size: 13px; line-height: 1.2; margin-left: auto; margin-right: 12px; }
    .ap-toggle { display: block; }
}
