/* ==========================================================================
   Safari Njema Guest House — redesign
   Clean, modern hotel-booking look: white + cool grey surfaces, royal blue
   actions, Plus Jakarta Sans headings / Inter body, generous rounding and
   smooth, GPU-friendly motion.
   ========================================================================== */

:root {
  --brand: #c94f08;
  --brand-600: #ab4107;
  --brand-700: #3a1c0b;
  --brand-900: #24110a;
  --brand-50: #fff3e8;
  --brand-100: #fddcc0;

  --ink: #1d1511;
  --ink-2: #4a3f38;
  --muted: #74685f;
  --faint: #a69c92;
  --line: #ebe6e0;
  --surface: #f6f3ef;
  --bg: #ffffff;

  --success-bg: #e8f6ef;
  --success-text: #0f6b49;
  --error-bg: #fdecec;
  --error-text: #a32323;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 14px 34px -12px rgba(16, 24, 40, 0.18);
  --shadow-lg: 0 34px 70px -24px rgba(16, 24, 40, 0.3);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: -0.025em;
  color: var(--ink);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(201, 79, 8, 0.4);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Lenis smooth-scroll support */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  height: 50px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 0.95rem/1 var(--font-head);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s,
    box-shadow 0.4s var(--ease);
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.4s var(--ease);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  height: 42px;
  padding: 0 20px;
  font-size: 0.88rem;
}

.btn-lg {
  height: 56px;
  padding: 0 32px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(201, 79, 8, 0.55);
}

.btn-dark {
  background: var(--brand-700);
  color: #fff;
}
.btn-dark:hover {
  background: var(--brand-900);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(36, 17, 10, 0.6);
}

.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1ebd5a;
  transform: translateY(-2px);
}

.btn-email {
  background: var(--brand);
  color: #fff;
}
.btn-email:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
}

