/* Лес — redesign: cinematic forest editorial */
:root {
  --moss: #3f5c45;
  --pine: #1e3226;
  --bark: #5c3d28;
  --cedar: #9a6a45;
  --mist: #dce8df;
  --paper: #e8efe8;
  --ink: #17201a;
  --ash: #6a736c;
  --snow: #f7faf7;
  --line: rgba(23, 32, 26, 0.14);
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Onest", "Segoe UI", sans-serif;
  --max: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow-moss: rgba(74, 112, 84, 0.22);
  --glow-cedar: rgba(154, 106, 69, 0.16);
  --glow-pine: rgba(30, 50, 38, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: #e4ebe4;
  /* lightweight forest wash — no fixed layers / noise / blur */
  background-image:
    radial-gradient(ellipse 70% 42% at 0% 0%, var(--glow-moss), transparent 70%),
    radial-gradient(ellipse 55% 38% at 100% 8%, var(--glow-cedar), transparent 68%),
    radial-gradient(ellipse 80% 45% at 50% 100%, var(--glow-pine), transparent 70%),
    linear-gradient(180deg, #dfe8e0 0%, #e8efe8 40%, #e3ebe3 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.container {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cedar);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
  color: var(--pine);
}

h1 {
  font-size: clamp(4.8rem, 14vw, 9.5rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 14ch;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--ash);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(238, 243, 239, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pine);
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: transparent;
}

.site-header:not(.is-scrolled) .brand,
.site-header:not(.is-scrolled) .nav a,
.site-header:not(.is-scrolled) .burger {
  color: var(--snow);
}

.site-header:not(.is-scrolled) .burger {
  border-color: rgba(247, 250, 247, 0.35);
}

.site-header:not(.is-scrolled) .burger span,
.site-header:not(.is-scrolled) .burger span::before,
.site-header:not(.is-scrolled) .burger span::after {
  background: var(--snow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pine);
  opacity: 0.8;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.nav .nav-phone {
  opacity: 1;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  place-items: center;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--pine);
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  background: inherit;
}

.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* Buttons — rectangular, no pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--pine);
  color: var(--snow);
}

.btn-solid:hover {
  background: #142218;
}

.btn-line {
  border: 1px solid rgba(247, 250, 247, 0.55);
  color: var(--snow);
  background: rgba(23, 32, 26, 0.2);
}

.btn-line:hover {
  background: rgba(247, 250, 247, 0.12);
}

.btn-cedar {
  background: var(--cedar);
  color: #fff8f1;
}

/* Hero — one composition */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--snow);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(10, 18, 14, 0.28);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.hero-media .hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 24, 18, 0.45) 0%, rgba(14, 24, 18, 0.28) 45%, rgba(10, 18, 14, 0.82) 88%, #0d1611 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-mark {
  width: clamp(160px, 24vw, 240px);
  height: auto;
  margin-bottom: 1.25rem;
  animation: rise 0.9s var(--ease) both;
}

.hero .lead {
  color: rgba(247, 250, 247, 0.9);
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  animation: rise 0.9s 0.08s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.4rem;
  /* opacity only — transform on ancestors breaks Roomslot modal */
  animation: fade-in 0.9s 0.2s var(--ease) both;
}

.season-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  animation: rise 0.9s 0.26s var(--ease) both;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  animation: rise 0.9s 0.3s var(--ease) both;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(247, 250, 247, 0.35);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), width 0.25s var(--ease);
}

.hero-dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: #fff;
}

.season-rail button {
  position: relative;
  padding: 0.2rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 250, 247, 0.55);
}

.season-rail button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.season-rail button.is-active,
.season-rail button:hover {
  color: var(--snow);
}

