.gallery-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 90px 32px;
}
.gallery-hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1519741497674-611481863552?w=1600&q=85")
    center center / cover no-repeat;
  transform: scale(1.08);
  transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.gallery-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(18, 8, 5, 0.5) 0%,
      rgba(18, 8, 5, 0.7) 60%,
      var(--dark) 100%
    ),
    radial-gradient(
      ellipse at 30% 50%,
      rgba(139, 26, 47, 0.22) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 75% 20%,
      rgba(201, 168, 76, 0.09) 0%,
      transparent 50%
    );
}
.gallery-hero-bg.loaded {
  animation: ghBgPan 22s ease-in-out 2.4s infinite;
}
@keyframes ghBgPan {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05) translateX(6px);
  }
  100% {
    transform: scale(1);
  }
}
.gallery-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  z-index: 2;
}
.gallery-hero-deco-l,
.gallery-hero-deco-r {
  position: absolute;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(201, 168, 76, 0.35),
    transparent
  );
  z-index: 3;
}
.gallery-hero-deco-l {
  left: 64px;
}
.gallery-hero-deco-r {
  right: 64px;
}
.gallery-hero-content {
  position: relative;
  z-index: 4;
  max-width: 700px;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s ease 0.5s,
    transform 0.9s ease 0.5s;
}
.gallery-hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.gallery-hero-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.gallery-hero-tag::before,
.gallery-hero-tag::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
}
.gallery-hero-h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.08;
  margin-bottom: 22px;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}
.gallery-hero-h1 em {
  font-style: italic;
  color: var(--gold);
}
.gallery-hero-sub {
  font-size: 13px;
  color: var(--champ);
  opacity: 0.7;
  line-height: 1.9;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 34px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.gallery-hero-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gh-chip {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gh-chip-vip {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.gallery-section {
  padding: 72px 64px;
  background: var(--dark-3);
}
.gallery-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.gallery-section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.1;
}
.gallery-section-title em {
  font-style: italic;
  color: var(--gold);
}

.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gf-btn {
  font-family: "Poppins", sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  background: transparent;
  color: var(--champ);
  cursor: pointer;
  transition: all 0.22s;
  opacity: 0.6;
}
.gf-btn:hover {
  opacity: 0.9;
  border-color: rgba(201, 168, 76, 0.5);
  color: var(--gold);
}
.gf-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: var(--dark);
  border-color: var(--gold);
  opacity: 1;
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.3);
}

.gallery-grid {
  columns: 4;
  column-gap: 14px;
}
.gg-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.15);
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 14px;
  transition:
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.gg-card:hover {
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(201, 168, 76, 0.35);
  border-color: rgba(201, 168, 76, 0.35);
}
.gg-img-wrap {
  width: 100%;
  overflow: hidden;
  display: block;
  position: relative;
}
.gg-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transform-origin: center top;
  animation: ggImgBreathe 20s ease-in-out infinite;
  will-change: transform;
}
@keyframes ggImgBreathe {
  0% {
    transform: scale(1) translateZ(0);
  }
  50% {
    transform: scale(1.06) translateZ(0);
  }
  100% {
    transform: scale(1) translateZ(0);
  }
}
.gg-card:hover img {
  animation: ggImgBreathe 20s ease-in-out infinite;
}
.gg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10, 5, 3, 0.88) 0%,
    rgba(10, 5, 3, 0.18) 50%,
    transparent 100%
  );
  opacity: 1;
  transition: opacity 0s;
}
.gg-overlay-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(10, 5, 3, 0.98) 0%,
    rgba(10, 5, 3, 0.75) 55%,
    rgba(10, 5, 3, 0.3) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}