.circle-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: #1faa59;
  background: #fff;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.icon-btn:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Scroll progress + header
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 300;
  background: linear-gradient(90deg, var(--brand), #f28a3c);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  transition: box-shadow 0.4s var(--ease), background 0.4s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(16, 24, 40, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}

.site-header.scrolled .nav {
  height: 64px;
}

.brand img {
  height: 54px;
  width: auto;
  transition: height 0.4s var(--ease);
}

.site-header.scrolled .brand img {
  height: 46px;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font: 500 0.93rem/1 var(--font-head);
  color: var(--ink-2);
  transition: color 0.3s, background 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after,
.nav-links a[aria-current='page']::after {
  transform: scaleX(1);
}
.nav-links a[aria-current='page'] {
  color: var(--ink);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) {
  top: 17px;
}
.nav-toggle span:nth-child(2) {
  top: 24px;
}
.site-header.open .nav-toggle span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.site-header.open .nav-toggle span:nth-child(2) {
  top: 20px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero + search card
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 8px;
}

.hero-card {
  position: relative;
  height: clamp(480px, calc(100svh - 240px), 680px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #1a0f08;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.14);
  transition: opacity 1.4s var(--ease);
  will-change: opacity, transform;
}
.hero-slide.is-active,
.hero-slide.is-leaving {
  animation: kenburns 9s linear both;
}
.hero-slide.is-active {
  opacity: 1;
}
@keyframes kenburns {
  from {
    transform: scale(1.14);
  }
  to {
    transform: scale(1);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 11, 6, 0.35) 0%, rgba(20, 11, 6, 0.12) 38%, rgba(20, 11, 6, 0.78) 100%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(24px, 4.5vw, 56px);
  padding-bottom: clamp(104px, 11vw, 132px);
  max-width: 920px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font: 600 0.8rem/1 var(--font-head);
  letter-spacing: 0.02em;
}
.hero-pill .icon {
  width: 1.1em;
  height: 1.1em;
}

.hero h1 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(2.1rem, 5.3vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 17ch;
}

.hero-lead {
  margin-top: 20px;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.6;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font: 600 0.78rem/1 var(--font-head);
}

.hero-dots {
  display: flex;
  gap: 6px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.5s var(--ease), background 0.3s;
}
.hero-dot.is-active {
  width: 26px;
  background: #fff;
}

.hero h1,
.page-hero h1,
.cta h2,
.section-head h2,
.why h2 {
  word-spacing: 0.07em;
}

/* word-by-word headline reveal (words are wrapped by JS) */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.js .split .w > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s var(--ease) calc(var(--i, 0) * 70ms + 120ms);
}
.js .split.is-in .w > span {
  transform: none;
}

.search-card {
  position: relative;
  z-index: 5;
  margin: -72px clamp(12px, 3vw, 40px) 0;
  padding: 24px 26px 22px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.search-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-row .chip-label {
  margin-right: 4px;
  font: 600 0.85rem/1 var(--font-head);
  color: var(--ink);
}

.chip {
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: 600 0.83rem/1 var(--font-head);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Forms (shared by search card, booking, contact)
   -------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-group label {
  font: 600 0.82rem/1.2 var(--font-head);
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: 400 0.95rem var(--font-body);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group textarea {
  height: auto;
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}
.form-group select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--faint);
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #cfd4dc;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(201, 79, 8, 0.14);
}

.input-wrap {
  position: relative;
}
.input-wrap .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  pointer-events: none;
}
.input-wrap input {
  padding-left: 46px;
}

.search-card .form-group {
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.field-hint {
  font-size: 0.82rem;
  color: var(--muted);
}

.form-message {
  display: none;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}
.form-message.success {
  display: block;
  background: var(--success-bg);
  color: var(--success-text);
}
.form-message.error {
  display: block;
  background: var(--error-bg);
  color: var(--error-text);
}

.reveal-pop {
  animation: pop 0.6s var(--ease) both;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.availability-status {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font: 600 0.88rem/1.4 var(--font-head);
}
.availability-status.available {
  display: flex;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  animation: pop 0.45s var(--ease) both;
}

/* --------------------------------------------------------------------------
   Sections + shared type
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(56px, 8vw, 104px);
}
.section-tight {
  padding-block: clamp(36px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 0.74rem/1 var(--font-head);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-100);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.08;
}
.section-head p {
  max-width: 54ch;
  margin-top: 12px;
  color: var(--muted);
}

.about {
  padding-top: clamp(88px, 11vw, 140px);
}
.about-text {
  margin-top: 28px;
  font: 500 clamp(1.4rem, 2.9vw, 2.35rem) / 1.32 var(--font-head);
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 30em;
}
.about-text .dim {
  color: var(--faint);
}
.about-text .hw {
  opacity: 1;
}
.js .about-text .hw {
  opacity: 0.16;
  transition: opacity 0.5s var(--ease);
}
.js .about-text .hw.on {
  opacity: 1;
}

/* category tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tile {
  display: block;
}
.tile-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.35;
  border-radius: var(--radius-md);
  background: var(--surface);
}
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.tile:hover .tile-media img {
  transform: scale(1.08);
}
.tile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
}
.tile-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tile-row .icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--brand);
}
.tile-label {
  margin-top: 4px;
  font: 600 1.12rem/1.25 var(--font-head);
}
.tile:hover .circle-btn,
.room-card:hover .circle-btn {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: rotate(-45deg);
}

/* tabs */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tab {
  height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 0.9rem/1 var(--font-head);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.tab:hover {
  color: var(--ink);
  background: var(--surface);
}
.tab.is-active {
  background: var(--brand);
  color: #fff;
}

/* rooms */
.room-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.room-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s, opacity 0.35s var(--ease);
}
.room-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.room-card.is-out {
  opacity: 0;
  transform: scale(0.96);
}
.room-card.is-in {
  animation: rise 0.8s var(--ease) calc(var(--i, 0) * 90ms) backwards;
}
.room-media {
  position: relative;
  display: block;
  margin: 10px 10px 0;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  border-radius: calc(var(--radius-lg) - 6px);
  background: var(--surface);
}
.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.room-card:hover .room-media img {
  transform: scale(1.07);
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font: 700 0.74rem/1 var(--font-head);
  letter-spacing: 0.02em;
}
.room-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 18px 22px 22px;
}
.room-top h3 {
  font-size: 1.28rem;
  font-weight: 700;
}
.room-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}
.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.84rem;
  color: var(--ink-2);
}
.room-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.room-meta .icon {
  width: 1.1em;
  height: 1.1em;
  color: var(--brand);
}
.room-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.price strong {
  font: 700 1.55rem/1 var(--font-head);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price span {
  margin-left: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.carousel-nav {
  display: none;
  gap: 10px;
  margin-top: 22px;
}
.carousel-nav button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}
.carousel-nav button:hover:not(:disabled) {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.carousel-nav button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* why choose us */
.why {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(32px, 5vw, 72px);
  overflow: hidden;
  padding: clamp(32px, 5.5vw, 72px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #5c2a0e 0%, #3a1c0b 55%, #24110a 100%);
  color: #fff;
  isolation: isolate;
}
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 70% at 92% 0%, rgba(240, 120, 30, 0.32), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(255, 255, 255, 0.08), transparent 70%);
}
.why h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 1.05;
}
.why .eyebrow {
  color: #fff;
}
.why .eyebrow::before {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}
.why-intro p {
  margin-top: 18px;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.78);
}
.why-intro .btn {
  margin-top: 28px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 44px;
}
.why-item .ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s;
}
.why-item:hover .ico {
  background: #fff;
  color: var(--brand-700);
  transform: translateY(-4px);
}
.why-item h3 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 600;
}
.why-item p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

