/* Mamay Village — landing */

:root {
  --pine: #1a2e24;
  --pine-deep: #0f1a15;
  --forest: #243d32;
  --moss: #3d5c4a;
  --snow: #eef2f1;
  --mist: #d8e0dc;
  --ink: #121816;
  --muted: #5a6b62;
  --wood: #c4a574;
  --ember: #c4783a;
  --white: #ffffff;
  --glass: rgba(238, 242, 241, 0.72);
  --glass-dark: rgba(15, 26, 21, 0.72);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space-50: 4px;
  --space-75: 8px;
  --space-100: 12px;
  --space-200: 16px;
  --space-300: 24px;
  --space-400: 32px;
  --space-500: 40px;
  --space-600: 48px;
  --space-700: 64px;
  --space-800: 80px;
  --space-900: 96px;

  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;

  --font: "Manrope", system-ui, sans-serif;
  --max: 1120px;
  --hero-max: 680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--snow);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: var(--space-75) var(--space-100);
  background: var(--pine);
  color: var(--white);
}

.skip-link:focus {
  left: var(--space-200);
  top: var(--space-200);
}

/* Text styles */
.heading-1 {
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 600;
  text-wrap: balance;
}

.heading-2 {
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  text-wrap: balance;
}

.heading-3 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  text-wrap: balance;
}

.heading-4 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  text-wrap: balance;
}

.heading-5 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
}

.title-1 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
}

.title-2 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
}

.body-2 {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  text-wrap: pretty;
}

.body-3 {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  text-wrap: pretty;
}

.body-5 {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.body-6 {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  text-wrap: pretty;
}

.caption-2 {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
}

.caption-4 {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button-md {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}

.button-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .heading-1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .heading-2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .heading-3 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-75);
  padding: var(--space-75) var(--space-100);
  border-radius: var(--radius-lg);
  transition:
    transform 500ms var(--ease),
    background-color 300ms var(--ease),
    color 300ms var(--ease),
    opacity 300ms var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--ember);
  color: var(--white);
  padding: var(--space-100) var(--space-300);
}

.btn--primary:hover {
  background: #a8642e;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(8px);
  padding: var(--space-100) var(--space-300);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

.btn--dark {
  background: var(--pine);
  color: var(--snow);
  padding: var(--space-100) var(--space-300);
}

.btn--dark:hover {
  background: var(--forest);
}

.btn--line {
  border: 1px solid rgba(26, 46, 36, 0.2);
  color: var(--pine);
  padding: var(--space-100) var(--space-300);
}

.btn--line:hover {
  background: var(--mist);
}

/* Layout */
.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 32px, var(--max));
  }
}

.section {
  padding-block: var(--space-800);
  position: relative;
}

.section__eyebrow {
  color: var(--ember);
  margin-bottom: var(--space-200);
}

.section__lead {
  max-width: 560px;
  color: var(--muted);
  margin-top: var(--space-200);
}

.section__head {
  margin-bottom: var(--space-600);
}

/* Nav — no transform on header (breaks position:fixed children) */
.header {
  position: fixed;
  top: var(--space-200);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.header__bar {
  pointer-events: auto;
  width: min(100% - 32px, 960px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-200);
  padding: var(--space-75) var(--space-75) var(--space-75) var(--space-200);
  border-radius: 999px;
  background: rgba(238, 242, 241, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(15, 26, 21, 0.12);
  border: 1px solid rgba(26, 46, 36, 0.08);
  overflow: visible;
  transition:
    background-color 300ms var(--ease),
    border-color 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.header.is-open .header__bar {
  background: rgba(15, 26, 21, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-100);
  color: var(--pine);
  min-width: 0;
  transition: color 300ms var(--ease);
}

.header.is-open .header__brand {
  color: var(--snow);
}

.header__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--pine);
  transition: color 300ms var(--ease);
}

.header.is-open .header__mark {
  color: var(--snow);
}

.header__mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.header__brand-name {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header__brand-tag {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  opacity: 0.62;
  white-space: nowrap;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-300);
}

.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--forest);
  opacity: 0.85;
  transition: opacity 300ms var(--ease), color 300ms var(--ease);
}

