/* ============================================================
   LUXURY PROPERTY PAGES — SHARED LAYOUT SYSTEM
   Used by: bhutan-spirit-sanctuary, pemako-thimphu-punakha,
   the-postcard-dewa, zhiwa-ling-heritage, gangtey-lodge,
   andbeyond-punakha-river-lodge (+ any future property pages)

   Matches the layout system already proven on amankora.php,
   six-senses.php, and le-meridien-uma-bhutan.php — sidebar TOC
   + sticky book card instead of a top jump-nav bar, since these
   are bottom-of-funnel commercial pages where persistent
   price/CTA visibility matters more than on research-stage
   content (itineraries, comparisons).

   Namespace: lxp- (Luxury Property), shared across all six pages
   rather than duplicating ~1000 lines per page.
   ============================================================ */

html { scroll-behavior: smooth; }

/* ── HERO ─────────────────────────────────────────────────── */
.lxp-hero { position: relative; height: 72vh; min-height: 460px; overflow: hidden; display: flex; align-items: flex-end; background: var(--navy); }
.lxp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.lxp-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,45,69,0.96) 0%, rgba(14,45,69,0.5) 45%, rgba(14,45,69,0.12) 100%); }
.lxp-hero__content { position: relative; z-index: 2; width: calc(100% - 2 * var(--section-gutter)); max-width: 1320px; margin: 0 auto; padding-bottom: 56px; }
.lxp-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.lxp-hero__eyebrow::before { content: ''; width: 30px; height: 1.5px; background: var(--gold); }
.lxp-hero__eyebrow span { font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.lxp-hero__title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.8vw, 3rem); font-weight: 700; color: #fff; line-height: 1.15; margin: 0 0 16px; letter-spacing: -.02em; }
.lxp-hero__title em { color: var(--gold); font-style: italic; }
.lxp-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.lxp-hero__pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,194,26,.12); border: 1px solid rgba(255,194,26,.28); color: var(--gold); font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px; border-radius: 40px; }

