/* ==========================================================
   PATUNO RESORT WAKATOBI — Main Stylesheet
   ========================================================== */

:root {
  --ocean-900: #071d22;
  --ocean-800: #0b2a31;
  --ocean-700: #123b44;
  --ocean-500: #2b6f78;
  --sand-50:  #fbf8f3;
  --sand-100: #f5efe6;
  --sand-200: #e9dfd0;
  --coral:    #d9825b;
  --coral-d:  #c06a44;
  --ink:      #1a2326;
  --muted:    #5f6b6e;
  --white:    #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(7, 29, 34, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: #f3c9b3; }

.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ocean-800);
  margin-bottom: 24px;
}
.title em { font-style: italic; color: var(--coral); }
.title--light { color: var(--white); }
.title--light em { color: #f3c9b3; }
.lead { font-size: 19px; color: var(--ocean-700); margin-bottom: 18px; font-weight: 500; }
p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 600; font-size: 14px; letter-spacing: .04em;
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn > svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--sm { padding: 11px 22px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--coral); color: var(--white); box-shadow: 0 10px 30px -10px rgba(217,130,91,.7); }
.btn--accent:hover { background: var(--coral-d); }
.btn--light { background: var(--white); color: var(--ocean-800); }
.btn--light:hover { background: var(--sand-100); }
.btn--ghost-light { color: var(--white); padding-left: 8px; }
.btn--ghost-light .play {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  display: grid; place-items: center;
  transition: background .3s, border-color .3s;
}
.btn--ghost-light .play svg { width: 16px; }
.btn--ghost-light:hover .play { background: rgba(255,255,255,.15); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; color: var(--ocean-800);
  position: relative;
}
.link-arrow svg { width: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }

