/* ============================================================
   SunSinai — shared stylesheet
   Every page should link to this file. Page-specific styles
   go in inline <style> blocks on the page that needs them.
   ============================================================ */

:root {
  --gold:         #D4A017;
  --gold-light:   #F08A21;
  --gold-soft:    rgba(212, 160, 23, 0.14);
  --turquoise:    #009DB5;
  --turquoise-2:  #006B7D;
  --ink:          #0D1B2A;
  --ink-2:        #1F2937;
  --cream:        #F7F7F5;
  --sand:         #EFE9DD;
  --muted:        #6b6b6b;
  --line:         rgba(13, 27, 42, 0.08);
  --shadow-sm:    0 4px 20px rgba(13, 27, 42, 0.06);
  --shadow-md:    0 16px 48px rgba(13, 27, 42, 0.12);
  --shadow-lg:    0 30px 80px rgba(13, 27, 42, 0.18);
  --max:          1240px;
  --pad:          clamp(20px, 5vw, 64px);
  --radius-sm:    10px;
  --radius-md:    18px;
  --radius-lg:    28px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; }
::selection { background: var(--gold); color: var(--ink); }

/* Skip link — keyboard users land here on tab */
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; border-radius: 8px;
  font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 10vw, 140px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: currentColor; display: inline-block;
}
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.12; letter-spacing: -0.01em;
  margin-block: 14px 18px; max-width: 22ch;
}
.section-lede { color: var(--muted); max-width: 60ch; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-weight: 600; font-size: 0.95rem;
  border-radius: 999px; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(212, 160, 23, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(212, 160, 23, 0.5); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45); }
.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(250, 246, 239, 0.35); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(250, 246, 239, 0.1); border-color: rgba(250, 246, 239, 0.6); transform: translateY(-3px); }

/* Nav (always solid on detail pages) */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 14px;
  background: rgba(13, 27, 42, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; line-height: 1; text-decoration: none; }
