/* =========================================================================
   public.css — Infinity Resort & Spa PUBLIC site design layer (BRD § 11, Docs/mockup)
   -------------------------------------------------------------------------
   Brand tokens live in theme.css (UI § 4.5). This file owns ONLY the public marketing
   shell: header/nav, hero, booking bar, section/card idiom, teal bands, footer.
   The few public-only tokens below are scoped to .public-site and recorded in
   Docs/UI_INFINITY_ADDENDUM.md (sanctioned extension). No hex literals outside this block.
   ========================================================================= */
.public-site {
  --brand-primary-deep: #003d4c;
  --brand-primary-soft: #6cb5ba;
  --brand-primary-tint: #e6f3f7;
  --brand-paper: #f5f7f8;
  --brand-charcoal: #2b2f31;
  --fw-regular: 400;
  --fw-semibold: 700;
  --fw-black: 900;
  --lh-body: 1.6;
  --pub-fs-display: 40px;
  --pub-fs-title: 30px;
  --pub-fs-subtitle: 20px;
  --pub-fs-heading: 16px;
  --pub-fs-body: 16px;
  --pub-fs-data: 14px;
  --pub-fs-label: 14px;
  --pub-fs-caption: 13px;
  --pub-fs-eyebrow: 12px;
  --shadow-lg: 0 18px 44px rgba(0, 61, 76, .18);
  --container: 1170px;
  --pub-on-dark: #ffffff;
  --pub-on-dark-soft: #cfe9f0;
  --pub-on-dark-muted: #e6f3f7;
  --pub-star: #e0a800;
  --pub-tripadvisor: #34e0a1;
  --brand-sage: #d8e5cc;                       /* official logo colour; old-site submenu bg */
  --pub-header-bg: rgba(var(--brand-primary-fill-rgb), .92); /* old site #topheader, one shade deeper so 14px white nav clears 4.5:1 */
  --pub-caption-bg: rgba(0, 0, 0, .5);         /* old site slider caption */
  --pub-header-h: 88px;
  --brand-radius-lg: 4px;                     /* old site: crisp corners on tiles/panels (public-only override, addendum) */
  --brand-radius: 3px;
  --pub-tile-ratio: 3 / 2;                    /* old site: every content photo is a 3:2 landscape */
}

/* scroll-padding keeps whatever the browser scrolls to the top of the viewport (skip link, #fragments,
   keyboard focus) clear of the sticky header (INFINITY-31). */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body.public-site {
  margin: 0; font-family: var(--brand-font); font-size: var(--pub-fs-body); line-height: var(--lh-body);
  color: var(--brand-body-color); background: var(--brand-surface); -webkit-font-smoothing: antialiased;
}
.public-site img { display: block; max-width: 100%; }
.public-site a { color: var(--brand-primary-text); text-decoration: none; transition: color var(--transition-fast); }
.public-site :focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 3px; border-radius: 2px; }
.public-site a:hover { color: var(--brand-primary-active); }
.public-site h1, .public-site h2, .public-site h3, .public-site h4 { margin: 0; line-height: var(--lh-tight); font-weight: var(--fw-semibold); }
.public-site p { margin: 0 0 1em; }
.public-site .container { width: min(var(--container), 100% - 32px); margin-inline: auto; padding: 0; max-width: none; }
.eyebrow { font-size: var(--pub-fs-eyebrow); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--brand-primary-text); }
.muted { color: var(--brand-text-muted); }
.rule { width: 36px; height: 3px; background: var(--brand-accent); border-radius: var(--brand-radius-full); }

