/* Rediseño acotado a la portada. El resto del sitio conserva styles.css. */
body{background:#f4f0e8;color:#252522}
.home-header{background:rgba(250,248,243,.97)!important;border-bottom:1px solid #d8cfc2}
.home-header .nav{min-height:72px;padding:8px 0;max-width:1460px}
.home-header .signature-brand{width:240px;max-width:240px;flex:0 0 auto}
.home-header .brand-signature{max-height:58px}
.home-header .menu{display:flex;align-items:center;gap:clamp(12px,1.5vw,24px);flex-wrap:nowrap;font-size:.9rem}
.home-header .menu a{white-space:nowrap;color:#383631}
.home-header .menu a[aria-current=page]{color:#874735;text-decoration:underline;text-underline-offset:9px}
.home-mobile-nav{display:none}
.home-editorial-hero{padding:0!important;background:#f4f0e8!important;overflow:visible}
.home-editorial-hero::before{display:none!important}
.home-hero-grid{display:grid;grid-template-columns:minmax(0,48%) minmax(0,52%);gap:0;max-width:1460px;min-height:610px;align-items:stretch}
.home-hero-copy{padding:clamp(42px,5vw,76px) clamp(20px,3.2vw,52px) 40px 0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.home-editorial-hero .home-hero-copy p{margin:0;max-width:none;line-height:1.35;text-align:left}
.home-editorial-hero .home-eyebrow{font-size:.78rem!important;font-weight:800;letter-spacing:.28em;text-transform:uppercase;color:#874735!important;margin-bottom:12px!important}
.home-hero-signature{display:block;width:min(100%,330px);height:auto;max-height:105px;object-fit:contain;object-position:left center;margin:0 0 14px}
.home-editorial-hero .home-role{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.1rem,1.6vw,1.5rem)!important;letter-spacing:.08em;color:#383631!important;margin:0 0 10px!important}
.home-hero-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(3rem,4.3vw,5.3rem);line-height:.99;letter-spacing:-.05em;color:#252522;margin:0 0 18px;max-width:11.5ch;text-wrap:balance}
.home-editorial-hero .home-subtitle{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.2rem,2vw,1.75rem)!important;color:#3e3b36!important;margin:0 0 14px!important}
.home-editorial-hero .home-themes{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.05rem,1.5vw,1.3rem)!important;font-weight:700;color:#874735!important;margin:0 0 26px!important}
.home-themes span{padding:0 .2em;color:#a65c45}
.home-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 18px}
.home-hero-actions .btn{min-height:50px;display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;border-radius:5px;font-weight:700;box-shadow:none}
.home-hero-actions .btn.primary{background:#a65c45;border-color:#a65c45;color:#fff}
.home-hero-actions .btn.primary:hover{background:#874735;border-color:#874735}
.home-hero-actions .btn.secondary{background:transparent;border:1px solid #a65c45;color:#874735}
.home-hero-actions .btn.secondary:hover{background:#f8f4ed}
.home-hero-actions .btn span{margin-left:12px}
.home-editorial-hero .home-shipping{font-size:.92rem!important;color:#59564f!important}
.home-hero-photo{overflow:hidden;min-height:610px;background:#d8cfc2}
.home-hero-photo img{display:block;width:100%;height:100%;max-height:710px;object-fit:cover;object-position:center 30%}
.home-entry-points{padding:26px 0 38px;background:#faf8f3}
.home-entry-grid{max-width:1460px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home-entry-grid>a{display:block;min-height:180px;padding:24px 24px 20px;background:#f8f4ed;border:1px solid #d8cfc2;border-radius:10px;color:#252522;text-decoration:none;box-shadow:0 3px 10px rgba(37,37,34,.04);transition:transform .2s ease,box-shadow .2s ease}
.home-entry-grid>a:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(37,37,34,.09)}
.home-entry-grid span{display:block;font-size:.72rem;letter-spacing:.12em;color:#a65c45;font-weight:800;margin-bottom:14px}
.home-entry-grid h2{font-family:Georgia,'Times New Roman',serif;font-size:1.5rem;line-height:1.1;margin:0 0 8px;color:#252522}
.home-entry-grid p{font-size:.91rem;line-height:1.5;color:#66635d;margin:0 0 14px}
.home-entry-grid strong{font-size:.9rem;color:#874735}
.home-header a:focus-visible,.home-mobile-nav summary:focus-visible,.home-hero-actions a:focus-visible,.home-entry-grid a:focus-visible{outline:3px solid #a65c45;outline-offset:3px}
@media(max-width:1100px){.home-header .signature-brand{width:190px;max-width:190px}.home-header .menu{gap:11px;font-size:.82rem}.home-hero-grid{min-height:560px}.home-hero-photo{min-height:560px}.home-hero-copy h1{font-size:clamp(2.8rem,4.2vw,4.3rem)}}
@media(max-width:900px){.home-header .menu{display:none}.home-mobile-nav{display:block;position:relative}.home-mobile-nav summary{list-style:none;cursor:pointer;min-height:44px;padding:11px 18px;border:1px solid #d8cfc2;border-radius:6px;color:#252522;font-weight:700}.home-mobile-nav summary::-webkit-details-marker{display:none}.home-mobile-nav nav{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:min(80vw,280px);display:flex;flex-direction:column;padding:12px;background:#faf8f3;border:1px solid #d8cfc2;border-radius:10px;box-shadow:0 16px 32px rgba(0,0,0,.14)}.home-mobile-nav nav a{display:block;padding:10px 12px;color:#252522}.home-hero-grid{grid-template-columns:1fr 1fr}.home-hero-copy{padding:34px 18px 32px 0}.home-hero-copy h1{font-size:clamp(2.6rem,5vw,4rem)}.home-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.home-header .nav{min-height:62px}.home-header .signature-brand{width:190px;max-width:190px}.home-editorial-hero{padding:0!important}.home-hero-grid{display:flex;flex-direction:column;min-height:0}.home-hero-copy{padding:32px 0 24px}.home-hero-signature{width:min(100%,300px);max-height:88px}.home-hero-copy h1{font-size:clamp(2.5rem,11vw,4rem);max-width:12ch}.home-editorial-hero .home-subtitle{font-size:1.3rem!important}.home-editorial-hero .home-themes{font-size:1.05rem!important;margin-bottom:22px!important}.home-hero-actions{width:100%;flex-direction:column}.home-hero-actions .btn{width:100%;min-height:48px}.home-hero-photo{min-height:0;aspect-ratio:4/5;border-radius:10px 10px 0 0}.home-hero-photo img{max-height:none;object-position:center 27%}.home-entry-points{padding:20px 0 30px}.home-entry-grid{grid-template-columns:1fr;gap:12px}.home-entry-grid>a{min-height:0;padding:20px}}
@media(prefers-reduced-motion:reduce){.home-entry-grid>a{transition:none}.home-entry-grid>a:hover{transform:none}}

/* Integración editorial inspirada en la maqueta elegida. */
.home-header .signature-brand{display:flex;flex-direction:column;align-items:flex-start;gap:0;text-decoration:none}
.home-header .brand-signature{width:100%;max-height:44px;object-position:left center}
.home-brand-tagline{display:block;margin-top:-3px;padding-left:3px;font-family:Georgia,'Times New Roman',serif;font-size:.55rem;letter-spacing:.27em;text-transform:uppercase;color:#6d6258;white-space:nowrap}
.home-editorial-hero{position:relative;background:#f4f0e8 url('../img/home-editorial-room.webp') center center/cover no-repeat!important;overflow:hidden}
.home-editorial-hero::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(250,248,243,.99) 0%,rgba(250,248,243,.97) 32%,rgba(250,248,243,.78) 47%,rgba(250,248,243,.04) 70%)}
.home-hero-grid{position:relative;z-index:1;min-height:700px}
.home-hero-copy{position:relative;z-index:2;padding-top:56px;padding-bottom:40px}
.home-hero-copy h1{font-size:clamp(3rem,4.65vw,5.4rem);max-width:13ch;margin-bottom:20px}
.home-editorial-hero .home-eyebrow{margin-bottom:24px!important}
.home-editorial-hero .home-role{margin-bottom:14px!important}
.home-editorial-hero .home-themes{margin-bottom:30px!important}
.home-hero-actions{margin-bottom:24px}
.home-hero-actions .btn{min-width:185px;letter-spacing:.04em}
.home-editorial-hero .home-shipping{margin-bottom:0!important}
.home-quote{margin:34px 0 0;max-width:380px;transform:rotate(-2deg)}
.home-editorial-hero .home-quote p{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:1.05rem!important;line-height:1.35!important;color:#615b55!important}
.home-quote img{display:block;width:165px;height:auto;max-height:52px;object-fit:contain;object-position:left center;margin:3px 0 0 120px}
.home-hero-photo{position:relative;min-height:700px;background:transparent;overflow:visible}
.home-hero-photo img{position:absolute;right:-2%;top:0;width:102%;height:100%;max-height:none;object-fit:cover;object-position:center 27%;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 21%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 21%,#000 100%)}
.home-editorial-hero .home-photo-note{position:absolute;right:10px;bottom:50px;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:1.1rem!important;line-height:1.35!important;color:#fff!important;text-align:right;transform:rotate(-6deg);text-shadow:0 2px 8px rgba(0,0,0,.5)}
.home-entry-points{position:relative;padding:28px 0 24px;background:#faf8f3}
.home-entry-grid{gap:15px}
.home-entry-grid>a{display:grid;grid-template-columns:105px minmax(0,1fr);align-items:center;gap:10px;min-height:155px;padding:14px 16px;background:rgba(250,248,243,.96);border-radius:8px}
.home-entry-grid>a img{display:block;width:105px;height:112px;object-fit:contain;mix-blend-mode:multiply}
.home-entry-grid h2{font-size:1.48rem}
.home-entry-grid p{font-size:.88rem;margin-bottom:10px}
.home-entry-grid strong{font-family:Georgia,'Times New Roman',serif;font-size:.95rem;font-weight:400}
.home-entry-caption{text-align:center;margin:24px 0 0;font-size:.68rem;letter-spacing:.34em;font-weight:700;text-transform:uppercase;color:#74675b}
@media(max-width:1300px){.home-entry-grid>a{grid-template-columns:80px minmax(0,1fr);padding:14px 10px;gap:8px}.home-entry-grid>a img{width:80px;height:96px}.home-entry-grid h2{font-size:1.3rem}.home-entry-grid p{font-size:.8rem}.home-entry-grid strong{font-size:.85rem}}
@media(max-width:1100px){.home-hero-grid{min-height:620px}.home-hero-photo{min-height:620px}.home-hero-copy h1{font-size:clamp(2.7rem,4.5vw,4.2rem)}.home-quote{margin-top:20px}.home-editorial-hero .home-photo-note{right:2px}}
@media(max-width:900px){.home-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-entry-grid>a{grid-template-columns:100px minmax(0,1fr);padding:16px}.home-entry-grid>a img{width:100px;height:105px}}
@media(max-width:767px){.home-editorial-hero{background-position:center top!important}.home-editorial-hero::after{background:linear-gradient(180deg,rgba(250,248,243,.99) 0%,rgba(250,248,243,.98) 57%,rgba(250,248,243,.18) 100%)}.home-hero-grid{min-height:0}.home-hero-copy{padding:34px 0 24px}.home-hero-copy h1{font-size:clamp(2.5rem,10.6vw,4rem)}.home-editorial-hero .home-eyebrow{margin-bottom:16px!important}.home-quote{display:none}.home-hero-photo{min-height:0;aspect-ratio:4/5;overflow:hidden;border-radius:10px 10px 0 0}.home-hero-photo img{right:0;top:0;width:100%;height:100%;object-position:center 27%;-webkit-mask-image:none;mask-image:none}.home-editorial-hero .home-photo-note{right:18px;bottom:24px}.home-entry-grid{grid-template-columns:1fr}.home-entry-grid>a{grid-template-columns:105px minmax(0,1fr);padding:13px 18px;min-height:130px}.home-entry-grid>a img{width:105px;height:108px}}

/* La fotografía auténtica se muestra completa y se funde con el ambiente.
   No se recortan ni se regeneran rostro, frente, barba o cuerpo. */
.home-editorial-hero::after{background:linear-gradient(90deg,rgba(250,248,243,.99) 0%,rgba(250,248,243,.95) 34%,rgba(250,248,243,.55) 52%,rgba(250,248,243,0) 76%)}
.home-hero-photo img{right:0;top:0;width:auto;height:100%;max-width:none;object-fit:contain;object-position:center center;-webkit-mask-image:radial-gradient(ellipse 83% 88% at 52% 47%,#000 57%,transparent 98%);mask-image:radial-gradient(ellipse 83% 88% at 52% 47%,#000 57%,transparent 98%)}
@media(max-width:767px){
  .home-editorial-hero{background-size:auto 100%!important;background-position:center bottom!important}
  .home-editorial-hero::after{background:linear-gradient(180deg,rgba(250,248,243,.99) 0%,rgba(250,248,243,.97) 54%,rgba(250,248,243,.12) 100%)}
  .home-hero-copy{padding:30px 0 22px}
  .home-hero-photo{width:100%;min-height:0;height:auto;aspect-ratio:747/965;overflow:visible;border-radius:0}
  .home-hero-photo img{position:relative;display:block;width:100%;height:auto;max-width:100%;object-fit:contain;-webkit-mask-image:radial-gradient(ellipse 95% 90% at 50% 43%,#000 72%,transparent 100%);mask-image:radial-gradient(ellipse 95% 90% at 50% 43%,#000 72%,transparent 100%)}
  .home-editorial-hero .home-photo-note{right:7%;bottom:8%;font-size:clamp(.85rem,3vw,1rem)!important}
  .home-entry-points{padding-top:18px}
}

/* Fotografía de biblioteca proporcionada por el autor: una sola imagen,
   sin unión visible de escenas ni modificaciones del rostro. */
.home-editorial-hero{background:#f4f0e8!important}
.home-editorial-hero::after{display:none}
.home-hero-grid{position:relative;display:grid;grid-template-columns:48% 52%;isolation:isolate}
.home-hero-copy{grid-column:1;position:relative;z-index:2}
.home-hero-photo{position:absolute;z-index:1;inset:0 0 0 auto;width:63%;min-height:0;height:100%;overflow:hidden;background:transparent}
.home-hero-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 42%;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 13%,#000 31%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 13%,#000 31%,#000 100%)}
.home-editorial-hero .home-photo-note{right:4%;bottom:7%}
@media(max-width:1100px){.home-hero-photo{width:60%}.home-hero-photo img{object-position:53% center}.home-hero-copy{padding-right:12px}}
@media(max-width:767px){
  .home-hero-grid{display:flex;flex-direction:column}
  .home-hero-copy{grid-column:auto;padding-right:0}
  .home-hero-photo{position:relative;inset:auto;width:100%;height:auto;min-height:0;aspect-ratio:4/5;overflow:hidden;border-radius:12px 12px 0 0}
  .home-hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:52% center;-webkit-mask-image:none;mask-image:none}
  .home-editorial-hero .home-photo-note{right:6%;bottom:5%}
}

/* Líneas editoriales: tarjetas fotográficas y papel cálido de la maqueta. */
.collections-section{position:relative;isolation:isolate;padding:72px 0 48px;background-color:#f8f3eb;background-image:url('../img/editorial-libros-fondo.webp'),url('../img/editorial-hojas-fondo.webp');background-repeat:no-repeat;background-size:min(28vw,460px) auto,min(25vw,370px) auto;background-position:right top,left top;overflow:hidden}
.collections-section .container{position:relative;z-index:1;width:min(calc(100% - 56px),1400px)}
.collections-section .editorial-section-header{display:block;padding:0;margin:0 auto 32px;text-align:center;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.editorial-section-header .section-mini{display:inline-block;padding:8px 18px;border:1px solid #d8b6a4;border-radius:99px;background:rgba(255,255,255,.82);color:#874735;font-size:.8rem;letter-spacing:.12em}
.editorial-section-header .section-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.65rem,4vw,4.35rem);line-height:1.02;letter-spacing:-.035em;color:#252522;margin:18px 0 12px!important}
.editorial-section-header .section-lead{max-width:750px;margin:0 auto!important;font-size:1.05rem;line-height:1.55;color:#59616a}
.editorial-side-quote{position:absolute;top:86px;left:3%;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:1.3rem;line-height:1.2;color:#8c8278;transform:rotate(-4deg);margin:0;z-index:1}
.editorial-collections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:36px}
.editorial-collection{display:grid;grid-template-columns:minmax(150px,35%) minmax(0,1fr);gap:24px;align-items:stretch;padding:18px;border-radius:24px;background:#fff;border:1px solid rgba(99,77,57,.09);box-shadow:0 12px 32px rgba(68,44,25,.07);min-height:238px}
.editorial-collection>img{display:block;width:100%;height:100%;min-height:200px;object-fit:cover;border-radius:13px}
.editorial-collection>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:4px 4px 4px 0}
.editorial-collection>div>span{color:#98503b;font-size:.77rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.editorial-collection h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.42rem,1.75vw,2rem);line-height:1.1;margin:9px 0 12px;color:#252522}
.editorial-collection p{font-size:1rem;line-height:1.48;color:#606973;margin:0 0 12px}
.editorial-collection a{display:inline-flex;align-items:center;min-height:42px;margin-top:auto;color:#954a32;font-size:.95rem;font-weight:750;text-decoration:none}
.editorial-collection a:hover{text-decoration:underline;text-underline-offset:4px}
.editorial-collection a:focus-visible{outline:3px solid #a65c45;outline-offset:3px}
.editorial-closing-quote{margin:30px 0 0;text-align:center;font-family:Georgia,'Times New Roman',serif;font-size:1.2rem;font-style:italic;color:#8c8278}
@media(max-width:1120px){.collections-section{background-size:290px auto,250px auto}.editorial-side-quote{display:none}.editorial-collection{grid-template-columns:34% 1fr;gap:16px;padding:14px;min-height:220px}.editorial-collection>img{min-height:190px}.editorial-collection h3{font-size:1.48rem}.editorial-collection p{font-size:.9rem}}
@media(max-width:800px){.collections-section{padding:54px 0 44px;background-size:230px auto,210px auto}.collections-section .container{width:min(calc(100% - 40px),700px)}.editorial-collections{grid-template-columns:1fr;gap:16px;margin-top:25px}.editorial-collection{grid-template-columns:35% 1fr}.editorial-section-header .section-title{font-size:clamp(2.35rem,6vw,3.4rem)}}
@media(max-width:520px){.collections-section{background-size:150px auto,140px auto;padding:44px 0 36px}.collections-section .container{width:calc(100% - 32px)}.editorial-section-header .section-title{font-size:clamp(2.2rem,10vw,3rem)}.editorial-section-header .section-lead{font-size:.93rem}.editorial-collection{grid-template-columns:110px minmax(0,1fr);gap:12px;padding:10px;min-height:170px;border-radius:18px}.editorial-collection>img{min-height:150px;border-radius:10px}.editorial-collection h3{font-size:1.14rem;margin:5px 0 6px}.editorial-collection p{font-size:.78rem;line-height:1.35;margin:0 0 5px}.editorial-collection>div>span{font-size:.66rem}.editorial-collection a{font-size:.78rem;min-height:34px}.editorial-closing-quote{font-size:1rem}}