.header__nav a:hover,
.header__nav a.is-active {
  opacity: 1;
  color: var(--pine);
}

.header__cta-wrap,
.roomslot-book-wrap {
  display: flex;
  overflow: visible;
  flex-shrink: 0;
}

.header__toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(26, 46, 36, 0.08);
  flex-shrink: 0;
  transition: background-color 300ms var(--ease);
}

.header.is-open .header__toggle {
  background: rgba(255, 255, 255, 0.12);
}

.header__toggle-lines {
  width: 18px;
  height: 12px;
  position: relative;
}

.header__toggle-lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pine);
  border-radius: 2px;
  transition:
    transform 500ms var(--ease),
    opacity 300ms var(--ease),
    top 500ms var(--ease),
    background-color 300ms var(--ease);
}

.header.is-open .header__toggle-lines span {
  background: var(--snow);
}

.header__toggle-lines span:nth-child(1) {
  top: 0;
}

.header__toggle-lines span:nth-child(2) {
  top: 5px;
}

.header__toggle-lines span:nth-child(3) {
  top: 10px;
}

.header.is-open .header__toggle-lines span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.header.is-open .header__toggle-lines span:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__toggle-lines span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* While menu open: bury Roomslot / sticky CTA so they do not pierce the panel */
body.menu-open .hero__booking,
body.menu-open .mobile-cta {
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body.menu-open .hero__booking iframe {
  visibility: hidden !important;
}

/* Full-screen branded mobile menu — sibling of header, not inside transform */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 500ms var(--ease),
    visibility 500ms var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open[hidden] {
  display: grid;
}

.mobile-menu__bg {
  position: absolute;
  inset: 0;
}

.mobile-menu__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-menu__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 26, 21, 0.82) 0%, rgba(15, 26, 21, 0.94) 55%, rgba(15, 26, 21, 0.98) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-menu__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 420px);
  margin: 0 auto;
  padding: 112px 0 calc(48px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: var(--snow);
  box-sizing: border-box;
}

.mobile-menu__eyebrow {
  color: var(--ember);
  margin-bottom: var(--space-75);
}

.mobile-menu__lead {
  color: rgba(238, 242, 241, 0.72);
  margin-bottom: var(--space-500);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-100);
  margin-bottom: var(--space-600);
}

.mobile-menu__nav a {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  color: var(--snow);
  opacity: 0;
  transform: translateY(24px);
  padding: var(--space-75) 0;
  border-bottom: 1px solid rgba(238, 242, 241, 0.12);
  transition:
    opacity 500ms var(--ease),
    transform 500ms var(--ease),
    color 300ms var(--ease);
}

.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 40ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 100ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 160ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 220ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 280ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6) { transition-delay: 340ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(7) { transition-delay: 400ms; }

.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible {
  color: var(--wood);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-200);
  margin-top: auto;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 500ms var(--ease),
    transform 500ms var(--ease);
  transition-delay: 0ms;
}

.mobile-menu.is-open .mobile-menu__actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 360ms;
}

.mobile-menu__phone {
  margin-top: var(--space-300);
  color: rgba(238, 242, 241, 0.72);
  opacity: 0;
  transition: opacity 500ms var(--ease);
}