/* ── BREADCRUMB ───────────────────────────────────────────── */
.lxp-breadcrumb { background: #fff; border-bottom: 1px solid rgba(14,45,69,.08); padding: 14px 0; }
.lxp-breadcrumb__inner { max-width: 1320px; width: calc(100% - 2 * var(--section-gutter)); margin: 0 auto; font-family: var(--font-body); font-size: .82rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lxp-breadcrumb__inner a { color: rgba(14,45,69,.55); text-decoration: none; }
.lxp-breadcrumb__inner a:hover { color: var(--gold-text-safe); }
.lxp-breadcrumb__sep { color: rgba(14,45,69,.3); }
.lxp-breadcrumb__current { color: var(--navy); font-weight: 600; }

/* ── LAYOUT: SIDEBAR + MAIN ───────────────────────────────── */
.lxp-layout { display: grid; grid-template-columns: 260px 1fr; max-width: 1320px; width: calc(100% - 2 * var(--section-gutter)); margin: 0 auto; padding: 48px 0 80px; align-items: start; gap: 0; }
.lxp-sidebar { position: sticky; top: 90px; padding: 0 32px 0 0; }
.lxp-main { min-width: 0; }

/* Sidebar TOC */
.lxp-toc { background: #fff; border: 1px solid rgba(14,45,69,.1); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(14,45,69,.05); }
.lxp-toc__header { background: var(--navy); padding: 18px 20px; display: flex; align-items: center; gap: 10px; }
.lxp-toc__header svg { stroke: var(--gold); width: 14px; height: 14px; flex-shrink: 0; }
.lxp-toc__header h2 { font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0; }
.lxp-toc__list { list-style: none; padding: 8px 0; margin: 0; }
.lxp-toc__list li { margin: 0; }
.lxp-toc__list a { display: block; padding: 9px 20px; font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--navy); text-decoration: none; border-left: 3px solid transparent; transition: background .18s, border-color .18s; }
.lxp-toc__list a:hover, .lxp-toc__list a.lxp-toc-active { background: rgba(14,45,69,.04); border-left-color: var(--gold); }

/* Sticky book-now card — no fabricated price, framed as "enquire" */
.lxp-book-card { margin-top: 18px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep, #081827) 100%); border-radius: 10px; padding: 26px 22px; text-align: center; box-shadow: 0 8px 24px rgba(14,45,69,.18); }
.lxp-book-card__label { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.40); font-family: var(--font-body); margin-bottom: 8px; }
.lxp-book-card__value { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--gold); line-height: 1.25; margin-bottom: 6px; }
.lxp-book-card__note { font-size: .68rem; color: rgba(255,255,255,.42); margin-bottom: 20px; font-family: var(--font-body); line-height: 1.5; }
.lxp-book-card__btn { display: block; width: 100%; padding: 13px; background: var(--gold); color: var(--navy) !important; text-decoration: none !important; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: var(--btn-radius, 6px); font-family: var(--font-body); }

/* Sidebar note card */
.lxp-alert-card { margin-top: 14px; background: rgba(255,194,26,.10); border: 1px solid rgba(255,194,26,.30); border-radius: 10px; padding: 16px 18px; display: flex; align-items: flex-start; gap: 10px; }
.lxp-alert-card__icon { font-size: 1.2rem; flex-shrink: 0; }
.lxp-alert-card__label { color: var(--gold-text-safe); font-family: var(--font-body); font-size: .74rem; font-weight: 700; margin: 0 0 3px; }
.lxp-alert-card__text { font-family: var(--font-body); font-size: .76rem; line-height: 1.5; color: rgba(14,45,69,.7); margin: 0; }

/* ── SECTIONS (within main column) ────────────────────────── */
.lxp-section { margin-bottom: 56px; }
.lxp-label { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text-safe); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lxp-label::before { content: ''; width: 26px; height: 2px; background: var(--gold-text-safe); }
.lxp-heading { font-family: var(--font-heading); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--navy); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 16px; }
.lxp-heading em { font-style: italic; color: var(--gold-text-safe); }
.lxp-body { font-family: var(--font-body); font-size: .95rem; line-height: 1.85; color: rgba(14,45,69,.75); margin: 0 0 16px; }
.lxp-updated { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-body); font-size: .72rem; font-weight: 700; color: rgba(14,45,69,.6); background: #f5f0e8; padding: 6px 14px; border-radius: 20px; margin-bottom: 16px; }
.lxp-updated svg { width: 13px; height: 13px; stroke: var(--gold-text-safe); fill: none; stroke-width: 2.2; }

