/* ==========================================================
   Camilsons Beach Resort — stylesheet (shared by all pages)
   "Dark Ocean" palette. Edit the tokens below to re-theme the site.
   ========================================================== */

:root {
  /* Palette */
  --deep:   #002D37;  /* deep ocean — dark panels, primary buttons, headings */
  --teal:   #186663;  /* sea green — accents, active states */
  --mist:   #A6B5B4;  /* sea mist — muted text on dark, lines */
  --earth:  #8C7361;  /* driftwood — secondary text, small details */
  --sand:   #D2AF94;  /* sand — highlights, badges, icons */

  --bg:      #F3EDE6;  /* page background (light sand) */
  --bg-2:    #E9DFD3;  /* alternate band */
  --card:    #FFFFFF;
  --ink:     #10282E;  /* body text */
  --ink-soft:#5E6E70;  /* secondary text */
  --line:    rgba(0, 45, 55, .12);
  --on-dark: #E7EEED;
  --on-dark-soft: #A6B5B4;

  /* Older names, kept so the CMS admin pages follow the palette */
  --white: var(--card);
  --sun: var(--sand);
  --sun-soft: var(--bg);
  --palm: var(--teal);
  --palm-deep: var(--deep);
  --leaf: #E2EAE9;

  /* Type */
  --font-display: "Urbanist", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Parisienne", "Segoe Script", cursive;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-sm: 12px;
  --section-pad: clamp(4rem, 9vw, 7rem);
  --shadow: 0 1px 2px rgba(0, 45, 55, .05), 0 12px 32px -12px rgba(0, 45, 55, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@view-transition { navigation: auto; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* nothing should ever cause sideways scrolling on phones */
}
img { max-width: 100%; display: block; }
picture { display: contents; } /* <picture> (AVIF + JPG fallback) lays out exactly like its <img> */
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.015em; color: var(--deep); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { flex: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section-head { max-width: 640px; margin: 0 auto 2.8rem; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; text-align: left; }
.section-head--row > div { max-width: 620px; }
.section-head--row p { margin: 0; }
.section-head--light h2 { color: var(--card); }
.section-mark {
  display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 1rem;
  border-radius: 50%; background: rgba(210, 175, 148, .25); color: var(--sand);
}
.section-head--row .section-mark { margin-left: 0; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem;
  font: 600 .92rem/1 var(--font-body); letter-spacing: .01em;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--deep); color: var(--card); }
.btn-ink:hover { background: var(--teal); }
.btn-sun { background: var(--sand); color: var(--deep); }
.btn-sun:hover { background: #DDBFA8; }
.btn-outline { background: transparent; color: var(--deep); border-color: rgba(0, 45, 55, .25); }
.btn-outline:hover { border-color: var(--deep); background: var(--deep); color: var(--card); }
.btn-light { background: transparent; color: var(--card); border-color: rgba(255, 255, 255, .55); }
.btn-light:hover { background: var(--card); color: var(--deep); }
.btn-small { padding: .6rem 1.1rem; font-size: .85rem; }
.btn-wide { width: 100%; }
.btn .btn-arrow { display: grid; place-items: center; width: 26px; height: 26px; margin-right: -.6rem; border-radius: 50%; background: var(--card); color: var(--deep); }
.btn .btn-arrow .ico { width: 15px; height: 15px; }

.chip {
  font: 600 .9rem/1 var(--font-body);
  padding: .7rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--deep);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--teal); }
.chip.is-active { background: var(--deep); border-color: var(--deep); color: var(--card); }

/* ---------- Header (transparent over the hero, solid once you scroll) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 1rem var(--gutter);
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
  view-transition-name: site-header;
}
.site-header.is-scrolled { background: rgba(0, 45, 55, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: .6rem; box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .5); }
.header-inner { width: min(100%, var(--wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 56px; color: var(--card); }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-text { font: 600 1.35rem/1 var(--font-display); letter-spacing: -0.01em; }
.logo-text small { display: block; font: 500 .7rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }

.main-nav { display: flex; align-items: center; gap: 1rem; }
.nav-links { display: flex; gap: .15rem; padding: .3rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-links a { text-decoration: none; font-size: .9rem; font-weight: 500; padding: .5rem 1rem; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(255, 255, 255, .14); }
.nav-links a.is-current { background: var(--card); color: var(--deep); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--card); margin: 5px 0; border-radius: 2px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100vh, 860px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  margin: 0 .75rem; border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: center / cover no-repeat var(--deep);
  color: var(--card);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 45, 55, .62) 0%, rgba(0, 45, 55, .45) 45%, rgba(0, 45, 55, .8) 100%); }
.hero-content { padding: 8rem 0 4rem; display: grid; justify-items: center; pointer-events: none; }
.hero-content > * { pointer-events: auto; } /* empty space around the text lets clicks reach the banner */
.hero-brand {
  font: 700 clamp(2.2rem, 12.5vw, 12.5rem)/.85 var(--font-display); letter-spacing: -0.03em; text-transform: uppercase;
  margin: 0 0 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .72) 55%, rgba(255, 255, 255, .12) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-place { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: .9rem; color: var(--on-dark); letter-spacing: .02em; }
.hero-place::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--sand); }
.hero h1 { color: var(--card); font-family: var(--font-script); font-size: clamp(2.8rem, 6.5vw, 5.2rem); font-weight: 400; line-height: 1.2; letter-spacing: 0; margin-bottom: .35em; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.hero-sub { max-width: 34rem; margin: 0 auto; color: var(--on-dark); font-size: 1rem; }
.hero-contact {
  display: flex; align-items: center; gap: .6rem;
  width: min(100%, 720px); margin-top: 2.6rem; text-align: left;
  background: var(--card); color: var(--ink); border-radius: 999px; padding: .55rem .55rem .55rem 1.8rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .55);
}
.hero-contact-label { display: grid; margin-right: auto; padding-right: 1rem; line-height: 1.35; }
.hero-contact-label strong { font: 600 1.05rem var(--font-display); color: var(--deep); }
.hero-contact-label span { font-size: .82rem; color: var(--ink-soft); }
.hero-contact .btn { padding-block: 1rem; white-space: nowrap; }
.hero-contact .ico { width: 18px; height: 18px; }
.btn > .ico { width: 18px; height: 18px; }
.btn-wa { background: var(--teal); color: var(--card); }
.btn-wa:hover { background: #12514E; }

/* Banner photos: a real <picture> filling the banner (cms_bg_picture) */
.bg-picture { display: block; position: absolute; inset: 0; z-index: -2; }
.bg-picture img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .bg-picture { z-index: auto; }

/* Hero background slideshow (cms_hero_slides) */
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; background: center / cover no-repeat var(--deep); opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active { animation: hero-zoom 9s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-dots {
  position: absolute; right: clamp(1rem, 3vw, 2.2rem); top: 50%; transform: translateY(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: .7rem .45rem; border-radius: 999px; background: rgba(0, 45, 55, .25); backdrop-filter: blur(6px);
}
.hero-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .55); transition: height .35s var(--ease), background .35s var(--ease);
}
.hero-dots button:hover { background: var(--card); }
.hero-dots button.is-active { height: 26px; background: var(--sand); }

/* ---------- Form fields ---------- */
input, select, textarea {
  font: 500 .95rem var(--font-body); color: var(--ink);
  width: 100%; padding: .8rem .95rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card);
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(24, 102, 99, .14); }