/* ---------- Buttons ---------- */
.public-site .btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.25rem; font: inherit; font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); letter-spacing: .06em; text-transform: uppercase; border-radius: var(--brand-radius); border: 1.5px solid transparent; cursor: pointer; transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast); white-space: nowrap; }
.public-site .btn:hover { transform: translateY(-1px); }
.public-site .btn-accent { background: var(--brand-accent-fill); color: var(--pub-on-dark); }
.public-site .btn-accent:hover { background: var(--brand-accent-hover); color: var(--pub-on-dark); }
.public-site .btn-primary { background: var(--brand-primary-fill); color: var(--brand-on-primary); }
.public-site .btn-primary:hover { background: var(--brand-primary-hover); color: var(--pub-on-dark); }
.public-site .btn-outline-light { border-color: rgba(255,255,255,.75); color: var(--pub-on-dark); }
.public-site .btn-outline-light:hover { background: var(--brand-surface); color: var(--brand-primary-active); }
.public-site .btn-outline-primary { border-color: var(--brand-primary); color: var(--brand-primary-text); }
.public-site .btn-outline-primary:hover { background: var(--brand-primary-fill); color: var(--pub-on-dark); }
.public-site .btn-sm { padding: .45rem .9rem; font-size: var(--pub-fs-eyebrow); }
.public-site .btn .chev::after { content: "›"; font-size: 1.2em; line-height: 1; }
.link-more { font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-primary-text); }
.link-more::after { content: " ›"; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header (old site #topheader: translucent teal bar, white nav, green Book Now) ----------
   One 88px row (72px once scrolled): logo · centred menu · [local time · Promos · Book Now]. Everything
   vertically centred; nothing hangs below the bar (lead 2026-09-19). Below 1200px the menu becomes the drawer. */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--pub-header-bg); color: var(--pub-on-dark); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.hero-overlay .site-header { position: fixed; left: 0; right: 0; }
.site-header .container { width: min(1320px, 100% - 48px); display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: var(--pub-header-h); align-items: center; gap: 24px; height: var(--pub-header-h); transition: height var(--transition-fast); }
.site-header.is-compact .container { height: 72px; grid-template-rows: 72px; }
.logo { display: flex; align-items: center; height: 100%; }
.logo img { height: 56px; width: auto; display: block; transition: height var(--transition-fast); }
.site-header.is-compact .logo img { height: 46px; }
.site-header .nav { display: flex; flex-wrap: nowrap; justify-content: center; gap: 2px; list-style: none; margin: 0; padding: 0; align-self: center; }
.site-header .nav > li { position: relative; }
.nav > li > a { display: block; padding: 12px 10px; font-size: 13px; font-weight: var(--fw-regular); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: var(--pub-on-dark); border-bottom: 2px solid transparent; line-height: 1.2; }
.nav > li > a:hover, .nav > li.active > a { color: var(--pub-on-dark); border-bottom-color: var(--brand-accent); text-decoration: none; }
.site-header .nav .has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .8; }
.sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--brand-sage); border-top: 3px solid var(--brand-accent); border-radius: 0 0 var(--brand-radius) var(--brand-radius); box-shadow: var(--shadow-md); list-style: none; margin: 0; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast); z-index: 5; }
.nav > li:hover > .sub, .nav > li:focus-within > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 8px 14px; font-size: var(--pub-fs-label); color: var(--brand-primary-text); }
.sub a:hover { background: var(--brand-primary-fill); color: var(--pub-on-dark); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 14px; align-self: center; }
.local-time { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--pub-on-dark); /* soft white measured 4.13:1 on the teal bar */ white-space: nowrap; padding-right: 14px; border-right: 1px solid rgba(255,255,255,.28); line-height: 1; }
.local-time b { font-size: 14px; letter-spacing: 0; color: var(--pub-on-dark); font-variant-numeric: tabular-nums; font-weight: var(--fw-semibold); }
.header-cta .btn-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
.header-cta .btn { border-radius: var(--brand-radius); font-weight: var(--fw-semibold); font-size: 12px; letter-spacing: .06em; padding: 0 14px; height: 42px; text-transform: uppercase; white-space: nowrap; }
.header-cta .btn-outline-primary { background: transparent; border-color: rgba(255,255,255,.7); color: var(--pub-on-dark); }
.header-cta .btn-outline-primary:hover { background: var(--brand-sage); border-color: var(--brand-sage); color: var(--brand-primary-deep); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--pub-on-dark); }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform var(--transition-fast); }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(520px, 100vh, 900px); overflow: hidden; background: var(--brand-primary-deep); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s linear; }
.slide.is-active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,61,76,.12) 0%, rgba(0,61,76,0) 30%, rgba(0,61,76,.35) 100%); }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 150px; z-index: 2; color: var(--pub-on-dark); }
.slide-caption .container { display: flex; justify-content: flex-end; }
.slide-caption .box { display: inline-flex; align-items: center; gap: 22px; padding: 16px 22px 16px 20px; background: var(--pub-caption-bg); border-left: 3px solid var(--brand-accent); border-radius: 0 var(--brand-radius) var(--brand-radius) 0; backdrop-filter: blur(2px); opacity: 0; transform: translateY(16px); transition: all 600ms 300ms ease; }
.slide.is-active .slide-caption .box { opacity: 1; transform: none; }
.slide-caption h1, .slide-caption h2 { font-size: clamp(22px, 2.4vw, 32px); font-weight: var(--fw-semibold); margin: 0; letter-spacing: -.01em; }
.slide-caption .btn-outline-light { border: 0; padding: 0; font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .02em; }
.slide-caption .btn-outline-light:hover { background: transparent; color: var(--brand-sage); }
.slide-caption .eyebrow { color: var(--pub-on-dark-soft); margin-bottom: 4px; }
.hero-nav { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-nav button { pointer-events: auto; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); border-radius: var(--brand-radius-full); background: rgba(0,0,0,.25); color: var(--pub-on-dark); font-size: 24px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity var(--transition-fast), background var(--transition-fast); }
.hero:hover .hero-nav button, .hero-nav button:focus-visible { opacity: 1; }
.hero-nav button:hover { background: var(--brand-primary-fill); border-color: var(--brand-primary-fill); }
.hero-nav .prev { left: 20px; } .hero-nav .next { right: 20px; }
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 108px; z-index: 3; display: flex; gap: 8px; }
/* 24px hit area (UI §15.3 / WCAG 2.5.8) around a 10px visual dot */
.hero-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ""; width: 10px; height: 10px; border-radius: var(--brand-radius-full); background: rgba(255,255,255,.5); transition: width var(--transition-fast), background var(--transition-fast); }
.hero-dots button.is-active { width: 40px; }
.hero-dots button.is-active::before { background: var(--brand-accent); width: 26px; }

/* ---------- Booking bar ---------- */
.booking-wrap { position: relative; z-index: 4; margin-top: -78px; }
.booking { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 0; width: min(1040px, 100%); margin-inline: auto; background: var(--brand-surface); border-radius: var(--brand-radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border-top: 3px solid var(--brand-accent); }
.booking .field { padding: 12px 18px; border-right: 1px solid var(--brand-border); }
.booking label { display: block; font-size: var(--pub-fs-eyebrow); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--brand-primary-text); margin-bottom: 4px; }
.booking input, .booking select { width: 100%; min-height: 40px; border: 0; padding: 0; font: inherit; font-size: var(--pub-fs-data); font-weight: var(--fw-semibold); color: var(--brand-body-color); background: transparent; }
.booking .submit { display: flex; }
.booking .submit .btn { border-radius: 0; height: 100%; padding-inline: 32px; font-size: var(--pub-fs-label); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: 22px; color: var(--brand-primary); font-weight: var(--fw-semibold); letter-spacing: -.01em; }
.head-tools { display: flex; align-items: center; gap: 14px; }
.section-head .rule { margin-top: 10px; }
.carousel-ctl { display: flex; gap: 6px; }
/* 44px control = the project's minimum touch target (UI § 15.3), so the arrows stay tappable on phones. */
.carousel-ctl button { width: 44px; height: 44px; border: 1px solid var(--brand-border); border-radius: var(--brand-radius-full); background: var(--brand-surface); color: var(--brand-primary-text); cursor: pointer; font-size: 18px; line-height: 1; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast); }
.carousel-ctl button:hover:not(:disabled) { background: var(--brand-primary-fill); color: var(--pub-on-dark); border-color: var(--brand-primary-fill); }
.carousel-ctl button:disabled { opacity: .4; cursor: default; background: var(--brand-surface); color: var(--brand-text-muted); border-color: var(--brand-border); }