.circle-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--sand-200);
  display: grid; place-items: center;
  transition: background .3s, color .3s, border-color .3s;
}
.circle-btn svg { width: 20px; }
.circle-btn:hover { background: var(--ocean-800); color: #fff; border-color: var(--ocean-800); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ocean-800);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo { text-align: center; color: #fff; }
.preloader__logo strong { display: block; font-family: var(--serif); font-size: 44px; letter-spacing: .25em; font-weight: 500; }
.preloader__logo small { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; opacity: .6; }
.preloader__wave {
  display: block; width: 120px; height: 2px; margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  background-size: 200% 100%;
  animation: wave 1.4s linear infinite;
}
@keyframes wave { to { background-position: -200% 0; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--coral); z-index: 1001;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--header-h);
  color: #fff;
  transition: background .4s, height .4s, color .4s, box-shadow .4s, transform .4s var(--ease);
}
.header.is-scrolled {
  height: 70px;
  background: rgba(251, 248, 243, .88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  color: var(--ocean-800);
  box-shadow: 0 1px 0 rgba(11,42,49,.08);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 40px; }
.logo__mark circle:last-child { color: var(--coral); fill: var(--coral); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .18em; }
.logo__text small { font-size: 9px; letter-spacing: .32em; margin-top: 5px; opacity: .75; }

.nav__list { display: flex; gap: 6px; }
.nav__link {
  position: relative; padding: 8px 14px; font-size: 14px; font-weight: 500;
  opacity: .85; transition: opacity .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--coral); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.active { opacity: 1; }
.nav__link.active::after { transform: translateX(-50%) scale(1); }
.nav__mobile-foot { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }

/* Language switch */
.lang-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 3px; border-radius: 100px;
  border: 1px solid currentColor; border-color: rgba(255,255,255,.35);
  transition: border-color .4s;
}
.header.is-scrolled .lang-switch { border-color: rgba(11,42,49,.18); }
.header.menu-open .lang-switch { border-color: rgba(255,255,255,.35); }
.lang-switch a {
  position: relative; z-index: 1; width: 36px; height: 28px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  opacity: .7; transition: opacity .3s, color .3s;
}
.lang-switch a.is-active { opacity: 1; color: #fff; }
.lang-switch a:not(.is-active):hover { opacity: 1; }
.lang-switch__pill {
  position: absolute; top: 3px; left: 3px; width: 36px; height: 28px;
  border-radius: 100px; background: var(--coral);
  transition: transform .45s var(--ease);
}
.lang-switch.is-id .lang-switch__pill { transform: translateX(36px); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 170px;
}
.hero__slides, .hero__overlay { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-color: var(--ocean-800);
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.6s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__overlay {
  background:
    linear-gradient(180deg, rgba(7,29,34,.55) 0%, rgba(7,29,34,.15) 40%, rgba(7,29,34,.75) 100%),
    linear-gradient(90deg, rgba(7,29,34,.55) 0%, transparent 65%);
}
.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(50px, 8.4vw, 120px);
  line-height: .98; letter-spacing: -.02em;
  margin-bottom: 28px;
}
.hero__title em { font-style: italic; color: #f3c9b3; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .24s; }

.hero__eyebrow, .hero__lead, .hero__cta { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.hero__lead { transition-delay: .65s; }
.hero__cta { transition-delay: .8s; }
.is-loaded .hero__eyebrow, .is-loaded .hero__lead, .is-loaded .hero__cta { opacity: 1; transform: none; }

.hero__lead { max-width: 520px; font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

.hero__dots {
  position: absolute; z-index: 3; right: max(24px, calc((100vw - 1240px) / 2)); top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
}
.hero__dots button { width: 3px; height: 34px; background: rgba(255,255,255,.3); border-radius: 3px; position: relative; overflow: hidden; }
.hero__dots button.is-active::after {
  content: ""; position: absolute; inset: 0; background: #fff; transform-origin: top;
  animation: dotFill 6s linear forwards;
}
@keyframes dotFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.hero__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 140px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px;
  display: none;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; background: #fff; border-radius: 3px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* Booking bar */
.booking-bar {
  position: absolute; z-index: 4; left: 50%; bottom: 40px; transform: translate(-50%, 30px);
  width: min(1240px, 100% - 48px);
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 0;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  padding: 10px;
  opacity: 0;
  transition: opacity 1s var(--ease) 1s, transform 1s var(--ease) 1s;
}
.is-loaded .booking-bar { opacity: 1; transform: translate(-50%, 0); }
.booking-bar__field { padding: 10px 22px; border-right: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; }
.booking-bar__field:nth-child(4) { border-right: 0; }
.booking-bar__field label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; margin-bottom: 4px; }
.booking-bar__field input, .booking-bar__field select {
  background: transparent; border: 0; outline: 0; color: #fff; font-size: 15px; font-weight: 600;
  color-scheme: dark; cursor: pointer; width: 100%;
}
.booking-bar__field select option { color: #1a1a1a; background: #fff; font-weight: 500; }
.booking-bar__field select option:checked { background: #e9e2d6; }
.booking-bar__field { cursor: pointer; }
.booking-bar__field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }
.booking-bar__submit { border-radius: 14px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.img-reveal { overflow: hidden; }
.img-reveal img { transform: scale(1.18); transition: transform 1.6s var(--ease); }
.is-visible .img-reveal img, .img-reveal.is-visible img { transform: scale(1); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 0 80px 0; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4/5; width: 82%; }
.about__img--small {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1;
  border: 8px solid var(--sand-50);
}
.about__badge {
  position: absolute; top: 40px; right: 6%; width: 130px; height: 130px;
  background: var(--ocean-800); color: #fff; border-radius: 50%;
  display: grid; place-items: center;
}
.about__badge-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.about__badge-text text { fill: #fff; font-size: 15px; letter-spacing: 4.2px; font-family: var(--sans); font-weight: 600; }
.about__badge-icon { width: 36px; color: var(--coral); }
@keyframes spin { to { transform: rotate(360deg); } }

.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 32px 0 36px; }
.about__features li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ocean-800); font-size: 15px; }
.about__features svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(217,130,91,.14); color: var(--coral); flex: none; }
.about__sign { display: flex; flex-direction: column; border-top: 1px solid var(--sand-200); padding-top: 24px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--ocean-800); }
.about__sign-role { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Stats */
.stats {
  margin-top: clamp(70px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--sand-200); border-bottom: 1px solid var(--sand-200);
}
.stat { padding: 38px 28px; border-right: 1px solid var(--sand-200); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--ocean-800); margin-bottom: 10px; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Rooms ---------- */
.rooms { background: var(--sand-100); overflow: hidden; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.rooms__nav { display: flex; gap: 12px; }

.rooms__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw);
  gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px max(24px, calc((100vw - 1240px) / 2)) 30px;
  scroll-padding-inline: max(24px, calc((100vw - 1240px) / 2));
  scrollbar-width: none;
}
.rooms__track::-webkit-scrollbar { display: none; }
.room-card {
  scroll-snap-align: start;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 0 rgba(11,42,49,.03);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity 1s var(--ease);
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.room-card__img { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.room-card h3 a { transition: color .3s; }
.room-card h3 a:hover { color: var(--coral); }
.room-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-card:hover .room-card__img img { transform: scale(1.08); }
.room-card__tag {
  position: absolute; top: 18px; left: 18px; background: var(--coral); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.room-card__body { padding: 28px 28px 30px; }
.room-card__meta { display: flex; flex-wrap: wrap; row-gap: 4px; column-gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ocean-500); text-transform: uppercase; margin-bottom: 10px; }
.room-card__meta span + span::before { content: "·"; margin-right: 14px; color: var(--sand-200); }
.room-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--ocean-800); margin-bottom: 8px; line-height: 1.1; }
.room-card p { font-size: 15px; }
.room-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--sand-100); }
.price { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ocean-800); }
.price small { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { background: var(--ocean-800); color: #fff; overflow: hidden; padding: 30px 0; }
.marquee__track { display: flex; gap: 40px; align-items: center; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); font-style: italic; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); font-style: normal; }
.marquee i { color: var(--coral); font-style: normal; font-size: 22px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Facilities ---------- */
.facilities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--sand-200); border-radius: var(--radius); overflow: hidden; }
.facility {
  padding: 46px 40px; background: var(--sand-50);
  border-right: 1px solid var(--sand-200); border-bottom: 1px solid var(--sand-200);
  position: relative; overflow: hidden;
  transition: background .5s, color .5s, opacity 1s var(--ease), transform 1s var(--ease);
}
.facility:nth-child(3n) { border-right: 0; }
.facility:nth-last-child(-n+3) { border-bottom: 0; }
.facility__icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(43,111,120,.08); color: var(--ocean-500);
  display: grid; place-items: center; margin-bottom: 24px;
  transition: background .5s, color .5s, transform .5s var(--ease);
}
.facility__icon svg { width: 34px; height: 34px; }
.facility h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ocean-800); margin-bottom: 6px; transition: color .5s; }
.facility p { font-size: 15px; transition: color .5s; }
.facility:hover { background: var(--ocean-800); }
.facility:hover h3 { color: #fff; }
.facility:hover p { color: rgba(255,255,255,.7); }
.facility:hover .facility__icon { background: var(--coral); color: #fff; transform: rotate(-8deg) scale(1.05); }

/* ---------- Experience ---------- */
.experience { position: relative; color: #fff; padding: clamp(110px, 14vw, 190px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.experience__bg, .booking__bg {
  position: absolute; inset: -15% 0;
  background-color: var(--ocean-800);
  background-position: center; background-size: cover; background-repeat: no-repeat;
  will-change: transform;
}
.experience__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,29,34,.55), rgba(7,29,34,.88)); }
.experience__content { position: relative; max-width: 780px; text-align: center; }
.experience__content p { color: rgba(255,255,255,.8); font-size: 18px; }
.experience__content .eyebrow { justify-content: center; }
.experience__cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.exp-card {
  padding: 38px 34px; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .5s, transform .5s var(--ease), opacity 1s var(--ease);
}
.exp-card:hover { background: rgba(255,255,255,.14); transform: translateY(-6px); }
.exp-card__num { font-family: var(--serif); font-size: 18px; font-style: italic; color: #f3c9b3; }
.exp-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 14px 0 10px; line-height: 1.1; }
.exp-card p { color: rgba(255,255,255,.72); font-size: 15px; }