.season-rail button.is-active::after {
  transform: scaleX(1);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Break between hero photo and next photo block */
.section-break {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, #e8efe9 0%, #e6ece6 100%);
  border-top: 1px solid rgba(23, 32, 26, 0.08);
  border-bottom: 1px solid rgba(23, 32, 26, 0.1);
  box-shadow:
    inset 0 12px 24px rgba(255, 255, 255, 0.28),
    0 -18px 40px rgba(10, 18, 14, 0.16);
}

.section-break__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  min-height: clamp(4.5rem, 9vw, 6.5rem);
}

.section-break__line {
  flex: 1;
  max-width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92, 61, 40, 0.45), transparent);
}

.section-break__label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bark);
  white-space: nowrap;
}

/* About — text + video overview */
.about {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.about-copy h2 {
  max-width: 14ch;
}

.about-copy .lead {
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.about-list li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  color: var(--ash);
}

.about-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.about-list strong {
  color: var(--pine);
  font-family: var(--font-display);
  font-weight: 600;
  margin-right: 0.35rem;
}

.about-meta {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cedar);
  letter-spacing: 0.02em;
}

.about-video {
  position: relative;
  overflow: hidden;
  background: #142218;
  box-shadow: 0 24px 50px rgba(26, 46, 34, 0.16);
  aspect-ratio: 16 / 10;
}

.about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gallery */
.gallery {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(63, 92, 69, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(30, 50, 38, 0.035), transparent 22%);
}

.gallery-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-head .lead {
  max-width: 40rem;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.gallery-tabs button {
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ash);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.gallery-tabs button:hover {
  color: var(--pine);
  border-color: rgba(36, 61, 46, 0.35);
}

.gallery-tabs button.is-active {
  color: var(--snow);
  background: var(--pine);
  border-color: var(--pine);
}

.gallery-count {
  display: inline-block;
  margin-left: 0.65rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cedar);
  border: 1px solid rgba(154, 106, 69, 0.35);
}

.gallery-note {
  margin: 0 0 1.5rem;
  color: var(--ash);
}

.gallery-viewer {
  display: grid;
  gap: 0.9rem;
}

.gallery-main {
  position: relative;
  background: #1a2620;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gallery-frame {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease), transform 0.7s var(--ease);
}

.gallery-frame:hover img {
  transform: scale(1.02);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  background: rgba(14, 24, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.gallery-arrow:hover {
  background: rgba(14, 24, 18, 0.72);
  border-color: rgba(255, 255, 255, 0.5);
}

.gallery-arrow--prev {
  left: 0.85rem;
}

.gallery-arrow--next {
  right: 0.85rem;
}

.gallery-meta {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f7faf7;
  background: rgba(14, 24, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(88px, 1fr);
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  background: #c9d5cc;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.72;
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--pine);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Amenities */
.amenities {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}

.amenity-rows {
  display: grid;
  gap: 0;
}

.amenity-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.amenity-row:last-child {
  border-bottom: 1px solid var(--line);
}

.amenity-row strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pine);
}

.amenity-row p {
  margin: 0;
  color: var(--ash);
}

.amenity-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.amenity-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1.25rem 1.5rem;
  background: rgba(238, 243, 239, 0.94);
  color: var(--pine);
}

.price-tag span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cedar);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.price-tag strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

/* Reviews — same container width as sections above */
.reviews {
  background:
    radial-gradient(ellipse 70% 55% at 80% 30%, rgba(154, 106, 69, 0.08), transparent 70%);
}

.reviews-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(70svh, 640px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f3f7f3;
  box-shadow: 0 18px 40px rgba(26, 46, 34, 0.08);
}

.reviews-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #1a1510;
}

.reviews-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.2s var(--ease);
}

.reviews:hover .reviews-visual img {
  transform: scale(1.07);
}

.reviews-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(14, 12, 10, 0.78)),
    linear-gradient(90deg, transparent 60%, rgba(238, 243, 239, 0.08));
}

.reviews-score {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 1;
  color: #fff8f0;
}

.reviews-score__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.reviews-score__meta {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 248, 240, 0.82);
}