.intro { text-align: center; max-width: 780px; margin-inline: auto; }
.intro h2 { font-size: var(--pub-fs-title); color: var(--brand-primary); font-weight: var(--fw-semibold); margin-bottom: 14px; letter-spacing: -.01em; }
.intro .rule { margin: 0 auto 20px; }
.intro p { color: var(--brand-text-muted); font-size: var(--pub-fs-body); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.public-site .card { display: block; background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.public-site .card .media { aspect-ratio: var(--pub-tile-ratio); overflow: hidden; border-radius: var(--brand-radius-lg); background: var(--brand-paper); transition: box-shadow var(--transition-fast); }
.public-site .card:hover .media { box-shadow: var(--shadow-md); }
.public-site .card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.public-site .card:hover .media img { transform: scale(1.05); }
.public-site .card .body { padding: 12px 6px 0; text-align: center; }
.public-site .card .body .rule { margin: 8px auto 0; width: 30px; height: 2px; background: var(--brand-primary-soft); }
.public-site .card h3 { font-size: var(--pub-fs-body); font-weight: var(--fw-regular); color: var(--brand-charcoal); transition: color var(--transition-fast); }
.public-site .card:hover h3 { color: var(--brand-primary-text); }
.public-site .card .cap { font-size: var(--pub-fs-caption); color: var(--brand-text-muted); margin: 8px 0 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.public-site .card .tag { position: absolute; top: 12px; left: 12px; background: var(--brand-accent-fill); color: var(--pub-on-dark); font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--brand-radius-full); }
.public-site .card .media { position: relative; }

/* ---------- Home content carousels (INFINITY-34: Seasonal Offers / Things To Do) ----------
   Two independent full-width sections. Each scroller is a horizontally scrollable grid: grid-auto-columns
   sets the card width (see the responsive block below for cards-per-row), the cards scroll-snap so every stop
   lands on a card edge, and panning is native so phones swipe without a library. Only the scroller scrolls —
   the page never does. The vertical padding keeps the hover lift and the focus ring inside the clip box; the
   scrollbar is hidden because the arrows plus the peeked next card are the affordances. */
.tile-scroller {
  --tile-gap: 24px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (2 * var(--tile-gap))) / 3);   /* 3 cards up on desktop */
  gap: var(--tile-gap);
  padding-block: 12px 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.tile-scroller::-webkit-scrollbar { display: none; }
.content-card { display: flex; flex-direction: column; scroll-snap-align: start; background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); overflow: hidden; transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast); }
.content-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-primary-soft); }
.content-card .media { position: relative; aspect-ratio: var(--pub-tile-ratio); overflow: hidden; background: var(--brand-paper); }
.content-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.content-card:hover .media img { transform: scale(1.05); }
.content-card .body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.content-card h3 { font-size: var(--pub-fs-body); font-weight: var(--fw-semibold); line-height: 1.35; color: var(--brand-charcoal); transition: color var(--transition-fast); }
.content-card:hover h3 { color: var(--brand-primary-text); }
.content-card .desc { margin: 0; font-size: var(--pub-fs-caption); line-height: 1.55; color: var(--brand-text-muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.content-card .cta { margin-top: auto; display: inline-flex; align-items: center; gap: 2px; font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-primary-text); }
/* Same chevron idiom as .link-more, nudged on hover. Decorative: the CTA label carries the meaning. */
.content-card .cta::after { content: "›"; font-size: 1.2em; line-height: 1; transition: transform var(--transition-fast); }
.content-card:hover .cta::after { transform: translateX(3px); }

/* Teal panel bands (Accommodation / Spa) */
.band { position: relative; min-height: 420px; display: grid; overflow: hidden; background: var(--brand-primary-deep); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,61,76,.35), rgba(0,61,76,0) 60%); }
.band .panel { position: relative; z-index: 2; width: min(340px, 100%); min-height: 420px; display: flex; flex-direction: column; justify-content: center; background: rgba(var(--brand-primary-fill-rgb), .88); color: var(--pub-on-dark); padding: 40px 32px; }
.band .panel .eyebrow { color: var(--pub-on-dark-soft); }
.band .panel h2 { font-size: var(--pub-fs-title); font-weight: var(--fw-semibold); margin: 0 0 20px; }
.band .panel h3 { font-size: var(--pub-fs-heading); font-weight: var(--fw-semibold); margin-bottom: 6px; }
.band .panel p, .band .panel .panel-copy { color: var(--pub-on-dark-muted); font-size: var(--pub-fs-data); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.band .panel .panel-copy { margin-bottom: 1em; }
.band .panel .panel-copy p:not(:first-child) { display: none; } /* one paragraph, like the old site's excerpt */
.band .panel .btn-sm { padding: .45rem .9rem; font-size: var(--pub-fs-eyebrow); align-self: flex-start; }
.band .panel .facts { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--pub-fs-caption); color: var(--pub-on-dark-soft); letter-spacing: .04em; text-transform: uppercase; }
.band .panel .price { font-size: var(--pub-fs-data); color: var(--pub-on-dark-soft); margin-bottom: 18px; }
.band .panel .price b { font-size: 20px; color: var(--pub-on-dark); font-weight: var(--fw-semibold); }
.band .panel .rule { background: var(--brand-accent); margin-bottom: 18px; }
.band .panel .ctl { display: flex; gap: 6px; margin-top: 26px; }
.band .panel .ctl button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--pub-on-dark); border-radius: var(--brand-radius-full); cursor: pointer; font-size: 18px; line-height: 1; }
.band .panel .ctl button:hover { background: var(--brand-surface); color: var(--brand-primary); }