/* ---------- Split ---------- */
.split__row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split__row + .split__row { margin-top: clamp(80px, 10vw, 140px); }
.split__row--reverse .split__img { order: 2; }
.split__img { border-radius: var(--radius); aspect-ratio: 5/4; box-shadow: var(--shadow); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__text p { margin-bottom: 30px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--sand-100); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; }
.gallery__item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(11,42,49,.45); color: #fff; font-size: 44px; font-weight: 200;
  opacity: 0; transition: opacity .4s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }

/* ---------- Testimonials ---------- */
.testimonials__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.rating { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.rating strong { font-family: var(--serif); font-size: 66px; font-weight: 500; color: var(--ocean-800); line-height: 1; }
.stars { color: var(--coral); letter-spacing: 3px; font-size: 18px; display: block; }
.rating small { color: var(--muted); font-size: 13px; }
.testimonials__slider { overflow: hidden; }
.t-track { display: flex; transition: transform .8s var(--ease); }
.t-card { min-width: 100%; padding: 6px 4px; }
.t-card blockquote {
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; color: var(--ocean-800);
  position: relative; padding-top: 50px;
}
.t-card blockquote::before {
  content: "“"; position: absolute; top: -30px; left: -6px;
  font-size: 140px; line-height: 1; color: var(--coral); opacity: .3; font-family: var(--serif);
}
.t-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ocean-800); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; }
.t-card figcaption strong { display: block; color: var(--ocean-800); }
.t-card figcaption small { color: var(--muted); font-size: 13px; }
.t-controls { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.t-progress { flex: 1; height: 2px; background: var(--sand-200); position: relative; overflow: hidden; }
.t-progress span { position: absolute; inset: 0 auto 0 0; width: 33.33%; background: var(--ocean-800); transition: transform .8s var(--ease); }

/* ---------- Booking ---------- */
.booking { position: relative; padding: clamp(90px, 12vw, 160px) 0; color: #fff; overflow: hidden; }
.booking__overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(7,29,34,.92) 30%, rgba(7,29,34,.6)); }
.booking__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.booking__info p { color: rgba(255,255,255,.78); font-size: 17px; }
.booking__perks { margin: 28px 0 40px; display: grid; gap: 12px; }
.booking__perks li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.9); }
.booking__perks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(217,130,91,.2); }
.booking__phone { display: inline-flex; align-items: center; gap: 16px; }
.booking__phone-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; transition: transform .4s var(--ease); }
.booking__phone-icon svg { width: 24px; }
.booking__phone:hover .booking__phone-icon { transform: rotate(-12deg) scale(1.05); }
.booking__phone small { display: block; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; opacity: .7; }
.booking__phone strong { font-family: var(--serif); font-size: 30px; font-weight: 500; }

