.mrhp-hero {
  position: relative;
  min-height: 72vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}

.mrhp-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1545987796-200677ee1011?auto=format&fit=crop&w=2400&q=85') center center / cover no-repeat;
  transform: scale(1.03);
  filter: saturate(0.72) contrast(1.08) brightness(0.72);
  z-index: -3;
}

.mrhp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
}

.mrhp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 43%, rgba(0, 0, 0, 0.22) 100%),
    radial-gradient(circle at 76% 28%, rgba(201, 173, 122, 0.16), transparent 34%);
  z-index: -2;
}

.mrhp-hero-content {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  color: #fff;
  padding: 76px 0 44px;
  box-sizing: border-box;
}

.mrhp-kicker,
.mrhp-eyebrow {
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 12px;
  color: #d9c4a7;
  font-weight: 800;
}

.mrhp-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.7vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  max-width: 780px;
  margin: 18px 0 24px;
  font-weight: 400;
  color: #fff;
}

.mrhp-lead {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

.mrhp-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Hide scroll indicator on desktop; keep visible on mobile/tablet */
.mrhp-scroll {
  display: none;
}

@media (max-width: 1024px) {
  .mrhp-scroll {
    display: block;
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: scroll-indicator 2s infinite;
  }

  @keyframes scroll-indicator {
    0%, 100% {
      opacity: 0.4;
      transform: translateX(-50%) translateY(0);
    }
    50% {
      opacity: 1;
      transform: translateX(-50%) translateY(6px);
    }
  }
}

/* Lightbox modal para Fragmentos visuales */
.mrhp-gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.mrhp-gallery-lightbox.active {
  display: flex;
}

.mrhp-gallery-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
}

.mrhp-gallery-lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;

}

.mrhp-gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: grid;
  place-items: center;
  transition: 0.25s;
}

.mrhp-gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.mrhp-gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: grid;
  place-items: center;
  transition: 0.25s;
}

.mrhp-gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.mrhp-gallery-lightbox-prev {
  left: 20px;
}

.mrhp-gallery-lightbox-next {
  right: 20px;
}

.mrhp-intro-alt {
  background: linear-gradient(120deg, #f4f0e8 80%, #e7e0d6 100%);
  padding-top: 90px;
  padding-bottom: 90px;
}

.mrhp-intro-alt-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.mrhp-intro-alt-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.mrhp-intro-alt-title {
  font-family: Georgia, serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 18px 0;
  color: #111;
}

.mrhp-intro-alt-sub {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 400;
  color: #b8aa92;
  margin: 0 0 32px 0;
  max-width: 700px;
}

.mrhp-intro-alt-lead {
  font-size: 1.25rem;
  color: #514c45;
  line-height: 1.7;
  max-width: 540px;
  margin: 0;
}

.mrhp-intro-alt-panel {
  background: #111;
  color: #fff;
  border-radius: 32px;
  padding: 48px 38px 38px 38px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 320px;
  max-width: 420px;
}

.mrhp-intro-alt-panel blockquote {
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  margin: 0 0 18px 0;
  color: #fff;
  line-height: 1.4;
}

.mrhp-intro-alt-panel cite {
  font-size: 1rem;
  color: #d9c4a7;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .mrhp-intro-alt-shell {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .mrhp-intro-alt-panel {
    max-width: 100%;
    min-width: 0;
    align-items: center;
    text-align: center;
  }
}

.mrhp-intro {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 240, 232, 0.98));
}

.mrhp-intro-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: stretch;
}

.mrhp-intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mrhp-intro-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
  color: #111;
  max-width: 820px;
}

.mrhp-intro-lead {
  font-size: 19px;
  line-height: 1.75;
  color: #514c45;
  max-width: 520px;
  margin: 0;
}

.mrhp-intro-panel {
  background: linear-gradient(180deg, #111 0%, #171717 100%);
  color: #fff;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mrhp-panel-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  color: #d5c5a2;
  margin: 0 0 8px;
}

.mrhp-intro-panel strong {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 16px;
}

.mrhp-intro-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #e7e0d6;
  line-height: 1.7;
}