/* News / testimonials */
.news-list { display: grid; gap: 0; }
.news-item { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--brand-border); }
.news-item:first-child { padding-top: 0; }
.news-item .thumb { display: block; aspect-ratio: var(--pub-tile-ratio); overflow: hidden; border-radius: var(--brand-radius-lg); background: var(--brand-paper); }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item h3 { font-size: var(--pub-fs-heading); margin-bottom: 2px; }
.news-item h3 a { color: var(--brand-primary-text); }
.news-item .date { font-size: var(--pub-fs-eyebrow); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-text-muted); margin-bottom: 6px; }
.news-item p { font-size: var(--pub-fs-data); color: var(--brand-text-muted); margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.quote { position: relative; }
.quote p { font-size: var(--pub-fs-data); color: var(--brand-body-color); line-height: 1.7; }
.quote .who { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.quote .who b { color: var(--brand-primary-text); }
.stars { color: var(--pub-star); letter-spacing: 2px; font-size: 14px; }
.awards { display: flex; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.badge-award { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); background: var(--brand-surface); font-size: var(--pub-fs-caption); }
.badge-award .medal { width: 40px; height: 40px; border-radius: var(--brand-radius-full); display: grid; place-items: center; color: var(--pub-on-dark); font-weight: var(--fw-black); background: var(--brand-primary-fill); }
.badge-award .medal.green { background: var(--pub-tripadvisor); color: var(--brand-primary-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-primary-fill); color: var(--pub-on-dark-soft); margin-top: 72px; border-top: 3px solid var(--brand-accent); }
.site-footer .top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 56px 0 40px; }
.site-footer .footer-heading { color: var(--pub-on-dark); font-size: var(--pub-fs-label); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.18); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: var(--pub-fs-data); }
.site-footer a { color: var(--pub-on-dark-soft); }
.site-footer a:hover { color: var(--pub-on-dark); text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 44px; height: 44px; border-radius: var(--brand-radius-full); display: grid; place-items: center; background: rgba(255,255,255,.14); color: var(--pub-on-dark); font-size: 14px; }
.social a:hover { background: var(--brand-surface); color: var(--brand-primary); text-decoration: none; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.18); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; font-size: var(--pub-fs-caption); color: var(--pub-on-dark-soft); flex-wrap: wrap; }
.to-top { text-decoration: none; position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--brand-radius-full); background: var(--brand-primary-active); color: var(--pub-on-dark); display: grid; place-items: center; box-shadow: var(--shadow-md); z-index: var(--z-sticky); font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast), background var(--transition-fast); pointer-events: none; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--pub-on-dark); }

/* ---------- Booking hand-off (bridge to eZee) ---------- */
.handoff { min-height: 60vh; display: grid; align-items: center; }
.handoff-card { max-width: 560px; margin-inline: auto; text-align: center; padding: 40px 32px; border: 1px solid var(--brand-border); border-top: 3px solid var(--brand-accent); border-radius: var(--brand-radius-lg); background: var(--brand-surface); box-shadow: var(--shadow-sm); }
.handoff-card h1 { font-size: var(--pub-fs-title); color: var(--brand-primary); margin: 8px 0 12px; }
.handoff-card .lead { font-size: var(--pub-fs-subtitle); color: var(--brand-body-color); font-weight: var(--fw-semibold); }
.handoff-card .btn { margin-top: 12px; }
.handoff-card .cap { margin: 16px 0 0; font-size: var(--pub-fs-caption); }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; height: 340px; background: var(--brand-primary-deep); overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,61,76,.05) 0%, rgba(0,61,76,0) 25%, rgba(0,61,76,.78) 100%); }
.page-hero .container { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; color: var(--pub-on-dark); }
.page-hero h1 { font-size: var(--pub-fs-display); font-weight: var(--fw-semibold); letter-spacing: -.01em; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--pub-fs-eyebrow); letter-spacing: .06em; text-transform: uppercase; color: var(--pub-on-dark-soft); margin-bottom: 10px; }
.breadcrumb a { color: var(--pub-on-dark); }
.detail {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

    .detail > * {
        min-width: 0;
    }
/* "Back to Rooms / Room Rates" (INFINITY-31) — own full-width row above the gallery and the rate card,
   shrink-wrapped so the outlined button keeps its intrinsic width instead of stretching. */
.detail > .detail-back { grid-column: 1 / -1; justify-self: start; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery img { border-radius: var(--brand-radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; cursor: zoom-in; transition: transform var(--transition-fast); }
.gallery img:hover { transform: scale(1.02); }
.gallery .main { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.spec div { background: var(--brand-paper); border-radius: var(--brand-radius); padding: 12px; text-align: center; }
.spec b { display: block; font-size: 20px; color: var(--brand-primary-text); }
.spec span { font-size: var(--pub-fs-caption); color: var(--brand-text-muted); text-transform: uppercase; letter-spacing: .06em; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: var(--pub-fs-data); }
.amenities li::before { content: "✓"; color: var(--brand-accent-fill); font-weight: var(--fw-black); margin-right: 8px; }
.rate-card { position: sticky; top: 100px; background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.rate-card .head { background: var(--brand-primary-fill); color: var(--pub-on-dark); padding: 18px 22px; }
.rate-card .head .eyebrow { color: var(--pub-on-dark-soft); }
.rate-card .head b { font-size: 28px; display: block; }
.rate-card .head small { color: var(--pub-on-dark-soft); }
.rate-tabs { display: flex; border-bottom: 1px solid var(--brand-border); }
.rate-tabs button { flex: 1; padding: 12px; background: none; border: 0; border-bottom: 2px solid transparent; font: inherit; font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); color: var(--brand-text-muted); cursor: pointer; }
.rate-tabs button.is-active { color: var(--brand-primary-text); border-bottom-color: var(--brand-accent); }
.rate-rows { padding: 8px 22px; }
.rate-rows div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--brand-border); font-size: var(--pub-fs-data); }
.rate-rows div:last-child { border: 0; }
.rate-rows b { font-variant-numeric: tabular-nums; color: var(--brand-body-color); }
.rate-rows small { display: block; color: var(--brand-text-muted); font-size: var(--pub-fs-eyebrow); }
/* Share bar (detail pages) — plain intents, 44px touch targets; in a rate card it sits under the CTAs. */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; }
.rate-card .share-bar { margin: 0; padding: 14px 22px; border-top: 1px solid var(--brand-border); }
.share-label { font-size: var(--pub-fs-eyebrow); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .08em; color: var(--brand-text-muted); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--brand-border); border-radius: var(--brand-radius-full); background: var(--brand-surface); color: var(--brand-primary-text); font-size: 16px; text-decoration: none; cursor: pointer; transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast); }
.share-btn[hidden] { display: none; }
.share-btn:hover, .share-btn:focus-visible { background: var(--brand-primary-fill); border-color: var(--brand-primary-fill); color: var(--pub-on-dark); }
.share-status { font-size: var(--pub-fs-eyebrow); color: var(--brand-text-muted); }
/* The <nav> landmark wraps the primary menu without becoming a header grid item. */
.primary-nav { display: contents; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: var(--z-toast); padding: 10px 16px; background: var(--brand-surface); color: var(--brand-primary-text); border-radius: var(--brand-radius); box-shadow: var(--shadow-md); }
.rate-card .foot { padding: 16px 22px 22px; display: grid; gap: 10px; }
.rate-card .foot .btn { justify-content: center; }
details.inclusions { border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); padding: 0 18px; margin-top: 24px; }
details.inclusions summary { cursor: pointer; padding: 14px 0; font-weight: var(--fw-semibold); color: var(--brand-primary-text); list-style: none; display: flex; justify-content: space-between; }
details.inclusions summary::after { content: "+"; font-size: 20px; }
details[open].inclusions summary::after { content: "–"; }
details.inclusions ul { padding-left: 18px; font-size: var(--pub-fs-data); color: var(--brand-text-muted); }
.prose h2 { font-size: var(--pub-fs-subtitle); color: var(--brand-primary); margin: 28px 0 10px; }
.prose p { color: var(--brand-text-muted); line-height: 1.7; }
.prose {
    max-width: 76ch;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.detail .prose {
    max-width: 100%;
}
/* on detail pages, match the gallery/image column width */
/* Migrated embeds (YouTube on About): responsive 16:9, old-site .pull-right float kept on wide screens */
.prose iframe, .prose-sm iframe { display: block; width: 100%; max-width: 560px; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--brand-radius-lg); margin: 8px 0 20px; }
/* Old-site inline indents (style="margin-left:25px" on the About video) push a full-width embed past a phone screen. */
@media (max-width: 767.98px) { .prose iframe, .prose-sm iframe { margin-left: 0 !important; margin-right: 0 !important; } }
.prose .pull-right, .prose-sm .pull-right { float: right; margin: 4px 0 16px 28px; max-width: 48%; }
.prose::after { content: ""; display: table; clear: both; }

