/* Cabecera única de Azul y Oro FC (todas las páginas públicas).
   Se edita aquí y en scripts/aplicar_cabecera.py (HTML). Al cambiar este archivo, subir ?v= en las páginas. */
html { scroll-padding-top: 76px; }
.sh { position: sticky; top: 0; z-index: 1000; background: rgba(0,13,46,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,235,2,.18); }
.sh-bar { max-width: 1280px; margin: 0 auto; height: 64px; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.sh-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.sh-brand img { width: 40px; height: 40px; object-fit: contain; display: block; }
.sh-brand b { font-family: 'BebasClub', sans-serif; font-weight: 400; font-size: 24px; line-height: 1; letter-spacing: 3px; color: #FFEB02; white-space: nowrap; }
.sh-menu { margin-left: auto; }
.sh-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.sh-links a { font-family: 'SerialB', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.62); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
.sh-links a:hover { color: #fff; }
.sh-links a[aria-current="page"] { color: #fff; border-bottom-color: #FFEB02; }
.sh-links .sh-socios a { font-family: 'BebasClub', sans-serif; font-weight: 400; font-size: 17px; letter-spacing: 2px; color: #000d2e; background: #FFEB02; padding: 9px 20px; border-bottom: 0; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .2s; }
.sh-links .sh-socios a:hover { background: #fff; color: #000d2e; }
.sh-links .sh-socios a[aria-current="page"] { background: #fff; }
.sh a:focus-visible, .sh-burger:focus-visible { outline: 2px solid #FFEB02; outline-offset: 3px; }
.sh-burger { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.sh-burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #FFEB02; transition: transform .25s, opacity .2s, top .25s; }
.sh-burger span:nth-child(1) { top: 15px; } .sh-burger span:nth-child(2) { top: 21px; } .sh-burger span:nth-child(3) { top: 27px; }
.sh.open .sh-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.sh.open .sh-burger span:nth-child(2) { opacity: 0; }
.sh.open .sh-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 980px) {
  .sh-bar { padding: 0 16px; gap: 12px; }
  .sh-burger { display: block; }
  .sh-menu { position: absolute; top: 100%; left: 0; right: 0; margin: 0; display: none; max-height: calc(100vh - 64px); overflow-y: auto; background: #000d2e; border-bottom: 1px solid rgba(255,235,2,.25); }
  .sh.open .sh-menu { display: block; }
  .sh-links { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 20px; }
  .sh-links li { border-bottom: 1px solid rgba(255,255,255,.07); }
  .sh-links a { display: block; font-family: 'BebasClub', sans-serif; font-weight: 400; font-size: 26px; letter-spacing: 3px; padding: 14px 0; border-bottom: 0; }
  .sh-links a[aria-current="page"] { color: #FFEB02; }
  .sh-links .sh-socios { border-bottom: 0; margin-top: 16px; }
  .sh-links .sh-socios a { text-align: center; font-size: 22px; padding: 14px 20px; }
}
@media (max-width: 380px) { .sh-brand b { font-size: 21px; letter-spacing: 2px; } .sh-brand img { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { .sh-burger span, .sh-links a { transition: none; } }

/* Pie legal */
.footer-legal-page { background:#000; border-top:1px solid rgba(255,235,2,.12); padding:24px 20px; text-align:center; }
.footer-legal { flex-basis:100%; width:100%; display:flex; flex-wrap:wrap; justify-content:center; gap:6px 22px; margin-top:14px; }
.footer-legal-page .footer-legal { margin-top:0; }
.footer-legal a { font-family:'SerialB',system-ui,sans-serif; font-size:12px; letter-spacing:1px; color:rgba(245,242,234,.6); text-decoration:underline; text-underline-offset:3px; }
.footer-legal a:hover { color:#FFEB02; }
.footer-legal a:focus-visible { outline:2px solid #f5f2ea; outline-offset:3px; }
.footer-id { flex-basis:100%; width:100%; text-align:center; font-family:'SerialB',system-ui,sans-serif; font-size:11px; letter-spacing:.5px; line-height:1.5; color:rgba(245,242,234,.4); margin:8px 0 0; }