.mrhp-section.dark {
  background: #080808;
  color: #fff;
}

.mrhp-section.dark .mrhp-section-head h2 {
  color: #fff;
}

.mrhp-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 52px;
}

.mrhp-gallery article {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: 28px;
  background: #222;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: flex-end;
}

.mrhp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(24%) brightness(0.82);
  transition: 0.7s;
}

.mrhp-gallery article:hover img {
  transform: scale(1.07);
  filter: grayscale(0) brightness(0.95);
}

.mrhp-gallery span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
}

.mrhp-experience {
  background: #080808;
}

.mrhp-experience .mrhp-section-head h2 {
  max-width: 900px;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.02;
  color: #fff;
}

.mrhp-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mrhp-experience-grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.mrhp-experience-grid span {
  display: inline-block;
  color: var(--mr-gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  margin-bottom: 14px;
}

.mrhp-experience-grid h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 10px;
  color: #fff;
}

.mrhp-experience-grid p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
  font-size: 16px;
}

.mrhp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.mrhp-cards article {
  background: #fff;
  padding: 42px;
  border-radius: 30px;
  min-height: 250px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
}

.mrhp-readmore {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
}

.mrhp-cards .mrhp-readmore {
  margin-top: auto;
}

.mrhp-quote {
  background: #111;
  color: #fff;
  padding: 110px max(28px, calc((100% - 1140px) / 2));
  text-align: center;
  box-sizing: border-box;
}

.mrhp-quote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5.3vw, 68px);
  line-height: 1.05;
  margin: 0;
  color: #fff;
}

.mrhp-reserve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #e7e0d6;
}

.mrhp-reserve .mrhp-btn.primary {
  background: #111;
  color: #fff !important;
  border-color: #111;
}

.mrhp-gallery-action {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

.mrhp-gallery-action .mrhp-btn {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
}

.mrhp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.mrhp-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.mrhp-lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
  transform: scale(0.96);
  transition: transform 0.35s ease;
}

.mrhp-lightbox.active img {
  transform: scale(1);
}