/* Rich-text content (admin editor / pasted from Word or web): follow site typography.
   Inline styles beat the stylesheet, so !important is the safety net here.
   Real emphasis (strong, em, h2-h4, lists, tables, iframes) is untouched. */
.prose *, .prose-sm * {
    max-width: 100%;
    white-space: normal !important;
}

.prose :is(p, span, div, li, font, td, th),
.prose-sm :is(p, span, div, li, font, td, th) {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

.prose a, .prose-sm a {
    color: var(--brand-primary-text) !important;
}

.prose .rich-body {
    margin-bottom: 36px;
}
/* space before "Menus & Dishes" */
.prose h2:not(:first-child) {
    margin-top: 36px;
}

.prose pre, .prose-sm pre {
    white-space: pre-wrap !important;
    overflow-x: auto;
}
@media (max-width: 767px) { .prose .pull-right, .prose-sm .pull-right { float: none; max-width: 100%; margin: 8px 0 20px; } }

/* Rate table (Rates page pattern) */
.public-site .rate-table { width: 100%; border-collapse: collapse; font-size: var(--pub-fs-data); }
.public-site .rate-table th { text-align: left; background: var(--brand-primary-tint); color: var(--brand-primary-active); font-size: var(--pub-fs-eyebrow); letter-spacing: .08em; text-transform: uppercase; padding: 12px 14px; }
.public-site .rate-table td { padding: 12px 14px; border-bottom: 1px solid var(--brand-border); font-variant-numeric: tabular-nums; }
.public-site .rate-table tr:hover td { background: var(--brand-paper); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } .nav > li > a { padding-inline: 8px; font-size: 12px; } .tile-scroller { grid-auto-columns: calc((100% - var(--tile-gap)) / 2); } }
/* Header: the inline nav needs ~1200px (8 items + logo + CTA column); below that it becomes the drawer. */
.nav-cta { display: none; }
@media (max-width: 1199px) {
  .site-header .container { grid-template-columns: auto 1fr auto; height: 72px; grid-template-rows: 72px; }
  .site-header .nav { align-self: auto; }
  .header-cta { justify-self: end; }
  .header-cta .local-time { display: none; }
  .logo img { height: 46px; }
  .menu-toggle { display: block; justify-self: end; }
  .site-header .nav { position: fixed; inset: 72px 0 0 0; background: var(--brand-surface); flex-direction: column; justify-content: flex-start; gap: 0; padding: 12px 16px; overflow: auto; transform: translateX(100%); transition: transform 250ms ease; z-index: var(--z-offcanvas); }
  .site-header .nav.open { transform: none; }
  .site-header .nav > li > a { padding: 14px 8px; border-bottom: 1px solid var(--brand-border); font-size: 14px; color: var(--brand-primary-active); font-weight: var(--fw-semibold); }
  .site-header .nav > li > a:hover, .site-header .nav > li.active > a { color: var(--brand-primary-text); }
  .sub { background: transparent; border-top: 0; }
  .sub a:hover { background: var(--brand-primary-tint); color: var(--brand-primary-text); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; }
  .site-header .nav > li.open > .sub { display: block; }
  .site-header .nav > li.nav-cta { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 8px; }
  .site-header .nav > li.nav-cta > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-bottom: 0; padding: 10px 18px; font-size: 13px; }
  /* The drawer link colours above must not repaint the CTA buttons (green fill needs white text; outline turns white on hover). */
  .site-header .nav > li.nav-cta > a.btn-accent { color: var(--pub-on-dark); }
  .site-header .nav > li.nav-cta > a.btn-outline-primary:hover { color: var(--bs-btn-hover-color); }
}
@media (max-width: 767px) { .header-cta { display: none; } }
@media (max-width: 991px) {
  .booking { grid-template-columns: 1fr 1fr; }
  .booking .field:nth-child(2n) { border-right: 0; }
  .booking .submit { grid-column: 1 / -1; }
  .booking .submit .btn { width: 100%; justify-content: center; padding: 16px; }
  .two-col, .detail { grid-template-columns: 1fr; gap: 40px; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .rate-card { position: static; }
  .band { min-height: 400px; }
  .band .panel { min-height: 400px; }
  .hero-dots { display: none; }
}
@media (max-width: 600px) {
  .hero { height: 440px; }
  .slide-caption { bottom: 110px; }
  .slide-caption .box { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 18px; }
  .booking-wrap { margin-top: -60px; }
  .booking { grid-template-columns: 1fr; }
  .booking .field { border-right: 0; border-bottom: 1px solid var(--brand-border); }
  .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; }
  /* One card plus a sliver of the next one, so a phone still shows there is more to swipe to. */
  .tile-scroller { grid-auto-columns: calc((100% - var(--tile-gap)) / 1.3); }
  .band .panel { width: 100%; }
  .news-item { grid-template-columns: 100px 1fr; gap: 12px; }
  .section { padding: 48px 0; }
  .site-footer .top { grid-template-columns: 1fr; }
  .hero-nav { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .spec { grid-template-columns: repeat(3, 1fr); }
  .amenities { grid-template-columns: 1fr; }
  .page-hero { height: 240px; } .page-hero h1 { font-size: 28px; }
}

/* ---------- Public content pages (Phase 7) ---------- */
.public-site .pt-0 { padding-top: 0; }
.public-site .mt-5 { margin-top: 48px; }
.public-site .mt-2 { margin-top: 8px; }
.public-site .mt-3 { margin-top: 20px; }
.public-site .btn-sm { padding: .5rem 1rem; font-size: var(--pub-fs-eyebrow); }
.public-site .btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.public-site .text-center { text-align: center; }
.prose-sm { font-size: var(--pub-fs-data); color: var(--brand-text-muted); }
.prose-sm p, .prose p { margin-bottom: .9em; }
.prose-sm ul, .prose ul { padding-left: 1.2em; }
.prose-sm h4, .prose h4 { color: var(--brand-primary-text); font-size: var(--pub-fs-heading); margin: 18px 0 6px; }
.prose-sm table, .prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: var(--pub-fs-data); }
.prose-sm td, .prose-sm th, .prose td, .prose th { border: 1px solid var(--brand-border); padding: 8px 10px; vertical-align: top; }
.prose-sm img, .prose img { border-radius: var(--brand-radius-lg); margin: 8px 0; }
.panel-copy { color: var(--pub-on-dark-muted); }
.panel-copy p { color: inherit; margin-bottom: .6em; }
.public-site .awards-title { font-size: var(--pub-fs-subtitle); color: var(--brand-primary); margin-top: 40px; }
.public-site .awards-title + .rule { margin-top: 10px; }
.badge-award img { width: 56px; height: 56px; object-fit: contain; }
.band-item { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms ease; display: grid; align-items: stretch; }
.band-item.is-active { opacity: 1; position: relative; }
.band-item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,61,76,.25), rgba(0,61,76,0) 55%); }
.band-item .container { position: relative; }
.band::before { display: none; }