/* ---------- Photos (show a soft colour block until an image is added) ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.photo:hover img, .photo:hover > img { transform: scale(1.04); }
.photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); color: var(--deep);
  border-radius: 999px; padding: .3rem .85rem; font-size: .82rem; font-weight: 600;
}
.tone-1 { background: linear-gradient(160deg, var(--sand), var(--earth)); }
.tone-2 { background: linear-gradient(160deg, var(--teal), var(--deep)); }
.tone-3 { background: linear-gradient(160deg, var(--mist), var(--teal)); }
.tone-4 { background: linear-gradient(160deg, var(--bg-2), var(--sand)); }
.tone-5 { background: linear-gradient(160deg, var(--deep), #01161B); }

/* ---------- Home: rooms slider ---------- */
.room-slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem;
}
.room-slider::-webkit-scrollbar { display: none; }
.room-card {
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius-lg); padding: .75rem; box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.room-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0, 45, 55, .06), 0 22px 40px -16px rgba(0, 45, 55, .28); }
.room-card:hover .rc-img img { transform: scale(1.04); }
.rc-img { display: block; aspect-ratio: 4 / 3; border-radius: 16px; }
.rc-body { flex: 1; padding: 1rem .5rem .4rem; display: flex; flex-direction: column; gap: .7rem; }
.rc-body h3 { margin: 0; }
.rc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; color: var(--ink-soft); font-size: .82rem; }
.rc-meta > span + span::before { content: "·"; margin-right: .55rem; color: var(--mist); }
.rc-desc { display: block; color: var(--ink); font-size: .95rem; line-height: 1.6; }
.rc-foot {
  margin-top: auto; padding-top: .9rem; border-top: 1px dashed rgba(0, 45, 55, .18);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.rc-price { font: 600 1.25rem/1.2 var(--font-display); color: var(--deep); }
.rc-price .per-night { margin-left: .2rem; }
/* "View room →": an outlined arrow that fills and opens up when the card is hovered */
.rc-go {
  display: inline-flex; align-items: center; flex: none; height: 38px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(0, 45, 55, .25); color: var(--deep); font: 600 .85rem var(--font-body); white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.rc-go .ico { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.rc-go-label { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .35s var(--ease), opacity .25s, margin .35s var(--ease); }
.room-card:hover .rc-go, .room-card:focus-visible .rc-go, .room-detail:hover .rc-go, .rc-go:focus-visible { background: var(--deep); border-color: var(--deep); color: var(--card); }
.room-card:hover .rc-go-label, .room-card:focus-visible .rc-go-label, .room-detail:hover .rc-go-label, .rc-go:focus-visible .rc-go-label { max-width: 8rem; opacity: 1; margin: 0 .45rem 0 .3rem; }
.room-card:hover .rc-go .ico, .room-detail:hover .rc-go .ico { transform: translateX(2px); }
a.rc-go { text-decoration: none; }
/* the Villa's dark card: the arrow is light, and fills with sand on hover */
.room-detail--feature .room-foot { border-top-color: rgba(166, 181, 180, .25); }
.room-detail--feature .room-foot .price { color: var(--card); }
.room-detail--feature .rc-go { color: var(--card); border-color: rgba(255, 255, 255, .45); }
.room-detail--feature:hover .rc-go { background: var(--sand); border-color: var(--sand); color: var(--deep); }
@media (hover: none) { .rc-go { background: var(--deep); border-color: var(--deep); color: var(--card); } }
.per-night { font: 500 .8rem var(--font-body); color: var(--ink-soft); }
.room-detail--feature .per-night { color: var(--on-dark-soft); }
/* ---------- Home: rooms grid (the Villa is a wide dark card) ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.rooms-grid .room-card--feature { grid-column: span 2; flex-direction: row; }
.rooms-grid .room-card--feature .rc-img { flex: 1 1 52%; aspect-ratio: auto; min-height: 280px; }
.rooms-grid .room-card--feature .rc-body { flex: 1 1 48%; padding: 1.4rem 1.4rem 1rem; }
.rooms-more { display: flex; justify-content: center; margin: 2.2rem 0 0; }

/* the dark Villa card (also used in "Our other rooms") */
.room-card--feature { background: var(--deep); color: var(--on-dark); }
.room-card--feature h3 { color: var(--card); font-size: 1.45rem; }
.room-card--feature .rc-meta { color: var(--on-dark-soft); }
.room-card--feature .rc-meta .ico { color: var(--sand); }
.room-card--feature .rc-desc { color: var(--on-dark); }
.room-card--feature .rc-foot { border-top-color: rgba(166, 181, 180, .3); }
.room-card--feature .rc-price { color: var(--card); }
.room-card--feature .per-night { color: var(--on-dark-soft); }
.room-card--feature .rc-go { color: var(--card); border-color: rgba(255, 255, 255, .45); }
.room-card--feature:hover .rc-go, .room-card--feature:focus-visible .rc-go { background: var(--sand); border-color: var(--sand); color: var(--deep); }
.slider-ui { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.8rem; }
.slider-track { flex: 1 1 160px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.slider-bar { height: 100%; width: 33%; background: var(--deep); border-radius: 2px; transition: transform .2s linear; }
.slider-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(0, 45, 55, .3); background: transparent; color: var(--deep); cursor: pointer; transition: background .2s, color .2s; }
.slider-btn:hover { background: var(--deep); color: var(--card); }
.slider-btn .ico { width: 18px; height: 18px; }
.slider-prev .ico { transform: scaleX(-1); }

/* ---------- Home: dark stats panel (beach facts) ---------- */
.stats-band { padding-inline: .75rem; }
.stats {
  background: var(--deep); color: var(--on-dark); border-radius: var(--radius-xl);
  padding: var(--section-pad) 0;
}
.stats .section-head h2 { color: var(--card); }
.stat-row {
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.4rem); border-top: 1px solid rgba(166, 181, 180, .2);
}
.stat-row--1 { border-top: 0; }
.stat-num { font: 400 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-display); color: var(--card); margin: 0; }
.stat-num + span { display: block; margin-top: .4rem; font-size: .9rem; color: var(--sand); }
.stat-text { margin: 0; color: var(--on-dark-soft); max-width: 22rem; }
.stat-img { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
.stat-row--2 { grid-template-columns: 1fr 1.25fr 1fr; }
.stat-row--3 { grid-template-columns: 1.25fr 1fr 1fr; }
.stat-row--2 .stat-text, .stat-row--3 .stat-text { justify-self: end; }
.stats .section-head p { color: var(--on-dark-soft); }

/* ---------- Home: intro + oval photos ---------- */
.about-lead { max-width: 640px; margin-left: auto; font: 400 clamp(1.3rem, 2.4vw, 1.75rem)/1.45 var(--font-display); color: var(--ink-soft); }
.about-lead strong { color: var(--deep); font-weight: 600; font-size: 1.25em; }
.about-badge { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1rem; padding: .3rem .8rem; border-radius: 999px; background: var(--card); font: 600 .8rem var(--font-body); color: var(--deep); box-shadow: var(--shadow); }
.about-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
.ovals { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.8rem, 2vw, 1.4rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); padding-inline: .75rem; }
.oval { aspect-ratio: 3 / 4.6; border-radius: 999px; }
.oval:nth-child(odd) { transform: translateY(1.5rem); }
.oval figcaption { left: 50%; bottom: 1.4rem; transform: translateX(-50%); white-space: nowrap; }

/* ---------- Amenities (icon cards) ---------- */
.amenity-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.amenity-list li {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px;
  padding: 1.6rem; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.amenity-list li:hover { transform: translateY(-3px); }
.amenity-list .ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: auto; border-radius: 50%; background: var(--bg); color: var(--earth); }
.amenity-list h3 { margin: 1.5rem 0 .35rem; }
.amenity-list p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.amenity-list li:first-child { background: var(--deep); }
.amenity-list li:first-child h3 { color: var(--card); }
.amenity-list li:first-child p { color: var(--on-dark-soft); }
.amenity-list li:first-child .ic { background: rgba(255, 255, 255, .1); color: var(--sand); }

/* ---------- Guest reviews ---------- */
.reviews { background: var(--bg-2); }
.review-slider { display: grid; max-width: 780px; margin-inline: auto; }
.review-slider .review-card {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.4rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2rem); text-align: center; align-items: center;
}
.review-slider .review-card.is-active { opacity: 1; visibility: visible; }
.review-slider .review-card blockquote p { font: 400 clamp(1.1rem, 2vw, 1.35rem)/1.6 var(--font-display); color: var(--deep); }
.review-slider .review-card::before { left: 50%; right: auto; transform: translateX(-50%); top: .2rem; font-size: 6rem; }
.review-slider .review-stars { justify-content: center; position: relative; }
.review-slider figcaption { justify-content: center; width: 100%; }
.review-slider .review-who { text-align: left; }
.review-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.6rem; }
.review-dots { display: flex; gap: .5rem; }
.review-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(0, 45, 55, .2); cursor: pointer; transition: width .35s var(--ease), background .35s; }
.review-dots button.is-active { width: 26px; background: var(--deep); }
.review-card {
  position: relative; margin: 0; padding: 1.8rem 1.6rem 1.5rem;
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .9rem;
}
.review-card::before {
  content: "“"; position: absolute; top: .4rem; right: 1.3rem;
  font: 600 4.5rem/1 var(--font-display); color: var(--sand); opacity: .35; pointer-events: none;
}
.review-stars { display: flex; gap: .15rem; font-size: 1.05rem; line-height: 1; color: rgba(166, 181, 180, .55); }
.review-stars .on { color: var(--sand); }
.review-card blockquote { margin: 0; }
.review-card blockquote p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--ink); }
.review-details { margin: 0; font-size: .8rem; color: var(--ink-soft); }
.review-card figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1px dashed rgba(0, 45, 55, .18); }
.review-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--card); font: 600 1rem var(--font-display); }
.review-who { display: grid; line-height: 1.35; min-width: 0; }
.review-who strong { font: 600 1rem var(--font-display); color: var(--deep); overflow-wrap: anywhere; }
.review-meta { font-size: .8rem; color: var(--ink-soft); }
.reviews-more { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2rem 0 0; }
.reviews-more a { font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(24, 102, 99, .35); }
.reviews-more a:hover { text-decoration-color: var(--teal); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: .7rem; }
.faq-item { background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 0 1.3rem; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0;
  font: 600 1.05rem/1.4 var(--font-display); color: var(--deep); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--deep); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item > p { margin: 0; padding: 0 2.5rem 1.2rem 0; color: var(--ink-soft); line-height: 1.7; }

