/* Header y footer públicos con el look del home (templates/headerPublic.php y footerPublic.php).
   Todo va bajo .bt-chrome para no afectar el contenido Bootstrap de cada página. */
:root{--bt-purple:#635bff;--bt-ink:#26234d;--bt-muted:#6f6b87;--bt-line:rgba(99,91,255,.14)}
body.bt-site{margin:0;padding:0;min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 90% 8%,#dfddff 0,transparent 40%),radial-gradient(ellipse at 0 45%,#e6e9ff 0,transparent 38%),#f6f5fb}
.bt-site-main{flex:1 0 auto;padding:20px;overflow-x:hidden}
.bt-chrome{font-family:Arial,Helvetica,sans-serif;color:var(--bt-ink);line-height:1.6;font-size:15px}
.bt-chrome *{box-sizing:border-box}
.bt-chrome a,.bt-chrome a:hover,.bt-chrome a:focus{color:inherit;text-decoration:none}
.bt-chrome a:focus-visible{outline:3px solid var(--bt-purple);outline-offset:5px}
.bt-chrome-wrap{width:min(1240px,calc(100% - 80px));margin-inline:auto}
.bt-chrome-bar{display:flex;align-items:center;justify-content:space-between;padding-block:26px;border-bottom:1px solid var(--bt-line);gap:24px}
.bt-chrome-brand{background:var(--bt-purple);border-radius:12px;padding:6px 13px;display:inline-flex;align-items:center}
.bt-chrome-brand img{width:184px;max-width:none;height:auto;display:block}
.bt-chrome-header nav{display:flex;align-items:center;gap:32px;font-size:14px;font-weight:600}
.bt-chrome-header nav a{white-space:nowrap}
.bt-chrome nav a:hover,.bt-chrome .bt-chrome-active{color:var(--bt-purple)}
.bt-chrome-help{border:1px solid var(--bt-line);padding:9px 20px;border-radius:30px;background:#ffffff70}
.bt-chrome-footer{flex-shrink:0;margin-top:40px}
.bt-chrome-footer .bt-chrome-wrap{border-top:1px solid var(--bt-line);padding-block:30px}
.bt-chrome-footer-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}
.bt-chrome-footer-logo img{width:150px}
.bt-chrome-footer nav{display:flex;gap:24px;font-size:11px;color:var(--bt-muted)}
.bt-chrome-footer p{font-size:10px;color:var(--bt-muted);max-width:850px;line-height:1.8;margin:0 0 16px}
.bt-chrome-footer small{font-size:10px;color:var(--bt-muted)}
@media(max-width:1000px){.bt-chrome-wrap{width:calc(100% - 48px)}}
@media(max-width:760px){
  .bt-chrome-wrap{width:calc(100% - 32px)}
  .bt-chrome-bar{padding-block:18px;gap:14px}
  .bt-chrome-brand{padding:5px 8px;border-radius:8px}
  .bt-chrome-brand img{width:125px}
  .bt-chrome-header nav{gap:12px;font-size:12px}
  .bt-chrome-help{display:none}
  .bt-site-main{padding:16px}
  .bt-chrome-footer-top{align-items:flex-start;flex-direction:column;gap:16px}
  .bt-chrome-footer-logo img{width:120px}
  .bt-chrome-footer nav{gap:12px;flex-wrap:wrap;font-size:10px}
}
@media(max-width:360px){.bt-chrome-header nav{gap:8px;font-size:10.5px}.bt-chrome-brand img{width:96px}}

/* Header en barra morada a todo lo ancho, con menú en blanco */
.bt-chrome-header{background:var(--bt-purple)}
.bt-chrome-header .bt-chrome-bar{border-bottom:0;padding-block:16px}
.bt-chrome-header .bt-chrome-brand{padding:0;background:none}
.bt-chrome-header nav a,.bt-chrome-header nav a:hover,.bt-chrome-header nav a:focus{color:#fff}
.bt-chrome-header nav a:hover,.bt-chrome-header .bt-chrome-active{color:#fff;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
.bt-chrome-header .bt-chrome-help,.bt-chrome-header nav a.bt-chrome-help:hover{background:#fff;color:var(--bt-purple);border-color:#fff;text-decoration:none}
.bt-chrome-header a:focus-visible{outline-color:#fff}
@media(max-width:760px){.bt-chrome-header .bt-chrome-bar{padding-block:12px}}