/* rooms list */
.room-list { display: grid; gap: 24px; }
.room-row { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: center; background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); overflow: hidden; }
.room-media img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.room-body { padding: 20px 24px 20px 0; }
.room-body h3 { font-size: var(--pub-fs-subtitle); margin-bottom: 8px; }
.room-body h3 a { color: var(--brand-primary-text); }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--pub-fs-data); color: var(--brand-text-muted); margin: 10px 0 16px; }
.room-meta i { color: var(--brand-primary-soft); margin-right: 4px; }
.room-meta .price { color: var(--brand-primary-text); font-weight: var(--fw-semibold); }

/* rates page */
.rates-intro { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.table-wrap { overflow: auto; border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); }
.rate-table { width: 100%; border-collapse: collapse; font-size: var(--pub-fs-data); margin: 0; }
.rate-table th { text-align: left; background: var(--brand-primary-tint); color: var(--brand-primary-active); font-size: var(--pub-fs-eyebrow); letter-spacing: .08em; text-transform: uppercase; padding: 12px 14px; }
.rate-table td { padding: 12px 14px; border-bottom: 1px solid var(--brand-border); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate-table tr:hover td { background: var(--brand-paper); }
.surcharges { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: var(--pub-fs-data); color: var(--brand-text-muted); }
.surcharges div { background: var(--brand-paper); border-radius: var(--brand-radius); padding: 10px 14px; }
.surcharges span { color: var(--brand-primary-text); font-weight: var(--fw-semibold); margin-left: 6px; }
.check-list { list-style: none; padding: 0; margin: 0; font-size: var(--pub-fs-data); }
.check-list li { padding: 8px 0; border-bottom: 1px dashed var(--brand-border); }
.check-list li::before { content: "\203A"; color: var(--brand-accent-fill); font-weight: var(--fw-black); margin-right: 8px; }

/* spa */
.spa-list { display: grid; gap: 16px; margin-bottom: 40px; }
.spa-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 20px; background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); }
.spa-head h3 { font-size: var(--pub-fs-heading); margin-bottom: 10px; }
.spa-head h3 a { color: var(--brand-primary-text); }
.spa-prices { list-style: none; margin: 0; padding: 0; font-size: var(--pub-fs-data); }
.spa-prices li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 6px 0; border-bottom: 1px dashed var(--brand-border); }
.spa-prices li b { color: var(--brand-primary-text); white-space: nowrap; }
.spa-prices li small { flex-basis: 100%; color: var(--brand-text-muted); }

/* spa category tabs (INFINITY-24) — sticky pill strip; tab/panel wiring is ID-based (spa-tabs.js).
   top: the header compacts 88px → 72px once scrolled (and is 72px on mobile), so the stuck
   strip sits flush below it. z-index stays one step under the header token so tabs slide
   beneath the header but above page content. */
.spa-category-tabs-wrap, .dive-level-tabs-wrap { position: sticky; top: 72px; z-index: calc(var(--z-sticky) - 10); background: var(--brand-surface); padding: 12px 0; margin-bottom: 24px; border-bottom: 1px solid var(--brand-border); }
.spa-category-tabs, .dive-level-tabs { display: flex; gap: 8px; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.spa-category-tabs__item, .dive-level-tabs__item, .dive-filter { flex: 0 0 auto; min-height: 44px; padding: 10px 18px; border: 1px solid var(--brand-border); border-radius: var(--brand-radius-full); background: var(--brand-surface); font: inherit; font-size: var(--pub-fs-data); font-weight: var(--fw-semibold); color: var(--brand-body-color); cursor: pointer; transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast); }
.spa-category-tabs__item:hover, .dive-level-tabs__item:hover, .dive-filter:hover { border-color: var(--brand-primary); color: var(--brand-primary-text); }
.spa-category-tabs__item.is-active, .dive-level-tabs__item.is-active, .dive-filter.is-active { background: var(--brand-primary-fill); border-color: var(--brand-primary-fill); color: var(--pub-on-dark); }
.spa-panel[hidden] { display: none; }