/* ---------- Events ---------- */
.events-tabs, .room-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.events-tabs { margin-bottom: 2rem; justify-content: center; }
.event-list { display: grid; gap: 1rem; }
.event {
  display: grid; grid-template-columns: 96px 1fr 200px; gap: 1.5rem; align-items: center;
  padding: .9rem; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow);
  transition: transform .3s var(--ease);
}
.event[hidden] { display: none; }
.event:hover { transform: translateY(-2px); }
.event-date { display: grid; place-items: center; text-align: center; aspect-ratio: 1; border-radius: 18px; background: var(--deep); color: var(--card); }
.event-date .d { font: 500 2.2rem/1 var(--font-display); }
.event-date .m { font-size: .78rem; color: var(--sand); }
.event.is-past .event-date { background: var(--mist); }
.event.is-past .event-date .m { color: var(--deep); }
.event h3 { margin-bottom: .2rem; }
.event p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.event-cat { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--earth); margin-bottom: .3rem; }
.event-thumb { aspect-ratio: 4/3; border-radius: 16px; }
.event-empty { padding: 2rem; border: 1px dashed var(--mist); border-radius: var(--radius-lg); text-align: center; color: var(--ink-soft); }
.event-list--large .event { grid-template-columns: 110px 1fr 260px; padding: 1rem; }

