a,
a:link,
a:visited,
a:hover,
a:active,
a:focus { color: inherit; text-decoration: none; }
.lumina-header a,
.lumina-header a:link,
.lumina-header a:visited,
.lumina-header a:hover,
.lumina-header a:active,
.lumina-header a:focus,
.lumina-footer a,
.lumina-footer a:link,
.lumina-footer a:visited,
.lumina-footer a:hover,
.lumina-footer a:active,
.lumina-footer a:focus { color: inherit; text-decoration: none; }

.lumina-brand { display: flex; align-items: center; height: 100%; }
.lumina-brand img { display: block; }
.image-band-content { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: none; padding: 60px 24px; margin: auto; text-align: center; }
.image-band-content h2 { max-width: 780px; }
.image-band-content > p:last-child { max-width: 430px; margin-right: auto; margin-left: auto; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 2px 10px rgba(0,0,0,.35); }
.lumina-header nav a,
.lumina-header nav a:hover,
.lumina-header nav a:focus { color: #fff; text-decoration: none; }
.lumina-footer-meta { text-align: right; }
.lumina-partners { display: flex; justify-content: flex-end; align-items: center; gap: 22px; margin-top: 18px; }
.lumina-partners img { width: 92px; height: 38px; object-fit: contain; }
@media (max-width: 760px) {
  .lumina-footer-meta { text-align: left; }
  .lumina-partners { justify-content: flex-start; }
}
.lumina {
  --night: #1B9B85;
  --blue: #28B698;
  --cream: #F8F5EC;
  --gold: #FEDC5C;
  --olive: #8EB34D;
  --muted: #4A4A4A;
  --line: #d9e5dc;
}
:root {
  --night: #1B9B85;
  --blue: #28B698;
  --cream: #F8F5EC;
  --gold: #FEDC5C;
  --olive: #8EB34D;
  --muted: #4A4A4A;
  --line: #d9e5dc;
}
.lumina-header { border: 0; }
.lumina-header nav a { color: #fff; }
.lumina-header .header-button,
.lumina-header .header-button:link,
.lumina-header .header-button:visited,
.lumina-header .header-button:hover,
.lumina-header .header-button:active,
.lumina-header .header-button:focus { background: var(--gold); color: var(--night); border-radius: 99px; }
.lumina-hero .hero-shade { background: linear-gradient(90deg, rgba(27,155,133,.9), rgba(27,155,133,.2) 68%), linear-gradient(0deg, rgba(27,155,133,.55), transparent 55%); }
.overline span, .amenity-grid article > span { color: var(--olive); }
.hero-copy h1 em, .contact-copy h2 em, h2 em { color: var(--olive); }
.image-band:after { background: linear-gradient(180deg, rgba(15,24,39,.62), rgba(15,24,39,.28) 45%, rgba(15,24,39,.62)); }
.contact-section { background: var(--blue); }
.contact-copy h2 em { color: var(--cream); }
.feature-copy .overline span { color: var(--gold); }
.lumina-header nav.open { display: flex; }
@media (max-width: 760px) {
  .lumina-header nav { display: none; position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; gap: 18px; padding: 24px; border-radius: 0 0 24px 24px; background: var(--night); box-shadow: 0 14px 24px rgba(18,27,43,.2); }
  .lumina-header nav.open { display: flex; }
  .lumina-header nav a { padding: 10px 0; font-size: 14px; }
  .menu-button { padding: 13px 16px; font-size: 14px; }
  .hero-meta { font-size: 12px; }
  .amenity-grid { grid-template-columns: 1fr; gap: 12px; }
}
section[id] { scroll-margin-top: 88px; }

/* Lumina image set: nuevas imágenes 2026-09-14 desde jipg/photos/lumina. */
.hero-photo { background-image: url('../images/fachada.webp'); }
.image-band-photo { background-image: url('../images/piscina.webp'); }
.feature-image { background-image: url('../images/gimnasio.webp'); }

/* Masonry editorial — galería de espacios y amenidades */
.masonry-section {
  width: min(1440px, calc(100% - 32px));
  margin: auto;
  padding: 110px 0 90px;
}

.masonry-section .section-heading {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 36px;
}

.masonry-section .gallery-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 0.9fr;
  grid-template-rows: minmax(280px, 38vh) minmax(280px, 38vh);
  gap: 16px;
  min-height: min(820px, 82vh);
}

.masonry-section .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  margin: 0;
  cursor: zoom-in;
  background: #1b2a24;
}