/* ── HIGHLIGHTS CHIPS ──────────────────────────────────────── */
.lxp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.lxp-chip { background: #f5f0e8; border: 1px solid rgba(14,45,69,.08); border-radius: 30px; padding: 9px 16px; font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 7px; }
.lxp-chip::before { content: '✦'; color: var(--gold-text-safe); font-size: .75rem; }

/* Best time callout */
.lxp-best-time { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep, #081827) 100%); border-radius: 10px; padding: 22px 24px; display: flex; align-items: flex-start; gap: 16px; }
.lxp-best-time__icon { font-size: 1.8rem; flex-shrink: 0; }
.lxp-best-time__label { font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.lxp-best-time__text { font-family: var(--font-body); font-size: .87rem; line-height: 1.7; color: rgba(255,255,255,.82); margin: 0; }
.lxp-best-time__text strong { color: var(--gold); }

/* ── WHY-CARDS GRID ────────────────────────────────────────── */
.lxp-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lxp-why-card { background: #fff; border: 1px solid rgba(14,45,69,.1); border-radius: 10px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.lxp-why-card__icon { font-size: 1.6rem; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, rgba(255,194,26,.18), rgba(255,194,26,.06)); display: flex; align-items: center; justify-content: center; }
.lxp-why-card__title { font-family: var(--font-heading); font-size: .98rem; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.lxp-why-card__desc { font-family: var(--font-body); font-size: .85rem; line-height: 1.65; color: rgba(14,45,69,.72); margin: 0; }

/* ── DAY-BY-DAY ACCORDION ─────────────────────────────────── */
.lxp-days { display: flex; flex-direction: column; gap: 12px; }
.lxp-day { background: #fff; border: 1px solid rgba(14,45,69,.1); border-radius: 10px; overflow: hidden; }
.lxp-day__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: none; border: none; cursor: pointer; text-align: left; list-style: none; }
.lxp-day__btn::-webkit-details-marker { display: none; }
.lxp-day__num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-heading); font-weight: 800; font-size: .95rem; display: flex; align-items: center; justify-content: center; }
.lxp-day__head { flex: 1; min-width: 0; }
.lxp-day__title { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--navy); margin: 0; }
.lxp-day__meta { display: block; font-family: var(--font-body); font-size: .78rem; color: rgba(14,45,69,.5); margin-top: 2px; }
.lxp-day__chevron { flex-shrink: 0; transition: transform .2s; }
.lxp-day__chevron svg { width: 18px; height: 18px; stroke: var(--gold-text-safe); fill: none; stroke-width: 2.4; }
.lxp-day[open] .lxp-day__chevron { transform: rotate(180deg); }
.lxp-day__body { padding: 0 22px 22px 82px; }
.lxp-day__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 16px; }
.lxp-day__stat { background: #f5f0e8; border-radius: 6px; padding: 10px 12px; }
.lxp-day__stat-label { display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(14,45,69,.5); margin-bottom: 3px; }
.lxp-day__stat-value { display: block; font-family: var(--font-body); font-size: .82rem; font-weight: 700; color: var(--navy); }
.lxp-day__desc { font-family: var(--font-body); font-size: .92rem; line-height: 1.75; color: rgba(14,45,69,.78); margin: 0 0 12px; }
.lxp-day__note { display: flex; gap: 10px; background: rgba(255,194,26,.1); border-radius: 6px; padding: 12px 14px; font-family: var(--font-body); font-size: .85rem; line-height: 1.6; color: rgba(14,45,69,.8); }
.lxp-day__note svg { flex-shrink: 0; margin-top: 2px; stroke: var(--gold-text-safe); }

/* ── INCLUSIONS & EXCLUSIONS ──────────────────────────────── */
.lxp-inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lxp-inc-card { border-radius: 10px; padding: 22px 24px; border: 1px solid; }
.lxp-inc-card--yes { background: #f0fdf4; border-color: rgba(34,197,94,.20); }
.lxp-inc-card--no { background: #fff7ed; border-color: rgba(249,115,22,.20); }
.lxp-inc-card__header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lxp-inc-card__dot { width: 10px; height: 10px; border-radius: 50%; }
.lxp-inc-card--yes .lxp-inc-card__dot { background: #22c55e; }
.lxp-inc-card--no .lxp-inc-card__dot { background: #f97316; }
.lxp-inc-card__title { font-family: var(--font-heading); font-size: .98rem; font-weight: 700; color: var(--navy); margin: 0; }
.lxp-inc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.lxp-inc-list li { display: flex; align-items: flex-start; gap: 9px; font-family: var(--font-body); font-size: .86rem; line-height: 1.5; color: rgba(14,45,69,.78); }
.lxp-inc-list__icon { flex-shrink: 0; font-weight: 700; }
.lxp-inc-card--yes .lxp-inc-list__icon { color: #16a34a; }
.lxp-inc-card--no .lxp-inc-list__icon { color: #ea580c; }

/* ── COST TABLE ───────────────────────────────────────────── */
.lxp-cost-table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: .87rem; margin-bottom: 16px; }
.lxp-cost-table thead th { background: var(--navy); color: var(--gold); text-align: left; padding: 12px 16px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lxp-cost-table td { padding: 12px 16px; border-bottom: 1px solid rgba(14,45,69,.08); color: rgba(14,45,69,.78); }
.lxp-cost-table tr:nth-child(even) td { background: #f5f0e8; }
.lxp-cost-note { font-family: var(--font-body); font-size: .85rem; line-height: 1.7; color: rgba(14,45,69,.65); margin: 0; }

/* ── POLICY LINK ──────────────────────────────────────────── */
.lxp-policy-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 24px; background: var(--navy); color: #fff !important; text-decoration: none !important; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--btn-radius, 6px); }

/* ── GUEST GALLERY (reuses the site's proven jmt- system) ──── */
.jmt-guest-gallery { position: relative; min-height: 200px; }
.jmt-guest-skeleton { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jmt-guest-skel-item { border-radius: 8px; background: linear-gradient(90deg, #e8e4dc 25%, #f0ece4 50%, #e8e4dc 75%); background-size: 200% 100%; animation: jmt-shimmer 1.4s ease infinite; }
@keyframes jmt-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.jmt-guest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jmt-guest-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--navy); aspect-ratio: 4/3; display: block; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.jmt-guest-item:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14,45,69,0.20); }
.jmt-guest-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease, filter 0.3s ease; filter: brightness(0.9); }
.jmt-guest-item:hover img { transform: scale(1.06); filter: brightness(1.0); }
.jmt-guest-item__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,45,69,0.85) 0%, rgba(14,45,69,0.20) 50%, transparent 100%); opacity: 0; transition: opacity 0.3s ease; display: flex; align-items: flex-end; padding: 14px; }
.jmt-guest-item:hover .jmt-guest-item__overlay { opacity: 1; }
.jmt-guest-item__label { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.9); letter-spacing: 0.06em; text-transform: uppercase; }
.jmt-guest-cta { margin-top: 32px; padding: 32px; background: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.jmt-guest-cta__text { font-family: var(--font-body); font-size: 0.96rem; color: rgba(255,255,255,0.72); margin: 0; line-height: 1.6; }
.jmt-guest-cta__btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; background: var(--gold); color: var(--navy) !important; font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; text-decoration: none !important; border-radius: var(--btn-radius); white-space: nowrap; flex-shrink: 0; transition: background 0.2s, transform 0.2s; }
.jmt-guest-cta__btn:hover { background: var(--gold-dark, #e0a800); transform: translateY(-2px); color: var(--navy) !important; }

@media (max-width: 768px) {
  .jmt-guest-grid, .jmt-guest-skeleton { grid-template-columns: repeat(2, 1fr); }
  .jmt-guest-cta { flex-direction: column; align-items: flex-start; }
  .jmt-guest-cta__btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .jmt-guest-grid, .jmt-guest-skeleton { grid-template-columns: 1fr 1fr; gap: 6px; }
}

/* ── FAQ ──────────────────────────────────────────────────── */
.lxp-faq { display: flex; flex-direction: column; gap: 10px; }
.lxp-faq details { background: #fff; border: 1px solid rgba(14,45,69,.1); border-radius: 8px; padding: 4px 0; }
.lxp-faq summary { padding: 14px 18px; font-family: var(--font-heading); font-weight: 700; font-size: .92rem; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lxp-faq summary::-webkit-details-marker { display: none; }
.lxp-faq summary::after { content: '+'; color: var(--gold-text-safe); font-size: 1.2rem; flex-shrink: 0; }
.lxp-faq details[open] summary::after { content: '−'; }
.lxp-faq__q { flex: 1; margin: 0; font: inherit; }
.lxp-faq__body { padding: 0 18px 16px; font-family: var(--font-body); font-size: .87rem; line-height: 1.7; color: rgba(14,45,69,.75); }
.lxp-faq__body a { color: var(--gold-text-safe); font-weight: 600; text-decoration: none; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .lxp-layout { grid-template-columns: 1fr; }
  .lxp-sidebar { position: static; padding: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .lxp-book-card, .lxp-alert-card { margin-top: 0; }
  .lxp-why-grid { grid-template-columns: 1fr; }
  .lxp-inc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lxp-sidebar { grid-template-columns: 1fr; }
  .lxp-hero { height: 60vh; }
  .lxp-day__body { padding-left: 22px; }
}