.mobile-menu.is-open .mobile-menu__phone {
  opacity: 1;
  transition-delay: 400ms;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu__nav a,
  .mobile-menu__actions,
  .mobile-menu__phone {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 920px) {
  .header__nav {
    display: none;
  }

  .header__cta-wrap {
    display: none;
  }

  .header__toggle {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .header__brand-tag {
    display: none;
  }
}

/* Roomslot modal stacking */
html.roomslot-modal-from-header .header {
  z-index: 10050;
}

html.roomslot-modal-from-header .header__bar {
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.roomslot-modal-from-header .hero__media,
html.roomslot-modal-from-header .hero__content,
html.roomslot-modal-from-header .hero__booking {
  z-index: 0 !important;
  pointer-events: none;
}

html.roomslot-modal-open:not(.roomslot-modal-from-header) .header {
  z-index: 1;
}

html.roomslot-modal-open:not(.roomslot-modal-from-header) .hero__booking {
  z-index: 10050;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: visible;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 26, 21, 0.35) 0%, rgba(15, 26, 21, 0.15) 35%, rgba(15, 26, 21, 0.72) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding-top: 140px;
  padding-bottom: var(--space-300);
}

.hero__brand {
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 0.95;
  font-weight: 600;
  max-width: var(--hero-max);
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-300);
  opacity: 0;
  animation: fadeUp 900ms var(--ease) 120ms forwards;
}

.hero__title {
  max-width: var(--hero-max);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-200);
  opacity: 0;
  animation: fadeUp 900ms var(--ease) 280ms forwards;
}

.hero__sub {
  max-width: var(--hero-max);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-400);
  opacity: 0;
  animation: fadeUp 900ms var(--ease) 400ms forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-200);
  margin-bottom: var(--space-300);
  opacity: 0;
  animation: fadeUp 900ms var(--ease) 520ms forwards;
}

.hero__booking {
  position: relative;
  z-index: 10000;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding-bottom: var(--space-200);
  /* Roomslot: no filter / transform / overflow hidden on this ancestor */
  overflow: visible;
  opacity: 0;
  animation: fadeIn 900ms var(--ease) 560ms forwards;
}

.hero__booking iframe {
  width: 100% !important;
  max-width: 100%;
}

.hero__proof {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding-bottom: clamp(40px, 6vh, 72px);
  color: rgba(255, 255, 255, 0.62);
  opacity: 0;
  animation: fadeUp 900ms var(--ease) 720ms forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img {
    animation: none;
    transform: none;
  }

  .hero__brand,
  .hero__title,
  .hero__sub,
  .hero__actions,
  .hero__booking,
  .hero__proof {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero__booking {
    width: min(100% - 32px, var(--max));
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Art divider */
.art-break {
  position: relative;
  height: clamp(180px, 28vw, 320px);
  overflow: hidden;
}

.art-break img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.art-break__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--snow) 0%, transparent 28%, transparent 72%, var(--snow) 100%);
  pointer-events: none;
}

.art-break--dark .art-break__fade {
  background:
    linear-gradient(180deg, var(--pine-deep) 0%, transparent 30%, transparent 70%, var(--pine-deep) 100%);
}

.art-break--to-dark .art-break__fade {
  background:
    linear-gradient(180deg, var(--snow) 0%, transparent 35%, transparent 65%, var(--pine-deep) 100%);
}

.art-break--to-light .art-break__fade {
  background:
    linear-gradient(180deg, var(--pine-deep) 0%, transparent 35%, transparent 65%, var(--snow) 100%);
}

/* Tagline */
.tagline {
  padding-block: var(--space-900);
  background: var(--pine-deep);
  color: var(--snow);
}

.tagline__text {
  max-width: var(--hero-max);
  font-size: clamp(1.875rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
}

.tagline__word {
  color: rgba(238, 242, 241, 0.28);
  transition: color 500ms var(--ease);
}

.tagline__word.is-lit {
  color: rgba(238, 242, 241, 1);
}

@media (prefers-reduced-motion: reduce) {
  .tagline__word {
    color: rgba(238, 242, 241, 1);
  }
}

/* Benefits */
.benefits {
  background: var(--snow);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-500);
}

.benefit h3 {
  margin-bottom: var(--space-100);
  color: var(--pine);
}

.benefit p {
  color: var(--muted);
}

.benefit__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xl);
  background: var(--mist);
  color: var(--pine);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-300);
}

.benefit__icon svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 860px) {
  .benefits__grid {
    grid-template-columns: 1fr;
    gap: var(--space-400);
  }
}

/* Houses */
.houses {
  background: var(--snow);
}

.house {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-600);
  align-items: center;
  margin-bottom: var(--space-800);
}