/* gallery marquee */
.gallery {
  display: grid;
  gap: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.gallery-row {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 80s linear infinite;
}
.gallery-row.reverse {
  animation-direction: reverse;
  animation-duration: 95s;
}
.gallery:hover .gallery-row {
  animation-play-state: paused;
}
.gallery-item {
  flex: none;
  width: 320px;
  height: 232px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.09);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* explore mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: repeat(2, minmax(270px, 1fr));
  gap: 20px;
}
.mosaic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 270px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
  color: #fff;
  isolation: isolate;
  cursor: zoom-in;
}
.mosaic-card:first-child {
  grid-row: span 2;
}
.mosaic-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.mosaic-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 11, 6, 0.05) 25%, rgba(20, 11, 6, 0.82) 100%);
}
.mosaic-card:hover > img {
  transform: scale(1.07);
}
.mosaic-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font: 600 0.76rem/1 var(--font-head);
}
.mosaic-badge .icon {
  width: 1.1em;
  height: 1.1em;
}
.mosaic-card h3 {
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
}
.mosaic-card p {
  max-width: 46ch;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.6s var(--ease), background 0.4s, box-shadow 0.6s var(--ease);
}
.step-card:hover {
  transform: translateY(-6px);
  background: var(--brand-50);
  box-shadow: var(--shadow-md);
}
.step-ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.step-card h3 {
  margin-top: 6px;
  font-size: 1.2rem;
  font-weight: 600;
}
.step-card p {
  font-size: 0.93rem;
  color: var(--muted);
}
.step-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font: 600 0.84rem/1 var(--font-head);
}
.step-foot b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.82rem;
}