/* feature rows (facilities, pages) */
.feature-list { display: grid; gap: 40px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.feature-row.flip .feature-media { order: 2; }
.feature-row.no-media { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
.feature-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--brand-radius-lg); box-shadow: var(--shadow-md); }
.feature-body h2 { font-size: var(--pub-fs-subtitle); color: var(--brand-primary); margin: 10px 0 12px; }

/* dive */
/* INFINITY-32/33 — the .dive-site-card rules below are the single card component: the Diving-page preview
   and the Dive Sites page both render it, so nothing about a card is site-specific any more. The old
   .dive-grid / .dive-card masonry block and its dive-sites.js "Read more" clamping are gone with them. */

/* dive sites page (INFINITY-25) — level tabs reuse the spa pill strip above; breakponts match .news-grid (991 / 600). */
.dive-level-tabs { padding: 4px; }
.dive-level-tabs__item.is-active { text-decoration: underline; text-underline-offset: 4px; }
.dive-site-panel { min-width: 0; }
.dive-site-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dive-site-card { display: flex; flex-direction: column; min-width: 0; background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; scroll-margin-top: 156px; transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.dive-site-card[hidden], .empty-album[hidden] { display: none; }
.dive-site-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--brand-primary-tint); }
.dive-site-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-fast); }
/* Whole card is one anchor: it fills the card so click, Enter, middle-click and "open in new tab" all work
   natively, and there is no click handler to keep in sync. Inset focus ring stays visible because the card
   clips its children to the rounded corners. */
.dive-site-card__link { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; color: inherit; text-decoration: none; }
.dive-site-card__link:focus-visible { outline: var(--focus-ring); outline-offset: -3px; border-radius: var(--brand-radius-lg); }
.dive-site-card__body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 20px; }
/* INFINITY-32 — the name and the level badge are siblings in one flex row. min-width:0 lets a long name
   wrap inside its own column instead of stretching the row, and flex-shrink:0 + nowrap on the badge keeps
   it a single visual unit however long its label is. No site-specific rules, no absolute positioning. */
.dive-site-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.dive-site-card__title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: var(--pub-fs-subtitle); color: var(--brand-primary-text); overflow-wrap: anywhere; }
/* Depth always sits on its own row below the title row, whether or not a depth is known. */
.dive-site-card__depth { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: var(--pub-fs-data); color: var(--brand-text-muted); overflow-wrap: anywhere; }
.dive-site-card__depth.is-missing { font-style: italic; color: var(--brand-text-disabled); }
.dive-site-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.dive-site-card__tag { padding: 2px 10px; border-radius: var(--brand-radius-full); background: var(--brand-primary-tint); color: var(--brand-primary-deep); font-size: var(--pub-fs-caption); font-weight: var(--fw-semibold); }
.dive-site-card__action { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-primary-text); }
.dive-site-card__desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(var(--lh-body) * 4em); line-height: var(--lh-body); overflow-wrap: anywhere; margin-bottom: 8px; }
.dive-site-card__desc > :last-child { margin-bottom: 0; }
.dive-site-card__desc.is-expanded { display: block; overflow: visible; }
.dive-site-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 12px; font-size: var(--pub-fs-data); color: var(--brand-text-muted); }
.dive-site-card__toggle { align-self: flex-start; display: inline-flex; align-items: center; margin-top: auto; padding: 8px 0; min-height: 44px; background: none; border: 0; font: inherit; font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); cursor: pointer; }
.dive-site-card__toggle[hidden] { display: inline-flex; visibility: hidden; }
.dive-site-card__toggle[aria-expanded="true"]::after { content: " ‹"; }
/* Level badge: neutral by default so a newly added level is never unstyled; known levels add a modifier
   (AllLevels → --all-levels). nowrap is what stops "Advanced" ever breaking across two lines. */
.dive-level-badge { display: inline-block; flex: 0 0 auto; padding: 2px 10px; border-radius: var(--brand-radius-full); background: var(--brand-paper); border: 1px solid var(--brand-border); color: var(--brand-charcoal); font-size: var(--pub-fs-caption); font-weight: var(--fw-semibold); line-height: 1.5; white-space: nowrap; }
.dive-level-badge--beginner { background: var(--bs-success-bg-subtle); border-color: var(--bs-success-border-subtle); color: var(--bs-success-text-emphasis); }
.dive-level-badge--all-levels { background: var(--brand-primary-tint); border-color: var(--brand-primary-soft); color: var(--brand-primary-deep); }
.dive-level-badge--advanced { background: var(--bs-warning-bg-subtle); border-color: var(--bs-warning-border-subtle); color: var(--bs-warning-text-emphasis); }

/* Featured dive sites preview on the Diving page: simple header + 2-col grid + "View all" CTA. */
.dive-sites { margin-top: 40px; }
.dive-sites__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dive-sites__header h2 { margin: 0; font-size: var(--pub-fs-subtitle); }
.dive-sites__more { margin-top: 28px; }

@media (hover: hover) {
    .dive-site-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
    .dive-site-card:hover .dive-site-card__media img { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .dive-site-card, .dive-site-card__media img, .dive-filter { transition: none; }
    .dive-site-card:hover { transform: none; }
    .dive-site-card:hover .dive-site-card__media img { transform: none; }
}

@media (max-width: 600px) { .dive-site-grid { grid-template-columns: minmax(0, 1fr); } .dive-site-card__body { padding: 16px; } }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.news-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.news-body { padding: 18px; }
.news-body h3 { font-size: var(--pub-fs-heading); margin: 6px 0 8px; }
.news-body h3 a { color: var(--brand-body-color); }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 32px; }

