/* =====================================================================
   H Resort – The Coral Cliff · CloudStay
   Design tokens + components. Upright type only; no italics.
   ===================================================================== */
:root {
  color-scheme: light;
  --ocean: #086B8A;
  --ocean-600: #075E79;
  --ocean-700: #064F66;
  --deep: #103D4B;
  --mist: #EAF4F6;
  --sand: #F5F1E9;
  --white: #FFFFFF;
  --border: #D5E2E6;
  --text: #202D32;
  --text-2: #58666B;
  --orange: #E79A3B;
  --success: #28734F;
  --error: #B33A3A;
  --warn-bg: #FFF6E8;
  --warn-ink: #7A4A0C;

  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --maxw: 1280px;
  --pad: 56px;
  --section: 96px;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 6px 20px rgba(16, 61, 75, .08);
  --shadow-lift: 0 10px 26px rgba(16, 61, 75, .12);
  --header-h: 76px;
  --bottomnav-h: 0px;
  --actionbar-h: 0px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1024px) { :root { --pad: 32px; --section: 80px; } }
@media (max-width: 767px) { :root { --pad: 20px; --section: 56px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--white); font-style: normal;
}
@media (max-width: 767px) { body { font-size: 16px; } }
img { max-width: 100%; display: block; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--ocean-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--deep); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4vw, 52px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: clamp(20px, 1.8vw, 24px); }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
em, i { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--deep); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--pad) * 2); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.bg-mist { background: var(--mist); }
.bg-sand { background: var(--sand); }
.bg-ocean { background: var(--ocean); color: #fff; }
.bg-ocean h2, .bg-ocean h3 { color: #fff; }
.eyebrow { font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ocean); margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--text-2); max-width: 60ch; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head > div { max-width: 640px; }
.section-head p { margin: 0; color: var(--text-2); }
.stack > * + * { margin-top: 16px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-sm); border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s; white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ocean); color: #fff; }
.btn-primary:hover:not([disabled]) { background: var(--ocean-700); color: #fff; }
.btn-secondary { background: #fff; color: var(--ocean); border-color: var(--ocean); }
.btn-secondary:hover:not([disabled]) { background: var(--mist); color: var(--ocean-700); }
.btn-ghost { background: transparent; color: var(--ocean); border-color: transparent; padding-left: 12px; padding-right: 12px; }
.btn-ghost:hover { background: var(--mist); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--mist); color: var(--deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ocean); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; text-decoration: none; min-height: 44px; }
.arrow-link:hover .icon { transform: translateX(3px); }
.arrow-link .icon { transition: transform .2s; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Preview / status badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1.3; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--deep); border: 1px solid var(--border); }
.badge .icon { width: 14px; height: 14px; }
.badge-preview { background: var(--warn-bg); color: var(--warn-ink); border-color: #F0D9B5; }
.badge-success { background: #E6F3EC; color: var(--success); border-color: #BFDCCB; }
.badge-error { background: #F8E7E7; color: var(--error); border-color: #E8C3C3; }
.badge-ocean { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.preview-bar { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--warn-ink); background: var(--warn-bg); border: 1px solid #F0D9B5; padding: 8px 14px; border-radius: var(--radius-sm); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--mist); font-size: 15px; }
.notice p { margin: 0; }
.notice-warn { background: var(--warn-bg); border-color: #F0D9B5; color: var(--warn-ink); }
.notice-error { background: #FBEDED; border-color: #E8C3C3; color: #7C2525; }
.notice-success { background: #EAF5EF; border-color: #BFDCCB; color: #1E5A3E; }
.notice .icon { margin-top: 2px; }

/* ---------- Media placeholders (neutral, discreetly labelled) ---------- */
.media { position: relative; overflow: hidden; background: var(--mist); border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.ph { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 12px;
  background-color: #D9E7EA; background-image: linear-gradient(160deg, rgba(255,255,255,.35), rgba(16,61,75,.10)),
  repeating-linear-gradient(135deg, rgba(16,61,75,.035) 0 2px, transparent 2px 14px); transition: transform .35s var(--ease); }
.ph.tone-sand { background-color: #E9E1D2; }
.ph.tone-deep { background-color: #1D4E5D; background-image: linear-gradient(170deg, #2A6577 0%, #15404E 70%), repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px); }
.ph-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--deep); background: rgba(255,255,255,.88); border-radius: 4px; padding: 4px 8px; }
.ph-label .icon { width: 14px; height: 14px; }
.ph-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(16,61,75,.25); }
.ph.tone-deep .ph-mark { color: rgba(255,255,255,.14); }
.ph-mark .icon { width: 44px; height: 44px; stroke-width: 1.2; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-32 { aspect-ratio: 3 / 2; }
.hover-zoom:hover .media img, .hover-zoom:hover .ph, .hover-zoom:focus-within .ph { transform: scale(1.04); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--border); transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header.is-transparent { background: transparent; border-color: transparent; }
.site-header.is-transparent .nav-link, .site-header.is-transparent .nav-toggle, .site-header.is-transparent .hdr-action { color: #fff; }
.site-header.is-transparent .hdr-action.btn-secondary { background: transparent; border-color: rgba(255,255,255,.85); }
.site-header.is-transparent .menu-btn { color: #fff; border-color: rgba(255,255,255,.6); }
.site-header.scrolled { box-shadow: 0 2px 14px rgba(16,61,75,.08); }
.hdr-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand-plate { background: #fff; border-radius: var(--radius-sm); padding: 4px 8px; display: flex; }
.brand img { height: 52px; width: auto; aspect-ratio: 1401 / 838; }
@media (max-width: 767px) { .brand img { height: 44px; } }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; min-height: 44px; padding: 8px 8px 8px 12px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--deep); text-decoration: none; border-radius: var(--radius-sm); position: relative; }
.nav-item:not(.has-children) .nav-link { padding-right: 12px; }
.nav-link[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 4px; bottom: 4px; height: 2px; background: var(--ocean); border-radius: 2px; }
.site-header.is-transparent .nav-link[aria-current="page"]::after { background: #fff; }
.nav-link:hover { color: var(--ocean); }
.site-header.is-transparent .nav-link:hover { color: #fff; opacity: .85; }
.nav-toggle { display: flex; align-items: center; justify-content: center; width: 28px; min-height: 44px; border: 0; background: none; color: var(--deep); cursor: pointer; border-radius: var(--radius-sm); padding: 0; }
.nav-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lift); padding: 8px; list-style: none; margin: 0; display: none; z-index: 70; }
.dropdown.open { display: block; }
.dropdown a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-size: 15px; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--mist); color: var(--ocean-700); }
.dropdown .dd-note { font-size: 12.5px; color: var(--text-2); padding: 6px 12px 2px; border-top: 1px solid var(--border); margin-top: 6px; }
.hdr-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.hdr-action { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--border); background: transparent; border-radius: var(--radius-sm); color: var(--deep); font-weight: 600; cursor: pointer; margin-left: auto; }
@media (max-width: 1320px) { .nav-link { font-size: 14px; padding-left: 9px; } .hdr-inner { gap: 16px; } .hdr-action { padding: 8px 12px; font-size: 14px; } }
@media (max-width: 1199px) { .main-nav, .hdr-actions { display: none; } .menu-btn { display: inline-flex; } }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(16,61,75,.45); z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 91; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.15); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--pad); border-bottom: 1px solid var(--border); min-height: var(--header-h); }
.drawer-body { overflow-y: auto; padding: 8px var(--pad) 24px; flex: 1; overscroll-behavior: contain; }
.drawer-body ul { list-style: none; margin: 0; padding: 0; }
.drawer-row { display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.drawer-row > a { flex: 1; padding: 14px 0; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--deep); text-decoration: none; min-height: 52px; }
.drawer-row > a[aria-current="page"] { color: var(--ocean); }
.drawer-row button { width: 48px; height: 48px; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: var(--deep); cursor: pointer; border-radius: var(--radius-sm); }
.drawer-row button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer-sub { padding: 4px 0 10px 12px !important; border-bottom: 1px solid var(--border); }
.drawer-sub a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; min-height: 44px; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--deep); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--mist); }

main { min-height: 60vh; }
.page-top { padding-top: var(--header-h); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; border-radius: 0; }
.hero-media img { object-position: 50% 55%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; background: var(--ocean-deep); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,61,75,.72) 0%, rgba(16,61,75,.38) 55%, rgba(16,61,75,.15) 100%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-content { max-width: 660px; }
.hero h1 { color: #fff; font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 18px; text-wrap: balance; }
.hero p { font-size: 19px; color: rgba(255,255,255,.92); max-width: 52ch; margin-bottom: 30px; }
.hero .ph-label { position: absolute; z-index: 3; right: var(--pad); top: calc(var(--header-h) + 14px); }
.hero .ph-mark { display: none; }
@media (max-width: 767px) {
  .hero { min-height: 86vh; min-height: 86svh; align-items: flex-end; padding-bottom: 40px; }
  .hero::after { background: linear-gradient(0deg, rgba(16,61,75,.82) 0%, rgba(16,61,75,.45) 60%, rgba(16,61,75,.25) 100%); }
  .hero h1 { font-size: clamp(38px, 10.5vw, 44px); }
  .hero p { font-size: 17px; margin-bottom: 24px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero .ph-label { top: calc(var(--header-h) + 10px); right: 20px; }
}

/* ---------- Search ---------- */
.search-band { background: var(--mist); padding: 56px 0; }
.search-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 28px; box-shadow: var(--shadow); }
.search-card h2 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 4px; }
.search-card > p { color: var(--text-2); margin-bottom: 20px; }
.search-grid { display: grid; grid-template-columns: 1.2fr 1.2fr .7fr .7fr .7fr auto; gap: 14px; align-items: end; }
.search-grid .btn { min-height: 52px; }
.child-ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-top: 14px; }
.search-summary { display: flex; gap: 10px 20px; flex-wrap: wrap; align-items: center; font-size: 15px; }
@media (max-width: 1100px) { .search-grid { grid-template-columns: 1fr 1fr 1fr; } .search-grid .search-submit { grid-column: 1 / -1; } }
@media (max-width: 767px) { .search-band { padding: 40px 0; } .search-card { padding: 20px; } .search-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .search-grid .f-rooms { grid-column: 1 / -1; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--deep); }
.field .hint { font-size: 14px; color: var(--text-2); }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #B9CDD3; border-radius: var(--radius-sm); background: #fff; font-size: 16px; color: var(--text); }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(8,107,138,.2); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 14px; display: flex; gap: 6px; align-items: center; }
.field-error .icon { width: 16px; height: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; min-height: 44px; padding-top: 10px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ocean); flex: none; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #B9CDD3; border-radius: var(--radius-sm); overflow: hidden; height: 52px; width: 100%; background: #fff; }
.stepper button { width: 44px; height: 100%; border: 0; background: #fff; color: var(--ocean); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.stepper button:hover:not([disabled]) { background: var(--mist); }
.stepper button[disabled] { color: #A9B8BC; cursor: not-allowed; }
.stepper output { flex: 1; text-align: center; font-weight: 600; min-width: 24px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
@media (max-width: 767px) { .form-card { padding: 20px; } }
.result-msg { margin-top: 16px; }

/* ---------- Intro / video ---------- */
.intro { background: var(--ocean); color: #fff; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: center; }
.intro h2 { color: #fff; }
.intro p { color: rgba(255,255,255,.9); font-size: 18px; }
.intro .arrow-link { color: #fff; }
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; background: rgba(16,61,75,.25); border: 0; color: #fff; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 17px; width: 100%; }
.play-dot { width: 80px; height: 80px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; color: var(--deep); transition: transform .2s; }
.play-dot .icon { width: 30px; height: 30px; fill: var(--deep); stroke: var(--deep); margin-left: 4px; }
.video-play:hover .play-dot { transform: scale(1.05); }
.film-duration { padding: 4px 9px; border: 1px solid rgba(255,255,255,.62); border-radius: 999px; font-family: var(--font-body); font-size: 12px; line-height: 1; letter-spacing: .04em; }
.video-play .ph-label { position: absolute; left: 12px; bottom: 12px; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Cards ---------- */
.card-link { text-decoration: none; color: inherit; display: block; }
.lift { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.room-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--border); height: 100%; }
.room-card .media { border-radius: 0; }
.room-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.room-card h3 { margin: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text-2); font-size: 15px; }
.meta-row span { display: inline-flex; gap: 6px; align-items: center; }
.meta-row .icon { width: 17px; height: 17px; color: var(--ocean); }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--deep); line-height: 1.1; }
.price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--text-2); margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; padding: 4px 10px; background: var(--mist); border-radius: 999px; color: var(--deep); }
.chip .icon { width: 14px; height: 14px; }

.carousel { position: relative; }
.carousel-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.carousel-ctrl { display: none; }
@media (max-width: 899px) {
  .carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; scrollbar-width: none; padding-bottom: 4px; }
  .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-track > * { flex: 0 0 100%; scroll-snap-align: start; }
  .carousel-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
  .carousel-ctrl .count { font-size: 15px; color: var(--text-2); font-weight: 600; }
}