.brand-text { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.brand-slogan {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 7px;
  white-space: nowrap;
}
.brand-logo {
  height: 52px; width: auto; display: block;
  filter:
    drop-shadow(0 0 0.4px #fff)
    drop-shadow(0 0 0.4px #fff)
    drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-links a { color: rgba(250, 246, 239, 0.85); font-size: 0.92rem; font-weight: 500; padding: 6px 0; position: relative; transition: color 0.25s var(--ease); }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta { background: var(--gold); color: var(--ink); padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 0.88rem; transition: transform 0.25s var(--ease), background 0.25s var(--ease); }
.nav-cta:hover { background: var(--gold-light); transform: translateY(-2px); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.burger span { width: 26px; height: 2px; background: var(--cream); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- DETAIL PAGE: HERO ----- */
.page-hero {
  position: relative; min-height: 72vh;
  display: flex; align-items: flex-end;
  color: var(--cream); isolation: isolate; overflow: hidden;
  padding-bottom: 70px;
}
.page-hero .bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,27,42,0.5) 0%, rgba(13,27,42,0.3) 45%, rgba(13,27,42,0.85) 100%);
}
.page-hero .container { padding-top: 140px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(250,246,239,0.85); font-size: 0.85rem; letter-spacing: 0.05em;
  padding: 9px 16px; background: rgba(250,246,239,0.08);
  border: 1px solid rgba(250,246,239,0.15);
  border-radius: 999px; backdrop-filter: blur(8px);
  margin-bottom: 24px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.back-link:hover { color: var(--gold-light); background: rgba(250,246,239,0.15); border-color: rgba(250,246,239,0.35); }
.hero-meta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(250, 246, 239, 0.1);
  border: 1px solid rgba(250, 246, 239, 0.2);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-meta .stars { color: var(--gold-light); letter-spacing: 0.18em; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.06; letter-spacing: -0.02em;
  margin: 18px 0 14px; max-width: 18ch;
}
.page-hero .subtitle {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(250,246,239,0.85);
  max-width: 60ch; line-height: 1.6;
}

/* ----- DETAIL PAGE: OVERVIEW + QUICK FACTS ----- */
.detail-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.detail-copy h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-block: 14px 18px; line-height: 1.15; }
.detail-copy p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.8; margin-bottom: 16px; }

.quick-facts {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 100px;
}
.quick-facts h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 18px; }
.quick-facts dl {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px 14px;
  font-size: 0.92rem;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.quick-facts dt { color: var(--muted); }
.quick-facts dd { color: var(--ink); font-weight: 500; }
.quick-facts .cta-stack { display: grid; gap: 10px; }
.quick-facts .btn { padding: 12px 22px; font-size: 0.88rem; }

/* ----- DETAIL PAGE: RESORT CARDS (Parrotel sub-resorts) ----- */
.resort-grid { display: grid; gap: 32px; margin-top: 50px; }
.resort-card {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.resort-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.resort-card .img { aspect-ratio: 4 / 3; overflow: hidden; }
.resort-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.resort-card:hover .img img { transform: scale(1.05); }
.resort-card .body {
  padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; justify-content: center;
}
.resort-card h3 { font-family: var(--font-display); font-size: 1.65rem; margin-bottom: 6px; }
.resort-card .meta {
  color: var(--gold); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.resort-card p { color: var(--ink-2); font-size: 1rem; line-height: 1.7; margin-bottom: 18px; }
.resort-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.resort-card li { font-size: 0.78rem; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }

/* ----- DETAIL PAGE: FACILITIES ----- */
.facility-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-top: 40px; list-style: none;
}
.facility-grid li {
  padding: 16px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.93rem; color: var(--ink-2);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.facility-grid li:hover { border-color: var(--gold); transform: translateY(-2px); }
.facility-grid li::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold);
  flex-shrink: 0;
}

/* ----- DETAIL PAGE: GALLERY ----- */
.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 220px;
  gap: 14px; margin-top: 40px;
}
.hotel-gallery .item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.hotel-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.hotel-gallery .item:hover img { transform: scale(1.05); }
.hotel-gallery .span-2 { grid-column: span 2; }

/* ----- DETAIL PAGE: CTA BAND ----- */
.cta-detail {
  background: linear-gradient(135deg, var(--ink) 0%, var(--turquoise-2) 100%);
  color: var(--cream); text-align: center;
  padding-block: clamp(70px, 10vw, 110px);
}
.cta-detail h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 16px; }
.cta-detail h2 .accent { color: var(--gold-light); font-style: italic; }
.cta-detail p { color: rgba(250,246,239,0.85); margin-bottom: 30px; max-width: 540px; margin-inline: auto; font-size: 1rem; }
.cta-detail .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer { background: var(--ink); color: rgba(250, 246, 239, 0.65); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
footer .brand { margin-bottom: 18px; display: inline-flex; }
footer .brand-logo { height: 100px; }
footer .brand-name { font-size: 1.7rem; }
/* Footer slogan inherits the same size/spacing as header — no override needed. */
footer p.about-line { font-size: 0.93rem; line-height: 1.7; max-width: 32ch; }
footer h5 { color: var(--cream); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 18px; letter-spacing: 0.02em; }
footer ul { list-style: none; display: grid; gap: 10px; }
footer ul a { font-size: 0.92rem; transition: color 0.25s var(--ease); }
footer ul a:hover { color: var(--gold-light); }
footer .contact-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; margin-bottom: 12px; }
footer .contact-row svg { flex-shrink: 0; color: var(--gold-light); margin-top: 2px; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(250, 246, 239, 0.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(250, 246, 239, 0.8);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }
.legal {
  border-top: 1px solid rgba(250, 246, 239, 0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 0.82rem; color: rgba(250, 246, 239, 0.5);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45);
  z-index: 90; color: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 18px 50px rgba(37, 211, 102, 0.6); }
.wa-float::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%; background: #25D366; z-index: -1;
  animation: wapulse 2.4s var(--ease) infinite;
}
@keyframes wapulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.6); opacity: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   LIGHTBOX — used by the homepage gallery teaser, full gallery,
   stay detail pages, and villa detail pages.
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(13, 27, 42, 0.93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 70px 70px;
  animation: lbFadeIn 0.25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure {
  max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; margin: 0;
  animation: lbZoomIn 0.3s var(--ease);
}
@keyframes lbZoomIn { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-figure img {
  max-width: 100%; max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: block;
}
.lightbox-figure figcaption {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.05rem; letter-spacing: 0.02em;
  text-align: center;
}
.lightbox-btn {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(247, 247, 245, 0.12);
  border: 1px solid rgba(247, 247, 245, 0.3);
  color: var(--cream);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.lightbox-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { top: 50%; left: 20px; transform: translateY(-50%); }
.lightbox-next  { top: 50%; right: 20px; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 720px) {
  .lightbox { padding: 56px 12px; }
  .lightbox-btn { width: 40px; height: 40px; font-size: 1.4rem; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-prev  { left: 8px; }
  .lightbox-next  { right: 8px; }
}

/* ============================================================
   GALLERY TEASER — homepage 4-column grid with hover labels
   (Also used on /gallery page; the gallery page may override
    grid-template-columns for masonry.)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,27,42,0.7));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item .label {
  position: absolute;
  bottom: 20px; left: 22px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  z-index: 1;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.gallery-item:hover img    { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover .label { transform: translateY(0); opacity: 1; }
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item.row-2  { grid-row: span 2; }
.gallery-item        { cursor: zoom-in; }

/* ============================================================
   BLOG CARD GRID — homepage "Stories" section and blog index.
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.blog-card a.card-link {
  position: absolute; inset: 0; z-index: 5;
  font-size: 0;
}
.blog-card .blog-img,
.blog-card .blog-img img,
.blog-card .blog-tag { pointer-events: none; }
.blog-card:hover .blog-link { color: var(--gold); gap: 12px; }
.blog-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  background: rgba(13, 27, 42, 0.65);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.blog-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.blog-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
}
.blog-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--turquoise-2);
  letter-spacing: 0.02em;
  margin-top: auto;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.blog-link:hover { color: var(--gold); gap: 12px; }

/* ============================================================
   BLOG POST — long-form article layout
   Layout order: headline -> photo -> body
   ============================================================ */
.post-header {
  padding: 140px 0 30px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
}
.post-header .container { max-width: 720px; }
.post-header .back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-2);
  font-size: 0.85rem; letter-spacing: 0.05em;
  padding: 9px 16px;
  background: rgba(13, 27, 42, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 24px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.post-header .back-link:hover {
  color: var(--gold);
  background: var(--gold-soft);
  border-color: rgba(212, 160, 23, 0.35);
}
.post-meta-row {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 18px; flex-wrap: wrap;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.post-meta-row .pill {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(212, 160, 23, 0.3);
  font-weight: 600;
}
.post-meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.post-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 6px 0 14px;
  max-width: 22ch;
}
.post-header .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--ink-2);
  max-width: 60ch; line-height: 1.6;
}

.post-figure {
  max-width: 720px;
  margin: 32px auto 0;
  padding-inline: var(--pad);
}
.post-figure img {
  width: 100%; height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
}
/* Portrait photos: smaller than landscape but still readable, left-aligned. */
.post-figure.portrait { max-width: 360px; }
.post-figure.portrait img { margin-inline: 0; }
.post-figure figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

/* Intro block under the photo: category pill, date, read time, lede */
.post-intro {
  max-width: 720px;
  margin: 36px auto 0;
  padding-inline: var(--pad);
}
.post-intro .post-meta-row { margin-bottom: 14px; }
.post-intro .lede {
  font-size: 1.1rem;
  color: var(--ink-2);
  line-height: 1.7;
}

.post-body {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 70px);
}
.post-body p {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.post-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-block: 50px 18px;
  color: var(--ink);
}
.post-body h2:first-of-type { margin-top: 0; }
.post-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-block: 32px 12px;
}
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body a {
  color: var(--turquoise-2);
  border-bottom: 1px solid rgba(0, 157, 181, 0.4);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.post-body a:hover { color: var(--gold); border-color: var(--gold); }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin: 30px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}