/* testimonials */
.testimonials__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.testimonial { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); box-shadow: var(--shadow-sm); }
.testimonial__rating { margin: 0 0 12px; color: var(--pub-star); font-size: var(--pub-fs-subtitle); line-height: 1; letter-spacing: 3px; }
.testimonial__star-off { color: var(--brand-border); }
.testimonial__title { margin-bottom: 12px; font-size: var(--pub-fs-subtitle); color: var(--brand-charcoal); overflow-wrap: anywhere; }
.testimonial__body { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.testimonial__text { margin: 0; font-size: var(--pub-fs-body); line-height: 1.7; color: var(--brand-body-color); overflow-wrap: anywhere; }
.testimonial__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.testimonial__toggle { display: inline-flex; align-items: center; min-height: 44px; margin: 4px 0 0 -14px; padding: 8px 14px; border: 0; border-radius: var(--brand-radius); background: transparent; color: var(--brand-primary-text); font: inherit; font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); cursor: pointer; }
.testimonial__toggle[hidden] { display: none; }
.testimonial__toggle:hover { background: var(--brand-paper); color: var(--brand-primary-active); }
.testimonial__guest { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--brand-border); }
.testimonial__avatar { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--brand-radius-full); background: var(--brand-primary-tint); color: var(--brand-primary-active); font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); }
.testimonial__guest-info { display: flex; flex-direction: column; min-width: 0; }
.testimonial__name { font-size: var(--pub-fs-data); color: var(--brand-charcoal); overflow-wrap: anywhere; }
.testimonial__meta { font-size: var(--pub-fs-caption); color: var(--brand-text-muted); overflow-wrap: anywhere; }
.testimonials-awards { margin-top: 72px; }
.testimonials-awards .awards { margin-top: 0; }
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .testimonial { padding: 20px; } .testimonials-awards { margin-top: 48px; } }

/* careers */
.jobs { display: grid; gap: 20px; }
.job { background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); padding: 24px; }
.job h3 { font-size: var(--pub-fs-subtitle); color: var(--brand-primary); margin-bottom: 6px; }

/* gallery */
.album-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.album-nav a { padding: 8px 14px; border: 1px solid var(--brand-border); border-radius: var(--brand-radius-full); font-size: var(--pub-fs-data); color: var(--brand-body-color); background: var(--brand-surface); }
.album-nav a b { color: var(--brand-text-muted); font-weight: var(--fw-regular); margin-left: 4px; }
.album-nav a.current { background: var(--brand-primary-fill); border-color: var(--brand-primary-fill); color: var(--pub-on-dark); }
.album-nav a.current b { color: var(--pub-on-dark-soft); }
.masonry { columns: 3; column-gap: 12px; }
.masonry .ph { display: block; break-inside: avoid; margin-bottom: 12px; border-radius: var(--brand-radius-lg); overflow: hidden; }
.masonry img { width: 100%; display: block; transition: transform .4s; }
.masonry .ph:hover img { transform: scale(1.03); }
.empty-album { margin-top: 24px; text-align: center; padding: 48px 20px; border: 1px dashed var(--brand-border); border-radius: var(--brand-radius-lg); color: var(--brand-text-muted); }
.empty-album i { font-size: 40px; color: var(--brand-primary-soft); margin-bottom: 12px; }
.empty-album h3 { color: var(--brand-body-color); font-size: var(--pub-fs-subtitle); margin-bottom: 6px; }

/* contact form */
.contact-grid { grid-template-columns: 1.3fr 1fr; }
.inquiry-form .field { display: flex; flex-direction: column; margin-bottom: 16px; }
.inquiry-form label { font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); margin-bottom: 6px; }
.inquiry-form label span { color: var(--bs-danger); }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--brand-border); border-radius: var(--brand-radius); background: var(--brand-surface); }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { outline: none; box-shadow: var(--focus-ring); border-color: var(--brand-primary); }
.inquiry-form .input-validation-error { border-color: var(--bs-danger); }
.inquiry-form .invalid, .inquiry-form .field-validation-error { color: var(--bs-danger); font-size: var(--pub-fs-caption); margin-top: 4px; }
.inquiry-form .form-error:not(:empty) { background: var(--bs-danger-bg-subtle); border-left: 4px solid var(--bs-danger); color: var(--bs-danger-text-emphasis); padding: 12px 16px; border-radius: var(--brand-radius); margin-bottom: 20px; font-size: var(--pub-fs-data); }
.inquiry-form .form-error ul { margin: 0; padding-left: 1.2em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row.four { grid-template-columns: repeat(4, 1fr); }
.honeypot { position: absolute; left: -9999px; }
.contact-info dl { margin: 0 0 20px; }
.contact-info dt { font-weight: var(--fw-semibold); color: var(--brand-primary-text); margin-top: 14px; }
.contact-info dt i { width: 18px; margin-right: 6px; }
.contact-info dd { margin: 4px 0 0; color: var(--brand-text-muted); }
.public-site .alert { border-radius: var(--brand-radius); font-size: var(--pub-fs-data); }
.public-site main > .alert { width: min(var(--container), 100% - 32px); margin: 20px auto 0; }

/* errors & book now */
.error-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.book-now-bar .booking-wrap { margin-top: -40px; }

@media (max-width: 991px) {
  .room-row { grid-template-columns: 1fr; }
  .room-body { padding: 0 20px 20px; }
  .spa-row, .feature-row, .quotes, .contact-grid { grid-template-columns: 1fr; }
  .feature-row.flip .feature-media { order: 0; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .field-row.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .field-row, .field-row.four { grid-template-columns: 1fr; }
}

.rates-policies { min-width: 0; }
.rates-disclosure { margin-bottom: 20px; }
.rates-content { min-width: 0; overflow-wrap: anywhere; }
.rates-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rates-extra[hidden], .rates-toggle[hidden] { display: none; }
.rates-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 0; border-radius: var(--brand-radius); background: transparent; color: var(--brand-primary-text); font: inherit; font-size: var(--pub-fs-label); font-weight: var(--fw-semibold); cursor: pointer; }
.rates-toggle:hover { background: var(--brand-paper); color: var(--brand-primary-active); }
.rates-toggle:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 3px; }