.masonry-section .gallery-large {
  grid-column: 1;
  grid-row: 1 / 3;
}

.masonry-section .gallery-tall {
  grid-column: 2 / 4;
  grid-row: 1;
}

.masonry-section .gallery-small {
  grid-column: 2;
  grid-row: 2;
}

.masonry-section .gallery-wide {
  grid-column: 3;
  grid-row: 2;
}

.amenities-masonry .gallery-wide {
  grid-column: 2 / 4;
  grid-row: 2;
}

.masonry-section .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transform: scale(1.01);
  transition: transform 0.7s ease;
}

.masonry-section .gallery-item:hover img {
  transform: scale(1.06);
}

.masonry-section .gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 56px 26px 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 22, 20, 0.78) 100%);
  border: 0;
  border-radius: 0;
}

.masonry-section .gallery-item figcaption span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 700;
}

/* Plantas tipo */
.plans {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: center;
  width: min(1440px, calc(100% - 48px));
  margin: auto;
  padding: 110px 0;
}

.plans-copy h2 {
  margin: 18px 0 22px;
}

.plans-copy > p {
  max-width: 460px;
  color: var(--muted);
  line-height: 1.75;
}

.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}

.plan-tabs button {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--muted);
  font: 700 12px var(--sans);
  cursor: pointer;
}

.plan-tabs button.active {
  border-color: var(--night);
  background: var(--night);
  color: #fff;
}

.plan-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.plan-image {
  display: none;
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: contain;
  cursor: zoom-in;
  background: #fff;
}

.plan-image.active {
  display: block;
}

.plan-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(248, 245, 236, 0.92);
  color: var(--night);
  font: 700 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 27, 43, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .masonry-section .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(420px, 52vh) minmax(240px, 32vh);
    min-height: 0;
  }
  .masonry-section .gallery-large { grid-column: 1 / 3; grid-row: 1; }
  .masonry-section .gallery-tall { grid-column: 1 / 3; grid-row: 2; }
  .masonry-section .gallery-small { grid-column: 1; grid-row: 3; min-height: 260px; }
  .masonry-section .gallery-wide { grid-column: 2; grid-row: 3; min-height: 260px; }
  .amenities-masonry .gallery-wide { grid-column: 1 / 3; grid-row: 3; min-height: 280px; }
  .plans {
    display: block;
    width: calc(100% - 32px);
    padding: 80px 0;
  }
  .plan-visual { min-height: 420px; margin-top: 32px; }
  .plan-image { max-height: 560px; }
}

@media (max-width: 768px) {
  .masonry-section { width: calc(100% - 24px); padding: 80px 0 64px; }
  .masonry-section .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }
  .masonry-section .gallery-large,
  .masonry-section .gallery-tall,
  .masonry-section .gallery-small,
  .masonry-section .gallery-wide,
  .amenities-masonry .gallery-wide {
    grid-column: 1;
    grid-row: auto;
    min-height: 320px;
  }
  .masonry-section .gallery-large { min-height: 420px; }
}

/* WhatsApp CTA */
.whatsapp-cta,
.whatsapp-cta:link,
.whatsapp-cta:visited,
.whatsapp-cta:hover,
.whatsapp-cta:active,
.whatsapp-cta:focus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 20px;
  border-radius: 99px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.whatsapp-cta:hover { filter: brightness(0.95); }
.whatsapp-cta span { margin-left: 2px; }
.whatsapp-cta svg { width: 15px; height: 15px; flex: none; }