.post-body ul, .post-body ol {
  margin: 0 0 22px 24px;
  padding: 0;
}
.post-body li {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Bright, glowing share CTA — solid gold gradient with halo + sweep */
.post-share {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.post-share .label {
  display: block;
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: var(--ink);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.post-share .links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 22px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: 2px solid #fff;
  box-shadow:
    0 0 0 6px rgba(212, 160, 23, 0.22),
    0 18px 56px rgba(212, 160, 23, 0.55),
    0 4px 18px rgba(240, 138, 33, 0.4);
  position: relative;
  overflow: hidden;
  animation: sharePulse 3.4s var(--ease) infinite;
}
/* Soft pulse — makes the box feel alive without being distracting */
@keyframes sharePulse {
  0%, 100% {
    box-shadow:
      0 0 0 6px rgba(212, 160, 23, 0.22),
      0 18px 56px rgba(212, 160, 23, 0.55),
      0 4px 18px rgba(240, 138, 33, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(212, 160, 23, 0.30),
      0 22px 64px rgba(212, 160, 23, 0.70),
      0 6px 22px rgba(240, 138, 33, 0.55);
  }
}
/* Diagonal gleam that sweeps across the box */
.post-share .links::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
  animation: shareShine 3.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes shareShine {
  0%   { left: -60%; }
  60%  { left: 140%; }
  100% { left: 140%; }
}
.post-share .links a {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.18);
}
.post-share .links a svg { width: 20px; height: 20px; }
.post-share .links a:hover {
  background: var(--ink);
  color: var(--gold-light);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 28px rgba(13, 27, 42, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .post-share .links { animation: none; }
  .post-share .links::before { animation: none; }
}

@media (max-width: 720px) {
  .post-header { padding: 120px 0 20px; }
  .post-figure { margin-top: 24px; }
}

/* Responsive */
@media (max-width: 960px) {
  .detail-grid { grid-template-columns: 1fr; }
  .quick-facts { position: static; }
  .resort-card { grid-template-columns: 1fr; }
  .resort-card .img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hotel-gallery .span-2 { grid-column: span 1; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 0; right: 0;
    height: 100vh; width: min(80vw, 340px);
    background: rgba(13, 27, 42, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center;
    gap: 28px; padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.15rem; }
  .nav-cta { display: none; }
  .burger { display: flex; }
  .brand-logo { height: 44px; }
  footer .brand-logo { height: 80px; }
  .brand-name { font-size: 1.05rem; }
  .brand-slogan { font-size: 0.56rem; letter-spacing: 0.18em; margin-top: 4px; }
  footer .brand-name { font-size: 1.4rem; }
  footer .brand-slogan { font-size: 0.66rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { min-height: 64vh; }
  .wa-float { bottom: 18px; right: 18px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Lead form (shared by /contact.html and the corporate sub-pages)
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  display: grid; gap: 18px;
}
.lead-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .lead-form .row-2 { grid-template-columns: 1fr; } }
.lead-form label {
  display: block;
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.15);
}
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form .consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--ink-2); line-height: 1.55;
}
.lead-form .consent input { width: auto; margin-top: 4px; }
.lead-form .consent a { color: var(--turquoise-2); border-bottom: 1px solid currentColor; }
.lead-form button { margin-top: 6px; justify-self: start; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Quick-contact card (used on /contact.html and corporate sub-pages) */
.quick-contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}
.quick-contact h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.quick-contact > p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 22px; }
.quick-contact .channel {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.quick-contact .channel:hover {
  background: var(--gold-soft);
  border-color: rgba(212, 160, 23, 0.4);
  transform: translateX(4px);
}
.quick-contact .channel svg { color: var(--gold); flex-shrink: 0; }
.quick-contact .channel small { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
@media (max-width: 880px) { .quick-contact { position: static; } }

/* Click-to-subject (corporate sub-pages) */
.facility-grid li.is-clickable { cursor: pointer; }
.facility-grid li.is-selected {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.18);
}
.selected-subject {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}
.selected-subject.is-active { display: flex; }
.selected-subject .label { color: var(--muted); font-weight: 500; }
.selected-subject .chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.selected-subject .chip {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px 4px 4px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.selected-subject .chip button {
  background: transparent; border: 0; cursor: pointer;
  color: var(--muted); font-size: 1.1rem; line-height: 1;
  padding: 2px 8px; border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.selected-subject .chip button:hover { color: var(--ink); background: rgba(13, 27, 42, 0.06); }

/* Tighter section padding when stacking many pill-list sections */
.section.section-tight { padding-block: clamp(40px, 6vw, 80px); }
.section-tight + .section-tight { padding-top: 0; }

/* Article image lightbox (click any .post-figure img to enlarge) */
.post-figure img { cursor: zoom-in; }
.post-figure img.no-zoom { cursor: default; }
.article-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(13, 27, 42, 0.93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 5vw, 70px);
  cursor: zoom-out;
  animation: alb-fade 0.22s ease;
}
.article-lightbox[hidden] { display: none; }
@keyframes alb-fade { from { opacity: 0; } to { opacity: 1; } }
.article-lightbox img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: alb-zoom 0.28s var(--ease);
}
@keyframes alb-zoom { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.article-lightbox .alb-close {
  position: absolute; top: 18px; right: 22px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--cream); font-size: 2rem; line-height: 1;
  padding: 6px 14px; border-radius: 50%;
  transition: background 0.2s;
}
.article-lightbox .alb-close:hover { background: rgba(250, 246, 239, 0.12); }

/* Hotel cards (homepage + /accommodation/hotels-resorts) */
.hotels { background: var(--cream); }
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 60px;
}
.hotel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.hotel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.hotel-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.hotel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.hotel-card:hover .hotel-img img { transform: scale(1.06); }
.hotel-area {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  background: rgba(13, 27, 42, 0.65);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hotel-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.hotel-body h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; }
.hotel-body p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 18px; flex: 1; }
.hotel-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.hotel-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-weight: 600; font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.hotel-cta:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.hotel-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.88rem;
  color: var(--turquoise-2);
  text-decoration: none;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.hotel-link:hover { color: var(--gold); gap: 12px; }


