/* ==========================================================================
   Panglima Resort Semporna – "Wake up to the sea"
   Ocean palette: deep navy, ocean blue, lagoon cyan, sea-mist whites
   and a sunshine-sand accent.
   (Variable names kept from the old palette: --copper = primary CTA blue.)
   ========================================================================== */

:root {
    --ink: #0B2A42;          /* deep ocean navy – headings, footer */
    --ink-2: #1D4462;
    --text: #2E4256;
    --muted: #637A8C;
    --cream: #F3F8FB;        /* sea-mist page background */
    --sand: #F8F1E5;         /* warm beach sand – alternate sections, chips */
    --sand-2: #EFE2CC;
    --line: #D5E3EC;
    --white: #FFFFFF;
    --copper: #0077B6;       /* primary call to action – ocean blue */
    --copper-dark: #005F92;
    --sea: #0B5E8E;          /* deep sea sections */
    --sea-dark: #083D5E;
    --sea-tint: #E2F2FA;
    --lagoon: #0FB0B5;       /* turquoise lagoon – secondary accent */
    --lagoon-dark: #087F8C;
    --coral: #FF7A59;        /* sunset coral – badges only */
    --sun: #F5B83D;
    --wa: #1FA855;
    --wa-dark: #178A45;

    --font-head: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --r-sm: 8px;
    --r: 14px;
    --r-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(11, 42, 66, .06);
    --shadow: 0 10px 30px rgba(11, 42, 66, .10);
    --shadow-lg: 0 22px 50px rgba(11, 42, 66, .16);
    --nav-h: 76px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); text-decoration: none; transition: color .2s; }
a:hover { color: var(--copper); }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .55em;
    letter-spacing: -.015em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: var(--white); }

.eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--copper);
    margin: 0 0 .7rem;
}
.eyebrow-light { color: var(--sun); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .78em 1.35em;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700; font-size: .95rem; line-height: 1.2;
    text-align: center;
    transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--copper); color: var(--white); box-shadow: 0 6px 18px rgba(0, 119, 182, .28); }
.btn-primary:hover { background: var(--copper-dark); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); color: var(--white); }
.btn-lg { padding: .95em 1.7em; font-size: 1rem; }
.btn-sm { padding: .55em 1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.btn-note { font-weight: 500; opacity: .8; font-size: .85em; }
.link-arrow { font-weight: 700; color: var(--sea); display: inline-flex; gap: .5em; align-items: center; white-space: nowrap; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Chips & small bits ---------- */
.chip {
    display: inline-flex; align-items: center; gap: .45em;
    padding: .38em .8em; border-radius: 999px;
    background: var(--sand); color: var(--ink);
    font-size: .78rem; font-weight: 700;
}
.chip-light { background: rgba(255, 255, 255, .92); color: var(--ink); }
.chip-sun { background: var(--sun); color: var(--ink); }
.icon-badge {
    flex: none;
    display: inline-grid; place-items: center;
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--sea-tint); color: var(--sea); font-size: 1.1rem;
}
.icon-badge.lg { width: 64px; height: 64px; font-size: 1.5rem; border-radius: 18px; }
.icon-circle { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--sand); color: var(--copper); font-size: 1.5rem; margin-bottom: 1rem; }