.mrhp-lightbox-close {
  position: absolute;
  top: 28px;
  right: 34px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.mrhp-lightbox-close:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 1100px) {
  .mrhp-hero {
    min-height: 82vh;
  }

  .mrhp-hero-content {
    padding-top: 118px;
    width: calc(100% - 36px);
  }

  .mrhp-grid.two,
  .mrhp-cards,
  .mrhp-gallery,
  .mrhp-footer {
    grid-template-columns: 1fr;
  }

  .mrhp-gallery article {
    height: 420px;
    margin-top: 0;
  }

  .mrhp-reserve {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .mrhp-hero {
    min-height: 86vh;
    align-items: center;
  }

  .mrhp-hero-content {
    width: calc(100% - 32px);
    padding: 110px 0 50px;
  }

  .mrhp-hero h1 {
    font-size: clamp(42px, 13vw, 68px);
    line-height: 0.96;
    margin: 18px 0 22px;
  }

  .mrhp-kicker,
  .mrhp-eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .mrhp-lead {
    font-size: 16px;
  }

  .mrhp-actions {
    gap: 12px;
    margin-top: 30px;
  }

  .mrhp-gallery article {
    height: 340px;
    border-radius: 22px;
  }

  .mrhp-cards article {
    padding: 30px;
    border-radius: 24px;
  }

  .mrhp-quote {
    padding: 86px 22px;
  }

  .mrhp-reserve {
    padding: 50px 24px;
  }
}


/* ==========================================================
   CORRECCIÓN DE ESCALA HOME · Museo Rayo
   Objetivo: evitar que las secciones se vean demasiado anchas,
   controlar títulos grandes y recuperar respiración vertical.
   ========================================================== */

.mrhp-site,
.mrhp-site > main {
  overflow-x: hidden !important;
}

/* Hero principal: un poco más alto, pero más contenido y elegante */
.mrhp-hero {
  min-height: 72vh !important;
  width: 100% !important;
}

.mrhp-hero-content {
  width: min(1120px, calc(100% - 72px)) !important;
  padding: 104px 0 72px !important;
}

.mrhp-hero h1 {
  max-width: 780px !important;
  font-size: clamp(42px, 4.7vw, 74px) !important;
  line-height: .98 !important;
  letter-spacing: -0.045em !important;
}

.mrhp-lead {
  max-width: 620px !important;
  font-size: clamp(16px, 1.15vw, 19px) !important;
}

/* Recupera el padding de secciones que el global.css estaba anulando */
.mrhp-site > main > .mrhp-section {
  padding-top: 92px !important;
  padding-bottom: 92px !important;
  padding-left: clamp(32px, 3vw, 72px) !important;
  padding-right: clamp(32px, 3vw, 72px) !important;
}

/* Encabezados de secciones: evita títulos gigantes cortados o desbordados */
.mrhp-section-head {
  width: min(1180px, calc(100% - 64px)) !important;
  margin: 0 auto 42px !important;
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  align-items: end !important;
  gap: 34px !important;
  overflow: hidden !important;
}

.mrhp-section-head p {
  font-size: 12px !important;
  letter-spacing: .42em !important;
  white-space: nowrap !important;
  color: #b8aa92 !important;
}

.mrhp-section-head h2 {
  max-width: 920px !important;
  margin: 0 !important;
  font-size: clamp(38px, 4.2vw, 72px) !important;
  line-height: .98 !important;
  letter-spacing: .015em !important;
  text-align: right !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* Galería de inicio más contenida */
.mrhp-gallery {
  width: min(1180px, calc(100% - 64px)) !important;
  margin: 42px auto 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

.mrhp-gallery article {
  height: clamp(280px, 22vw, 360px) !important;
  border-radius: 24px !important;
}

/* Cards de eventos más contenidas */
.mrhp-cards {
  width: min(1180px, calc(100% - 64px)) !important;
  margin: 42px auto 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.mrhp-cards article {
  min-height: 230px !important;
  padding: 34px !important;
  border-radius: 24px !important;
}

.mrhp-cards h3 {
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1.12 !important;
  margin: 12px 0 14px !important;
}

/* Experiencia: evita que el título se salga y que la sección se vea gigante */
.mrhp-experience .mrhp-section-head h2 {
  max-width: 820px !important;
  font-size: clamp(34px, 3.9vw, 62px) !important;
}

.mrhp-experience-grid {
  width: min(1180px, calc(100% - 64px)) !important;
  margin: 42px auto 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  background: transparent !important;
  border: 0 !important;
}

.mrhp-experience-grid article {
  min-height: 260px !important;
  padding: 34px !important;
  border-radius: 0 !important;
}

/* Intro y reserva equilibradas */
.mrhp-intro-alt-shell {
  width: min(1180px, calc(100% - 64px)) !important;
  max-width: 1180px !important;
}

.mrhp-reserve {
  width: 100% !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .mrhp-hero {
    min-height: 78vh !important;
  }

  .mrhp-hero-content {
    width: calc(100% - 40px) !important;
    padding: 118px 0 68px !important;
  }

  .mrhp-section-head {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .mrhp-section-head h2 {
    text-align: left !important;
    font-size: clamp(36px, 7vw, 58px) !important;
  }

  .mrhp-gallery,
  .mrhp-cards,
  .mrhp-experience-grid {
    grid-template-columns: 1fr !important;
    width: min(760px, calc(100% - 40px)) !important;
  }
}

@media (max-width: 640px) {
  .mrhp-site > main > .mrhp-section {
    padding: 70px 20px !important;
  }

  .mrhp-hero {
    min-height: 82vh !important;
  }

  .mrhp-hero-content {
    width: calc(100% - 32px) !important;
    padding: 110px 0 56px !important;
  }

  .mrhp-hero h1 {
    font-size: clamp(38px, 11vw, 56px) !important;
  }

  .mrhp-section-head,
  .mrhp-gallery,
  .mrhp-cards,
  .mrhp-experience-grid,
  .mrhp-intro-alt-shell {
    width: 100% !important;
  }
}

.mrhp-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

