/* ============================================================
   RESORT PAGE v5 — 12-Section Cinematic Layout
   Hero · Savings · Offer · Parallax · Amenities · Videos ·
   Parallax · Qualification · Getting There · Instagram ·
   Photo Gallery · Final CTA
   ============================================================ */

/* Base */
.resort-page .container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.resort-page { max-width: 100%; margin: 0; padding: 0; }

/* Scroll-triggered fade-in. JS adds .is-visible when in viewport. */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   Z1 — HERO with YouTube video bg
   ============================================================= */
.resort-hero {
  position: relative;
  background: linear-gradient(135deg, #0a1e2e 0%, #0d2137 35%, #1a5276 100%);
  color: var(--color-text-light);
  padding: 2.5rem 0;
  overflow: hidden;
  text-align: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.resort-hero-video { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.resort-hero-video iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh; height: 56.25vw;
  min-width: 140%; min-height: 140%;
  border: 0; pointer-events: none;
}
.resort-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,30,46,0.55) 0%, rgba(10,30,46,0.78) 100%),
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(230,126,34,0.18) 0%, transparent 60%);
}
.resort-hero-content { position: relative; z-index: 2; text-align: center; }

.resort-eyebrow {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--color-accent);
  font-weight: 700; margin-bottom: 0.5rem;
}
.resort-h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 auto 0.5rem; color: #fff;
  max-width: 22ch;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.resort-tagline {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 500; font-style: italic;
  color: rgba(255,255,255,0.95);
  max-width: 38ch; margin: 0 auto 0.7rem;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.resort-hook {
  font-size: 0.95rem; line-height: 1.5;
  color: rgba(255,255,255,0.88);
  max-width: 58ch; margin: 0 auto 1rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.resort-hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; max-width: 720px;
  margin: 0 auto 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.resort-hero-stat { display: flex; flex-direction: column; align-items: center; }
.resort-hero-stat-number {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 800; color: var(--color-accent);
  line-height: 1; letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.resort-hero-stat-label {
  font-size: 0.62rem; color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 0.25rem; font-weight: 500;
}
.resort-hero-ctas {
  display: flex; gap: 0.6rem; justify-content: center;
  flex-wrap: wrap; pointer-events: auto;
  position: relative; z-index: 3;
}
.resort-hero-ctas .btn,
.btn {
  padding: 0.7rem 1.3rem; font-size: 0.92rem;
  font-weight: 700; border-radius: 6px;
  text-decoration: none; display: inline-block;
  letter-spacing: 0.01em; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: 0;
}
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; }
.btn-primary {
  background: var(--color-accent); color: #fff;
  box-shadow: 0 4px 14px rgba(230,126,34,0.4);
}
.btn-primary:hover { background: #d35400; transform: translateY(-2px); }
.btn-ghost {
  background: rgba(0,0,0,0.25); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.65);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }
.btn-ghost-dark {
  background: transparent; color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-ghost-dark:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }

/* =============================================================
   BODY — full width, transparent so sections can have their own bg
   ============================================================= */
.resort-body {
  width: 100%; margin: 0; padding: 0;
  font-size: 1rem; line-height: 1.6; color: var(--color-text);
}

/* Plain markdown content sections (offer paragraph etc.) get a wrapper */
.resort-body > p {
  max-width: 720px;
  margin: 0 auto 0.9rem;
  padding: 0 var(--space-md);
  text-align: center;
  font-size: 1.02rem;
}
.resort-body h2:not([class]) {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  margin: 1.6rem auto 0.6rem;
  max-width: 32ch;
}
.resort-body strong { color: var(--color-primary); font-weight: 700; }
.resort-body em { color: var(--color-text-muted); font-style: italic; }

/* =============================================================
   Z2 — SAVINGS HAMMER (the WOW)
   ============================================================= */
.savings-hammer {
  background: linear-gradient(135deg, #1c2e3f 0%, #0f1d2a 100%);
  color: #fff;
  padding: 2.5rem 0 2.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.savings-hammer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(230,126,34,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.savings-hammer .container { position: relative; }
.sh-eyebrow {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--color-accent);
  font-weight: 700; margin-bottom: 1.2rem;
}
.sh-grid {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem; max-width: 880px;
  margin: 0 auto 1.4rem;
  align-items: center;
}
.sh-col { text-align: center; }
.sh-label {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.6);
  font-weight: 600; margin-bottom: 0.35rem;
}
.sh-retail-value, .sh-promo-value, .sh-save-value {
  font-weight: 800; line-height: 1;
  letter-spacing: -0.02em;
}
.sh-retail-value { font-size: clamp(1.5rem, 3vw, 2.1rem); color: rgba(255,255,255,0.55); }
.sh-strike { text-decoration: line-through; text-decoration-thickness: 2px; }
.sh-promo-value { font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; }
.sh-save-value {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  color: var(--color-accent);
  text-shadow: 0 2px 18px rgba(230,126,34,0.4);
}
.sh-meta {
  font-size: 0.78rem; color: rgba(255,255,255,0.65);
  margin-top: 0.35rem;
}
.sh-pct {
  color: var(--color-accent);
  font-weight: 700; font-size: 0.85rem;
}
.sh-savings {
  position: relative;
  padding: 0 1rem;
}
.sh-savings::before, .sh-savings::after {
  content: ""; position: absolute; top: 50%;
  width: 1px; height: 70%; background: rgba(255,255,255,0.15);
  transform: translateY(-50%);
}
.sh-savings::before { left: 0; }
.sh-savings::after { right: 0; }

.sh-includes {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 0.6rem 1rem;
  max-width: 700px; margin: 0 auto 1.4rem;
}
.sh-tick {
  font-size: 0.83rem; color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.sh-tick::first-letter { color: var(--color-accent); font-weight: 700; }

.sh-cta-row {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
}
.sh-urgency {
  font-size: 0.78rem; color: rgba(255,255,255,0.6);
  font-style: italic;
}

/* =============================================================
   Z3 — RESORT CARDS (in offer section)
   ============================================================= */
.section-white {
  background: #fff;
  padding: 2.5rem 0;
  text-align: center;
}
.section-light {
  background: var(--color-bg-alt);
  padding: 2.5rem 0;
  text-align: center;
}
.section-dark {
  background: linear-gradient(135deg, #0a1e2e 0%, #1a2e42 100%);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}
.section-h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 800;
  text-align: center;
  margin: 0 auto 0.4rem;
  letter-spacing: -0.005em;
  max-width: 32ch;
}
.section-white .section-h2 { color: var(--color-primary); }
.section-light .section-h2 { color: var(--color-primary); }
.section-dark .section-h2 { color: #fff; }
.section-sub {
  font-size: 0.95rem; color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0 auto 1.4rem;
}
.section-dark .section-sub { color: rgba(255,255,255,0.7); }

.resort-cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}
.resort-card {
  background: #fff; border: 1px solid #e8ebef;
  border-radius: 10px;
  padding: 1.1rem 1rem;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.resort-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.resort-card h3 {
  font-size: 1.08rem; font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 0.25rem;
}
.resort-card-rooms {
  font-size: 0.78rem; color: var(--color-text-muted);
  font-weight: 600; margin-bottom: 0.5rem;
}
.resort-card p {
  font-size: 0.9rem; line-height: 1.5;
  color: var(--color-text);
  margin: 0;
}

/* =============================================================
   PARALLAX BANDS
   ============================================================= */
.parallax-band {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax effect on desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,30,46,0.55) 0%, rgba(10,30,46,0.7) 100%);
  pointer-events: none;
}
.parallax-content {
  position: relative; z-index: 1;
  max-width: 760px;
}
.parallax-headline {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.parallax-quote {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 0.6rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
  border: 0;
  padding: 0;
}
.parallax-attrib {
  font-size: 0.88rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* iOS doesn't support background-attachment fixed reliably */
@supports (-webkit-touch-callout: none) {
  .parallax-band { background-attachment: scroll; }
}
@media (max-width: 900px) {
  .parallax-band { background-attachment: scroll; min-height: 320px; }
}

/* =============================================================
   AMENITIES STRIP
   ============================================================= */
.amenities-strip {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 0.55rem;
  max-width: 1000px;
  margin: 0 auto;
}
.amenity {
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 8px;
  padding: 0.85rem 0.4rem;
  text-align: center;
  transition: transform 0.15s, border-color 0.15s;
}
.amenity:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}
.amenity-icon {
  font-size: 1.5rem; display: block;
  margin-bottom: 0.3rem; line-height: 1;
}
.amenity-label {
  font-size: 0.74rem; color: var(--color-primary);
  font-weight: 700; line-height: 1.2;
}

/* =============================================================
   QUALIFICATION CHECKLIST
   ============================================================= */
.qual-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1.5rem;
  max-width: 820px;
  margin: 0 auto;
  list-style: none !important;
  padding: 0 !important;
  text-align: left;
}
.qual-list li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.4;
}
.qual-list li::before {
  content: "✓";
  position: absolute; left: 0.2rem; top: 0;
  color: var(--color-accent);
  font-weight: 800; font-size: 1.1rem;
}

/* =============================================================
   GETTING THERE STRIP
   ============================================================= */
.getting-there {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  max-width: 920px;
  margin: 0 auto;
}
.gt-item {
  background: #fff;
  border: 1px solid #e8ebef;
  border-top: 3px solid var(--color-accent);
  border-radius: 8px;
  padding: 0.95rem 0.8rem;
  text-align: center;
}
.gt-label {
  font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--color-accent);
  font-weight: 700; margin-bottom: 0.3rem;
}
.gt-value {
  font-size: 0.98rem; font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}
.gt-detail {
  font-size: 0.83rem; color: var(--color-text);
  line-height: 1.4;
}
.gt-best {
  font-size: 0.92rem;
  margin-top: 1rem;
  color: var(--color-text);
}

/* =============================================================
   VIDEO GALLERY (8-card grid)
   ============================================================= */
.video-gallery {
  background: linear-gradient(135deg, #0a1e2e 0%, #18374f 100%);
  padding: 2.5rem 0;
  text-align: center;
  color: #fff;
}
.video-gallery .container {
  width: 100%; max-width: var(--max-width);
  margin-inline: auto; padding-inline: var(--space-md);
}
.vg-title {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 800; color: #fff;
  margin: 0 auto 0.4rem;
  text-align: center;
}
.vg-subtitle {
  font-size: 0.95rem; color: rgba(255,255,255,0.75);
  margin: 0 auto 1.4rem;
  max-width: 60ch;
}
.vg-grid {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px; margin: 0 auto;
}
.vg-card {
  background: #fff; border: 0; padding: 0;
  border-radius: 8px; overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center; font: inherit; color: inherit;
}
.vg-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}
.vg-card:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.vg-thumb { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vg-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(230,126,34,0.95); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; padding-left: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.15s, background 0.15s;
}
.vg-card:hover .vg-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #d35400;
}
.vg-badge {
  position: absolute; top: 0.5rem; right: 0.5rem;
  background: var(--color-primary); color: #fff;
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.22rem 0.55rem; border-radius: 14px;
}
.vg-meta { padding: 0.55rem 0.7rem 0.7rem; }
.vg-card-title {
  font-weight: 700; color: var(--color-text);
  font-size: 0.85rem; line-height: 1.3;
}
.vg-card-sub {
  font-size: 0.72rem; color: var(--color-text-muted);
  margin-top: 0.15rem;
}

/* =============================================================
   PHOTO GALLERY (lightbox grid)
   ============================================================= */
.photo-gallery { padding: 2.5rem 0; text-align: center; background: var(--color-bg-alt); }
.pg-title {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 800; color: var(--color-primary);
  margin: 0 auto 0.4rem;
}
.pg-subtitle {
  font-size: 0.95rem; color: var(--color-text-muted);
  margin: 0 auto 1.4rem; max-width: 60ch;
}
.pg-grid {
  display: grid; gap: 0.6rem;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px; margin: 0 auto;
}
.pg-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #000;
  border: 0; padding: 0; cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.18s, box-shadow 0.18s;
}
.pg-tile:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.pg-tile img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.pg-tile:hover img { transform: scale(1.06); }
.pg-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 1.5rem 0.6rem 0.6rem;
  font-size: 0.78rem;
  text-align: left;
  opacity: 0;
  transition: opacity 0.2s;
}
.pg-tile:hover .pg-caption { opacity: 1; }