.booking__form {
  background: var(--sand-50); color: var(--ink);
  border-radius: 24px; padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.booking__form h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--ocean-800); margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 12px;
  border: 1px solid var(--sand-200); background: var(--white); outline: 0;
  font-size: 15px; transition: border-color .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235f6b6e' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
}
.field textarea { resize: vertical; min-height: 96px; }
.field label {
  position: absolute; left: 19px; top: 18px; font-size: 15px; color: var(--muted);
  pointer-events: none; transition: all .25s var(--ease);
}
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label,
.field label.is-static {
  top: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ocean-500);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ocean-500); box-shadow: 0 0 0 4px rgba(43,111,120,.12); }
.field.has-error input { border-color: #c94a3a; }
.form-msg { font-size: 14px; min-height: 22px; margin-bottom: 10px; }
.form-msg.is-error { color: #c94a3a; }
.form-msg.is-ok { color: #2b7a4b; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.contact__item { padding: 22px 0; border-bottom: 1px solid var(--sand-200); }
.contact__item h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.contact__item a:hover { color: var(--coral); }
.contact__item p { color: var(--ocean-800); }
.contact__map { border-radius: var(--radius); overflow: hidden; min-height: 440px; box-shadow: var(--shadow); background: var(--sand-200); }
.contact__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--ocean-900); color: rgba(255,255,255,.7); padding-top: 90px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.logo--light { color: #fff; margin-bottom: 22px; }
.footer p { color: rgba(255,255,255,.6); font-size: 15px; }
.footer h4 { color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 15px; transition: color .3s, padding .3s; }
.footer__col a:hover { color: var(--coral); padding-left: 4px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { min-width: 42px; height: 42px; padding: 0 14px; font-size: 13px; font-weight: 600; border-radius: 100px; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.socials a svg { width: 18px; }
.socials a:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.newsletter { display: flex; margin-top: 18px; border-bottom: 1px solid rgba(255,255,255,.3); }
.newsletter input { flex: 1; background: none; border: 0; outline: 0; padding: 12px 0; color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter button { width: 44px; color: var(--coral); }
.newsletter button svg { width: 22px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 26px 0; }
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Floating ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .4s var(--ease);
}
.wa-float svg { width: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.to-top {
  position: fixed; right: 31px; bottom: 96px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--ocean-800);
  box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .4s var(--ease);
}
.to-top svg { width: 18px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(7,29,34,.95);
  display: grid; place-items: center; padding: 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 90vw); max-height: 85vh; border-radius: 8px; transform: scale(.95); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 44px; font-weight: 200; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 56px; font-weight: 200; width: 60px; height: 80px; }
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (min-height: 760px) and (min-width: 1100px) { .hero__scroll { display: block; } }

@media (max-width: 1100px) {
  .booking-bar { grid-template-columns: 1fr 1fr; width: min(640px, 100% - 48px); }
  .booking-bar__field { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .booking-bar__field:nth-child(3), .booking-bar__field:nth-child(4) { border-bottom: 0; }
  .booking-bar__submit { grid-column: 1 / -1; margin-top: 8px; }
  .hero { padding-bottom: 300px; }
  .facilities__grid { grid-template-columns: repeat(2, 1fr); }
  .facility:nth-child(3n) { border-right: 1px solid var(--sand-200); }
  .facility:nth-child(2n) { border-right: 0; }
  .facility:nth-last-child(-n+3) { border-bottom: 1px solid var(--sand-200); }
  .facility:nth-last-child(-n+2) { border-bottom: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    background: var(--ocean-800); color: #fff;
    display: flex; flex-direction: column; justify-content: center;
    padding: 100px 32px 40px;
    clip-path: circle(0% at calc(100% - 46px) 36px);
    transition: clip-path .8s var(--ease);
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 46px) 36px); }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { font-family: var(--serif); font-size: 42px; padding: 4px 0; opacity: 0; transform: translateY(20px); display: inline-block; transition: opacity .5s, transform .5s var(--ease); }
  .nav.is-open .nav__link { opacity: .9; transform: none; }
  .nav.is-open li:nth-child(1) .nav__link { transition-delay: .2s; }
  .nav.is-open li:nth-child(2) .nav__link { transition-delay: .25s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: .3s; }
  .nav.is-open li:nth-child(4) .nav__link { transition-delay: .35s; }
  .nav.is-open li:nth-child(5) .nav__link { transition-delay: .4s; }
  .nav.is-open li:nth-child(6) .nav__link { transition-delay: .45s; }
  .nav__link::after { left: -18px; top: 50%; bottom: auto; transform: translateY(-50%) scale(0); }
  .nav__link.active::after { transform: translateY(-50%) scale(1); }
  .nav__mobile-foot { display: block; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
  .nav__mobile-foot p { color: rgba(255,255,255,.6); font-size: 14px; }
  .header.menu-open { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }

  .hero__dots { display: none; }
  .about__grid, .split__row, .testimonials__inner, .booking__grid, .contact__grid { grid-template-columns: 1fr; }
  .split__row--reverse .split__img { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--sand-200); }
  .experience__cards { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
}

/* Tablet: satu kolom tapi foto tidak setinggi layar, kartu experience tetap 3 kolom */
@media (min-width: 601px) and (max-width: 960px) {
  .split__img { aspect-ratio: 16/9; }
  .about__img--main { aspect-ratio: 4/3; }
  .experience__cards { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
  .exp-card { padding: 26px 20px; }
  .exp-card h3 { font-size: 23px; }
  .exp-card p { font-size: 14px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .header__inner { gap: 10px; }
  .header__actions { gap: 6px; }
  .logo { gap: 9px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__text strong { font-size: 20px; letter-spacing: .14em; }
  .logo__text small { font-size: 8px; letter-spacing: .2em; white-space: nowrap; }
  .booking-bar {
    position: relative; left: auto; bottom: auto; transform: translateY(30px);
    grid-template-columns: 1fr 1fr; width: calc(100% - 36px); margin: 44px auto 0;
  }
  .is-loaded .booking-bar { transform: none; }
  .booking-bar__field { padding: 8px 12px; }
  /* sisakan kolom kanan untuk tombol WhatsApp & ke-atas agar teks tak tertutup */
  .footer__bottom { padding-right: 72px; padding-bottom: 90px; }
  /* iOS Safari zoom-in otomatis bila font input < 16px */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px !important; min-width: 0; }
  .booking-bar, .bk-search, .book-card__dates { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .booking-bar__field input[type="date"] { letter-spacing: -.01em; }
  .booking-bar__field input, .booking-bar__field select { font-size: 14px; }
  .hero { padding-bottom: 40px; }
  .hero__scroll { display: none !important; }
  .hero__lead { font-size: 16px; }
  .facilities__grid { grid-template-columns: 1fr 1fr; }
  .facility { border-right: 0 !important; border-bottom: 1px solid var(--sand-200) !important; padding: 22px 16px; }
  .facility:nth-child(odd) { border-right: 1px solid var(--sand-200) !important; }
  .facility:nth-last-child(-n+2):nth-child(odd), .facility:last-child { border-bottom: 0 !important; }
  .facility__icon { width: 48px; height: 48px; margin-bottom: 14px; }
  .facility__icon svg { width: 24px; height: 24px; }
  .facility h3 { font-size: 19px; line-height: 1.2; }
  .facility p { font-size: 13px; line-height: 1.5; }
  .room-card__meta span + span::before { margin-right: 8px; }
  .room-card__meta { column-gap: 8px; font-size: 11px; }
  .about__features, .field-row { grid-template-columns: 1fr; gap: 0 }
  .about__features { gap: 12px; }
  .about__badge { width: 100px; height: 100px; top: 20px; right: 0; }
  .about__badge-text text { font-size: 17px; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .gallery__item--wide { grid-column: span 2; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .stat { padding: 26px 16px; }
  .room-card__body { padding: 22px; }
  .rooms__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Aksesibilitas ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 3000;
  padding: 10px 18px; border-radius: 100px; background: var(--ocean-800); color: #fff; font-weight: 600;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }