/* Biblioteca Renacer · Premium v2 · experiencia Renacer */
: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)}
@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}
}

/* Premium v2 · permanencia por valor, no por fricción */
.libraryRoomHero{position:relative;overflow:hidden;padding-top:68px;padding-bottom:54px;background:radial-gradient(circle at 50% 18%,rgba(216,178,78,.10),transparent 24%),radial-gradient(circle at 84% 18%,rgba(38,93,131,.42),transparent 31%),linear-gradient(145deg,#061525 0%,#0a2944 54%,#071827 100%)}
.libraryRoomHero:before{content:"";position:absolute;width:min(72vw,820px);aspect-ratio:1;border:1px solid rgba(216,178,78,.16);border-radius:50%;left:58%;top:-56%;pointer-events:none}
.libraryRoomHeroInner{position:relative;z-index:1;text-align:center}
.libraryRoomHero .eyebrow{display:inline-flex;border:1px solid rgba(216,178,78,.55);border-radius:999px;padding:8px 14px;letter-spacing:.16em;font-weight:800}
.libraryRoomHero h1{max-width:900px;margin:18px auto 16px;font-family:Georgia,'Times New Roman',serif;font-size:clamp(44px,6.4vw,82px);line-height:.98;text-wrap:balance}
.libraryRoomHero p{margin:0 auto;max-width:760px;font-size:18px;text-wrap:balance}
.libraryRoomStats{justify-content:center;margin-top:26px}
.libraryBackHome{margin-top:26px}
.libraryPage #biblioteca{max-width:1320px;margin:auto;padding-left:clamp(18px,4vw,54px);padding-right:clamp(18px,4vw,54px)}
.libraryPage .sectionHead{align-items:end}
.libraryPage .sectionHead h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,4vw,54px);line-height:1.02}
.libraryPage .tetelestaiCollection{border-color:rgba(216,178,78,.48);box-shadow:0 24px 70px rgba(0,0,0,.22)}
.libraryPage .book{transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
@media(hover:hover){.libraryPage .book:hover{transform:translateY(-4px);border-color:rgba(240,201,104,.68);box-shadow:0 18px 38px rgba(0,0,0,.24)}}
@media(max-width:760px){.libraryRoomHero{padding:42px 18px 32px}.libraryRoomHero:before{width:520px;left:18%;top:-18%}.libraryRoomHero h1{font-size:42px;max-width:350px}.libraryRoomHero p{font-size:15.5px;max-width:345px}.libraryRoomStats{gap:7px}.libraryRoomStats span{font-size:9.5px;padding:7px 10px}.libraryPage #biblioteca{padding-left:14px;padding-right:14px}.libraryPage .sectionHead h2{font-size:34px}}