/* =============================================================
   INSTAGRAM BAND
   ============================================================= */
.ig-band {
  background: #fff;
  padding: 2.5rem 0;
  text-align: center;
}
.ig-title {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 auto 0.4rem;
}
.ig-subtitle {
  font-size: 0.95rem; color: var(--color-text-muted);
  margin: 0 auto 0.4rem; max-width: 60ch;
}
.ig-handle {
  display: inline-block;
  font-weight: 700;
  color: #c13584;
  margin-bottom: 1.4rem;
  text-decoration: none;
  font-size: 1.05rem;
}
.ig-handle:hover { text-decoration: underline; }
.ig-grid {
  display: grid; gap: 0.5rem;
  grid-template-columns: repeat(6, 1fr);
  max-width: 920px; margin: 0 auto 1.2rem;
}
.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #fdf497 0%, #fd5949 50%, #d6249f 80%, #285AEB 100%);
  border-radius: 8px; overflow: hidden;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.15s;
}
.ig-tile:hover { transform: translateY(-2px); }
.ig-tile img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.ig-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fdf497 0%, #fd5949 50%, #d6249f 80%, #285AEB 100%);
  color: #fff; font-size: 2.2rem;
}
.ig-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.2s;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
}
.ig-tile:hover .ig-overlay { opacity: 1; }

