/* BR-DIGITAL-UX-06 · Biblioteca Renacer independiente · v1 */
:root{--lib-navy:#061525;--lib-sea:#0b2f4c;--lib-sea2:#123f60;--lib-gold:#d8b24e;--lib-cream:#fff3cf}
html{scroll-behavior:smooth}
body.libraryPage{margin:0;background:linear-gradient(180deg,#071827,#061525 58%,#071321);color:#fff;min-height:100vh}
.libraryPage .topbar{position:sticky;top:0;z-index:30;background:rgba(6,21,37,.985);border-bottom:1px solid rgba(216,178,78,.55)}
.libraryPage .brand{color:#f1cf73}
.libraryPage .brand small{color:#eef3f8}
.libraryPage .menuBtn,.libraryPage .topSearchBtn{color:#f1cf73}
.libraryPage .topbar nav a{color:#fff0c7}
.libraryPage .topbar nav a:hover{color:#fff}
.libraryRoomHero{padding:52px clamp(20px,7vw,110px) 34px;background:
 radial-gradient(circle at 82% 15%,rgba(38,93,131,.34),transparent 32%),
 linear-gradient(135deg,#071827,#0b2f4c 55%,#061525);
 border-bottom:1px solid rgba(216,178,78,.38)}
.libraryRoomHeroInner{max-width:1200px;margin:auto}
.libraryRoomHero .eyebrow{color:#f0c968}
.libraryRoomHero h1{font-size:clamp(42px,6vw,78px);line-height:.98;margin:12px 0;color:#fff1c2;font-weight:500}
.libraryRoomHero p{max-width:780px;color:#dfe8f1;font:17px/1.62 Arial,sans-serif;margin:0}
.libraryRoomStats{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.libraryRoomStats span{border:1px solid rgba(216,178,78,.52);border-radius:999px;padding:8px 13px;color:#f3d983;background:rgba(255,255,255,.035);font:700 11px Arial,sans-serif;letter-spacing:.08em}
.libraryPage #biblioteca{padding-top:42px;background:transparent}
.libraryPage .sectionHead h2{color:#fff3cf}
.libraryPage .sectionHead p{color:#c8d5df}
.libraryPage .search input,.libraryPage .search select{background:#071b2e;border-color:#41637d;color:#fff}
.libraryPage .libraryCatalogDivider{margin-top:42px}
.libraryPage footer{background:#050f1b;border-top-color:#8d6d27}
.libraryBackHome{display:inline-flex;margin-top:24px;color:#fff0bd;text-decoration:none;border-bottom:1px solid rgba(216,178,78,.6);padding-bottom:4px}
.libraryPage .modalTop{background:#061525}
.libraryPage .book{background:#0b2943;border-color:rgba(216,178,78,.38)}
.libraryPage .book .cat{color:#e2bd59}
.libraryPage .book p{color:#d8e2ea}
.libraryPage .book h3{color:#fff1ca}
.libraryBookHit{outline:2px solid #f0c968;box-shadow:0 0 0 5px rgba(240,201,104,.16),0 20px 40px rgba(0,0,0,.32)!important}
@media(max-width:760px){
 .libraryRoomHero{padding:34px 18px 24px}
 .libraryRoomHero h1{font-size:42px}
 .libraryRoomHero p{font-size:15px}
 .libraryPage #biblioteca{padding:30px 14px 48px}
 .libraryPage .sectionHead{display:block}
 .libraryPage .search{display:grid;grid-template-columns:1fr;margin-top:18px}
 .libraryPage .search input,.libraryPage .search select{width:100%;min-width:0;min-height:48px}
 .libraryPage .bookGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .libraryPage .book h3{font-size:17px}
 .libraryPage .book p{font-size:11px}
 .libraryPage .topbar nav.open{display:flex}
 .libraryPage .topbar nav{padding:12px 0 18px}
 .libraryPage .topbar nav a{min-height:50px;padding:12px 24px;font-size:18px}
}