.host { background: var(--bg-2); }
.host-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.host-photo { aspect-ratio: 5 / 4; border-radius: var(--radius-xl); }
.host-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.host-list li { padding-left: 1.8rem; position: relative; font-weight: 500; }
.host-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; transform: rotate(45deg); background: var(--sand); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.g1 { grid-column: span 2; grid-row: span 2; }
.g4 { grid-column: span 2; }
.g5 { grid-column: 1 / -1; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; margin-top: 1rem; }
.photo-grid .photo { aspect-ratio: 4 / 3; }
.host .photo-grid { margin-top: clamp(2rem, 5vw, 3.5rem); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 .75rem var(--section-pad); }
.cta-inner {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(120deg, var(--teal), var(--deep)); color: var(--card);
  border-radius: var(--radius-xl); padding: clamp(2.5rem, 6vw, 4.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cta-inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(210, 175, 148, .35); z-index: -1; }
.cta-inner h2 { margin: 0; color: var(--card); font-size: clamp(2rem, 4.6vw, 3.4rem); }

/* ---------- Inner page banner ---------- */
.page-banner {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 .75rem; min-height: clamp(360px, 56vh, 520px);
  display: flex; align-items: flex-end; justify-content: center; text-align: center;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: center / cover no-repeat var(--deep); color: var(--card);
}
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 45, 55, .55), rgba(0, 45, 55, .3) 45%, rgba(0, 45, 55, .8)); }
.banner-content { padding: 9rem 0 3.2rem; display: grid; justify-items: center; }
.banner-content h1 { margin: 0 0 .7rem; color: var(--card); font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 400; letter-spacing: -0.02em; }
.banner-content p { max-width: 36rem; margin: 0; color: var(--on-dark); font-size: 1.05rem; }
.banner-content a { color: var(--sand); }