/* Highlights */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hl-panel { position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; color: #fff; text-decoration: none; }
.hl-panel .media { position: absolute; inset: 0; border-radius: 0; }
.hl-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,61,75,.88) 0%, rgba(16,61,75,.35) 55%, rgba(16,61,75,0) 100%); }
.hl-panel .ph-label { position: absolute; top: 12px; left: 12px; z-index: 2; }
.hl-body { position: relative; z-index: 2; padding: 26px; }
.hl-body h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.hl-body p { color: rgba(255,255,255,.9); font-size: 16px; margin-bottom: 12px; }
.hl-body .arrow-link { color: #fff; }
@media (max-width: 899px) { .hl-grid { grid-template-columns: 1fr; gap: 14px; } .hl-panel { min-height: 280px; } }

/* TapX */
.tapx-band { background: var(--mist); }
.tapx-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.tapx-logo { width: 140px; height: 140px; border-radius: var(--radius); border: 1.5px dashed #9DB8C0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 13px; color: var(--text-2); padding: 10px; gap: 6px; background: var(--mist); }
.tapx-logo strong { font-family: var(--font-head); font-size: 26px; color: var(--deep); letter-spacing: -.01em; }
.tapx-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 899px) { .tapx-grid { grid-template-columns: 1fr; padding: 24px; gap: 20px; } .tapx-logo { width: 110px; height: 110px; } }

/* CTA */
.cta-band { position: relative; color: #fff; overflow: hidden; }
.cta-band .media { position: absolute; inset: 0; border-radius: 0; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: rgba(16,61,75,.72); }
.cta-band .container { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 88px; }
.cta-inner { max-width: 620px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 18px; margin-bottom: 26px; }
.cta-band .ph-label { position: absolute; z-index: 3; right: var(--pad); bottom: 14px; }
@media (max-width: 767px) { .cta-band .container { padding-top: 56px; padding-bottom: 64px; } .cta-band .btn { width: 100%; } }

/* ---------- Inner page header ---------- */
.page-hero { background: var(--sand); padding: calc(var(--header-h) + 48px) 0 44px; border-bottom: 1px solid #E7E0D2; }
.page-hero.mist { background: var(--mist); border-color: var(--border); }
.page-hero h1 { font-size: clamp(30px, 4vw, 52px); margin-bottom: 10px; }
.page-hero p { color: var(--text-2); max-width: 62ch; font-size: 18px; margin: 0; }
.crumbs { font-size: 14px; color: var(--text-2); margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--text-2); }
@media (max-width: 767px) { .page-hero { padding: calc(var(--header-h) + 28px) 0 28px; } .page-hero p { font-size: 16px; } }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.filters legend { font-family: var(--font-head); font-weight: 600; color: var(--deep); margin-bottom: 4px; font-size: 16px; }
.filters .check { padding-top: 6px; min-height: 36px; }
.filters-toggle { display: none; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.list-toolbar .select { width: auto; min-height: 44px; }
.result-list { display: grid; gap: 20px; }
.result-card { display: grid; grid-template-columns: 340px 1fr; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.result-card .media { border-radius: 0; height: 100%; min-height: 240px; }
.result-card .body { padding: 22px 24px; display: grid; grid-template-columns: 1fr 220px; gap: 20px; }
.result-card .rate-col { border-left: 1px solid var(--border); padding-left: 20px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.result-card.unavailable { opacity: .85; }
.incl { list-style: none; padding: 0; margin: 0; font-size: 15px; display: grid; gap: 4px; }
.incl li { display: flex; gap: 8px; align-items: flex-start; }
.incl .icon { width: 17px; height: 17px; color: var(--success); margin-top: 3px; }
@media (max-width: 1100px) { .result-card { grid-template-columns: 260px 1fr; } .result-card .body { grid-template-columns: 1fr; } .result-card .rate-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 14px; } }
@media (max-width: 899px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .result-card { grid-template-columns: 1fr; }
  .result-card .media { min-height: 0; aspect-ratio: 4 / 3; }
}
.empty { text-align: center; padding: 48px 20px; border: 1.5px dashed var(--border); border-radius: var(--radius); background: #fff; }
.empty .icon { width: 36px; height: 36px; color: var(--ocean); margin: 0 auto 12px; }

/* ---------- Detail pages ---------- */
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 460px; }
.gal-btn { border: 0; padding: 0; cursor: pointer; background: none; border-radius: var(--radius); overflow: hidden; display: block; min-height: 0; }
.gal-btn:first-child { grid-row: 1 / -1; }
.gal-btn .media { height: 100%; }
@media (max-width: 767px) { .detail-gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .gal-btn .media { aspect-ratio: 4/3; } .gal-btn:not(:first-child) { display: none; } }
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.detail-layout > aside { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1023px) { .detail-layout { grid-template-columns: 1fr; gap: 32px; } .detail-layout > aside { position: static; } }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.spec { background: var(--sand); border-radius: var(--radius-sm); padding: 14px 16px; }
.spec .k { font-size: 14px; color: var(--text-2); display: flex; gap: 6px; align-items: center; }
.spec .k .icon { width: 16px; height: 16px; color: var(--ocean); }
.spec .v { font-family: var(--font-head); font-weight: 600; color: var(--deep); font-size: 17px; }
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; list-style: none; padding: 0; margin: 0; }
.amen-grid li { display: flex; gap: 10px; align-items: center; }
.amen-grid .icon { color: var(--ocean); }
.detail-section { padding: 32px 0; border-top: 1px solid var(--border); }
.detail-section:first-child { border-top: 0; padding-top: 0; }
.rate-plan { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: #fff; }
.rate-plan + .rate-plan { margin-top: 12px; }
.rate-plan.selected { border-color: var(--ocean); background: var(--mist); }
.rate-plan h4 { margin: 0 0 6px; }
@media (max-width: 640px) { .rate-plan { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel h3 { font-size: 20px; }

/* ---------- Booking flow ---------- */
.flow-wrap { padding: calc(var(--header-h) + 20px) 0 64px; background: #F8FBFC; min-height: 100vh; }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.progress { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 4px; counter-reset: step; overflow-x: auto; scrollbar-width: none; }
.progress::-webkit-scrollbar { display: none; }
.progress li { flex: 1 0 auto; min-width: 0; }
.progress a, .progress span { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-2); text-decoration: none; padding-top: 8px; border-top: 4px solid var(--border); white-space: nowrap; padding-right: 10px; }
.progress .done a, .progress .done span { border-color: var(--ocean); color: var(--ocean-700); }
.progress .current span { border-color: var(--ocean); color: var(--deep); }
.progress-mobile { display: none; font-size: 15px; font-weight: 600; color: var(--deep); margin-bottom: 18px; }
.progress-mobile .bar { height: 6px; background: var(--border); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.progress-mobile .bar span { display: block; height: 100%; background: var(--ocean); }
@media (max-width: 899px) { .progress { display: none; } .progress-mobile { display: block; } }
.flow-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.flow-main h1 { font-size: clamp(28px, 3vw, 40px); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.summary-head { padding: 18px 20px; border-bottom: 1px solid var(--border); background: var(--mist); }
.summary-head h2 { font-size: 19px; margin: 0; }
.summary-body { padding: 18px 20px; font-size: 15px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.sum-line span:last-child { text-align: right; white-space: nowrap; }
.sum-line.discount span:last-child { color: var(--success); font-weight: 600; }
.sum-line.total { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--deep); border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; }
.sum-line.due { font-weight: 700; color: var(--ocean-700); }
.sum-sep { border-top: 1px solid var(--border); margin: 10px 0; }
.mobile-summary { display: none; }
@media (max-width: 1023px) {
  .flow-layout { grid-template-columns: 1fr; }
  .flow-layout > .summary-col { display: none; }
  .desktop-action { display: none !important; }
  .mobile-summary { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 18px rgba(16,61,75,.1); padding: 10px var(--pad) calc(10px + var(--safe-b)); }
  .mobile-summary .ms-row { display: flex; align-items: center; gap: 12px; }
  .mobile-summary .ms-total { flex: 1; min-width: 0; background: none; border: 0; text-align: left; padding: 4px 0; cursor: pointer; display: flex; flex-direction: column; min-height: 48px; justify-content: center; }
  .mobile-summary .ms-total strong { font-family: var(--font-head); font-size: 18px; color: var(--deep); display: flex; align-items: center; gap: 6px; }
  .mobile-summary .ms-total small { font-size: 13.5px; color: var(--text-2); }
  .mobile-summary .ms-details { max-height: 55vh; overflow-y: auto; border-bottom: 1px solid var(--border); margin-bottom: 8px; padding-bottom: 8px; font-size: 15px; }
  .mobile-summary .btn { flex: none; }
  body.has-actionbar .flow-wrap, body.has-actionbar main { padding-bottom: calc(var(--actionbar-h) + 24px); }
}
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { position: relative; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px; background: #fff; cursor: pointer; display: flex; gap: 14px; align-items: center; min-height: 72px; }
.choice input { position: absolute; opacity: 0; }
.choice.selected, .choice:has(input:checked) { border-color: var(--ocean); background: var(--mist); box-shadow: inset 0 0 0 1px var(--ocean); }
.choice:has(input:focus-visible) { outline: 3px solid var(--ocean); outline-offset: 2px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.extra-row { display: grid; grid-template-columns: 1fr 160px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.extra-row .stepper { height: 48px; }
@media (max-width: 480px) { .extra-row { grid-template-columns: 1fr; } }
.review-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.review-block + .review-block { margin-top: 14px; }
.review-block .rb-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-block h3 { font-size: 18px; margin: 0; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; font-size: 15px; margin: 0; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; color: var(--text); }
@media (max-width: 480px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 6px; } }

/* TapX step */
.tapx-step { background: var(--mist); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.tapx-head { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.tapx-head .tapx-logo { width: 84px; height: 84px; font-size: 11px; background: #fff; }
.tapx-head .tapx-logo strong { font-size: 18px; }
.scenario-list { display: flex; flex-wrap: wrap; gap: 8px; }
.scenario-list button { min-height: 44px; }
.tapx-result { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 20px; margin-top: 18px; }
@media (max-width: 767px) { .tapx-step { padding: 18px; } }

/* Payment */
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-logo { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 16px; flex: none; }
.qr-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.qr-wrap canvas { width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
@media (max-width: 680px) { .qr-wrap { grid-template-columns: 1fr; } .qr-wrap canvas { max-width: 280px; margin: 0 auto; } }
.steps-list { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.dropzone { border: 1.5px dashed #9DB8C0; border-radius: var(--radius); padding: 22px; text-align: center; background: #fff; }
.receipt-preview { display: flex; gap: 14px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; background: #fff; }
.receipt-preview img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius-sm); }
.receipt-preview .file-ic { width: 88px; height: 88px; border-radius: var(--radius-sm); background: var(--mist); display: flex; align-items: center; justify-content: center; color: var(--ocean); }
.big-notice { border: 2px solid var(--error); background: #FBEDED; color: #7C2525; padding: 14px 18px; border-radius: var(--radius); font-weight: 700; display: flex; gap: 10px; align-items: center; font-size: 17px; }
.status-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.status-tabs button[aria-pressed="true"] { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.ref-box { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--deep); letter-spacing: .02em; }

/* ---------- Generic content ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 899px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 1023px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.tile h3 { font-size: 20px; }
.flow-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: fs; }
.flow-steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; counter-increment: fs; font-weight: 600; color: var(--deep); font-family: var(--font-head); }
.flow-steps li::before { content: counter(fs); display: flex; width: 30px; height: 30px; border-radius: 50%; background: var(--ocean); color: #fff; align-items: center; justify-content: center; font-size: 14px; margin-bottom: 10px; }
@media (max-width: 899px) { .flow-steps { grid-template-columns: 1fr; } .flow-steps li { display: flex; gap: 12px; align-items: center; } .flow-steps li::before { margin: 0; flex: none; } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs a { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 14px; font-family: var(--font-head); font-weight: 600; color: var(--text-2); cursor: pointer; white-space: nowrap; min-height: 48px; text-decoration: none; font-size: 15px; }
.tabs [aria-selected="true"] { color: var(--ocean-700); border-color: var(--ocean); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-pills button { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; color: var(--deep); font-weight: 600; cursor: pointer; font-size: 15px; }
.filter-pills button[aria-pressed="true"] { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid button { border: 0; padding: 0; cursor: pointer; background: none; text-align: left; }
.gallery-grid .media { aspect-ratio: 4/3; }
@media (max-width: 899px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--font-head); font-weight: 600; color: var(--deep); cursor: pointer; font-size: 17px; min-height: 56px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { transition: transform .2s; color: var(--ocean); }
.acc details[open] summary .icon { transform: rotate(180deg); }
.acc .acc-body { padding: 0 0 18px; color: var(--text-2); }
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal { max-width: 760px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data th { font-size: 14px; color: var(--text-2); font-weight: 600; background: var(--mist); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.side-nav { display: grid; gap: 2px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-nav button { text-align: left; background: none; border: 0; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; color: var(--text-2); cursor: pointer; min-height: 46px; display: flex; gap: 10px; align-items: center; }
.side-nav button[aria-current="true"] { background: var(--mist); color: var(--ocean-700); }
@media (max-width: 899px) { .account-layout { grid-template-columns: 1fr; } .side-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--border); } .side-nav button { white-space: nowrap; flex: none; } }
.map-ph { aspect-ratio: 16/10; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--ocean); margin-top: 3px; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #B9CDD3; border-radius: 999px; transition: background .2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + span { background: var(--ocean); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--ocean); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #fff; padding: 72px 0 calc(28px + var(--bottomnav-h)); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ft-grid h2 { font-size: 16px; color: #fff; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.ft-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ft-grid li a { display: inline-flex; min-height: 36px; align-items: center; color: rgba(255,255,255,.88); }
.ft-brand p { color: rgba(255,255,255,.82); font-size: 15px; max-width: 34ch; margin-top: 16px; }
.ft-logo { background: #fff; display: inline-flex; padding: 8px 12px; border-radius: var(--radius-sm); }
.ft-logo img { height: 64px; width: auto; aspect-ratio: 1401/838; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.socials a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.ft-contact { display: grid; gap: 10px; font-size: 15px; color: rgba(255,255,255,.88); }
.ft-contact div { display: flex; gap: 10px; align-items: flex-start; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.78); }
.ft-bottom nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.ft-bottom nav a { color: rgba(255,255,255,.85); }
.ft-pending { font-size: 13px; color: #F7D9A9; }
.ft-acc-btn { display: none; }
@media (max-width: 1023px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .site-footer { padding-top: 48px; }
  .ft-grid { grid-template-columns: 1fr; gap: 0; }
  .ft-brand, .ft-connect { padding-bottom: 20px; }
  .ft-connect { order: -1; padding-top: 4px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .ft-brand { order: -2; }
  .ft-group { border-bottom: 1px solid rgba(255,255,255,.18); }
  .ft-group h2 { margin: 0; }
  .ft-acc-btn { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: 0; color: #fff; font: inherit; padding: 14px 0; min-height: 52px; cursor: pointer; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
  .ft-acc-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .ft-group .ft-h { display: none; }
  .ft-group ul { display: none; padding-bottom: 12px; }
  .ft-group ul.open { display: grid; }
}

/* ---------- PWA bottom nav ---------- */
.bottom-nav { display: none; }
@media (max-width: 899px) {
  body.has-bottomnav { --bottomnav-h: calc(64px + var(--safe-b)); }
  body.has-bottomnav .bottom-nav { display: grid; }
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--border); padding-bottom: var(--safe-b); height: var(--bottomnav-h); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--text-2); text-decoration: none; background: none; border: 0; cursor: pointer; min-height: 56px; }
  .bottom-nav [aria-current="page"] { color: var(--ocean); }
  .bottom-nav .bn-book { color: var(--ocean); }
  .bottom-nav .bn-book .icon { background: var(--ocean); color: #fff; border-radius: 10px; width: 36px; height: 30px; padding: 5px 9px; }
}
.sheet-backdrop { position: fixed; inset: 0; background: rgba(16,61,75,.45); z-index: 95; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; background: #fff; border-radius: 14px 14px 0 0; padding: 12px var(--pad) calc(20px + var(--safe-b)); max-height: 85vh; overflow-y: auto; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sheet-grid a { display: flex; gap: 10px; align-items: center; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--deep); font-weight: 600; min-height: 52px; }

/* Mobile room action bar */
.action-bar { display: none; }
@media (max-width: 1023px) {
  .action-bar { display: flex; position: fixed; left: 0; right: 0; bottom: var(--bottomnav-h); z-index: 54; background: #fff; border-top: 1px solid var(--border); padding: 10px var(--pad); gap: 12px; align-items: center; box-shadow: 0 -6px 18px rgba(16,61,75,.08); }
  body:not(.has-bottomnav) .action-bar { padding-bottom: calc(10px + var(--safe-b)); }
  .action-bar .price { font-size: 18px; flex: 1; }
  body.has-roombar { --actionbar-h: 72px; }
  body.has-roombar main { padding-bottom: 76px; }
}

/* ---------- CloudAI ---------- */
.ai-fab { position: fixed; right: 24px; bottom: calc(24px + var(--bottomnav-h) + var(--actionbar-h)); z-index: 57; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 18px 10px 14px; border-radius: 999px; border: 0; background: var(--deep); color: #fff; font-family: var(--font-head); font-weight: 600; cursor: pointer; box-shadow: 0 8px 22px rgba(16,61,75,.25); }
.ai-fab:hover { background: #0B2F3A; }
@media (max-width: 899px) { .ai-fab { right: 16px; bottom: calc(14px + var(--bottomnav-h) + var(--actionbar-h)); padding: 0; width: 52px; justify-content: center; } .ai-fab .lbl { display: none; } }
body.hide-ai .ai-fab, body.hide-ai .ai-panel { display: none !important; }
.ai-panel { position: fixed; right: 24px; bottom: 24px; width: 390px; height: min(620px, calc(100vh - 120px)); z-index: 97; background: #fff; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 18px 46px rgba(16,61,75,.25); display: flex; flex-direction: column; overflow: hidden; }
@media (max-width: 899px) { .ai-panel { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; } }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: var(--deep); color: #fff; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
.ai-head h2 { color: #fff; font-size: 17px; margin: 0; }
.ai-head p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.8); }
.ai-head .icon-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.ai-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ocean); display: flex; align-items: center; justify-content: center; flex: none; }
.ai-demo { font-size: 13px; font-weight: 600; background: var(--warn-bg); color: var(--warn-ink); padding: 6px 16px; border-bottom: 1px solid #F0D9B5; }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #F8FBFC; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.msg.bot { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--ocean); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg .links a { font-size: 14px; font-weight: 600; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.msg.typing { color: var(--text-2); }
.msg.err { background: #FBEDED; border: 1px solid #E8C3C3; color: #7C2525; }
.ai-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--border); }
.ai-quick button { font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; color: var(--deep); font-weight: 600; cursor: pointer; min-height: 40px; }
.ai-quick button:hover { border-color: var(--ocean); color: var(--ocean); }
.ai-form { display: flex; gap: 8px; padding: 10px 16px calc(12px + var(--safe-b)); border-top: 1px solid var(--border); }
.ai-form .input { min-height: 48px; }

/* ---------- Modal / lightbox ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(9, 30, 37, .86); z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #fff; border-radius: var(--radius); max-width: 560px; width: 100%; padding: 26px; position: relative; max-height: calc(100vh - 40px); overflow-y: auto; }
.modal-close { position: absolute; top: 12px; right: 12px; }
.modal.video-modal { max-width: 1040px; background: #000; padding: 0; overflow: visible; }
.video-modal .vm-frame { aspect-ratio: 16/9; width: 100%; max-height: calc(100vh - 120px); background: #0B2F3A; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; }
.video-modal .vm-frame video { width: 100%; height: 100%; object-fit: contain; background: #071f27; }
.video-modal iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal .modal-close { top: -54px; right: 0; background: #fff; }
.lightbox { width: 100%; max-width: 1100px; color: #fff; }
.lightbox .lb-stage { position: relative; aspect-ratio: 4/3; max-height: calc(100vh - 180px); margin: 0 auto; }
.lightbox .lb-stage .media { width: 100%; height: 100%; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; flex-wrap: wrap; }
.lb-bar p { margin: 0; }
.lb-nav { display: flex; gap: 8px; }
.lightbox .icon-btn { background: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(16px); }
.js-reveal .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + var(--bottomnav-h) + var(--actionbar-h)); z-index: 130; background: var(--deep); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-size: 15px; box-shadow: var(--shadow-lift); max-width: calc(100% - 32px); }
.offline-bar { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 59; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; border-bottom: 1px solid #F0D9B5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-reveal .reveal:not(.in) { opacity: 1; transform: none; }
  .hover-zoom:hover .media img, .hover-zoom:hover .ph, .hover-zoom:focus-within .ph, .lift:hover { transform: none; }
}
@media print { .site-header, .site-footer, .bottom-nav, .ai-fab, .mobile-summary { display: none !important; } }

[hidden] { display: none !important; }
.ai-wrap { position: fixed; inset: 0; z-index: 97; }
/* Results inside the booking flow: narrower main column, so stack the rate column */
@media (min-width: 900px) {
  .flow-main .result-card { grid-template-columns: minmax(220px, 38%) 1fr; }
  .flow-main .result-card .body { grid-template-columns: 1fr; }
  .flow-main .result-card .rate-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 14px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 16px; }
  .flow-main .result-card .rate-col .badge { grid-column: 1 / -1; justify-self: start; }
  .flow-main .result-card .rate-col .btn-block { width: auto; }
}
.flow-layout > *, .detail-layout > *, .listing > *, .account-layout > *, .two-col > * { min-width: 0; }
@media (min-width: 1024px) and (max-width: 1180px) { .flow-main .qr-wrap { grid-template-columns: 1fr; } .flow-main .qr-wrap canvas { max-width: 260px; } }
main h1[tabindex="-1"]:focus { outline: none; }
.mobile-summary .ms-total small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