.house:last-child {
  margin-bottom: 0;
}

.house--flip {
  grid-template-columns: 0.85fr 1.15fr;
}

.house--flip .house__media {
  order: 2;
}

.house--flip .house__copy {
  order: 1;
}

.house__gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-75);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 420px;
}

.house__gallery button {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.house__gallery button:first-child {
  grid-row: 1 / span 2;
}

.house__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.house__gallery button:hover img {
  transform: scale(1.04);
}

.house__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-75);
  margin-top: var(--space-75);
}

.house__thumbs button {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: block;
  width: 100%;
}

.house__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.house__thumbs button:hover img {
  transform: scale(1.06);
}

@media (max-width: 700px) {
  .house__thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.house__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-75);
  margin: var(--space-300) 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-50) var(--space-100);
  border-radius: 999px;
  background: var(--mist);
  color: var(--pine);
}

.house__copy p {
  color: var(--muted);
  margin-bottom: var(--space-300);
}

.house__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-200);
}

.house__video {
  margin-top: var(--space-400);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--pine-deep);
  aspect-ratio: 16 / 9;
}

.house__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .house,
  .house--flip {
    grid-template-columns: 1fr;
  }

  .house--flip .house__media,
  .house--flip .house__copy {
    order: unset;
  }

  .house__gallery {
    min-height: 320px;
  }
}

/* Amenities */
.amenities {
  background: var(--pine-deep);
  color: var(--snow);
}

.amenities .section__lead {
  color: rgba(238, 242, 241, 0.68);
}

.amenities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-200);
}

.amenity {
  padding: var(--space-300);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 500ms var(--ease),
    background-color 300ms var(--ease);
}

.amenity:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
}

.amenity strong {
  display: block;
  margin-bottom: var(--space-50);
}

.amenity span {
  color: rgba(238, 242, 241, 0.62);
}

@media (max-width: 900px) {
  .amenities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .amenities__grid {
    grid-template-columns: 1fr;
  }
}

/* Food */
.food {
  background: var(--snow);
}

.food__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-600);
  align-items: center;
}

.food__visual {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 420px;
}

.food__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.food__note {
  margin-top: var(--space-400);
  padding: var(--space-300);
  border-radius: var(--radius-xl);
  background: var(--mist);
  color: var(--pine);
}

.food__price {
  margin-top: var(--space-300);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pine);
}

@media (max-width: 860px) {
  .food__layout {
    grid-template-columns: 1fr;
  }
}

/* Banya */
.banya {
  background: var(--snow);
}

.banya__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-600);
  align-items: start;
}

.banya__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-75);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.banya__gallery button {
  padding: 0;
  overflow: hidden;
  display: block;
}

.banya__gallery button:first-child {
  grid-column: 1 / -1;
}

.banya__gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.banya__gallery button:first-child img {
  aspect-ratio: 16 / 10;
}

.banya__gallery button:hover img {
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .banya__gallery {
    grid-template-columns: 1fr 1fr;
  }
}

.banya__price-block {
  margin-top: var(--space-400);
  display: grid;
  gap: var(--space-200);
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: var(--space-200);
  padding-bottom: var(--space-200);
  border-bottom: 1px solid rgba(26, 46, 36, 0.12);
}

.price-line strong {
  color: var(--pine);
  white-space: nowrap;
}

.banya__gift {
  margin-top: var(--space-300);
  color: var(--ember);
  font-weight: 600;
}

.banya__video {
  margin-top: var(--space-400);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--pine-deep);
}

.banya__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .banya__layout {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.pricing {
  background: var(--pine-deep);
  color: var(--snow);
}

.pricing .section__lead {
  color: rgba(238, 242, 241, 0.68);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-300);
}

.price-card {
  padding: var(--space-500);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-card h3 {
  margin-bottom: var(--space-75);
}

.price-card__cap {
  color: rgba(238, 242, 241, 0.62);
  margin-bottom: var(--space-400);
}

.price-rows {
  display: grid;
  gap: var(--space-200);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-200);
  align-items: baseline;
}