/* ---------- Rooms page ---------- */
.room-toolbar {
  position: sticky; top: 84px; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: nowrap;
  padding: .5rem; margin-bottom: 3rem;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 999px; box-shadow: var(--shadow);
}
.room-filter { flex-wrap: nowrap; flex: none; }
.room-filter .chip { border-color: transparent; background: transparent; }
.room-filter .chip.is-active { background: var(--deep); }
.room-jump { display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.room-jump a { white-space: nowrap; text-decoration: none; font-size: .88rem; font-weight: 500; padding: .5rem .8rem; border-radius: 999px; color: var(--ink-soft); }
.room-jump a:hover { color: var(--deep); background: var(--bg); }

.room-detail {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(1rem, 2vw, 1.4rem); margin-bottom: 1.5rem;
  background: var(--card); border-radius: var(--radius-xl); box-shadow: var(--shadow);
}
.room-detail { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.room-detail:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0, 45, 55, .06), 0 22px 40px -16px rgba(0, 45, 55, .28); }
.room-detail[hidden] { display: none; }
.room-detail:nth-of-type(even) .room-gallery { order: 2; }
.room-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: .7rem; height: clamp(300px, 34vw, 430px); }
.rg-main { grid-row: span 2; }
.room-info { padding: .5rem clamp(.5rem, 2vw, 1.5rem); }
.room-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.room-title-link { text-decoration: none; }
.room-title-link:hover { color: var(--teal); }
.room-info p { color: var(--ink-soft); max-width: 34rem; }
.room-specs { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.room-specs li { background: var(--bg); color: var(--deep); font-size: .82rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; }
.room-specs li.spec-key { display: inline-flex; align-items: center; gap: .35rem; background: rgba(210, 175, 148, .35); }
.room-specs .ico { width: 15px; height: 15px; color: var(--earth); }
.room-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px dashed rgba(0, 45, 55, .18); }
.room-foot .price { font: 600 1.25rem/1.2 var(--font-display); color: var(--deep); }
.room-foot-actions { display: flex; align-items: center; gap: .6rem; }
.price { font-weight: 700; color: var(--teal); margin-right: .4rem; }

.room-detail--feature { background: var(--deep); color: var(--on-dark); }
.room-detail--feature h2, .room-detail--feature .room-title-link { color: var(--card); }
.room-detail--feature .room-info p { color: var(--on-dark-soft); }
.room-detail--feature .room-specs li { background: rgba(255, 255, 255, .1); color: var(--card); }
.room-detail--feature .room-specs li.spec-key { background: rgba(210, 175, 148, .22); }
.room-detail--feature .room-specs .ico { color: var(--sand); }
.room-detail--feature .price { color: var(--sand); }

.policies { background: var(--bg-2); }
.policies h2 { text-align: center; }
.policy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; }
.policy-grid div { background: var(--card); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow); }
.policy-grid dt { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--earth); }
.policy-grid dd { margin: .4rem 0 0; font: 600 1.15rem/1.35 var(--font-display); color: var(--deep); }

/* ---------- Single room page (room/<slug>) ---------- */
.room-back { margin: 0 0 1.2rem; }
.room-back a { font-weight: 600; text-decoration: none; color: var(--teal); }
.room-back a:hover { text-decoration: underline; }
.room-gallery--page { height: clamp(340px, 44vw, 560px); }
.room-page-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: clamp(2.5rem, 6vw, 4rem); }
.room-page-main h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.room-page-main h3 { margin-top: 2.2rem; }
.room-about { color: var(--ink-soft); font-size: 1.05rem; max-width: 40rem; }
.room-amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }
.room-amenities li { position: relative; padding-left: 1.6rem; font-weight: 500; }
.room-amenities li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; transform: rotate(45deg); background: var(--sand); }
.booking-card {
  position: sticky; top: 96px;
  background: var(--card); border-radius: var(--radius-xl); box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: .8rem;
}
.bc-price { margin: 0; font: 600 clamp(1.5rem, 2.6vw, 1.9rem)/1.1 var(--font-display); color: var(--deep); }
.booking-card dl { margin: 0 0 .6rem; display: grid; }
.booking-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.booking-card dt { color: var(--ink-soft); }
.booking-card dd { margin: 0; font-weight: 600; text-align: right; color: var(--deep); }
.other-rooms-section { background: var(--bg-2); }
.other-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }

/* Lightbox for room and gallery photos */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 20, 25, .92); display: none; align-items: center; justify-content: center; padding: 4rem 4.5rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--card); color: var(--deep); font: 600 1.2rem/1 var(--font-body); cursor: pointer; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
.room-gallery img, .photo-grid img, .gallery-grid img, .ovals img { cursor: zoom-in; }
body.lightbox-open { overflow: hidden; }

/* ---------- Contact page ---------- */
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.book-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.contact-lines { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.contact-lines li { display: grid; padding: 1rem 1.3rem; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
.contact-lines li > span { font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--earth); }
.contact-lines a { font: 600 1.15rem/1.5 var(--font-display); text-decoration: none; color: var(--deep); word-break: break-word; }
.contact-lines a:hover { color: var(--teal); }
.enquiry { background: var(--card); border-radius: var(--radius-xl); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; box-shadow: var(--shadow); }
.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.enquiry label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--deep); }
.enquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; color: #A33A2A; font-weight: 600; min-height: 1.2em; }
.form-error.is-ok, .form-ok { color: var(--teal); }
.form-ok { margin: 0; font-weight: 600; background: var(--leaf); border-radius: var(--radius-sm); padding: .7rem .9rem; }
.btn:disabled { opacity: .6; cursor: wait; }