/* =============================================================
   FINAL CTA
   ============================================================= */
.final-cta {
  background: linear-gradient(135deg, #1a5276 0%, #0d2137 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 auto 0.7rem;
  max-width: 28ch;
  letter-spacing: -0.01em;
}
.final-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 56ch;
  margin: 0 auto 1.5rem;
}
.final-cta .btn-primary { padding: 1rem 2rem; font-size: 1.05rem; }

/* =============================================================
   DISCLAIMER
   ============================================================= */
.resort-disclaimer {
  background: #f6f7f9;
  padding: 1.5rem var(--space-md);
  text-align: center;
}
.resort-disclaimer p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 70ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* =============================================================
   MODAL (video + photo lightbox)
   ============================================================= */
.vg-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: var(--space-md);
}
.vg-modal.is-open { display: flex; }
.vg-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
}
.vg-modal-inner { position: relative; width: 100%; max-width: 1100px; z-index: 1; }
.vg-modal-close {
  position: absolute; top: -42px; right: 0;
  background: transparent; color: #fff; border: 0;
  font-size: 2rem; line-height: 1; cursor: pointer;
  padding: 0.2rem 0.5rem; border-radius: 4px;
}
.vg-modal-close:hover { background: rgba(255,255,255,0.1); }
.vg-modal-video {
  position: relative; aspect-ratio: 16 / 9;
  background: #000; border-radius: 8px; overflow: hidden;
  box-shadow: 0 10px 50px rgba(0,0,0,0.6);
}
.vg-modal-video iframe, .vg-modal-video > div > iframe,
.vg-modal-video img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
  object-fit: contain;
  background: #000;
}
/* Photo mode — fix: video container has aspect-ratio:16/9 + position:relative
   and child <img> has position:absolute;inset:0 (correct for video iframe).
   In photo mode we drop aspect-ratio (would force black bars) AND switch the
   img back to natural-flow layout so the container takes the image's height
   instead of collapsing to zero (was rendering as a blank black box). */