/* ============================================================
   SIDEBAR NAV (desktop only, opt-in via body.has-sidebar)
   Pages that want the sidebar layout add class="has-sidebar" to <body>.
   Other pages keep the original top-bar + burger drawer.
   ============================================================ */
:root { --sidebar-w: 240px; }
@media (min-width: 1024px) {
  body.has-sidebar { padding-left: var(--sidebar-w); }
  body.has-sidebar .nav {
    width: var(--sidebar-w); height: 100vh;
    right: auto; bottom: 0;
    background: rgba(13, 27, 42, 0.96);
    padding-block: 28px;
    overflow-y: auto;
  }
  body.has-sidebar .nav-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 28px;
    height: 100%;
    padding-inline: 22px;
    max-width: none;
  }
  body.has-sidebar .nav-inner .brand { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(247,247,245,0.08); }
  body.has-sidebar .nav-links {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2px !important;
    width: 100%;
  }
  body.has-sidebar .nav-links li { width: 100%; }
  body.has-sidebar .nav-links a {
    display: block;
    padding: 10px 14px !important;
    border-radius: 8px;
    font-size: 0.95rem !important;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
  }
  body.has-sidebar .nav-links a:hover { background: rgba(247, 247, 245, 0.08); color: var(--gold-light); }
  body.has-sidebar .nav-links a::after { display: none; }
  body.has-sidebar .nav-cta { margin-top: auto; text-align: center; padding: 12px 20px; }
  body.has-sidebar .nav-cta-alt { margin-top: 8px; text-align: center; padding: 12px 20px; }
  body.has-sidebar .burger { display: none !important; }

  /* Page-hero clears the fixed top nav on mobile via padding-top: 140px.
     With the sidebar, we don't need that vertical clearance. */
  body.has-sidebar .page-hero .container { padding-top: 80px; }
}

/* Secondary outline CTA in the nav (e.g. List your place → /owner/signup.php) */
.nav-cta-alt {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 247, 245, 0.3);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-cta-alt:hover { background: rgba(247, 247, 245, 0.1); border-color: rgba(247, 247, 245, 0.55); }