/* CTA banner */
.cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(380px, 52vw, 480px);
  overflow: hidden;
  padding: 56px 24px;
  border-radius: var(--radius-xl);
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.cta > img {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 11, 6, 0.55), rgba(20, 11, 6, 0.72));
}
.cta h2 {
  max-width: 16ch;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.cta p {
  max-width: 50ch;
  margin: 18px auto 30px;
  color: rgba(255, 255, 255, 0.86);
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Inner pages: page hero, rooms detail, booking, contact, FAQ
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: 8px;
}
.page-hero-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(270px, 40vh, 380px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  isolation: isolate;
}
.page-hero-card > img {
  position: absolute;
  inset: -10% 0;
  z-index: -2;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
.page-hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 11, 6, 0.3) 0%, rgba(20, 11, 6, 0.78) 100%);
}
.page-hero-content {
  max-width: 760px;
  padding: clamp(24px, 4vw, 52px);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font: 500 0.84rem/1 var(--font-head);
  color: rgba(255, 255, 255, 0.82);
}
.crumbs a:hover {
  color: #fff;
  text-decoration: underline;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.page-hero p {
  max-width: 56ch;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.room-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.room-detail + .room-detail {
  margin-top: clamp(64px, 9vw, 112px);
}
.room-detail.reverse .room-photo {
  order: 2;
}
.room-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius-xl);
  background: var(--surface);
  cursor: zoom-in;
}
.room-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.room-photo:hover img {
  transform: scale(1.05);
}
.block-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font: 700 0.76rem/1 var(--font-head);
  letter-spacing: 0.03em;
}
.block-tag .icon {
  width: 1.1em;
  height: 1.1em;
}
.room-info h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
}
.room-info > p {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--muted);
}
.amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 26px 0 0;
}
.amenities li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--ink-2);
  transition: background 0.3s, transform 0.5s var(--ease);
}
.amenities li:hover {
  background: var(--brand-50);
  transform: translateX(4px);
}
.amenities .icon {
  color: var(--brand);
}
.rate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.rate-card {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 0.3s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.rate-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.rate-card small {
  display: block;
  font: 600 0.78rem/1.3 var(--font-head);
  color: var(--muted);
}
.rate-card strong {
  display: block;
  margin-top: 6px;
  font: 700 1.45rem/1 var(--font-head);
  letter-spacing: -0.03em;
}
.rate-card span {
  font-size: 0.78rem;
  color: var(--muted);
}
.room-info .btn {
  margin-top: 28px;
}

.facility {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: 14px;
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.facility-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius-xl) - 8px);
  cursor: zoom-in;
}
.facility-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.facility-photo:hover img {
  transform: scale(1.05);
}
.facility-copy {
  padding: clamp(8px, 3vw, 36px);
}
.facility-copy h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
}
.facility-copy p {
  color: var(--muted);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(24px, 3vw, 40px);
}
.form-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.form-card h2 {
  margin-bottom: 6px;
  font-size: 1.7rem;
  font-weight: 600;
}
.form-card .lead {
  margin-bottom: 26px;
  color: var(--muted);
}
.rate-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #5c2a0e, #2a140a);
  color: #fff;
}
.rate-aside h3 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
}
.rate-aside .sub {
  margin: 6px 0 20px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}
