/* Hero de portada: imagen a pantalla completa con velo y titular. */

.rm-hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--rm-negro);
}

.rm-hero__imagen {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.05);
  animation: rm-hero-zoom 16s ease-in-out infinite alternate;
}

@keyframes rm-hero-zoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.14); }
}

.rm-hero__velo {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.15) 0%, rgba(17,17,17,.35) 55%, rgba(17,17,17,.75) 100%);
}

.rm-hero__contenido {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--rm-ancho);
  margin-inline: auto;
  padding: 0 var(--rm-gutter) 100px;
  text-align: center; color: var(--rm-blanco);
}

.rm-hero__etiqueta {
  display: inline-block; font-size: 0.75rem;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--rm-dorado); margin-bottom: 22px;
}

.rm-hero__titulo {
  font-family: var(--rm-serif); font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08; letter-spacing: -0.01em;
  text-wrap: balance; margin: 0 0 22px;
}

.rm-hero__texto {
  font-size: 1.15rem; color: rgba(255, 255, 255, 0.85);
  max-width: 52ch; margin: 0 auto 36px;
}

.rm-hero__flecha {
  position: absolute; bottom: 32px; left: 50%;
  z-index: 2; width: 12px; height: 12px;
  border-right: 1.5px solid rgba(255,255,255,.75);
  border-bottom: 1.5px solid rgba(255,255,255,.75);
  transform: translateX(-50%) rotate(45deg);
  animation: rm-rebote 2.2s ease-in-out infinite;
}

@keyframes rm-rebote {
  0%, 100% { transform: translate(-50%, 0) rotate(45deg); }
  50%      { transform: translate(-50%, 10px) rotate(45deg); }
}

@media (max-width: 782px) {
  .rm-hero__contenido { text-align: left; padding-bottom: 70px; }
  .rm-hero__texto { margin-inline: 0; }
}