.location { margin-inline: .75rem; background: var(--deep); color: var(--on-dark); border-radius: var(--radius-xl); }
.location h2 { color: var(--card); }
.location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
address { font-style: normal; font-size: 1.1rem; margin-bottom: 1.5rem; }
.travel { margin: 0 0 2rem; display: grid; gap: .8rem; }
.travel div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(166, 181, 180, .25); }
.travel dt { font-weight: 600; color: var(--card); }
.travel dd { margin: 0; color: var(--on-dark-soft); text-align: right; }
.map { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--teal); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Custom sections (added in the CMS) ---------- */
.beach-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.custom-center { text-align: center; max-width: 900px; }
.custom-center p { max-width: 40rem; margin-inline: auto; color: var(--ink-soft); font-size: 1.05rem; }
.custom-section-photo { aspect-ratio: 16 / 9; margin-top: 2rem; }
.beach-grid .custom-section-photo { aspect-ratio: 4 / 3; margin-top: 0; }
.custom-banner {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  padding: clamp(2rem, 6vw, 4.5rem); color: var(--card);
  background: center / cover no-repeat var(--deep); border-radius: var(--radius-xl);
}
.custom-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 45, 55, .85), rgba(0, 45, 55, .15)); }
.custom-banner-inner { max-width: 40rem; }
.custom-banner h2 { color: var(--card); }
.custom-banner p { color: var(--on-dark); font-size: 1.1rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-dark); padding-block: 3rem 2.5rem; margin: .75rem .75rem 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.footer-inner p { margin: 0; color: var(--on-dark-soft); }
.footer-logo { font: 600 1.6rem var(--font-display); color: var(--card) !important; margin-bottom: .3rem !important; }
.footer-contact { margin-top: .4rem !important; }
.footer-contact a { color: var(--sand); text-decoration: none; }
.footer-contact a:hover { color: var(--card); }
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--sand); }
.copy { font-size: .85rem; }

/* Floating Call (top) and WhatsApp (bottom) buttons */
.float-contact {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.wa-float, .call-float {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--card);
  box-shadow: 0 10px 24px -8px rgba(0, 45, 55, .6);
  transition: transform .25s var(--ease);
}
.wa-float { background: var(--teal); }
.call-float { width: 50px; height: 50px; background: var(--deep); border: 2px solid rgba(210, 175, 148, .55); }
.call-float .ico { width: 22px; height: 22px; }
/* a soft ring pulses out from the call button now and then */
.call-float::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--sand);
  opacity: 0; animation: call-ring 3.6s ease-out infinite; pointer-events: none;
}
@keyframes call-ring { 0% { opacity: .7; scale: 1; } 60%, 100% { opacity: 0; scale: 1.45; } }
.call-float:hover { transform: scale(1.06); }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Page loader (cms/loader.php): beach hut, setting sun, waves, palm ---------- */
.site-loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #0A3A44, var(--deep) 70%);
  transition: opacity .6s var(--ease), visibility .6s;
}
.site-loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: .3rem; text-align: center; padding: 1rem; }
.loader-scene { width: min(360px, 82vw); height: auto; margin-bottom: 1.3rem; border-radius: 30px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.loader-name { margin: 0; font: 300 clamp(1.9rem, 6vw, 2.6rem)/1 var(--font-display); letter-spacing: .06em; color: var(--card); }
.loader-place { margin: 0 0 1rem; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mist); }
.loader-bar { position: relative; width: 140px; height: 2px; border-radius: 2px; background: rgba(166, 181, 180, .25); overflow: hidden; }
.loader-bar span { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: 2px; background: var(--sand); animation: ld-bar 1.4s var(--ease) infinite; }

.ld-sun { animation: ld-sun 3.2s ease-in-out infinite alternate; }
.ld-glint { animation: ld-glint 1.8s ease-in-out infinite alternate; }
.ld-waves { animation: ld-waves 3.2s linear infinite; }
.ld-foam { stroke-dasharray: 22 8; animation: ld-foam 3s ease-in-out infinite alternate, ld-foam-dash 2.6s linear infinite; }
.ld-palm-tall { transform-origin: 284px 64px; animation: ld-palm 3s ease-in-out infinite alternate; }
.ld-palm-small { transform-origin: 170px 110px; animation: ld-palm 2.6s ease-in-out infinite alternate-reverse; }
.ld-window { animation: ld-window 2.4s ease-in-out infinite alternate; }
.ld-bird { animation: ld-bird 6s linear infinite; }
.ld-bird-2 { animation-duration: 7.5s; animation-delay: -2.5s; }

@keyframes ld-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes ld-sun { from { transform: translateY(-3px); } to { transform: translateY(5px); } }
@keyframes ld-glint { from { opacity: .35; } to { opacity: .9; } }
@keyframes ld-waves { to { transform: translateX(32px); } }
@keyframes ld-foam { from { transform: translate(0, 0); } to { transform: translate(-5px, 4px); } }
@keyframes ld-foam-dash { to { stroke-dashoffset: -60; } }
@keyframes ld-palm { from { transform: rotate(-3deg); } to { transform: rotate(4deg); } }
@keyframes ld-window { from { fill: #F3EDE6; } to { fill: #D2AF94; } }
@keyframes ld-bird { 0% { transform: translate(-70px, 8px); } 100% { transform: translate(360px, -12px); } }

/* ---------- Icons on room facts and amenity lists ---------- */
.rc-meta { gap: .35rem 1rem; }
.rc-meta > span { display: inline-flex; align-items: center; gap: .35rem; }
.rc-meta > span + span::before { content: none; }
.rc-meta .ico { width: 16px; height: 16px; color: var(--earth); }
.booking-card dt { display: inline-flex; align-items: center; gap: .5rem; }
.booking-card dt .ico { width: 17px; height: 17px; color: var(--earth); }
.li-ic { display: inline-grid; place-items: center; flex: none; color: var(--earth); }
.li-ic .ico { width: 16px; height: 16px; }
/* rooms list: amenity pills with an icon */
.room-specs li.has-ic { display: inline-flex; align-items: center; gap: .35rem; }
.room-detail--feature .li-ic { color: var(--sand); }
/* room page: icon checklist instead of diamond bullets */
.room-amenities li.has-ic { display: flex; align-items: center; gap: .7rem; padding-left: 0; }
.room-amenities li.has-ic::before { content: none; }
.room-amenities .li-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); }
.room-amenities .li-ic .ico { width: 18px; height: 18px; }