.reviews-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.35rem, 3vw, 2.75rem);
  background:
    radial-gradient(ellipse 420px 220px at 100% 0%, rgba(154, 106, 69, 0.1), transparent 70%),
    linear-gradient(165deg, #f7f2eb 0%, #f0f4f1 100%);
  color: var(--ink);
}

.reviews-copy h2 {
  max-width: 10ch;
}

.reviews-copy .lead {
  margin-bottom: 1.75rem;
}

.reviews-copy .lead a {
  color: var(--bark);
  border-bottom: 1px solid rgba(92, 61, 40, 0.35);
  font-weight: 700;
}

.reviews-points {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0;
}

.reviews-points li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(23, 32, 26, 0.12);
}

.reviews-points li:last-child {
  border-bottom: 1px solid rgba(23, 32, 26, 0.12);
}

.reviews-points li > span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cedar);
  padding-top: 0.15rem;
}

.reviews-points strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pine);
}

.reviews-points p {
  margin: 0;
  color: var(--ash);
  font-size: 0.98rem;
}

.reviews-copy .btn-solid {
  align-self: start;
}

/* Contact */
.contact {
  padding-bottom: 0;
}

.contact-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.contact-facts {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-facts li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.contact-facts li:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-facts strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-bottom: 0.3rem;
}

.contact-facts a {
  font-weight: 700;
  color: var(--pine);
  border-bottom: 1px solid transparent;
}

.contact-facts a:hover {
  border-bottom-color: currentColor;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.map-band {
  width: 100%;
  min-height: 460px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

/* Footer — cinematic closing block */
.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(247, 250, 247, 0.78);
  background: #0d1611;
}

.footer-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
  transform: scale(1.04);
}

.footer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 14, 0.55) 0%, rgba(10, 18, 14, 0.82) 45%, #0d1611 92%),
    linear-gradient(90deg, rgba(10, 18, 14, 0.55), transparent 55%);
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 9vw, 7rem) 0 2rem;
}