.rate-group + .rate-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.rate-group h4 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}
.rate-group h4 small {
  font-weight: 500;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
}
.rate-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}
.rate-row b {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-head);
}
.rate-aside .note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease);
}
.faq-item[open] {
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font: 600 1rem/1.4 var(--font-head);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  font: 500 1.3rem/1 var(--font-head);
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s;
}
.faq-item[open] summary::after {
  transform: rotate(135deg);
  background: var(--brand);
  color: #fff;
}
.faq-item p {
  padding: 0 24px 22px;
  color: var(--muted);
  animation: rise 0.6s var(--ease) both;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(24px, 3vw, 40px);
}
.info-stack {
  display: grid;
  gap: 14px;
}
.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
a.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
}
.info-ico {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
}
.info-card small {
  display: block;
  font: 600 0.76rem/1.2 var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-card strong {
  display: block;
  margin-top: 4px;
  font: 600 1rem/1.3 var(--font-head);
  word-break: break-word;
}
.map-embed {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 104px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: #150d08;
  color: #bcaea3;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-block: 72px 36px;
}
.footer-brand img {
  width: auto;
  height: 58px;
  padding: 6px 10px;
  border-radius: 14px;
  background: #fff;
}
.footer-brand p {
  max-width: 32ch;
  margin-top: 18px;
  font-size: 0.93rem;
}
.footer-grid h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.footer-grid li a,
.footer-grid li span {
  display: inline-block;
  padding: 5px 0;
  font-size: 0.93rem;
  color: #a09184;
  transition: color 0.25s, transform 0.4s var(--ease);
}
.footer-grid li a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #86776b;
}
.footer-word {
  height: 0.62em;
  margin-top: 6px;
  overflow: hidden;
  font: 800 clamp(3.6rem, 17.5vw, 17rem) / 1 var(--font-head);
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(240, 130, 40, 0.30), rgba(240, 130, 40, 0) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Lightbox, WhatsApp FAB
   -------------------------------------------------------------------------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 10, 22, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  transform: scale(0.94);
  transition: transform 0.6s var(--ease), opacity 0.3s;
}
.lightbox-overlay.open .lightbox-img {
  transform: none;
}
.lightbox-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}
.lightbox-close {
  top: 22px;
  right: 22px;
}
.lightbox-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px -6px rgba(37, 211, 102, 0.6);
  transition: transform 0.4s var(--ease);
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ring 2.6s var(--ease) infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.08) rotate(-6deg);
}
.whatsapp-fab svg {
  width: 28px;
  height: 28px;
}
@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  text-align: center;
}
.error-page h1 {
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, var(--brand), var(--brand-100));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-page p {
  margin: 12px 0 28px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Scroll-reveal (JS adds .js to <html>; nothing is hidden without it)
   -------------------------------------------------------------------------- */
.js [data-reveal]:not(.is-visible) {
  opacity: 0;
}
.js [data-reveal].is-visible {
  animation: rise 1s var(--ease) var(--d, 0ms) backwards;
}
.js [data-reveal='fade'].is-visible {
  animation-name: fadeIn;
}
.js [data-reveal='left'].is-visible {
  animation-name: riseLeft;
}
.js [data-reveal='right'].is-visible {
  animation-name: riseRight;
}
.js [data-reveal='scale'].is-visible {
  animation-name: scaleIn;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(38px);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@keyframes riseLeft {
  from {
    opacity: 0;
    transform: translateX(-44px);
  }
}
@keyframes riseRight {
  from {
    opacity: 0;
    transform: translateX(44px);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.93);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .why {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .rate-aside {
    position: static;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
    --gutter: 18px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 26px 40px -24px rgba(16, 24, 40, 0.4);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0.4s;
  }
  .site-header.open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-links a {
    padding: 15px 14px;
    font-size: 1.02rem;
  }
  .nav-links a::after {
    bottom: 9px;
  }
  .nav-actions .icon-btn {
    display: none;
  }

  .search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .search-grid .form-group:last-child {
    grid-column: span 2;
  }
  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .mosaic-card:first-child {
    grid-row: auto;
    min-height: 380px;
  }
  .room-detail,
  .facility,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .room-detail.reverse .room-photo {
    order: 0;
  }
  .room-photo {
    aspect-ratio: 4 / 3.4;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  /* rooms become a swipeable carousel */
  .room-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 6px var(--gutter) 18px;
    margin-inline: calc(var(--gutter) * -1);
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .room-track::-webkit-scrollbar {
    display: none;
  }
  .room-card {
    flex: 0 0 min(82%, 340px);
    scroll-snap-align: start;
  }
  .carousel-nav {
    display: flex;
  }
}

@media (max-width: 640px) {
  .tab {
    height: 40px;
    padding: 0 15px;
    font-size: 0.84rem;
  }
  .hero-card {
    height: clamp(460px, 74svh, 600px);
    border-radius: 22px;
  }
  .hero-controls {
    top: 14px;
    right: 14px;
  }
  .search-card {
    margin: -56px 8px 0;
    padding: 18px 16px;
    border-radius: 22px;
  }
  .search-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .search-grid .form-group:last-child {
    grid-column: auto;
  }
  .search-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .search-bottom .btn {
    width: 100%;
  }
  .tiles {
    gap: 14px;
  }
  .tile-label {
    font-size: 1rem;
  }
  .tile-row {
    font-size: 0.78rem;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step-card {
    min-height: 0;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .amenities {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 52px;
  }
  .gallery-item {
    width: 240px;
    height: 180px;
    border-radius: 14px;
  }
  .nav-actions .btn {
    height: 40px;
    padding: 0 16px;
    font-size: 0.84rem;
  }
  .nav-actions .btn .icon {
    display: none;
  }
  .brand img {
    height: 44px;
  }
  .whatsapp-fab {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
  .lightbox-prev,
  .lightbox-next {
    display: none;
  }
}


/* --------------------------------------------------------------------------
   Phone refinements: smaller type scale, tighter rhythm, iOS-safe inputs
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --gutter: 16px;
    --radius-xl: 22px;
    --radius-lg: 18px;
  }
  body {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .section {
    padding-block: 48px;
  }
  .section-tight {
    padding-block: 30px;
  }
  .about {
    padding-top: 60px;
  }
  .section-head {
    gap: 14px;
    margin-bottom: 24px;
  }

  /* headings */
  .hero h1 {
    font-size: clamp(1.65rem, 7.2vw, 2rem);
    letter-spacing: -0.03em;
  }
  .hero-lead {
    margin-top: 14px;
    font-size: 0.88rem;
    line-height: 1.55;
  }
  .hero-pill {
    margin-bottom: 14px;
    padding: 8px 13px;
    font-size: 0.72rem;
  }
  .hero-content {
    padding: 20px;
    padding-bottom: 92px;
  }
  .hero-controls {
    padding: 7px 11px;
    font-size: 0.7rem;
  }
  .section-head h2 {
    font-size: clamp(1.45rem, 6.2vw, 1.75rem);
  }
  .section-head p {
    margin-top: 8px;
    font-size: 0.88rem;
  }
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }
  .about-text {
    margin-top: 20px;
    font-size: clamp(1.1rem, 4.7vw, 1.3rem);
    line-height: 1.4;
  }
  .page-hero h1 {
    font-size: clamp(1.7rem, 7.4vw, 2.05rem);
  }
  .page-hero p {
    margin-top: 10px;
    font-size: 0.88rem;
  }
  .page-hero-card {
    min-height: 230px;
  }
  .crumbs {
    margin-bottom: 10px;
    font-size: 0.76rem;
  }
  .page-hero-content {
    padding: 22px 20px;
  }

  /* buttons + chips + tabs */
  .btn {
    height: 46px;
    padding: 0 22px;
    font-size: 0.88rem;
  }
  .btn-lg {
    height: 50px;
    padding: 0 26px;
    font-size: 0.92rem;
  }
  .btn-sm {
    height: 38px;
    padding: 0 16px;
    font-size: 0.82rem;
  }
  .chip {
    height: 34px;
    padding: 0 14px;
    font-size: 0.78rem;
  }
  .chip-row .chip-label {
    font-size: 0.8rem;
  }
  .tab {
    height: 38px;
    padding: 0 14px;
    font-size: 0.8rem;
  }
  .nav-links a {
    font-size: 0.98rem;
  }

  /* search card */
  .search-card {
    padding: 16px 14px;
  }
  .search-grid {
    gap: 10px;
  }
  .search-bottom {
    margin-top: 14px;
    padding-top: 14px;
    gap: 12px;
  }

  /* forms — 16px keeps iPhones from zooming the page on focus */
  .form-group {
    margin-bottom: 14px;
  }
  .form-group label {
    font-size: 0.8rem;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    height: 50px;
    font-size: 16px;
  }
  .form-group textarea {
    height: auto;
    min-height: 120px;
  }
  .form-card {
    padding: 22px 18px;
  }
  .form-card h2 {
    font-size: 1.35rem;
  }
  .form-card .lead {
    margin-bottom: 20px;
    font-size: 0.88rem;
  }
  .availability-status {
    padding: 11px 14px;
    font-size: 0.82rem;
  }
  .field-hint {
    font-size: 0.78rem;
  }

  /* cards */
  .tile-label {
    font-size: 0.95rem;
  }
  .tile-row {
    margin-top: 10px;
    font-size: 0.74rem;
  }
  .circle-btn {
    width: 30px;
    height: 30px;
  }
  .room-top h3 {
    font-size: 1.12rem;
  }
  .room-sub {
    font-size: 0.8rem;
  }
  .room-meta {
    font-size: 0.8rem;
  }
  .room-body {
    padding: 16px 18px 18px;
  }
  .price strong {
    font-size: 1.35rem;
  }
  .badge {
    font-size: 0.7rem;
  }
  .why {
    padding: 28px 22px;
  }
  .why h2 {
    font-size: clamp(1.6rem, 7vw, 1.9rem);
  }
  .why-intro p,
  .why-item p {
    font-size: 0.86rem;
  }
  .why-item h3 {
    font-size: 0.98rem;
  }
  .why-item .ico {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }
  .mosaic-card {
    min-height: 240px;
    padding: 20px;
  }
  .mosaic-card:first-child {
    min-height: 340px;
  }
  .mosaic-card h3 {
    font-size: 1.28rem;
  }
  .mosaic-card p {
    font-size: 0.85rem;
  }
  .step-card {
    padding: 22px;
  }
  .step-card h3 {
    font-size: 1.05rem;
  }
  .step-card p {
    font-size: 0.86rem;
  }
  .cta {
    min-height: 340px;
    padding: 40px 20px;
  }
  .cta h2 {
    font-size: clamp(1.7rem, 7.6vw, 2.1rem);
  }
  .cta p {
    margin: 14px auto 24px;
    font-size: 0.88rem;
  }
  .cta-actions .btn {
    width: 100%;
  }

  /* rooms page */
  .room-info h2 {
    font-size: clamp(1.6rem, 7vw, 1.95rem);
  }
  .room-info > p {
    font-size: 0.9rem;
  }
  .block-tag {
    font-size: 0.72rem;
  }
  .amenities li {
    padding: 10px 12px;
    font-size: 0.84rem;
  }
  .rate-card strong {
    font-size: 1.25rem;
  }
  .facility-copy h3 {
    font-size: 1.4rem;
  }
  .facility-copy p {
    font-size: 0.9rem;
  }
  .room-detail + .room-detail {
    margin-top: 52px;
  }

  /* booking + contact */
  .rate-aside {
    padding: 22px 20px;
  }
  .rate-aside h3 {
    font-size: 1.2rem;
  }
  .rate-row {
    font-size: 0.86rem;
  }
  .faq-item summary {
    padding: 16px 18px;
    font-size: 0.92rem;
  }
  .faq-item p {
    padding: 0 18px 18px;
    font-size: 0.86rem;
  }
  .info-card {
    padding: 16px 18px;
  }
  .info-card strong {
    font-size: 0.94rem;
  }
  .info-ico {
    width: 44px;
    height: 44px;
  }
  .map-embed iframe {
    height: 320px;
  }

  /* footer */
  .footer-grid {
    padding-block: 44px 24px;
  }
  .footer-grid li a,
  .footer-grid li span,
  .footer-brand p {
    font-size: 0.88rem;
  }
  .footer-bottom {
    font-size: 0.78rem;
  }
  .error-page h1 {
    font-size: clamp(4rem, 26vw, 6rem);
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .nav-actions .btn {
    padding: 0 13px;
  }
  .brand img {
    height: 40px;
  }
  .search-card {
    margin-inline: 4px;
  }
}


/* phone: denser layouts so nothing is a long single-column scroll */
@media (max-width: 640px) {
  .tab-extra {
    display: none;
  }
  .tile-row .circle-btn {
    display: none;
  }
  .tile-row span {
    white-space: nowrap;
  }

  .why-grid {
    gap: 20px;
  }
  .why-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
    align-items: start;
  }
  .why-item .ico {
    grid-row: 1 / span 2;
    margin: 0;
  }
  .why-item h3 {
    margin: 2px 0 4px;
  }

  .step-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    row-gap: 2px;
    align-items: start;
    min-height: 0;
    padding: 18px;
  }
  .step-ico {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
  }
  .step-card h3 {
    margin: 2px 0 0;
  }
  .step-foot {
    display: none;
  }
  .steps {
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .footer-brand,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .footer-grid h4 {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal]:not(.is-visible) {
    opacity: 1;
  }
  .js .split .w > span {
    transform: none;
  }
  .js .about-text .hw {
    opacity: 1;
  }
  .gallery-row {
    animation: none;
  }
}
