.hero {
  background-image: url('https://propstudios.mx/img/due/Imagenes/Due%20Puerto%20Vallarta%20Roof%20Top.jpg');
}

.brand img {
  width: 80px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .button {
  margin-top: 24px;
}

.menu-info {
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
}

.menu {
  align-items: center;
}

.menu .button {
  margin-top: 0;
  border: 0;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .56) 33%, rgba(0, 0, 0, .09) 70%, rgba(0, 0, 0, .02) 100%);
}

.hero-brand-panel {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 6.2%;
  width: 26.5%;
  background: linear-gradient(180deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, 0) 100%);
}

.hero-brand-panel img {
  width: 78%;
  margin: 40px auto 0;
  display: block;
}

.hero-signature {
  width: 300px;
  height: auto;
  object-fit: contain;
  left: 10.6%;
  bottom: 43px;
}

@media (min-width: 761px) {
  .topbar .brand {
    visibility: hidden;
  }
}

.pillars {
  background: url('https://propstudios.mx/img/due/Imagenes/pilares.jpg') center / cover no-repeat;
  color: #fff;
}

.intro {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(22, 28, 40, .7), rgba(22, 28, 40, .7)),
    url('https://propstudios.mx/img/due/Imagenes/muelle%20puerto%20vallarta.jpg') center / cover no-repeat;
}

.intro > img {
  display: block;
  position: absolute;
  z-index: 1;
  bottom: 7%;
  left: 25%;
  width: 43%;
  height: auto;
  min-height: 0;
  transform: translateX(-50%);
  object-fit: contain;
}

.intro-copy {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  width: 50%;
  max-width: none;
  justify-self: end;
  text-align: right;
}

.district {
  position: relative;
  min-height: 0;
  aspect-ratio: 2000 / 1116;
  display: grid;
  grid-template-columns: 1fr;
  background: #151515;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.district::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, 0) 72%);
}

.district > img {
  display: block;
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.district .section-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  align-self: end;
  justify-self: stretch;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
  padding: 45px 10vw 48px;
}

.district-title h2 {
  margin: 0;
}

.district-text p {
  margin: 0 0 14px;
}

.district-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.amenities h2 em {
  color: var(--copper);
  font-style: normal;
  font-weight: 700;
}

.amenities-card {
  position: absolute;
  right: 9vw;
  bottom: 42px;
  width: 70%;
  margin: 0;
  padding: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 26px;
  text-align: right;
}

.amenities-card ul {
  width: max-content;
  margin: 0;
  text-align: left;
}

footer {
  display: block;
  padding: 28px 5vw 62px;
  text-align: center;
}

.footer-main-logo img {
  display: block;
  width: min(252px, 32vw);
  margin: 0 auto 30px;
}

.footer-details {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

.footer-partner p {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 500;
}

.footer-partner img {
  display: block;
  width: min(210px, 100%);
  max-height: 190px;
  margin: 0 auto;
  object-fit: contain;
}

.footer-contact a,
.footer-contact p {
  color: #f3f1ed;
  font-size: 16px;
  text-decoration: none;
}

.footer-contact p {
  margin: 36px 0 0;
  line-height: 1.5;
}

footer .footer-contact small {
  position: static;
  display: block;
  margin-top: 26px;
  color: #888;
  font-size: 10px;
  line-height: 1.45;
}

.footer-credit {
  margin-top: 34px;
}

.footer-credit a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.footer-credit img {
  display: block;
  width: 108px;
  height: auto;
}

.gallery figure {
  cursor: zoom-in;
}

.gallery figure:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: -3px;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, .92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  display: block;
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 22px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

footer small {
  bottom: 18px;
  font-size: 10px;
}

@media (max-width: 760px) {
  .hero-shade,
  .hero-brand-panel {
    display: none;
  }

  .topbar .brand {
    display: block;
  }

  .topbar {
    height: 112px;
  }

  .brand img {
    width: 201px;
    height: auto;
    filter: none;
  }

  .menu {
    top: 112px;
  }

  .hero-brand-panel {
    left: 0;
    width: 43%;
  }

  .hero-brand-panel img {
    width: 76%;
    margin-top: 25px;
  }

  .hero-signature {
    left: 8%;
    width: 210px;
    bottom: 27px;
  }

  .intro-copy {
    width: 100%;
  }

  .intro > img {
    left: 50%;
    bottom: 5%;
    width: 78%;
  }

  .district {
    min-height: 0;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }

  .district::before {
    display: none;
  }

  .district > img {
    position: static;
    order: 1;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .district .section-copy {
    order: 2;
    width: 100%;
    display: block;
    background: #1f242d;
    padding: 40px 9vw;
  }

  .district-text {
    margin-top: 24px;
    display: block;
  }

  footer {
    padding: 42px 9vw 80px;
  }

  .footer-main-logo img {
    width: min(196px, 49vw);
  }

  .footer-details {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-contact p {
    margin-top: 18px;
  }

  .amenities-card {
    right: 9vw;
    bottom: 30px;
    width: 82vw;
    gap: 16px;
  }
}