.footer-cta {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-cta .kicker {
  color: #c5d8c9;
}

.footer-title {
  color: var(--snow);
  font-size: clamp(2.6rem, 7vw, 5rem);
  max-width: 12ch;
  margin-bottom: 1rem;
}

.footer-lead {
  margin: 0 0 1.75rem;
  max-width: 30rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(247, 250, 247, 0.78);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 250, 247, 0.14);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: clamp(88px, 12vw, 120px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.footer-brand-col p {
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.footer-rating {
  color: #c5d8c9;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-label {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c5d8c9;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a,
.footer-nav span {
  color: rgba(247, 250, 247, 0.82);
  font-weight: 600;
}

.footer-nav a {
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.footer-nav a:hover {
  color: var(--snow);
  border-bottom-color: rgba(247, 250, 247, 0.55);
}

.footer-wordmark {
  position: relative;
  z-index: 1;
  width: min(100% - 2.4rem, var(--max));
  margin: 1.5rem auto 0;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 22vw, 16rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 250, 247, 0.22);
  user-select: none;
  pointer-events: none;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(247, 250, 247, 0.12);
  background: rgba(8, 14, 11, 0.72);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 0.92rem;
}

.footer-bottom-inner p {
  margin: 0;
}

.footer-top {
  font-weight: 700;
  color: var(--snow);
  border-bottom: 1px solid rgba(247, 250, 247, 0.35);
}

.footer-top:hover {
  border-bottom-color: var(--snow);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-actions .btn {
    width: 100%;
  }

  .footer-wordmark {
    margin-top: 0.5rem;
  }
}

/* RoomSlot booking widget */
.roomslot-book-wrap {
  position: relative;
  overflow: visible;
  width: min(100%, 280px);
}

.roomslot-book-wrap--hero {
  width: min(100%, 260px);
}

.roomslot-book-wrap--footer {
  width: min(100%, 300px);
  margin-bottom: 1rem;
}

.roomslot-embed {
  width: 100%;
  min-height: 68px;
  overflow: visible;
}

.roomslot-embed iframe {
  width: 100% !important;
  border: 0 !important;
  border-radius: 0;
}

.about-copy .roomslot-book-wrap,
.contact-top .roomslot-book-wrap {
  margin-bottom: 1rem;
}

/* Roomslot modal stacking (inplace iframe, not body mount) */
html.roomslot-modal-open .site-header {
  z-index: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.roomslot-modal-open .contact-float {
  z-index: 1;
  pointer-events: none;
}

html.roomslot-modal-open .roomslot-book-wrap.is-modal-host {
  z-index: 10050;
}

html.roomslot-modal-from-hero .hero {
  overflow: visible;
  z-index: 10040;
}

html.roomslot-modal-from-hero .hero-content,
html.roomslot-modal-from-hero .hero-actions {
  z-index: 10050;
  animation: none;
  transform: none;
  filter: none;
}

html.roomslot-modal-from-hero .hero-mark,
html.roomslot-modal-from-hero .hero-media,
html.roomslot-modal-from-hero .season-rail,
html.roomslot-modal-from-hero .hero-dots {
  z-index: 0 !important;
  pointer-events: none;
}

html.roomslot-modal-open:not(.roomslot-modal-from-hero) .about,
html.roomslot-modal-open:not(.roomslot-modal-from-hero) .contact,
html.roomslot-modal-open:not(.roomslot-modal-from-hero) .site-footer {
  position: relative;
  z-index: 10040;
  transform: none;
  filter: none;
}

/* Floating messengers */
.contact-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-float__btn {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 10px 28px rgba(10, 18, 14, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-float__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
}

.contact-float__btn--max img {
  border-radius: 22%;
}

.contact-float__btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  border: 2px solid transparent;
  opacity: 0;
  transform: scale(1);
}

.contact-float__btn--tg::before {
  border-radius: 50%;
  border-color: rgba(42, 171, 238, 0.7);
}

.contact-float__btn--max::before {
  border-radius: 26%;
  border-color: rgba(71, 26, 255, 0.7);
}

.contact-float__btn.is-pulse {
  animation: float-btn-bounce 0.9s var(--ease);
}

.contact-float__btn.is-pulse::before {
  animation: float-btn-ring 0.9s ease-out;
}

.contact-float__btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 32px rgba(10, 18, 14, 0.36);
}

@keyframes float-btn-bounce {
  0%,
  100% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.14);
  }
  65% {
    transform: scale(0.97);
  }
}

@keyframes float-btn-ring {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@media (max-width: 720px) {
  .contact-float {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .contact-float__btn {
    width: 52px;
    height: 52px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  background: rgba(10, 16, 12, 0.92);
  padding: 1rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  max-width: min(1100px, 100%);
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-figure figcaption {
  color: rgba(247, 250, 247, 0.8);
  font-size: 0.9rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  top: 1rem;
  width: 52px;
  height: 52px;
  color: #fff;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(14, 24, 18, 0.35);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(14, 24, 18, 0.65);
}

.lightbox-close { right: 1rem; }
.lightbox-nav.prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1rem; top: 50%; transform: translateY(-50%); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .amenities,
  .contact-top,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .reviews-shell {
    grid-template-columns: 1fr;
  }

  .reviews-visual {
    min-height: 360px;
  }

  .gallery-main {
    aspect-ratio: 4 / 3;
  }

  .amenity-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.2rem 1rem;
    background: rgba(238, 243, 239, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    color: var(--pine) !important;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  .burger {
    display: grid;
  }

  .site-header:not(.is-scrolled) .nav.is-open {
    background: rgba(238, 243, 239, 0.96);
  }

  .gallery-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.45rem;
  }

  .gallery-arrow--prev {
    left: 0.5rem;
  }

  .gallery-arrow--next {
    right: 0.5rem;
  }

  .gallery-thumbs {
    grid-auto-columns: 76px;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .about-copy .btn {
    width: 100%;
  }
}