.vg-modal.is-photo .vg-modal-video {
  aspect-ratio: auto;
  max-height: 86vh;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.vg-modal.is-photo .vg-modal-video img {
  position: static;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 86vh;
  display: block;
  margin: 0 auto;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.6);
  object-fit: contain;
}

/* Prev/next nav buttons (injected by video-gallery.js). Hidden by default;
   shown only when modal is in photo mode. */
.vg-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
  padding: 0 0 4px 0;
  font-family: inherit;
}
.vg-modal.is-photo .vg-modal-nav { display: flex; }
.vg-modal-nav:hover {
  background: rgba(0,0,0,0.85);
  transform: translateY(-50%) scale(1.06);
}
.vg-modal-nav-prev { left: -64px; }
.vg-modal-nav-next { right: -64px; }
@media (max-width: 1180px) {
  .vg-modal-nav-prev { left: 0.5rem; }
  .vg-modal-nav-next { right: 0.5rem; }
}

.vg-modal-caption {
  display: none;
  margin-top: 0.85rem;
  text-align: center;
  color: #fff;
  font-size: 0.92rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.65);
  letter-spacing: 0.01em;
}
.vg-modal.is-photo .vg-modal-caption { display: block; }

/* =============================================================
   Mobile
   ============================================================= */
@media (max-width: 1100px) {
  .vg-grid { grid-template-columns: repeat(3, 1fr); }
  .pg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .amenities-strip { grid-template-columns: repeat(4, 1fr); }
  .getting-there { grid-template-columns: 1fr; }
  .resort-cards { grid-template-columns: 1fr; }
  .qual-list { grid-template-columns: 1fr; }
  .vg-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .sh-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .sh-savings::before, .sh-savings::after { display: none; }
}
@media (max-width: 767px) {
  .resort-hero { min-height: 380px; padding: 1.8rem 0 2rem; }
  .resort-hero-video iframe { width: 250vh; min-width: 200%; }
  .resort-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem; max-width: 380px;
  }
  .resort-hero-ctas { flex-direction: column; max-width: 280px; margin: 0 auto; }
  .resort-hero-ctas .btn { width: 100%; }
  .amenities-strip { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .vg-grid { grid-template-columns: 1fr; }
  .pg-grid { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .savings-hammer, .section-white, .section-light, .section-dark, .video-gallery, .photo-gallery, .ig-band, .final-cta {
    padding: 1.8rem 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .resort-hero-video iframe { display: none; }
}

/* =============================================================
   PRICING COMPARISON (Hotels.com vs Our Rate, 5-night basis)
   ============================================================= */
.pricing-comparison {
  background: var(--color-bg);
  padding: var(--space-xl) 0;
}
.pricing-comparison .container { max-width: 1000px; }
.pc-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  text-align: center;
  margin: 0 0 var(--space-sm);
}
.pc-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 var(--space-sm);
  font-weight: 700;
}
.pc-sub {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 760px;
  margin: 0 auto var(--space-lg);
  line-height: 1.55;
  font-size: 0.95rem;
}
.pc-table-wrap { overflow-x: auto; }
.pc-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  font-size: 1rem;
}
.pc-table thead { background: var(--color-primary); color: #fff; }
.pc-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.pc-table th.pc-season-col { width: 30%; }
.pc-table td {
  padding: 1rem 1.25rem;
  border-top: 1px solid #eee;
  vertical-align: middle;
}
.pc-season {
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pc-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.pc-dot-low  { background: #2ecc71; }
.pc-dot-reg  { background: #3498db; }
.pc-dot-high { background: #e74c3c; }
.pc-retail {
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.pc-ours {
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.05rem;
}
.pc-save {
  color: var(--color-accent);
  font-weight: 700;
}
.pc-pct {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  .pc-table th, .pc-table td { padding: 0.7rem 0.7rem; font-size: 0.88rem; }
  .pc-pct { display: block; margin: 0.3rem 0 0 0; width: max-content; }
}

/* =============================================================
   PRICING GRID (Low / Regular / High × 3-4-5 nights)
   ============================================================= */
.pricing-grid-section {
  background: var(--color-bg-alt);
  padding: var(--space-xl) 0;
}
.pricing-grid-section .container { max-width: 1100px; }
.pg-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 var(--space-sm);
  font-weight: 700;
}
.pg-intro {
  text-align: center;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto var(--space-md);
  line-height: 1.6;
}
.pg-quallink {
  text-align: center;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-lg);
}
.pg-quallink a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}
.pg-quallink a:hover { text-decoration: underline; }
.pg-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
@media (max-width: 900px) {
  .pg-tiers { grid-template-columns: 1fr; }
}
.pg-tier {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.pg-tier-header {
  padding: var(--space-md);
  text-align: center;
  color: #fff;
  position: relative;
}
.pg-tier-low  .pg-tier-header { background: linear-gradient(135deg, #27ae60 0%, #229954 100%); }
.pg-tier-reg  .pg-tier-header { background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%); }
.pg-tier-high .pg-tier-header { background: linear-gradient(135deg, #c0392b 0%, #922b21 100%); }
.pg-tier-dot { display: none; }
.pg-tier-header h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
}
.pg-tier-dates {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.92;
  line-height: 1.4;
}
.pg-nights {
  list-style: none;
  margin: 0;
  padding: var(--space-sm) 0;
  flex-grow: 1;
}
.pg-nights li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem var(--space-md);
  border-bottom: 1px solid #f0f0f0;
}
.pg-nights li:last-child { border-bottom: none; }
.pg-night-label {
  color: var(--color-text);
  font-weight: 500;
}
.pg-night-price {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.25rem;
}
.pg-tier-high .pg-night-price { color: #c0392b; }
.pg-footer {
  background: #fff;
  border-radius: 10px;
  padding: var(--space-md) var(--space-lg);
  border-left: 5px solid var(--color-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pg-footer-row {
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  line-height: 1.5;
}
.pg-footer-row:last-child { border-bottom: none; }
.pg-footer-label {
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  min-width: 130px;
}
.pg-footer-label-incl { color: #229954; }
.pg-footer-label-imp  { color: var(--color-accent); }
.pg-footer-value { color: var(--color-text); }
.pg-footer-included { background: #f0fdf4; margin: 0 calc(-1 * var(--space-lg)); padding-left: var(--space-lg); padding-right: var(--space-lg); border-bottom: 1px solid #dcfce7; }
.pg-footer-important { background: #fff7ee; margin: 0 calc(-1 * var(--space-lg)); padding-left: var(--space-lg); padding-right: var(--space-lg); border-top: 1px solid #fed7aa; border-bottom: none; }
@media (max-width: 600px) {
  .pg-footer-label { min-width: 100%; }
}

/* =============================================================
   QUALIFICATION BLOCK (verbatim from SandosPromo)
   ============================================================= */
.qualification-block {
  background: var(--color-bg);
  padding: var(--space-xl) 0;
  scroll-margin-top: 80px; /* offset for fixed header on jump links */
}
.qualification-block .container { max-width: 1100px; }
.qb-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 var(--space-sm);
  font-weight: 700;
}
.qb-sub {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  line-height: 1.55;
}
.qb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
@media (max-width: 800px) {
  .qb-grid { grid-template-columns: 1fr; }
}
.qb-col {
  background: #fff;
  border-radius: 10px;
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.qb-col-yes { border-top: 5px solid #27ae60; }
.qb-col-no  { border-top: 5px solid #c0392b; }
.qb-col-h {
  margin: 0 0 var(--space-sm);
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 700;
}
.qb-col-yes .qb-col-h::before {
  content: "✓ ";
  color: #27ae60;
  font-weight: 800;
}
.qb-col-no .qb-col-h::before {
  content: "✗ ";
  color: #c0392b;
  font-weight: 800;
}
.qb-list {
  margin: 0;
  padding-left: 1.4rem;
  line-height: 1.6;
  color: var(--color-text);
}
.qb-list li {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}
.qb-list li:last-child { margin-bottom: 0; }
.qb-list li strong { color: var(--color-primary); }
.qb-list-no li strong { color: #c0392b; }
.qb-important {
  background: #fff;
  border-radius: 10px;
  padding: var(--space-md) var(--space-lg);
  border-left: 5px solid var(--color-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.qb-imp-h {
  margin: 0 0 var(--space-sm);
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 700;
}
.qb-imp-list {
  margin: 0;
  padding-left: 1.4rem;
  line-height: 1.65;
  color: var(--color-text);
}
.qb-imp-list li {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}
.qb-imp-list li:last-child { margin-bottom: 0; }
.qb-imp-list li a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}
.qb-imp-list li a:hover { text-decoration: underline; }
