/*
 * El Atlas — Una misma noche, una misma escena.
 * Cabecera y portada muestran recortes consecutivos del mismo paisaje
 * original: fotografía base, luna documental, sombras y niebla integradas.
 * Sin duplicar lunas ni estirar imágenes de móvil en escritorio.
 */
.atlas-masthead{
  background:#04111a;
  border-bottom:1px solid rgba(191,160,111,.47)!important;
}
.atlas-masthead__photo{
  background-image:
    linear-gradient(90deg,rgba(2,9,16,.26),rgba(0,7,14,.27) 32%,rgba(2,9,15,.15) 64%,rgba(3,15,23,.20)),
    url('/assets/backgrounds/atlas-banner-cinematic.webp')!important;
  background-position:center,center!important;
  background-size:cover,cover!important;
  background-repeat:no-repeat!important;
  filter:none!important;
  transform:none!important;
}
.atlas-masthead::before{
  background:radial-gradient(ellipse at 48% 57%,rgba(0,7,14,.46) 0,rgba(0,7,14,.32) 22%,transparent 59%),
             linear-gradient(0deg,rgba(4,16,25,.42),transparent 55%)!important;
}
.atlas-masthead::after{opacity:.2!important}
.atlas-masthead__moon,.atlas-home-hero__moon{display:none!important}
.atlas-masthead__identity{
  filter:drop-shadow(0 5px 8px rgba(0,0,0,.48));
  position:relative;z-index:1;
}
.atlas-masthead__identity img{filter:drop-shadow(0 6px 8px rgba(0,0,0,.55))!important}
.top{border-bottom:1px solid rgba(151,174,183,.33)!important}
.atlas-home-hero{
  background:#04131d!important;
}
.atlas-home-hero__sky{
  background-image:
   linear-gradient(90deg,rgba(1,10,18,.87) 0%,rgba(2,12,22,.74) 20%,rgba(3,17,27,.30) 46%,rgba(1,13,21,.04) 85%),
   linear-gradient(0deg,rgba(3,16,25,.66),transparent 48%,rgba(3,15,24,.12)),
   url('/assets/backgrounds/atlas-hero-cinematic.webp')!important;
  background-position:center,center,center!important;
  background-size:cover,cover,cover!important;
  background-repeat:no-repeat!important;
  filter:none!important;
  transform:none!important;
}
#inicio .atlas-home-hero h1,#inicio .atlas-home-hero p{
  text-shadow:0 3px 14px rgba(0,0,0,.89);
}
#inicio .atlas-home-hero h1:before{
  background:linear-gradient(#ec363a,#a00912);
  box-shadow:0 0 10px rgba(215,33,41,.14)
}
#inicio .atlas-home-hero__stats{
  border:1px solid rgba(133,165,176,.32);
  background:rgba(3,17,26,.79);
  backdrop-filter:blur(5px);
}
@media(max-width:700px){
 .atlas-masthead__photo{
  background-image:linear-gradient(90deg,rgba(2,10,18,.24),rgba(2,12,22,.33)),url('/assets/backgrounds/atlas-banner-mobile.webp')!important;
  background-position:center,center!important;
 }
 .atlas-home-hero__sky{
  background-image:linear-gradient(90deg,rgba(1,10,18,.83),rgba(2,12,22,.63) 52%,rgba(2,13,22,.17)),
       linear-gradient(0deg,rgba(4,16,25,.6),transparent 68%),
       url('/assets/backgrounds/atlas-hero-mobile.webp')!important;
  background-position:center,center,center!important;
 }
 .atlas-masthead__identity{max-width:87vw}
 #inicio .atlas-home-hero__stats{backdrop-filter:none}
}
@media(prefers-reduced-motion:reduce){
 .atlas-masthead__photo,.atlas-home-hero__sky{transition:none!important}
}
