/* =========================================================
   Дом&Семья — Altai family resort
   Palette: deep forest, amber gold, mist teal
   ========================================================= */

:root {
  --bg: #07140f;
  --bg-2: #0c1f17;
  --bg-3: #122a20;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f0e7;
  --muted: #a8b5ad;
  --gold: #d4a24c;
  --gold-2: #f0c878;
  --teal: #3d8b7a;
  --teal-soft: #7ec9b5;
  --danger: #e07a6a;
  --ok: #6fbf8c;
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(61, 139, 122, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(212, 162, 76, 0.12), transparent 55%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--gold);
  color: #111;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* Grain + cursor glow */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 162, 76, 0.12), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 20, 15, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--container));
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.logo__mark,
.logo img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(212, 162, 76, 0.35);
}

.logo__text,
.logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo strong {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo small {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a {
  position: relative;
  transition: color 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.header-phone svg { width: 16px; height: 16px; }
@media (min-width: 1100px) {
  .header-phone { display: inline-flex; }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  place-items: center;
  gap: 6px;
  flex-direction: column;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */
.btn {
  --btn-bg: var(--surface-2);
  --btn-color: var(--text);
  --btn-border: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  --btn-bg: linear-gradient(135deg, #e0b25e, #c48a2e);
  --btn-color: #1a1205;
  --btn-border: transparent;
  background: var(--btn-bg);
  box-shadow: 0 10px 30px rgba(212, 162, 76, 0.28);
}
.btn--gold:hover { box-shadow: 0 16px 40px rgba(212, 162, 76, 0.4); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-border: rgba(255, 255, 255, 0.22);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-border: rgba(212, 162, 76, 0.45);
  --btn-color: var(--gold-2);
}
.btn--sm { padding: 0.65rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 600;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-2), var(--teal-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  color: var(--muted);
  max-width: 38ch;
  margin: 0;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  position: relative;
}

.section-head {
  margin-bottom: 2.5rem;
}
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 0 0;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video,
.hero__slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__video.is-ready { opacity: 1; }
.hero.has-video .hero__slideshow { opacity: 0; transition: opacity 1s ease; }

.hero__slideshow { z-index: 1; }

.hero__slide {
  position: absolute;
  inset: -8%;
  background: center / cover no-repeat var(--bg);
  opacity: 0;
  transform: scale(1.08);
  animation: kenburns 18s var(--ease) infinite;
  transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; }

@keyframes kenburns {
  0%   { transform: scale(1.08) translate3d(0, 0, 0); }
  50%  { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.08) translate3d(0, 0, 0); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(7, 20, 15, 0.35) 0%, rgba(7, 20, 15, 0.15) 35%, rgba(7, 20, 15, 0.78) 72%, rgba(7, 20, 15, 0.98) 100%),
    linear-gradient(90deg, rgba(7, 20, 15, 0.7) 0%, transparent 55%);
}

.hero__orbs {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.hero__orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: floatOrb 12s ease-in-out infinite;
}
.hero__orbs span:nth-child(1) {
  width: 280px; height: 280px; left: 10%; top: 20%;
  background: rgba(61, 139, 122, 0.55);
}
.hero__orbs span:nth-child(2) {
  width: 220px; height: 220px; right: 12%; top: 30%;
  background: rgba(212, 162, 76, 0.4);
  animation-delay: -4s;
}
.hero__orbs span:nth-child(3) {
  width: 180px; height: 180px; left: 40%; bottom: 20%;
  background: rgba(126, 201, 181, 0.3);
  animation-delay: -7s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

.hero__content {
  position: relative;
  z-index: 5;
  padding-bottom: 7rem;
  max-width: 920px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-soft);
  box-shadow: 0 0 0 0 rgba(126, 201, 181, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 1.4rem;
  font-weight: 700;
}

.hero__title-line { display: block; }
.hero__title-line--accent {
  background: linear-gradient(100deg, var(--gold-2) 10%, #fff 45%, var(--teal-soft) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.1em;
}

.hero__lead {
  max-width: 52ch;
  color: rgba(243, 240, 231, 0.82);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin: 0 0 1.8rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  min-width: 140px;
}
.stat-pill strong {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--gold-2);
}
.stat-pill span {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero__scroll {
  position: absolute;
  right: max(1.25rem, calc((100% - var(--container)) / 2));
  bottom: 6.5rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero__scroll i {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
  display: block;
  animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

.hero__marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 20, 15, 0.55);
  backdrop-filter: blur(10px);
  overflow: hidden;
  height: 52px;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 240, 231, 0.55);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================= ABOUT ================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__visual {
  position: relative;
  min-height: 520px;
}

.about__frame {
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.about__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__frame--main {
  width: 86%;
  height: 480px;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}
.about__frame--float {
  position: absolute;
  width: 48%;
  height: 220px;
  right: 0;
  bottom: 0;
  transform: rotate(3deg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.about__chip {
  position: absolute;
  left: 8%;
  bottom: 28%;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(12, 31, 23, 0.88);
  border: 1px solid rgba(212, 162, 76, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.about__chip span { font-size: 1.4rem; }
.about__chip strong { display: block; font-size: 0.95rem; }
.about__chip small { color: var(--muted); font-size: 0.78rem; }

.about__copy p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 48ch;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.about__facts div {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}
.about__facts strong {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--gold-2);
}
.about__facts span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ================= BENTO ================= */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.bento__card {
  position: relative;
  padding: 1.4rem;
  border-radius: 1.35rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 160px;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.bento__card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 162, 76, 0.35);
  background: linear-gradient(160deg, rgba(212,162,76,0.1), rgba(255,255,255,0.03));
}
.bento__card:nth-child(1) { grid-column: span 1; }
.bento__card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-family: var(--display);
  font-weight: 600;
}
.bento__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.bento__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(212, 162, 76, 0.12);
  color: var(--gold-2);
  border: 1px solid rgba(212, 162, 76, 0.2);
}
.bento__icon svg { width: 22px; height: 22px; }

.bento__card--wide {
  grid-column: span 2;
  min-height: 220px;
  display: flex;
  align-items: end;
  padding: 1.6rem;
}
.bento__wide-bg {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  filter: saturate(0.9);
}
.bento__wide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7,20,15,0.92) 20%, rgba(7,20,15,0.35) 100%);
}
.bento__wide-copy {
  position: relative;
  z-index: 1;
  max-width: 34ch;
}
.bento__wide-copy .eyebrow { color: var(--gold-2); }
.bento__wide-copy h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

/* ================= CABINS ================= */
.cabins {
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(61,139,122,0.12), transparent),
    transparent;
}

.cabin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cabin-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.cabin-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,162,76,0.35);
}

.cabin-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.cabin-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.cabin-card:hover .cabin-card__media img { transform: scale(1.06); }

.cabin-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(7,20,15,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  color: var(--gold-2);
}

.cabin-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  flex: 1;
}

