:root {
  --ink: #122b40;
  --blue: #174b80;
  --gold: #b39353;
  --paper: #f7f5ee;
  --line: #d9d8cf;
  --muted: #52616b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, summary { -webkit-tap-highlight-color: rgba(23, 75, 128, .16); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 12px 18px; background: var(--ink); color: #fff; font-size: 14px; }
.skip-link:focus { top: 12px; }
.top { background: var(--ink); color: #fff; text-align: center; padding: 10px; font-size: 10px; letter-spacing: 2px; }
.wrap { max-width: 1380px; margin: auto; padding: 0 48px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--ink); }
.brand { font-family: Georgia, 'Times New Roman', serif; font-size: 38px; letter-spacing: 4px; line-height: 1; }
.brand small { display: block; font: 9px Arial, sans-serif; letter-spacing: 6px; margin-top: 9px; }
.site-header nav { display: flex; gap: 30px; font-size: 12px; }
.site-header nav a { padding: 10px 0; }
.site-header nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.headnote { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: #63727c; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; margin-top: 24px; }
main, aside { min-width: 0; }
.eyebrow { font-size: 10px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; line-height: 1.6; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 510px; align-items: center; border-bottom: 1px solid var(--line); gap: 20px; }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(42px, 4.4vw, 66px); line-height: 1.03; letter-spacing: -2px; margin: 22px 0; }
.hero h1 em { color: var(--blue); font-weight: 400; }
.hero p { font-size: 14px; line-height: 1.8; max-width: 370px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 15px 20px; min-height: 44px; background: var(--ink); color: white; font-size: 11px; border: 1px solid var(--ink); transition: background .2s, transform .2s; }
.btn:hover { background: var(--blue); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { color: #fff; }
.textlink { font-size: 11px; border-bottom: 1px solid var(--ink); padding: 12px 0; display: inline-block; min-height: 44px; }
.textlink:hover { color: var(--blue); border-color: var(--blue); }
.hero-secondary { margin: 14px 0 14px 18px; }
.stage { position: relative; height: 440px; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, #dedccf 0, transparent 68%); }
.stage::after { content: ''; position: absolute; bottom: 45px; width: 220px; height: 15px; border-radius: 50%; background: #071d33; filter: blur(16px); opacity: .28; }
.book { z-index: 1; position: relative; width: 224px; height: 302px; background: linear-gradient(105deg, #0b1c2e, #194a73); color: #fff; padding: 22px 22px 16px; border-left: 9px solid #091b2a; box-shadow: 14px 12px 0 -6px #e8e3d8, 17px 14px 0 -6px #a6a59a, 20px 25px 30px rgba(22, 44, 62, .22); transform: rotate(-8deg); display: flex; flex-direction: column; }
.book::after { content: ''; height: 1px; background: #caa228; position: absolute; left: 20px; right: 20px; bottom: 48px; }
.book .series { font-size: 9px; line-height: 1.5; letter-spacing: 1px; color: #d9bf81; }
.book-title { font: 32px/1.08 Georgia, serif; margin: 33px 0 12px; }
.book .sub { font-size: 8px; line-height: 1.6; opacity: .7; }
.book .author { margin-top: auto; font-size: 9px; letter-spacing: 2px; }
.book .vol { position: absolute; right: 15px; top: 18px; font: 32px Georgia, serif; color: #c9ac68; }
.caption { position: absolute; bottom: 7px; font-size: 9px; color: #60707a; letter-spacing: 1px; text-align: center; }
.section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.sectionhead { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section h2 { font: 32px Georgia, serif; margin: 0; }
.section p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.feature { display: grid; grid-template-columns: 80px 1fr; gap: 24px; }
.number { font: 65px Georgia, serif; color: var(--gold); }
.feature h3 { font: 25px Georgia, serif; margin: 0 0 8px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tags span { font-size: 9px; border: 1px solid var(--line); padding: 7px 10px; text-transform: uppercase; letter-spacing: 1px; }
.pill { font: 9px Arial, sans-serif; border: 1px solid var(--line); padding: 7px 10px; white-space: nowrap; }
.purchase-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.section .purchase-note { font-size: 11px; line-height: 1.7; margin: 10px 0 6px; }
.book-details { margin-top: 5px; }
.book-details summary { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; padding: 12px 0; min-height: 44px; border-bottom: 1px solid var(--ink); cursor: pointer; list-style: none; }
.book-details summary::-webkit-details-marker { display: none; }
.detail-plus { font-size: 16px; line-height: 1; transition: transform .2s; }
.book-details[open] .detail-plus { transform: rotate(45deg); }
.detail-content { padding: 5px 0; max-width: 650px; }
.collection-name { margin-top: -10px; color: var(--ink) !important; font-size: 16px !important; }
.collection-announcement { margin-top: 24px; padding: 25px 26px 18px; background: #eeebe0; border-top: 2px solid var(--ink); }
.collection-intro { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 20px; }
.collection-intro p { margin: 0; font: 19px/1.45 Georgia, serif; color: var(--ink); }
.volume-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 25px; list-style: none; padding: 0; margin: 0; }
.volume-list li { display: flex; align-items: flex-start; gap: 13px; padding: 16px 0; border-top: 1px solid #d8d4c5; min-height: 86px; }
.volume-list li > div { min-width: 0; }
.volume-no { font: 22px Georgia, serif; color: #8a6b32; min-width: 28px; }
.volume-title { display: block; font-size: 12px; line-height: 1.6; color: var(--ink); }
.volume-status { display: block; margin-top: 5px; font-size: 9px; line-height: 1.5; color: #5d6870; }
.available .volume-title { font-weight: bold; }
.available .volume-status { color: var(--blue); font-weight: bold; }
.section .collection-note { margin: 14px 0 0; padding-top: 18px; border-top: 1px solid #d8d4c5; font-size: 10px; line-height: 1.8; }
.authorsection { display: grid; grid-template-columns: 160px 1fr; gap: 28px; }
.monogram { background: #e7e5db; display: grid; place-content: center; text-align: center; min-height: 210px; font: 70px Georgia, serif; color: var(--blue); }
.monogram small { font: 9px Arial, sans-serif; letter-spacing: 2px; margin-top: 15px; }
.authorsection h2 { margin-top: 13px; }
.instagram-link { display: inline-flex; align-items: center; gap: 8px; }
.instagram-link svg { width: 17px; height: 17px; }
.editorial-section h2 { margin-top: 18px; }
.adslabel { font-size: 9px; color: #666f70; letter-spacing: 2px; text-align: center; margin: 0 0 12px; }
.ad { padding: 25px 23px; margin-bottom: 20px; position: relative; overflow: hidden; }
.ad .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
.ad h2 { font: 31px/1.1 Georgia, serif; margin: 21px 0 15px; }
.ad p { font-size: 11px; line-height: 1.7; }
.ad a { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid rgba(255, 255, 255, .35); padding-top: 15px; padding-bottom: 5px; margin-top: 25px; font-size: 10px; min-height: 44px; }
.ad a:hover { text-decoration: underline; text-underline-offset: 4px; }
.adblue { background: var(--blue); color: #fff; min-height: 320px; }
.adblue::after { content: 'V'; font: 240px Georgia, serif; position: absolute; right: -30px; bottom: -90px; opacity: .08; pointer-events: none; }
.adgold { background: #ded1ac; min-height: 265px; }
.adgold a { border-color: rgba(18, 43, 64, .3); }
.site-footer { padding: 35px 0 25px; display: flex; justify-content: space-between; gap: 25px; font-size: 10px; color: #5b6972; line-height: 1.8; }
.footer-legal { text-align: right; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-legal nav a { font-size: 10px; padding: 8px 0; display: inline-block; min-height: 34px; }
.footer-legal nav a:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--blue); }

/* Información legal: accesible desde el pie, fuera del contenido promocional. */
.legal-header .headnote { display: block; }
.legal-main { max-width: 800px; margin: 0 auto; padding: 40px 0 55px; }
.backlink { font-size: 11px; display: inline-block; padding: 10px 0; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.backlink:hover { border-color: var(--ink); }
.legal-main h1 { font: 44px/1.15 Georgia, serif; font-weight: normal; margin: 14px 0; }
.legal-date { font-size: 11px; color: var(--muted); margin-bottom: 28px; }
.legal-intro { border-top: 1px solid var(--line); padding-top: 20px; }
.legal-main h2 { font: 23px/1.35 Georgia, serif; margin: 32px 0 12px; }
.legal-main p, .legal-main li, .legal-main address { font-size: 13px; line-height: 1.85; color: var(--muted); }
.legal-main address { font-style: normal; padding-left: 18px; border-left: 2px solid var(--gold); margin: 16px 0; }
.legal-main ul, .legal-main ol { padding-left: 23px; }
.legal-main li { margin: 8px 0; }
.legal-main a:not(.backlink) { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: break-word; }
.legal-main .legal-links { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 35px; font-size: 11px; }
.not-found-main { min-height: 55vh; }

@media (min-width: 1500px) {
  .hero h1 { font-size: 68px; }
}
@media (max-width: 1150px) {
  .headnote { display: none; }
}
@media (max-width: 1050px) {
  .wrap { padding: 0 25px; }
  .layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 570px; }
  .stage { height: 360px; }
  .hero .intro { padding-top: 30px; }
  .book { transform: rotate(-6deg); }
  .site-header nav { gap: 18px; }
  .collection-intro { display: block; }
  .collection-intro p { margin-top: 12px; }
  .volume-list { grid-template-columns: 1fr; }
  .volume-list li { min-height: auto; }
  .authorsection { grid-template-columns: 120px 1fr; gap: 22px; }
  .monogram { font-size: 60px; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .top { font-size: 8px; letter-spacing: 1.4px; }
  .site-header { flex-wrap: wrap; gap: 18px; padding: 24px 0 18px; }
  .brand { font-size: 30px; }
  .site-header nav { font-size: 11px; gap: 20px; width: 100%; flex-wrap: wrap; }
  .layout { display: block; margin-top: 16px; }
  .hero h1 { font-size: clamp(42px, 7.3vw, 49px); letter-spacing: -1.6px; }
  .hero p { max-width: 100%; }
  .hero .intro { padding-top: 25px; }
  .stage { height: 380px; }
  .feature { grid-template-columns: 48px 1fr; gap: 16px; }
  .number { font-size: 47px; }
  .feature h3 { font-size: 25px; }
  .sectionhead { align-items: flex-start; }
  .sectionhead h2 { font-size: 29px; }
  .sectionhead .eyebrow { max-width: 100px; text-align: right; }
  .collection-announcement { padding: 22px 20px 18px; }
  .volume-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .volume-list li { min-height: 90px; }
  .authorsection { grid-template-columns: 110px 1fr; gap: 20px; }
  .monogram { min-height: 180px; }
  aside { margin-top: 30px; }
  .adslabel { text-align: left; }
  .ad { min-height: 230px; }
  .site-footer { flex-wrap: wrap; margin-top: 5px; gap: 16px 25px; }
  .footer-legal { text-align: left; width: 100%; }
  .hero-secondary { margin-left: 14px; }
  .legal-header .headnote { font-size: 9px; letter-spacing: 1px; }
  .legal-main { padding-top: 24px; }
  .legal-main h1 { font-size: 37px; }
}
@media (max-width: 520px) {
  .volume-list { grid-template-columns: 1fr; }
  .volume-list li { min-height: auto; }
  .collection-announcement { padding-left: 18px; padding-right: 18px; }
  .authorsection { grid-template-columns: 1fr; }
  .monogram { min-height: 150px; }
  .purchase-options .btn { min-width: 170px; }
  .sectionhead { flex-wrap: wrap; gap: 13px; }
  .sectionhead .eyebrow { text-align: left; max-width: none; }
  .legal-header .headnote { display: none; }
}
@media (max-width: 350px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 38px; }
  .site-header nav { gap: 15px; font-size: 10px; }
  .feature { grid-template-columns: 1fr; }
  .number { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .detail-plus { transition: none; }
  .btn:hover { transform: none; }
}