.tick-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .45rem; }
.tick-list li { position: relative; padding-left: 1.7rem; }
.tick-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: .05em; font-size: .8rem;
    width: 1.2rem; height: 1.2rem; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--sea-tint); color: var(--sea);
}
.tick-list li.is-no { color: var(--muted); }
.tick-list li.is-no::before { content: "\f00d"; background: var(--sand); color: var(--muted); }
.tick-list.sm { font-size: .9rem; }
.tick-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .85); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: var(--sun); }
.topbar-links { display: flex; gap: 22px; align-items: center; }
.topbar-links i { margin-right: .35em; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social i { margin: 0; }
.topbar-loc i { color: var(--sun); margin-right: .35em; }

/* Language switch (EN | 中文): topbar pill + full-width version in the mobile menu */
.lang-switch {
    display: inline-flex; align-items: center; gap: 2px; padding: 3px;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; line-height: 1;
}
.lang-switch .lang-switch-icon { color: var(--sun); font-size: .8rem; margin: 0 4px 0 6px; }
.topbar .lang-switch a {
    display: inline-block; padding: .38em .8em; border-radius: 999px;
    font-weight: 700; font-size: .76rem; letter-spacing: .04em; color: rgba(255, 255, 255, .8);
    transition: background .2s, color .2s;
}
.topbar .lang-switch a:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.topbar .lang-switch a.is-active { background: var(--white); color: var(--ink); }
.topbar .lang-switch a.is-active:hover { color: var(--ink); }
.lang-switch-block {
    display: grid; grid-template-columns: auto 1fr 1fr; margin: 12px 0 0; padding: 5px;
    border-color: var(--line); background: var(--cream);
}
.lang-switch-block .lang-switch-icon, .topbar .lang-switch-block .lang-switch-icon { color: var(--copper); margin: 0 6px 0 10px; font-size: .95rem; }
.lang-switch-block a {
    text-align: center; padding: .75em .5em; border-radius: 999px;
    font-weight: 700; font-size: .95rem; color: var(--ink);
}
.lang-switch-block a.is-active { background: var(--ink); color: var(--white); }
.lang-switch-block a.is-active:hover { color: var(--white); }

/* Chinese pages: Noto Serif SC for headings, system Chinese fonts for text (Latin letters keep the brand fonts) */
:lang(zh) {
    --font-head: 'Fraunces', 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    --font-body: 'Plus Jakarta Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
}
html:lang(zh) body { line-height: 1.75; }
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { letter-spacing: .01em; line-height: 1.3; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);   /* no backdrop-filter: it would trap the fixed mobile menu inside the header */
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { width: 62px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; }
.brand-name-mobile { display: none; }
.brand-sub { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand-light, .brand-light:hover { color: var(--white); }
.brand-light .brand-sub { color: rgba(255, 255, 255, .6); }

.nav-menu { display: flex; align-items: center; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-links a {
    display: block; padding: .55em .5em; border-radius: 999px;
    color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap;
}
@media (min-width: 1061px) {   /* one-line logo and menu on PC */
    .navbar { gap: 16px; }
    .brand { flex-shrink: 0; }
    .brand-text { white-space: nowrap; }
}
.nav-links a:hover { background: var(--sand); color: var(--ink); }
.nav-links a.active { color: var(--copper); background: #E2F2FA; }
.nav-menu-extra { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: .7em 1.2em; }
.nav-toggle {
    display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--sand);
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: var(--white);
    min-height: min(78vh, 720px);
    display: flex; align-items: flex-end;
    background: var(--bg) center / cover no-repeat;
    padding: 120px 0 130px;
}
.hero-inner { max-width: 1240px; }
.hero h1 { color: var(--white); max-width: 15ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero .lead { max-width: 560px; color: rgba(255, 255, 255, .95); margin-bottom: 1.8rem; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }

.quick { position: relative; z-index: 2; margin-top: -78px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-card {
    display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center;
    background: var(--white); border-radius: var(--r); padding: 18px;
    box-shadow: var(--shadow); color: var(--text);
    border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); border-color: var(--copper); }
.quick-icon { grid-row: span 2; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #E2F2FA; color: var(--copper); font-size: 1.25rem; }
.quick-text strong { display: block; color: var(--ink); font-size: 1rem; }
.quick-text small { color: var(--muted); font-size: .8rem; }
.quick-price { font-size: .85rem; color: var(--muted); }
.quick-price b { color: var(--sea); font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-sand { background: var(--sand); }
.section-cream, .section-aqua { background: var(--cream); }
.section-sea { background: radial-gradient(circle at 85% 0%, #1C8CC4 0%, var(--sea) 40%, var(--sea-dark) 100%); color: rgba(255, 255, 255, .88); }
.section-sea h2, .section-sea h3 { color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 2.4rem; flex-wrap: wrap; }
.section-head > div:first-child { max-width: 680px; }
.section-head p:last-child { margin-bottom: 0; }
.section-head.center { display: block; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.center-head { justify-content: center; text-align: center; }

/* ---------- Market switch (Malaysian / International) ---------- */
.market-switch { display: inline-flex; align-items: center; gap: 4px; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.market-switch-label { font-size: .78rem; font-weight: 700; color: var(--muted); padding: 0 .6em 0 .8em; }
.market-switch button { border: 0; background: transparent; padding: .55em 1em; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.market-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.section-sea .market-switch { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); }
.section-sea .market-switch-label { color: rgba(255, 255, 255, .75); }
.section-sea .market-switch button { color: var(--white); }
.section-sea .market-switch button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
html:not([data-market="intl"]) .for-intl { display: none !important; }
html[data-market="intl"] .for-my { display: none !important; }

/* ---------- Room cards ---------- */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.room-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; }
.room-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.room-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.room-card:hover .room-media img { transform: scale(1.04); }
.room-media .chip { position: absolute; left: 14px; bottom: 14px; }
.room-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.room-body h3 { font-size: 1.5rem; margin-bottom: .4em; }
.room-body h3 a { color: var(--ink); }
.room-body .eyebrow { margin-bottom: .4rem; }
.room-text { color: var(--muted); font-size: .94rem; }
.plan-mini { display: grid; gap: 8px; margin: auto 0 18px; }
.plan-mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); color: var(--text); }
.plan-mini-row:hover { border-color: var(--copper); color: var(--text); }
.plan-mini-row strong { display: block; color: var(--ink); font-size: .92rem; }
.plan-mini-row small { color: var(--muted); font-size: .78rem; }
.plan-mini-row.is-featured { background: #E2F2FA; border-color: #B5DAF0; }
.plan-mini-price { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); white-space: nowrap; }
.plan-mini-price small { font-family: var(--font-body); font-weight: 500; margin-left: 2px; }
.room-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.from { font-size: .88rem; color: var(--muted); }
.from strong { color: var(--ink); font-size: 1.05rem; }

/* ---------- Island cards ---------- */
.island-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.island-card { display: flex; flex-direction: column; background: var(--white); color: var(--text); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.island-media { position: relative; aspect-ratio: 16 / 11; }
.island-media img { width: 100%; height: 100%; object-fit: cover; }
.island-media .chip { position: absolute; top: 14px; right: 14px; }
.island-code {
    position: absolute; left: 14px; top: 14px;
    width: 54px; height: 54px; border-radius: 16px;
    display: grid; place-items: center;
    background: var(--copper); color: var(--white);
    font-family: var(--font-head); font-size: 1.7rem; font-weight: 700;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.island-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.island-body h3 { font-size: 1.4rem; color: var(--ink); }
.island-body > p:not(.eyebrow) { font-size: .94rem; color: var(--muted); }
.include-icons { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 6px; }
.include-icons li { display: inline-flex; align-items: center; gap: .4em; padding: .35em .7em; border-radius: 999px; background: var(--sea-tint); color: var(--sea-dark); font-size: .76rem; font-weight: 600; }
.island-foot, .offer-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px dashed var(--line); }
.price-tag { font-size: .88rem; color: var(--muted); }
.price-tag strong { font-family: var(--font-head); font-size: 1.65rem; color: var(--ink); margin-right: 2px; }
.price-tag.lg strong { font-size: 2.1rem; }
.price-tag strong.price-soon { font-family: var(--font-body); font-size: 1rem; color: var(--sea); }

/* ---------- Stay package cards ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pkg-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.pkg-card.is-featured { border: 2px solid var(--copper); box-shadow: var(--shadow-lg); }
.pkg-ribbon { position: absolute; top: 16px; right: 16px; z-index: 1; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: .4em .85em; border-radius: 999px; }
.pkg-media { aspect-ratio: 16 / 9; overflow: hidden; }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; }
.pkg-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pkg-code { font-size: 2.2rem; margin-bottom: .1em; }
.pkg-sub { color: var(--muted); font-size: .88rem; }
.pkg-price { margin: auto 0 16px; padding: 16px; border-radius: var(--r); background: var(--cream); text-align: center; color: var(--muted); font-size: .85rem; display: flex; flex-direction: column; }
.pkg-price strong { font-family: var(--font-head); font-size: 2.5rem; line-height: 1.1; color: var(--copper); }
.pkg-min { font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }

/* ---------- Feature pair (diving) & tiles ---------- */
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card {
    position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end;
    background: linear-gradient(180deg, rgba(5, 30, 40, 0) 25%, rgba(5, 30, 40, .85) 100%), var(--bg) center / cover no-repeat;
    color: rgba(255, 255, 255, .9);
}
.feature-card-inner { padding: 30px; }
.feature-card h3 { color: var(--white); font-size: 1.8rem; margin-top: .6rem; }
.feature-card p { max-width: 48ch; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 22, 38, .75)); }
.tile:hover img { transform: scale(1.06); }
.tile-label { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; color: var(--white); font-weight: 700; font-size: 1.05rem; }
.tile-label i { color: var(--sun); margin-right: .35em; }

/* ---------- Split / why ---------- */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.why-list { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list strong { color: var(--ink); display: block; margin-bottom: 2px; }
.why-list p { margin: 0; color: var(--muted); font-size: .94rem; }

.gallery-strip { display: grid; grid-template-columns: repeat(6, 1fr); }
.gallery-strip button { padding: 0; border: 0; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.gallery-strip button:hover img { transform: scale(1.06); opacity: .9; }

/* ---------- Page header ---------- */
.page-header {
    position: relative; color: var(--white);
    background: linear-gradient(180deg, rgba(4, 22, 38, .35), rgba(4, 22, 38, .7)), var(--bg) center / cover no-repeat;
    padding: clamp(80px, 10vw, 130px) 0 clamp(56px, 7vw, 90px);
}
.page-header h1 { color: var(--white); max-width: 18ch; }
.page-header .lead { max-width: 640px; color: rgba(255, 255, 255, .9); margin: 0; }
.breadcrumb { display: flex; gap: .55em; font-size: .85rem; margin-bottom: 1.4rem; color: rgba(255, 255, 255, .75); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255, 255, 255, .9); }
.breadcrumb a:hover { color: var(--sun); }
.breadcrumb-dark { color: var(--muted); }
.breadcrumb-dark a { color: var(--sea); }

/* ---------- Rooms page ---------- */
.room-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.room-detail:last-of-type { border-bottom: 0; margin-bottom: 1rem; }
.room-detail.reverse .room-detail-media { order: 2; }
.room-detail-media { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 10px; }
.room-detail-media button { padding: 0; border: 0; background: var(--sand); border-radius: var(--r); overflow: hidden; position: relative; }
.room-detail-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.room-detail-media button:hover img { transform: scale(1.04); }
.room-detail-main { aspect-ratio: 4 / 3; border-radius: var(--r-lg) !important; }
.room-detail-main .chip { position: absolute; right: 14px; bottom: 14px; }
.room-detail-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.room-detail-thumbs button { aspect-ratio: 4 / 3; }
.room-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: var(--ink); }
.room-facts i { color: var(--copper); margin-right: .35em; }
.feature-chips { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: 8px; }
.feature-chips li { padding: .38em .85em; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.plan-card.is-featured { background: #E2F2FA; border: 2px solid var(--copper); }
.plan-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.plan-sub { font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.plan-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--ink); line-height: 1.1; padding-bottom: .8rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.plan-card.is-featured .plan-price { color: var(--copper); }
.plan-price small { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan-card .btn { margin-top: auto; }
.plan-flag { position: absolute; top: -11px; right: 16px; background: var(--copper); color: var(--white); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3em .75em; border-radius: 999px; }
.fine-print { font-size: .88rem; color: var(--muted); }
.fine-print i { color: var(--sea); margin-right: .3em; }

.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.amenity { display: flex; gap: 16px; padding: 22px; background: var(--white); border-radius: var(--r); }
.amenity h4 { margin-bottom: .25em; }
.amenity p { margin: 0; font-size: .92rem; color: var(--muted); }

.upsell { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.upsell > div { max-width: 680px; }
.upsell p:last-child { margin-bottom: 0; }

/* ---------- Packages page ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 560px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink); }
.compare-table thead th { background: var(--ink); color: var(--white); font-family: var(--font-head); font-size: 1.2rem; }
.compare-table thead th:first-child { font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.compare-table td i { color: var(--sea); }
.compare-table .row-price td { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--copper); }
.compare-table tr:last-child > * { border-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); }
.step p { margin: 0; color: var(--muted); }
.step .step-num { margin-bottom: 1rem; }

/* ---------- Island hopping page ---------- */
.island-list { display: grid; gap: 32px; }
.island-row { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.island-row-media { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 6px; padding: 6px; }
.island-row-main { width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: 18px 18px 6px 6px; }
.island-row-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.island-row-thumbs img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 6px; }
.island-row-thumbs img:first-child { border-bottom-left-radius: 18px; }
.island-row-thumbs img:last-child { border-bottom-right-radius: 18px; }
.island-row .island-code { left: 22px; top: 22px; }
.island-row-body { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); }
.island-row-body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-grid button { position: relative; padding: 0; border: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-grid button:hover img { transform: scale(1.05); }
.photo-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left; font-size: .84rem; color: var(--white); background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }

/* ---------- Offer rows (diving, activities) ---------- */
.offer-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(48px, 7vw, 90px); scroll-margin-top: calc(var(--nav-h) + 70px); }
.offer-row:last-child { margin-bottom: 0; }
.offer-row.reverse .offer-media { order: 2; }
.offer-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.offer-body h2 { margin-top: .8rem; }
.offer-body h4 { margin-top: .5rem; }
.offer-terms { margin: .75rem 0 0; font-size: .85rem; font-weight: 600; color: var(--muted); }
.offer-foot { border-top: 1px dashed var(--line); }
.offer-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.offer-option { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.offer-option-label { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--copper); }
.offer-option .btn { margin-top: 8px; }
.feature-card .offer-foot { border-top-color: rgba(255, 255, 255, .25); }
.feature-card .price-tag { color: rgba(255, 255, 255, .8); }
.feature-card .price-tag strong { color: var(--white); }
.tile-label small { display: block; margin-top: 2px; font-weight: 600; font-size: .8rem; color: var(--sun); }
.jump-nav b { color: var(--copper); margin-left: .3em; }

.jump-nav { position: sticky; top: var(--nav-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.jump-nav .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.jump-nav .container::-webkit-scrollbar { display: none; }
.jump-nav a { flex: none; padding: .5em .95em; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .86rem; }
.jump-nav a:hover { border-color: var(--copper); color: var(--copper); }
.jump-nav i { color: var(--copper); margin-right: .3em; }

.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.note { display: flex; gap: 16px; padding: 22px; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.note h4 { margin-bottom: .3em; }
.note p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Contact ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.channel {
    display: flex; align-items: center; gap: 16px; padding: 20px; text-align: left;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
    color: var(--text); box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.channel:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); border-color: var(--channel, var(--copper)); }
.channel-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: var(--white); background: var(--channel, var(--copper)); }
.channel-text { display: flex; flex-direction: column; line-height: 1.35; }
.channel-text strong { color: var(--ink); font-size: 1.05rem; }
.channel-text small { color: var(--muted); font-size: .8rem; }
.channel-whatsapp { --channel: #1FA855; }
.channel-wechat { --channel: #07C160; }
.channel-instagram { --channel: #D6336C; }
.channel-instagram .channel-icon { background: linear-gradient(45deg, #F9A825, #E1306C 50%, #833AB4); }
.channel-tiktok { --channel: #111111; }
.channel-facebook { --channel: #1877F2; }
.channel-phone { --channel: var(--copper); }

.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list span:not(.icon-badge) { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list p { margin: 0; }
.map-card { border-radius: var(--r-lg); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); background: var(--white); }
.map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Contact band & footer ---------- */
.contact-band { background: linear-gradient(120deg, var(--copper) 0%, #00A3D9 100%); color: rgba(255, 255, 255, .92); padding: 48px 0; }
.contact-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.contact-band h2 { color: var(--white); margin-bottom: .3em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact-band p { margin: 0; }
.contact-band .eyebrow-light { color: #C8ECFB; }
.contact-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-band .btn-wa { box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.footer-about p { margin: 1.1rem 0; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: var(--sun); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--sun); width: 16px; margin-top: .3em; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--white); }
.social a:hover { background: var(--copper); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Floating & mobile bar ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: flex; align-items: center; gap: 10px;
    background: var(--wa); color: var(--white);
    padding: 12px 18px 12px 14px; border-radius: 999px;
    box-shadow: 0 10px 28px rgba(31, 168, 85, .4); font-weight: 700;
}
.wa-float i { font-size: 1.6rem; }
.wa-float:hover { background: var(--wa-dark); color: var(--white); }
.to-top {
    position: fixed; right: 22px; bottom: 90px; z-index: 90;
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: var(--white); color: var(--ink); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.mobile-bar { display: none; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .field-label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea, .field select {
    width: 100%; padding: .8em .95em; border: 1.5px solid var(--line); border-radius: 10px;
    font: inherit; color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(11, 94, 142, .15); }
.field .error { display: none; color: #B42318; font-size: .8rem; }
.field.has-error input, .field.has-error textarea { border-color: #D92D20; }
.field.has-error .error { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-status { margin: 12px 0 0; font-size: .9rem; color: var(--sea); }
.form-status.is-error { color: #B42318; }
.form-status:empty { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.seg { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { margin-bottom: 6px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: .4em; padding: .75em; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; font-size: .9rem; cursor: pointer; text-align: center; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---------- Enquiry dialog ---------- */
.enquiry-dialog {
    width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
    padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    color: var(--text); background: var(--white);
}
.enquiry-dialog::backdrop { background: rgba(6, 24, 40, .6); backdrop-filter: blur(3px); }
.enquiry-form { padding: 26px; }
.enquiry-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.enquiry-head h3 { margin: 0; font-size: 1.4rem; }
.enquiry-head .eyebrow { margin-bottom: .3rem; }
.enquiry-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); color: var(--ink); }
.enquiry-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; padding: 14px 16px; margin: 4px 0 16px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
.enquiry-total span { font-weight: 700; color: var(--ink); }
.enquiry-total strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--copper); }
.enquiry-total small { grid-column: 1 / -1; color: var(--muted); }
.enquiry-total-na { display: block; font-size: .9rem; color: var(--sea-dark); }
.enquiry-total[hidden] { display: none; }
.enquiry-foot { font-size: .8rem; text-align: center; margin: 12px 0 0; }

/* ---------- Booking page ---------- */
.booking-page { padding: 32px 0 90px; background: var(--cream); }
.booking-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: 20px; }
.booking-title { font-size: clamp(2rem, 4vw, 3rem); }
.booking-room { position: sticky; top: calc(var(--nav-h) + 20px); }
.carousel { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.carousel-track { position: relative; aspect-ratio: 4 / 3; }
.carousel-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.carousel-slide.is-active { opacity: 1; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-sm); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .6); transition: width .25s; }
.carousel-dots button.is-active { width: 22px; background: var(--white); }
.booking-labels { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-labels li { display: flex; gap: 12px; align-items: center; padding: 14px; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.booking-labels span:not(.icon-badge) { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.booking-labels strong { color: var(--ink); font-size: .92rem; }
.booking-desc { color: var(--muted); }
.booking-terms { font-size: .9rem; }

.booking-form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.booking-form-card h2 { font-size: 1.7rem; margin-bottom: .2em; }
.booking-step { border: 0; padding: 0; margin: 26px 0 0; }
.booking-step legend { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); margin-bottom: 14px; padding: 0; font-size: 1.02rem; }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .85rem; font-weight: 800; }

.rate-options { display: grid; gap: 10px; }
.rate-option { position: relative; display: block; cursor: pointer; }
.rate-option input { position: absolute; opacity: 0; top: 20px; left: 18px; }
.rate-option-box { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 48px; border-radius: 12px; border: 1.5px solid var(--line); transition: border-color .2s, background .2s; position: relative; }
.rate-option-box::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); transition: all .2s; }
.rate-option input:checked + .rate-option-box { border-color: var(--copper); background: #E2F2FA; }
.rate-option input:checked + .rate-option-box::before { border-color: var(--copper); box-shadow: inset 0 0 0 4px var(--white); background: var(--copper); }
.rate-option input:focus-visible + .rate-option-box { outline: 3px solid var(--sun); outline-offset: 2px; }
.rate-option-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rate-option-head strong { color: var(--ink); }
.rate-option-price { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); white-space: nowrap; }
.rate-option-price small { font-family: var(--font-body); font-size: .78rem; font-weight: 500; color: var(--muted); }
.rate-option-inc { font-size: .82rem; color: var(--text); }

.date-summary { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.date-box { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); }
.date-box span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.date-box strong { color: var(--ink); font-size: .92rem; }
.date-box.is-active { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(11, 94, 142, .12); }
.date-arrow { color: var(--muted); }
.date-nights { min-height: 1.4em; margin: 8px 0; font-weight: 700; color: var(--sea); font-size: .9rem; }
.datepicker { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.dp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.dp-title { font-weight: 800; color: var(--ink); }
.dp-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); }
.dp-nav:disabled { opacity: .35; cursor: default; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp-dow { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.dp-day { aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; font-weight: 600; font-size: .9rem; color: var(--ink); }
.dp-day:hover:not(:disabled) { background: var(--sand); }
.dp-day:disabled { color: #A9BCC9; cursor: default; text-decoration: line-through; }
.dp-day.is-today span { border-bottom: 2px solid var(--copper); }
.dp-day.in-range { background: var(--sea-tint); border-radius: 0; }
.dp-day.is-start, .dp-day.is-end { background: var(--sea) !important; color: var(--white); }
.dp-hint { margin: 10px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.field-dates.has-error .datepicker { border-color: #D92D20; }

.booking-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--sea-tint); color: var(--sea-dark); font-size: .88rem; }
.booking-notice i { margin-top: .25em; }
.booking-review { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.booking-review > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.booking-review > div:last-child { border-bottom: 0; }
.booking-review dt { color: var(--muted); }
.booking-review dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.pay-total { background: var(--cream); }
.pay-total dd { font-family: var(--font-head); font-size: 1.4rem; color: var(--copper); }
.booking-form > .btn { margin-top: 24px; }
.booking-secure { font-size: .82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.booking-secure i { color: var(--wa); }
/* Non-refundable rate plan + booking conditions before the pay button (components/booking-conditions.php) */
.booking-conditions { border: 1px solid var(--line, #E4E7EC); border-radius: 12px; padding: 16px 18px; margin: 20px 0 0; background: #fff; }
.rate-plan { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line, #E4E7EC); }
.rate-plan strong { color: #B42318; }
.rate-plan-list { list-style: none; margin: 12px 0 14px; padding: 0; display: grid; gap: 6px 16px; font-size: .88rem; }
@media (min-width: 480px) { .rate-plan-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; } }
.rate-plan-list li { display: flex; gap: 8px; align-items: baseline; }
.rate-plan-list .is-yes i { color: var(--wa, #1FA855); }
.rate-plan-list .is-no i { color: #D92D20; }
.booking-conditions .policy-highlight { margin: 0; font-size: .88rem; }
/* "I agree to the Terms & policies" box (booking forms) */
.field-check { margin: 20px 0 0; }
.check-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; line-height: 1.5; cursor: pointer; }
.field .check-label input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; padding: 0; accent-color: var(--sea); cursor: pointer; }
.check-label a { color: var(--sea); text-decoration: underline; text-underline-offset: 2px; }
.field-check.has-error .check-label { color: #B42318; }
/* Terms / Privacy / Refund policy pages */
.policy-body { margin: 0 auto; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.5rem; }
.policy-nav a { padding: 6px 14px; border: 1px solid var(--line, #E4E7EC); border-radius: 999px; font-size: .88rem; text-decoration: none; }
.policy-nav a[aria-current="page"] { background: var(--sea); border-color: var(--sea); color: #fff; }
.policy-contact { list-style: none; padding-left: 0; }
.policy-highlight { display: flex; gap: 12px; align-items: flex-start; background: #FEF3F2; border-left: 4px solid #D92D20; border-radius: 8px; padding: 14px 18px; margin: 0 0 1.2rem; }
.policy-highlight i { color: #D92D20; margin-top: 5px; }
.policy-highlight p { margin: 0; color: #7A271A; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Booking result pages ---------- */
.booking-result { padding: 70px 0 100px; background: var(--cream); }
.booking-result-card { max-width: 620px; margin: 0 auto; background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); text-align: center; box-shadow: var(--shadow); }
.booking-result-card .icon-badge { margin-bottom: 1rem; }
.booking-result-card .booking-review { text-align: left; margin: 1.5rem 0; }
.result-ok { background: #DCF5E6; color: var(--wa-dark); }
.result-wait { background: #FFF1D6; color: #A86A00; }
.result-bad { background: #FDE3E0; color: #B42318; }
.booking-paid-note { color: var(--wa-dark); font-weight: 700; }
.retry-form { margin-top: 1rem; }

/* ---------- Explore / About (shared) ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.editorial.reverse .editorial-media { order: 2; }
.editorial-media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.facility-rows { display: grid; gap: clamp(40px, 6vw, 72px); }
.facility-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.facility-row.reverse .facility-row-media { order: 2; }
.facility-row-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-item { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.value-item .icon-badge { margin-bottom: 1rem; }
.value-item h3 { font-size: 1.2rem; }
.value-item p { margin: 0; color: var(--muted); font-size: .94rem; }
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry-item { position: relative; display: block; width: 100%; padding: 0; margin: 0 0 14px; border: 0; border-radius: var(--r); overflow: hidden; break-inside: avoid; background: var(--sand); }
.masonry-item img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; text-align: left; font-size: .84rem; color: var(--white); background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .25s; }
.masonry-item:hover .masonry-caption, .masonry-item:focus-visible .masonry-caption { opacity: 1; }
.facility-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.facility-icon h3 { font-size: 1.1rem; }
.facility-icon p { font-size: .9rem; }
.notfound { padding: 120px 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(3, 14, 26, .92); display: flex; align-items: center; justify-content: center; padding: 60px 70px; opacity: 0; visibility: hidden; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 8px; object-fit: contain; transition: opacity .2s; }
.lightbox img.is-loading { opacity: .3; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); font-size: .9rem; margin-top: 12px; display: flex; gap: 16px; }
.lightbox figcaption span { color: rgba(255, 255, 255, .5); }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); font-size: 1.1rem; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Restaurant & dining ---------- */
.dining-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); gap: 14px; }
.dining-gallery button { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.dining-gallery button:first-child { grid-row: span 2; }
.dining-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dining-gallery button:hover img { transform: scale(1.05); }
.dining-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left; font-size: .84rem; color: var(--white); background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.is-hidden { display: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1260px) {
    .nav-links a { padding: .55em .4em; font-size: .86rem; }
    .navbar { gap: 10px; }
    .brand-sub { display: none; }
}
@media (min-width: 1061px) and (max-width: 1260px) {   /* 8 menu links: Book a Room shows as an icon on narrow laptops */
    .nav-cta { padding: .7em .9em; }
    .nav-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 1060px) {
    .nav-toggle { display: flex; }
    .brand-name-mobile { display: inline; }
    .nav-menu {
        position: fixed; left: 0; right: 0; top: var(--menu-top, var(--nav-h)); bottom: 0;
        flex-direction: column; align-items: stretch; gap: 20px;
        background: var(--white); padding: 20px 24px 120px; overflow-y: auto;
        transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden;
    }
    .nav-menu.is-open { transform: none; visibility: visible; }
    .nav-links { flex-direction: column; gap: 2px; }
    .nav-links a { font-size: 1.15rem; padding: .8em 1em; border-radius: 12px; }
    .nav-menu-extra { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 16px; }
    .nav-menu-extra > a:not(.btn) { color: var(--ink); font-weight: 600; padding: .6em 1em; }
    .nav-menu-extra .btn { margin-top: 12px; }
    body.menu-open { overflow: hidden; }

    .quick-grid { grid-template-columns: 1fr 1fr; }
    .room-grid, .island-grid, .pkg-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .room-detail, .island-row { grid-template-columns: 1fr; }
    .room-detail.reverse .room-detail-media { order: 0; }
    .room-detail-media { position: static; }
    .facility-icons { grid-template-columns: 1fr 1fr; }
    .amenity-grid, .note-grid, .value-grid, .channel-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .topbar-loc, .topbar-links > a[href^="mailto"] { display: none; }
    .topbar-inner { justify-content: center; }
    .booking-layout { grid-template-columns: 1fr; }
    .booking-room { position: static; }
    .split, .editorial, .facility-row, .offer-row, .contact-layout { grid-template-columns: 1fr; }
    .editorial.reverse .editorial-media, .facility-row.reverse .facility-row-media, .offer-row.reverse .offer-media { order: 0; }
    .split-media img { aspect-ratio: 16 / 10; }
    .feature-pair, .steps { grid-template-columns: 1fr; }
    .tile-grid, .photo-grid { grid-template-columns: 1fr 1fr; }
    .dining-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 200px; }
    .dining-gallery button:first-child { grid-row: span 1; grid-column: span 2; }
    .gallery-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    :root { --nav-h: 66px; }
    .container { padding: 0 16px; }
    .brand-logo { width: 50px; }
    .brand-name { font-size: 1.12rem; }
    .nav-cta span { display: none; }
    .nav-cta { width: 46px; height: 46px; padding: 0; }
    .topbar-links, .topbar-social { gap: 12px; }
    .topbar .lang-switch-icon { display: none; }
    .hero { min-height: 0; padding: 90px 0 120px; }
    .hero .btn-row .btn { flex: 1 1 100%; }
    .quick { margin-top: -72px; }
    .quick-grid { grid-template-columns: 1fr; gap: 10px; }
    .quick-card { padding: 14px; }
    .room-grid, .island-grid, .pkg-grid, .plan-grid, .amenity-grid, .note-grid, .value-grid, .channel-grid, .facility-icons, .form-row { grid-template-columns: 1fr; }
    .section-head { margin-bottom: 1.6rem; }
    .market-switch { width: 100%; }
    .market-switch button { flex: 1; padding: .55em .5em; }
    .market-switch-label { display: none; }
    .tile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tile { aspect-ratio: 1; }
    .tile-label { font-size: .88rem; left: 12px; right: 12px; bottom: 10px; }
    .feature-card { min-height: 360px; }
    .feature-card-inner { padding: 22px; }
    .island-row-main { min-height: 220px; }
    .booking-labels { grid-template-columns: 1fr; }
    .date-summary { grid-template-columns: 1fr 1fr; }
    .date-arrow { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
    .contact-band-actions, .contact-band-actions .btn { width: 100%; }
    .upsell .btn { width: 100%; }
    .dining-gallery { grid-auto-rows: 150px; gap: 10px; }
    .lightbox { padding: 60px 10px; }
    .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }

    /* Mobile booking bar replaces the floating buttons */
    body { padding-bottom: 68px; }
    .wa-float { display: none; }
    .to-top { bottom: 82px; right: 14px; }
    .mobile-bar {
        display: grid; grid-template-columns: repeat(4, 1fr);
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
        background: var(--white); border-top: 1px solid var(--line);
        box-shadow: 0 -6px 20px rgba(11, 42, 66, .08);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px; color: var(--ink); font-size: .7rem; font-weight: 700; }
    .mobile-bar i { font-size: 1.15rem; color: var(--copper); }
    .mobile-bar .mobile-bar-wa { background: var(--wa); color: var(--white); }
    .mobile-bar .mobile-bar-wa i { color: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Online booking: availability calendar + service booking page ---------- */
.field-rooms select { max-width: 200px; }
.dp-day.is-full:not(.is-start):not(.is-end) { background: #F9E9E7; color: #A0473D; }
.dp-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8rem; color: var(--muted); margin: 0 0 10px; }
.dp-key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; }
.dp-key-full { background: #F9E9E7; border: 1px solid #E8B7B0; }
.service-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); margin: 14px 0 18px; }
.field-msg { color: #B42318; font-size: .85rem; margin: 8px 0 0; }
.field-msg.is-info { color: #8A5A00; }
.booking-form select { width: 100%; }
#serviceForm [hidden], .service-panel[hidden] { display: none !important; }

/* ---------- FAQ (homepage) ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-topics { display: flex; flex-direction: column; gap: 4px; margin: 1.4rem 0 1.6rem; }
.faq-topics a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease); }
.faq-topics a i { width: 18px; text-align: center; color: var(--sea); }
.faq-topics a:hover { background: var(--white); color: var(--copper); }
.faq-groups { display: flex; flex-direction: column; gap: 2.2rem; }
.faq-group { scroll-margin-top: calc(var(--nav-h) + 20px); }
.faq-group h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin: 0 0 .9rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease); }
.faq-item[open] { border-color: var(--sea); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8rem; color: var(--sea); flex-shrink: 0; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--copper); }
.faq-item summary:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; border-radius: var(--r); }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
@media (max-width: 900px) {
    .faq-layout { grid-template-columns: 1fr; }
    .faq-intro { position: static; }
    .faq-topics { flex-direction: row; flex-wrap: wrap; }
    .faq-topics a { background: var(--white); border: 1px solid var(--line); padding: 7px 12px; font-size: .85rem; }
}

/* ---------- Location map (homepage) ---------- */
.location-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.location-grid .map-card, .location-grid .map-card iframe { min-height: 440px; }
@media (max-width: 900px) {
    .location-grid { grid-template-columns: 1fr; }
    .location-grid .map-card, .location-grid .map-card iframe { min-height: 320px; }
}

/* ---------- Google reviews (homepage) ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--sun); font-size: .9rem; }
.review-summary { display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease); }
.review-summary:hover { border-color: var(--sea); }
.review-summary strong { font-family: var(--font-head); font-size: 1.8rem; line-height: 1; margin-right: 6px; }
.review-summary small { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.review-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-stat { cursor: default; }
.visit-stat[hidden] { display: none; }
.visit-stat:hover { border-color: var(--line); }
.visit-stat small b { color: var(--sea); font-weight: 700; }
.review-google.visit-icon { color: var(--sea); background: var(--sea-tint); font-size: 1.1rem; }
.review-google {display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: #4285F4; font-size: 1.3rem; }
.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.review-card header { display: flex; align-items: center; gap: 12px; }
.review-card header img, .review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.review-avatar { display: grid; place-items: center; background: var(--sea-tint); color: var(--sea); font-weight: 700; }
.review-card header div { flex: 1; min-width: 0; }
.review-card header strong { display: block; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-card header small { color: var(--muted); font-size: .8rem; }
.review-source { color: #4285F4; }
.review-card p { margin: 0; color: var(--text); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-card .link-arrow { margin-top: auto; font-size: .88rem; }
.review-actions { justify-content: center; margin-top: 2rem; }

/* ---------- Smaller background photos on phones (--bg-sm is set inline next to --bg) ---------- */
@media (max-width: 760px) {
    .hero { background-image: var(--bg-sm, var(--bg)); }
    .feature-card { background-image: linear-gradient(180deg, rgba(5, 30, 40, 0) 25%, rgba(5, 30, 40, .85) 100%), var(--bg-sm, var(--bg)); }
    .page-header { background-image: linear-gradient(180deg, rgba(4, 22, 38, .35), rgba(4, 22, 38, .7)), var(--bg-sm, var(--bg)); }
}
.hero h1 .hero-kicker { display: block; max-width: none; margin-bottom: 14px; font-family: var(--font-body); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); line-height: 1.5; }
@media (min-width: 761px) { .hero h1 { max-width: 15ch; } .hero h1 .hero-kicker { width: max-content; max-width: 90vw; } }

/* Hero visitor counter */
.hero-visits { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 0 0 1.4rem; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: rgba(255, 255, 255, .92); font-size: .92rem; line-height: 1.3; }
.hero-visits[hidden] { display: none; }
.hero-visits { transition: opacity .4s ease; }
.hero-visits.is-loading { opacity: 0; }
.hero-visits strong, .hero-visits b { color: var(--white); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-visits strong { font-size: 1.05rem; }
.hero-visits-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--sea); font-size: .85rem; }
.hero-visits-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .35); }
.hero-visits-today { display: inline-flex; align-items: center; gap: 7px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
@media (max-width: 760px) { .hero-visits { font-size: .85rem; padding-right: 14px; } }

/* ---------- Travel guides (/blog/) ---------- */
.blog-featured { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: box-shadow .25s, transform .25s; }
.blog-featured:hover, .blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--text); }
.blog-featured-media { min-height: 320px; overflow: hidden; }
.blog-featured-media img, .blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-featured:hover img, .blog-card:hover img { transform: scale(1.04); }
.blog-featured-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.blog-featured-body .blog-more { margin-top: .6rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--text); transition: box-shadow .25s, transform .25s; }
.blog-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 { font-size: 1.3rem; margin-bottom: .45em; }
.blog-card-body .muted { font-size: .93rem; }
.blog-card-body .eyebrow { margin-bottom: .45rem; }
.blog-more { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--copper); }
.blog-more i { margin-left: 4px; transition: transform .2s; }
.blog-card:hover .blog-more i, .blog-featured:hover .blog-more i { transform: translateX(3px); }

.article-header h1 { max-width: 22ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 1.3rem 0 0; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.article-meta i { margin-right: 5px; color: var(--sun); }
.article-hero-credit { position: absolute; right: 12px; bottom: 8px; margin: 0; font-size: .7rem; color: rgba(255, 255, 255, .7); }
.article-hero-credit a { color: rgba(255, 255, 255, .85); text-decoration: underline; }
.article-section { padding-top: clamp(40px, 6vw, 72px); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-body { max-width: 760px; font-size: 1.05rem; line-height: 1.75; }
.article-body > p:first-child { font-size: 1.15rem; color: var(--ink-2); }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2em; }
.article-body h3 { font-size: 1.25rem; margin-top: 1.6em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.2rem; }
.article-body li { margin-bottom: .45em; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }
.article-figure { margin: 1.8rem 0; }
.article-figure img { width: 100%; border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; background: var(--sand); }
.article-figure figcaption { margin-top: .6rem; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.article-credit { display: block; font-size: .74rem; margin-top: 2px; opacity: .85; }
.article-credit a, .article-credits a { color: var(--muted); }
.article-tip { background: var(--sea-tint); border-left: 4px solid var(--sea); border-radius: 0 var(--r) var(--r) 0; padding: 16px 20px; margin: 1.6rem 0; font-size: .98rem; }
.article-tip strong:first-child { color: var(--sea-dark); }
.article-table-wrap { overflow-x: auto; margin: 1.4rem 0 1.8rem; border: 1px solid var(--line); border-radius: var(--r); }
.article-table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.5; min-width: 520px; }
.article-table th, .article-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-table th { background: var(--cream); color: var(--ink); font-weight: 700; }
.article-table tr:last-child td { border-bottom: 0; }
.article-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin: 1.8rem 0; }
.article-box h3 { margin-top: 0; }
.article-box .btn { text-decoration: none; }
.article-credits { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); line-height: 1.55; }
.article-credits h4 { font-size: .85rem; margin-bottom: .6rem; color: var(--ink-2); }
.article-credits ul { padding-left: 1.1em; }
.article-credits li { margin-bottom: .3em; }
.article-aside { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 20px; }
.article-toc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.article-toc ol { margin: 0; padding-left: 1.2em; font-size: .9rem; line-height: 1.45; }
.article-toc li { margin-bottom: .55em; }
.article-toc a { color: var(--text); }
.article-toc a:hover { color: var(--copper); }
.article-cta { background: radial-gradient(circle at 85% 0%, #1C8CC4 0%, var(--sea) 45%, var(--sea-dark) 100%); color: rgba(255, 255, 255, .9); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; }
.article-cta h3 { color: var(--white); margin: 0; }
.article-cta p { margin: 0 0 .4rem; font-size: .92rem; }
.article-cta .eyebrow { margin: 0; }

@media (max-width: 1060px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; max-width: 760px; }
    .article-toc { order: -1; }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-media { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .article-body { font-size: 1rem; }
    .article-hero-credit { left: 12px; }
}

/* ==========================================================================
   Theme polish (Dec 2026) – same ocean palette, more depth and warmth:
   lagoon turquoise accents, warm sand sections, gradient CTAs, wave edges.
   ========================================================================== */
.topbar { background: linear-gradient(90deg, var(--ink) 0%, var(--sea-dark) 100%); }
.nav-links a:hover { background: var(--sea-tint); color: var(--ink); }
.nav-toggle { background: var(--sea-tint); }

/* Eyebrow labels: lagoon colour with a short rule */
.eyebrow { color: var(--lagoon-dark); }
.eyebrow::before {
    content: ""; display: inline-block; vertical-align: middle;
    width: 24px; height: 2px; margin: -2px 10px 0 0; border-radius: 2px;
    background: currentColor;
}
.room-body .eyebrow::before, .island-body .eyebrow::before, .pkg-body .eyebrow::before,
.blog-card-body .eyebrow::before, .enquiry-head .eyebrow::before { display: none; }
.eyebrow-light { color: var(--sun); }
.section-sea .eyebrow:not(.eyebrow-light) { color: #7FE3E6; }

/* Buttons: ocean → lagoon gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--copper) 0%, #0096C7 55%, var(--lagoon) 100%);
    background-size: 160% 100%; background-position: 0 0;
    box-shadow: 0 8px 22px rgba(0, 119, 182, .30);
    transition: background-position .35s var(--ease), color .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 12px 28px rgba(15, 176, 181, .34); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); }
.btn-light:hover { background: var(--sea-tint); }

/* Sections */
.section-sand { background: linear-gradient(180deg, var(--sand) 0%, #FBF7EF 100%); }
.section-cream, .section-aqua { background: linear-gradient(180deg, var(--cream) 0%, #EAF5FA 100%); }
.section-sea {
    position: relative; isolation: isolate; overflow: hidden;
    background:
        radial-gradient(ellipse at 90% -10%, rgba(15, 176, 181, .55) 0%, transparent 55%),
        radial-gradient(ellipse at 0% 110%, rgba(0, 150, 199, .45) 0%, transparent 50%),
        linear-gradient(160deg, #0A6A9E 0%, var(--sea) 40%, var(--sea-dark) 100%);
}
.section-sea::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 12c20 0 20-8 40-8s20 8 40 8 20-8 40-8' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") repeat;
}

/* Cards: softer ocean shadows, lift on hover */
.room-card, .pkg-card, .island-card, .review-card, .quick-card { box-shadow: 0 4px 14px rgba(11, 42, 66, .07); }
.room-card:hover, .pkg-card:hover, .island-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(11, 42, 66, .16); }
.pkg-card, .island-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.island-media, .pkg-media { overflow: hidden; }
.island-media img, .pkg-media img { transition: transform .6s var(--ease); }
.island-card:hover .island-media img, .pkg-card:hover .pkg-media img { transform: scale(1.05); }
.island-card { box-shadow: 0 18px 40px rgba(3, 25, 45, .28); }
.room-card:hover, .quick-card:hover { border-color: rgba(15, 176, 181, .55); }
.room-media::after, .pkg-media::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 40%; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(4, 22, 38, .28));
}
.pkg-media { position: relative; }

.island-code { background: linear-gradient(135deg, var(--copper), var(--lagoon)); border: 2px solid rgba(255, 255, 255, .85); }
.pkg-ribbon { background: var(--coral); color: var(--white); box-shadow: 0 6px 14px rgba(255, 122, 89, .35); }
.chip-sun { box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.quick-icon, .icon-badge { background: linear-gradient(135deg, #E2F2FA, #D7F3F2); color: var(--copper); }
.icon-circle { background: linear-gradient(135deg, #E2F2FA, #D7F3F2); }
.include-icons li { background: #E3F6F5; color: var(--lagoon-dark); }
.plan-mini-row.is-featured { background: linear-gradient(135deg, #E2F2FA, #E3F6F5); border-color: #A9DCE6; }
.pkg-price { background: linear-gradient(135deg, var(--cream), #E3F6F5); }
.pkg-price strong { color: var(--copper-dark); }

/* Contact band + footer with a wave edge */
.contact-band {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, .18) 0%, transparent 45%),
        linear-gradient(120deg, var(--copper) 0%, #0096C7 55%, var(--lagoon) 100%);
    padding: 52px 0 84px;
}
.site-footer {
    position: relative;
    background: linear-gradient(180deg, var(--ink) 0%, #071D2F 100%);
}
.site-footer::before {
    content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22C180 4 360 4 540 18s360 22 540 8 270-24 360-14V40H0Z' fill='%230B2A42'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.site-footer h4 { color: var(--sun); }
.footer-social a, .site-footer .social a { transition: background .2s, color .2s; }

/* ==========================================================================
   Motion & interaction (Dec 2026) – all switched off by the
   prefers-reduced-motion rule above (animations/transitions: none).
   ========================================================================== */

/* Reveal variants (classes added by main.js) */
.js .reveal-pop { transform: translateY(28px) scale(.97); }
.js .reveal-left { transform: translateX(-36px); }
.js .reveal.is-visible { transform: none; }

/* Section headings: a small wave draws in under the title once revealed */
.section-head h2::after, .faq-intro h2::after {
    content: ""; display: block; width: 64px; height: 10px; margin-top: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='10' viewBox='0 0 64 10'%3E%3Cpath d='M1 5c5 0 5-4 10-4s5 4 10 4 5-4 10-4 5 4 10 4 5-4 10-4 5 4 10 4' fill='none' stroke='%230FB0B5' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") left center / 64px 10px no-repeat;
    clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease) .35s;
}
.section-head.center h2::after { margin-left: auto; margin-right: auto; }
.section-sea .section-head h2::after { filter: brightness(1.6); }
.section-head.is-visible h2::after, .faq-intro.is-visible h2::after, html:not(.js) .section-head h2::after { clip-path: inset(0 0 0 0); }

/* Scroll progress bar under the header */
.scroll-progress {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none;
    background: linear-gradient(90deg, var(--copper), var(--lagoon), var(--sun));
    transform: scaleX(0); transform-origin: 0 50%;
}

/* Hero: slow zoom on the photo, staggered text entrance, animated waves */
.hero { isolation: isolate; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: inherit; transform-origin: 60% 60%;
    animation: hero-zoom 24s ease-in-out infinite alternate;
}
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-inner > * { animation: hero-in .9s var(--ease) both; }
.hero-inner > h1 { animation-delay: .1s; }
.hero-inner > .lead { animation-delay: .3s; }
.hero-inner > .btn-row { animation-delay: .5s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-waves span {
    position: absolute; left: 0; bottom: 0; width: 200%; height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 35C240 5 480 5 720 35s480 30 720 0v35H0Z' fill='%23fff'/%3E%3C/svg%3E") 0 100% / 50% 100% repeat-x;
    animation: wave-drift 18s linear infinite;
}
.hero-waves span:nth-child(1) { opacity: .25; bottom: 14px; animation-duration: 22s; animation-direction: reverse; }
.hero-waves span:nth-child(2) { opacity: .45; bottom: 6px; animation-duration: 15s; }
.hero-waves span:nth-child(3) { opacity: 1; height: 44px; animation-duration: 28s; }
@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-inner { position: relative; z-index: 1; }

/* Rising bubbles (deep-sea sections) */
.bubbles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.section-sea > .container { position: relative; z-index: 1; }
.bubbles span {
    position: absolute; bottom: -30px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 60%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, .25);
    animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: .9; }
    50% { transform: translate(18px, -50vh); }
    100% { transform: translate(-12px, -110vh); opacity: 0; }
}

/* Cards: 3D tilt + glare (only on mouse devices; set up by main.js) */
.tilt {
    position: relative;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.tilt-glare {
    position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .35), transparent 45%);
    opacity: 0; transition: opacity .3s;
}
.tilt:hover .tilt-glare { opacity: 1; }
.quick-card .quick-icon { transition: transform .35s var(--ease), background .3s, color .3s; }
.quick-card:hover .quick-icon { transform: rotate(-8deg) scale(1.1); background: linear-gradient(135deg, var(--copper), var(--lagoon)); color: var(--white); }

/* Buttons: soft light that follows the cursor + icon nudge */
.btn-primary, .btn-wa { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-wa::after {
    content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; border-radius: 50%;
    left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 65%);
    transition: transform .4s var(--ease);
}
.btn-primary:hover::after, .btn-wa:hover::after { transform: translate(-50%, -50%) scale(1); }
.btn i { transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(2px) scale(1.12); }
.btn-wa i.fa-whatsapp { animation: wa-wiggle 4s ease-in-out infinite; }
@keyframes wa-wiggle { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-14deg); } 94% { transform: rotate(12deg); } 97% { transform: rotate(-6deg); } }

/* Tiles & gallery: label slides up, photo zooms */
.tile-label { transition: transform .4s var(--ease); }
.tile:hover .tile-label { transform: translateY(-6px); }
.tile:hover::after { background: linear-gradient(180deg, transparent 30%, rgba(8, 61, 94, .82)); }
.gallery-strip button { position: relative; }
.gallery-strip button::after {
    content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--white); font-size: 1.3rem;
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(8, 61, 94, .45); opacity: 0; transition: opacity .3s;
}
.gallery-strip button:hover::after, .gallery-strip button:focus-visible::after { opacity: 1; }

/* FAQ: lift on hover + accent bar when open */
.faq-item { transition: border-color .2s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.faq-item:hover { box-shadow: var(--shadow); transform: translateX(3px); }
.faq-item[open] { box-shadow: inset 4px 0 0 var(--lagoon), var(--shadow); }
.faq-item[open] p { animation: hero-in .4s var(--ease) both; }

/* Why-list icons pop on hover */
.why-list li .icon-badge { transition: transform .35s var(--ease), background .3s, color .3s; }
.why-list li:hover .icon-badge { transform: scale(1.12) rotate(-6deg); background: linear-gradient(135deg, var(--copper), var(--lagoon)); color: var(--white); }