.gg-card:hover .gg-overlay-hover {
  opacity: 1;
}
.gg-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--dark);
}
.gg-name-static {
  position: absolute;
  bottom: 18px;
  left: 16px;
  right: 16px;
  z-index: 3;
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ivory);
  transition: opacity 0.25s;
}
.gg-card:hover .gg-name-static {
  opacity: 0;
}
.gg-body {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease 0.08s,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}
.gg-card:hover .gg-body {
  opacity: 1;
  transform: translateY(0);
}
.gg-name {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 3px;
}
.gg-meta {
  font-size: 9px;
  color: var(--champ);
  opacity: 0.5;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.gg-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.gg-chip {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}
.gg-chip-vip {
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--gold);
}
.gg-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 10px;
}
.gg-price-val {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}
.gg-price-unit {
  font-size: 8px;
  color: var(--champ);
  opacity: 0.45;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.gg-btn {
  font-size: 8.5px;
  padding: 10px 0;
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.cta-bg-img {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1502635385003-ee1e6a1a742d?w=1600&q=80")
    center center / cover no-repeat;
  filter: brightness(0.28) saturate(0.7);
  transform: scale(1.07);
  transition: transform 2.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.cta-section.cta-bg-loaded .cta-bg-img {
  animation: ctaBgScale 24s ease-in-out 2.6s infinite;
}
@keyframes ctaBgScale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05) translateY(-6px);
  }
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 8, 5, 0.82) 0%,
    rgba(139, 26, 47, 0.22) 50%,
    rgba(18, 8, 5, 0.9) 100%
  );
}
.cta-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  z-index: 2;
}
.cta-inner {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 40px;
}
.cta-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
  opacity: 0.8;
}
.cta-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
}
.cta-title em {
  font-style: italic;
  color: var(--gold);
}
.cta-desc {
  font-size: 13px;
  color: var(--champ);
  opacity: 0.65;
  line-height: 1.92;
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto 48px;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.28);
  transition:
    transform 0.22s,
    box-shadow 0.22s,
    opacity 0.22s;
}
.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.42);
  opacity: 0.92;
}
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--gold);
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1.5px solid rgba(201, 168, 76, 0.5);
  text-decoration: none;
  transition:
    background 0.22s,
    border-color 0.22s,
    transform 0.22s,
    box-shadow 0.22s;
}
.btn-call:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
}
.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 245, 228, 0.06);
  color: var(--champ);
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(232, 213, 176, 0.2);
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 0.22s,
    border-color 0.22s,
    transform 0.22s;
}
.btn-book:hover {
  background: rgba(255, 245, 228, 0.1);
  border-color: rgba(232, 213, 176, 0.4);
  transform: translateY(-3px);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.glb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 3, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.glb-box {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 340px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.25);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  background: var(--dark-3);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-lightbox.open .glb-box {
  transform: scale(1);
}
.glb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  min-height: 500px;
}
.glb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 5, 3, 0.8);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.glb-close:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
}
.glb-prev,
.glb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 5, 3, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.glb-prev:hover,
.glb-next:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
}
.glb-prev {
  left: 14px;
}
.glb-next {
  right: 360px;
}
.glb-info {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark-3);
  overflow-y: auto;
}
.glb-badge {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--dark);
  display: inline-block;
  margin-bottom: 14px;
  align-self: flex-start;
}
.glb-name {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 5px;
}
.glb-meta {
  font-size: 10px;
  color: var(--champ);
  opacity: 0.5;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.glb-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.glb-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}
.glb-price-val {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}
.glb-price-unit {
  font-size: 9px;
  color: var(--champ);
  opacity: 0.45;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.glb-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.anim-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.anim-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .gallery-grid {
    columns: 3;
  }
}
@media (max-width: 900px) {
  .gallery-section {
    padding: 56px 20px;
  }
  .gallery-hero-deco-l,
  .gallery-hero-deco-r {
    display: none;
  }
  .gallery-grid {
    columns: 2;
  }
  .glb-box {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
  .glb-img {
    min-height: 320px;
    max-height: 400px;
  }
  .glb-next {
    right: 14px;
    top: 380px;
  }
  .glb-prev {
    left: 14px;
    top: 380px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 540px) {
  .gallery-hero {
    padding: 70px 20px;
  }
  .gallery-grid {
    columns: 1;
  }
  .cta-inner {
    padding: 56px 24px;
  }
  .gallery-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