/* ---------- Motion (quiet, coastal). Off for reduced-motion users and in the CMS edit mode. ---------- */
/* scroll reveal — main.js adds .reveal and then .is-visible; uses `translate` so it never fights hover transforms */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .85s var(--ease) var(--d, 0ms), translate .85s var(--ease) var(--d, 0ms); }
.reveal.is-visible { opacity: 1; translate: 0 0; }
.photo.reveal img { scale: 1.06; transition: scale 1.4s var(--ease) var(--d, 0ms); }
.photo.reveal.is-visible img { scale: 1; }

/* banner text fades up once the loader clears (the loader sets .js-anim and then .is-loaded on <html>) */
.js-anim .hero-content > *, .js-anim .banner-content > * { opacity: 0; translate: 0 22px; transition: opacity 1s var(--ease), translate 1s var(--ease); }
.js-anim.is-loaded .hero-content > *, .js-anim.is-loaded .banner-content > * { opacity: 1; translate: 0 0; }
.js-anim .hero-content > :nth-child(2), .js-anim .banner-content > :nth-child(2) { transition-delay: .12s; }
.js-anim .hero-content > :nth-child(3) { transition-delay: .24s; }
.js-anim .hero-content > :nth-child(4) { transition-delay: .36s; }
.js-anim .hero-content > :nth-child(5) { transition-delay: .5s; }
.js-anim .hero-brand { letter-spacing: .04em; transition: opacity 1.2s var(--ease), translate 1.2s var(--ease), letter-spacing 1.6s var(--ease); }
.js-anim.is-loaded .hero-brand { letter-spacing: -0.03em; }
/* hero heading "writes" itself: a soft-edged mask sweeps left to right like a pen across the line */
.js-anim .hero h1 {
  opacity: 1; translate: 0 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0 48%, transparent 56% 100%); mask-image: linear-gradient(90deg, #000 0 48%, transparent 56% 100%);
  -webkit-mask-size: 220% 100%; mask-size: 220% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: -webkit-mask-position 2.8s cubic-bezier(.45, .05, .35, 1) .35s, mask-position 2.8s cubic-bezier(.45, .05, .35, 1) .35s;
}
.js-anim.is-loaded .hero h1 { -webkit-mask-position: 0 0; mask-position: 0 0; }

/* a slow wave line drifting along the bottom of the dark panels */
.stats, .site-footer { position: relative; overflow: hidden; }
.stats::after, .site-footer::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 40px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22160%22%20height%3D%2240%22%20viewBox%3D%220%200%20160%2040%22%3E%3Cpath%20d%3D%22M0%2020%20q20%20-10%2040%200%20t40%200%20t40%200%20t40%200%22%20fill%3D%22none%22%20stroke%3D%22%23A6B5B4%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M-20%2032%20q20%20-8%2040%200%20t40%200%20t40%200%20t40%200%20t40%200%22%20fill%3D%22none%22%20stroke%3D%22%23A6B5B4%22%20stroke-width%3D%221%22%20opacity%3D%22.6%22%2F%3E%3C%2Fsvg%3E") repeat-x 0 0 / 160px 40px; opacity: .22;
  animation: wave-drift 14s linear infinite;
}
.site-footer::after { top: 0; bottom: auto; opacity: .12; animation-duration: 20s; }
@keyframes wave-drift { to { background-position: 160px 0; } }

/* oval photos float gently, out of step with each other */
.oval img { animation: oval-float 7s ease-in-out infinite alternate; }
.oval:nth-child(2) img { animation-delay: -2s; }
.oval:nth-child(3) img { animation-delay: -4s; }
.oval:nth-child(4) img { animation-delay: -1s; }
.oval:nth-child(5) img { animation-delay: -3s; }
@keyframes oval-float { from { translate: 0 -6px; } to { translate: 0 6px; } }

/* the section diamond gives a soft pulse */
.section-mark { animation: mark-pulse 3.2s ease-out infinite; }
@keyframes mark-pulse { 0% { box-shadow: 0 0 0 0 rgba(210, 175, 148, .45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(210, 175, 148, 0); } }

/* the rings in the booking banner breathe */
.cta-inner::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(166, 181, 180, .25); z-index: -1; animation: ring-breathe 9s ease-in-out infinite alternate; }
.cta-inner::after { animation: ring-breathe 11s ease-in-out infinite alternate-reverse; }
@keyframes ring-breathe { from { scale: 1; } to { scale: 1.12; } }

/* a light sheen across the main buttons on hover */
.btn-ink, .btn-sun, .btn-wa { position: relative; overflow: hidden; isolation: isolate; }
.btn-ink::after, .btn-sun::after, .btn-wa::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg);
}
.btn-ink:hover::after, .btn-sun:hover::after, .btn-wa:hover::after { left: 120%; transition: left .7s var(--ease); }