.cabin-card__top h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
}
.cabin-card__guests {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cabin-card__list {
  display: grid;
  gap: 0.45rem;
  flex: 1;
}
.cabin-card__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.cabin-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.cabin-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.cabin-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.cabin-card__price strong {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--gold-2);
}

/* ================= GALLERY ================= */
.gallery-rail {
  margin: 0 0 2rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery-rail__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: galleryScroll 50s linear infinite;
  padding: 0.5rem 0;
}
.gallery-rail:hover .gallery-rail__track { animation-play-state: paused; }
@keyframes galleryScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.gallery-rail__item {
  margin: 0;
  width: min(320px, 70vw);
  aspect-ratio: 4/3;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  flex: none;
}
.gallery-rail__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.gallery-tile {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  cursor: zoom-in;
  background: none;
  aspect-ratio: 4/3;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.gallery-tile:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-tile:hover {
  transform: scale(1.015);
  border-color: rgba(212,162,76,0.4);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= NEARBY ================= */
.nearby {
  background: linear-gradient(180deg, transparent, rgba(18, 42, 32, 0.55), transparent);
}
.nearby__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.nearby__list {
  display: grid;
  gap: 0.85rem;
}
.nearby__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.nearby__item:hover {
  border-color: rgba(126, 201, 181, 0.35);
  transform: translateX(6px);
}
.nearby__num {
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.1rem;
  padding-top: 0.15rem;
}
.nearby__item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.nearby__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ================= REVIEWS ================= */
.rating-badge {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
}
.rating-badge__score {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--gold-2);
  line-height: 1;
}
.rating-badge p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.rating-badge a {
  color: var(--teal-soft);
  font-size: 0.88rem;
}

.stars { color: rgba(255,255,255,0.2); letter-spacing: 0.08em; }
.star--on { color: var(--gold); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-card {
  margin: 0;
  padding: 1.4rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 220px;
}
.review-card p {
  margin: 0;
  flex: 1;
  color: rgba(243, 240, 231, 0.9);
  font-size: 0.98rem;
}
.review-card footer {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ================= BOOKING ================= */
.booking {
  position: relative;
}
.booking::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(212,162,76,0.08), transparent 65%);
  pointer-events: none;
}
.booking__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.booking__points {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.booking__points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
}
.booking__points svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex: none;
}
.booking__points a:hover { color: var(--gold-2); }

.payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.payment-tags span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.8rem;
  color: var(--muted);
}

.booking__form-wrap {
  padding: 1.5rem;
  border-radius: 1.75rem;
  background: rgba(12, 31, 23, 0.85);
  border: 1px solid rgba(212, 162, 76, 0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.booking__form-wrap::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal), transparent);
}

.booking-form {
  display: grid;
  gap: 1rem;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.booking-form label {
  display: grid;
  gap: 0.4rem;
}
.booking-form label span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: rgba(212, 162, 76, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.12);
}
.booking-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-note {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.form-note a { color: var(--gold-2); text-decoration: underline; }

.form-alert {
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.form-alert--ok {
  background: rgba(111, 191, 140, 0.12);
  border: 1px solid rgba(111, 191, 140, 0.35);
  color: #b8ecc9;
}
.form-alert--err {
  background: rgba(224, 122, 106, 0.12);
  border: 1px solid rgba(224, 122, 106, 0.35);
  color: #f3b5ab;
}

/* ================= CONTACTS ================= */
.contacts__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.25rem;
  align-items: stretch;
}
.contacts__card {
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
}
.contacts__card p { color: var(--muted); }
.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.contacts__map {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
  background: var(--bg-3);
}
.contacts__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

/* ================= FOOTER ================= */
.site-footer {
  position: relative;
  background: #050e0a;
  padding: 0 0 2rem;
  margin-top: 2rem;
}
.footer-wave {
  color: #050e0a;
  margin-top: -1px;
  line-height: 0;
  transform: translateY(-78px);
  margin-bottom: -78px;
}
.footer-wave svg { width: 100%; height: 80px; display: block; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}
.footer-brand p {
  color: var(--muted);
  max-width: 34ch;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.footer-social {
  display: flex;
  gap: 0.65rem;
}
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--gold-2);
  transition: transform 0.25s, border-color 0.25s;
}
.footer-social a:hover {
  transform: translateY(-3px);
  border-color: rgba(212,162,76,0.45);
}
.footer-social svg { width: 18px; height: 18px; }

.site-footer h4 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
}
.footer-links {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-links a:hover { color: var(--gold-2); }

.footer-cta-card {
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: linear-gradient(160deg, rgba(212,162,76,0.16), rgba(61,139,122,0.1));
  border: 1px solid rgba(212,162,76,0.25);
}
.footer-cta-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.15rem;
}
.footer-cta-card p { color: var(--muted); margin: 0 0 1rem; font-size: 0.9rem; }
.footer-cta-card .eyebrow { margin-bottom: 0.5rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--teal-soft); }
.footer-meta { margin: 0; }
.footer-bottom p { margin: 0; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 8, 6, 0.92);
  display: grid;
  place-items: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: var(--header-h) 1rem auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem;
    border-radius: 1.1rem;
    background: rgba(7, 20, 15, 0.94);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.9rem 1rem;
    border-radius: 0.8rem;
  }
  .nav a:hover { background: var(--surface); }
  .nav a::after { display: none; }

  .header-actions .btn--sm { display: none; }

  .about__grid,
  .nearby__grid,
  .booking__grid,
  .contacts__grid,
  .cabin-grid,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card--wide { grid-column: span 2; }

  .about__visual { min-height: 420px; }
  .about__frame--main { height: 360px; width: 90%; }
  .about__facts { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-tile:nth-child(1) { grid-column: span 2; }

  .hero__scroll { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 1.5rem, var(--container)); }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-tile:nth-child(1) { grid-column: span 1; aspect-ratio: 4/3; }
  .stat-pill { min-width: calc(50% - 0.4rem); flex: 1; }
  .logo small { display: none; }
  .hero__content { padding-bottom: 5.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide,
  .hero__orbs span,
  .marquee-track,
  .gallery-rail__track,
  .pulse-dot,
  .hero__scroll i { animation: none !important; }
}