.price-row span {
  color: rgba(238, 242, 241, 0.72);
}

.price-row strong {
  font-size: 1.25rem;
}

.price-card__note {
  margin-top: var(--space-400);
  padding-top: var(--space-300);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(238, 242, 241, 0.68);
}

.pricing__legend {
  margin-top: var(--space-500);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-300);
  color: rgba(238, 242, 241, 0.72);
}

.pricing__extra {
  margin-top: var(--space-600);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-300);
}

.extra-card {
  padding: var(--space-400);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.extra-card h4 {
  margin-bottom: var(--space-200);
}

@media (max-width: 800px) {
  .pricing__grid,
  .pricing__legend,
  .pricing__extra {
    grid-template-columns: 1fr;
  }
}

/* Booking */
.booking {
  background: var(--snow);
}

.booking__widget {
  margin-top: var(--space-500);
  padding: var(--space-300);
  border-radius: var(--radius-2xl);
  background: var(--white);
  border: 1px solid rgba(26, 46, 36, 0.08);
  min-height: 480px;
  /* no transform / filter / overflow hidden — Roomslot */
  overflow: visible;
  position: relative;
  z-index: 2;
}

.booking__widget iframe {
  width: 100% !important;
  min-height: 440px;
}

.booking__rules {
  margin-top: var(--space-600);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-300);
}

.rule {
  padding: var(--space-300);
  border-radius: var(--radius-xl);
  background: var(--mist);
}

.rule h4 {
  margin-bottom: var(--space-100);
  color: var(--pine);
}

.rule p {
  color: var(--muted);
}

.booking__check {
  margin-top: var(--space-500);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-300);
  color: var(--muted);
}

@media (max-width: 700px) {
  .booking__rules {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  background: var(--snow);
}

.faq__list {
  display: grid;
  gap: var(--space-100);
  max-width: 760px;
}

.faq__item {
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid rgba(26, 46, 36, 0.08);
  overflow: hidden;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-300);
  font-weight: 600;
  color: var(--pine);
  display: flex;
  justify-content: space-between;
  gap: var(--space-200);
  align-items: center;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--pine);
  border-bottom: 2px solid var(--pine);
  transform: rotate(45deg);
  transition: transform 500ms var(--ease);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  transform: rotate(225deg);
}

.faq__item p {
  padding: 0 var(--space-300) var(--space-300);
  color: var(--muted);
}

/* Final CTA */
.final {
  position: relative;
  padding-block: var(--space-900);
  color: var(--white);
  overflow: hidden;
}

.final__bg {
  position: absolute;
  inset: 0;
}

.final__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 21, 0.7);
}

.final__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.final__inner p {
  margin: var(--space-200) 0 var(--space-400);
  color: rgba(255, 255, 255, 0.78);
}

.final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-200);
  margin-bottom: var(--space-500);
}

.final__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-300);
}

.final__contacts a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color 300ms var(--ease), border-color 300ms var(--ease);
}

.final__contacts a:hover {
  color: #fff;
  border-color: #fff;
}

/* Footer */
.footer {
  background: var(--pine-deep);
  color: rgba(238, 242, 241, 0.55);
  padding-block: var(--space-500);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-300);
  align-items: center;
}

.footer strong {
  color: var(--snow);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 12, 10, 0.92);
  display: grid;
  place-items: center;
  padding: var(--space-300);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  border-radius: var(--radius-xl);
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color 300ms var(--ease);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__close {
  top: var(--space-300);
  right: var(--space-300);
}

.lightbox__prev {
  left: var(--space-300);
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.lightbox__next {
  right: var(--space-300);
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.lightbox__counter {
  position: absolute;
  bottom: var(--space-300);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
}

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  left: var(--space-200);
  right: var(--space-200);
  bottom: var(--space-200);
  z-index: 90;
  justify-content: center;
}

.mobile-cta .btn {
  width: 100%;
  box-shadow: 0 12px 40px rgba(15, 26, 21, 0.28);
}

@media (max-width: 860px) {
  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 88px;
  }
}