/* 404 page */
.notfound { text-align: center; }
.notfound-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js-anim .hero-content > *, .js-anim .banner-content > * { opacity: 1 !important; translate: none !important; transition: none !important; }
  .stats::after, .site-footer::after, .oval img, .section-mark, .cta-inner::before, .cta-inner::after, .call-float::before { animation: none !important; }
}
body.cms-edit-mode .reveal { opacity: 1 !important; translate: none !important; }
body.cms-edit-mode .oval img { animation: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: calc(100% + 6px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: .6rem;
    background: var(--deep); border-radius: var(--radius-lg); padding: .8rem; display: none;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
  }
  .main-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; background: none; border: 0; padding: 0; }
  .nav-links a { padding: .75rem 1rem; }
  .beach-grid, .location-grid, .book-grid, .host-grid, .room-detail, .room-page-grid { grid-template-columns: 1fr; }
  .room-detail:nth-of-type(even) .room-gallery { order: 0; }
  .booking-card { position: static; }
  .room-slider { grid-auto-columns: calc((100% - 1.25rem) / 2); }
  .rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row, .stat-row--2, .stat-row--3 { grid-template-columns: 1fr 1fr; }
  .stat-img { grid-column: 1 / -1; order: 2; }
  .stat-row--2 .stat-text, .stat-row--3 .stat-text { justify-self: start; }
  .ovals { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: .9rem; padding: .5rem 1rem 1rem; }
  .ovals::-webkit-scrollbar { display: none; }
  .oval { flex: 0 0 30%; scroll-snap-align: center; }
  .oval:nth-child(odd) { transform: none; }
  .amenity-list { grid-template-columns: repeat(2, 1fr); }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
  .event, .event-list--large .event { grid-template-columns: 84px 1fr; }
  .event-thumb { display: none; }
  .room-toolbar { border-radius: var(--radius-lg); top: 76px; flex-wrap: wrap; }
  .room-filter { flex-wrap: wrap; }
  .room-jump { display: none; }
}
@media (max-width: 640px) {
  .hero, .page-banner, .location { margin-inline: .4rem; }
  .stats-band, .cta-band { padding-inline: .4rem; }
  .hero-content { padding: 6.5rem 0 3.5rem; }
  .hero-contact { flex-direction: column; align-items: stretch; border-radius: var(--radius-lg); padding: 1.1rem; gap: .6rem; text-align: center; }
  .hero-contact-label { margin: 0 0 .3rem; padding: 0; }
  .room-slider { grid-auto-columns: 85%; }
  .rooms-grid { grid-template-columns: 1fr; gap: 1rem; }
  .rooms-grid .room-card--feature { grid-column: auto; flex-direction: column; }
  .rooms-grid .room-card--feature .rc-img { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
  .rooms-grid .room-card--feature .rc-body { padding: 1rem .5rem .4rem; }
  .stat-row, .stat-row--2, .stat-row--3 { grid-template-columns: 1fr; }
  .oval { flex-basis: 44%; }
  .oval figcaption { bottom: 1rem; font-size: .75rem; padding: .25rem .7rem; }
  .amenity-list { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .amenity-list li { min-height: 0; padding: 1.1rem; border-radius: var(--radius-sm); }
  .amenity-list .ic { width: 40px; height: 40px; }
  .amenity-list .ic .ico { width: 20px; height: 20px; }
  .amenity-list h3 { margin: .9rem 0 .25rem; font-size: 1rem; }
  .amenity-list p { font-size: .82rem; line-height: 1.5; }
  /* section heads with a button: centred and stacked, like the other sections */
  .section-head--row { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .section-head--row .section-mark { margin-left: auto; }
  /* hero: a little smaller so it breathes */
  .hero-brand { margin-bottom: 1rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-sub { font-size: .92rem; line-height: 1.6; }
  .hero-place { font-size: .8rem; }
  /* footer: room at the bottom so the floating buttons never cover links */
  .site-footer { padding-bottom: 7.5rem; }
  .footer-inner { gap: 1.2rem; }
  .float-contact { right: .9rem; bottom: .9rem; gap: .55rem; }
  .wa-float { width: 50px; height: 50px; }
  .call-float { width: 44px; height: 44px; }
  .call-float .ico { width: 19px; height: 19px; }
  .section { padding-block: 3.5rem; }
  .section-head { margin-bottom: 2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .g1, .g4 { grid-column: span 2; }
  .g1 { grid-row: span 1; }
  .enquiry .row, .policy-grid, .room-amenities { grid-template-columns: 1fr; }
  /* events: keep the date beside the text, just smaller */
  .event, .event-list--large .event { grid-template-columns: 64px 1fr; gap: .9rem; padding: .8rem; }
  .event-date { border-radius: 14px; }
  .event-date .d { font-size: 1.6rem; }
  .event-date .m { font-size: .68rem; }
  /* banner dots: a horizontal row along the bottom, clear of the text */
  .hero-dots { top: auto; bottom: 1.1rem; right: 50%; transform: translateX(50%); flex-direction: row; padding: .45rem .65rem; }
  .hero-dots button.is-active { height: 8px; width: 24px; }
  .hero-dots button { transition: width .35s var(--ease), background .35s var(--ease); }
  /* extra photos: a compact grid of three instead of one per row */
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .photo-grid .photo { aspect-ratio: 1; border-radius: 14px; }
  .travel div { flex-direction: column; gap: .2rem; }
  .travel dd { text-align: left; }
  .room-toolbar { position: static; padding: .6rem; }
  .room-filter { flex: 1 1 100%; justify-content: center; gap: .35rem; }
  .room-filter .chip { padding: .6rem .85rem; font-size: .85rem; }
  .room-gallery { height: 300px; }
  .site-footer { margin-inline: 0; }
  .lightbox { padding: 4rem .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .photo img, .event, .amenity-list li, .site-header, .room-detail, .room-card { transition: none; }
  .site-loader *, .loader-bar span, .hero-slide { animation: none !important; }
  .review-slider .review-card { transition: none; }
  .hero-slide { transition: none; }
  @view-transition { navigation: none; }
}

/* Desktop: nav pill centred between the logo and the "Book a room" button */
@media (min-width: 1001px) {
  .main-nav { flex: 1; }
  .nav-links { margin-inline: auto; }
}
