/* =====================================================
   REFÚGIO SKYE — Design System
   Forest green + Parchment cream + Highland moss + Tartan accent
   ===================================================== */

:root {
  /* Surfaces — deep forest at night */
  --bg: #1b2620;          /* main bg — warm dark forest */
  --bg-2: #131c17;        /* sunken: alt sections + footer */
  --bg-3: #232f28;        /* slightly lighter — inputs */
  --surface: #2b3830;     /* cards elevated */
  --surface-2: #354239;   /* hover */
  --border: rgba(237, 229, 211, 0.10);
  --border-strong: rgba(237, 229, 211, 0.18);

  /* Text — parchment cream */
  --text: #ede5d3;
  --text-muted: #b5ac9b;
  --text-faint: #847b6c;

  /* Brand — highland moss green */
  --moss: #7ba76b;
  --moss-soft: #9bbf8c;
  --moss-dark: #5a8a4d;
  --on-moss: #14201a;

  /* Tartan red accent (rare highlights) */
  --tartan: #c44a3f;

  /* Layout */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
}

/* Hide native scrollbar — custom JS rail */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar,
::-webkit-scrollbar { display: none; width: 0; height: 0; }

.scrollbar-rail {
  position: fixed;
  top: 0; right: 0;
  width: 10px;
  height: 100vh;
  background: #000;
  z-index: 9998;
  pointer-events: none;
}
.scrollbar-thumb {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--moss);
  border-radius: 0;
  will-change: transform, height;
}
@media (max-width: 640px) { .scrollbar-rail { width: 6px; } }

* { box-sizing: border-box; }
*::selection { background: rgba(123, 167, 107, .35); color: var(--text); }

html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background:
    radial-gradient(900px 600px at 80% 10%, rgba(123, 167, 107, 0.07), transparent 60%),
    radial-gradient(700px 500px at 10% 70%, rgba(196, 74, 63, 0.04), transparent 60%),
    var(--bg);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Progress bar */
.progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0; z-index: 9999;
  background: var(--moss);
  box-shadow: 0 0 12px rgba(123, 167, 107, .5);
  transition: width .15s ease;
}

/* =====================================================
   Navbar
   ===================================================== */
.navbar {
  position: fixed; top: 0; left: 0;
  width: 100%; z-index: 100;
  background: rgba(19, 28, 23, 0.94);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-strong);
  transition: background .25s, box-shadow .25s;
}
.navbar .nav-inner {
  width: min(var(--container), 92%);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
}
.navbar.scrolled {
  background: rgba(15, 22, 18, 0.97);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.logo { display: inline-flex; align-items: center; gap: .65rem; }
.logo-mark {
  width: 32px; height: 32px;
  color: var(--moss);
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: .22em;
  color: var(--text);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative;
  padding: .6rem .9rem;
  font-family: 'Inter', sans-serif;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color .2s;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav a::after {
  content: '';
  position: absolute;
  left: .9rem; right: .9rem;
  bottom: .15rem;
  height: 2px;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

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

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: 'Inter', sans-serif;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s, box-shadow .25s, border-color .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn.primary {
  background: var(--moss); color: var(--on-moss);
  box-shadow: 0 8px 24px -6px rgba(123, 167, 107, .5);
}
.btn.primary:hover {
  background: var(--moss-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(123, 167, 107, .65);
}
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(237, 229, 211, 0.22);
}
.btn.ghost:hover {
  background: rgba(237, 229, 211, .05);
  border-color: rgba(237, 229, 211, .4);
  transform: translateY(-2px);
}
.btn.sm { padding: .6rem 1.05rem; font-size: .72rem; }
.btn.lg { padding: 1.15rem 2rem; font-size: .95rem; }
.btn.lang-btn { padding: .55rem .85rem; font-size: .72rem; letter-spacing: .02em; gap: .4rem; }
.btn.lang-btn span { font-weight: 700; }
.btn .arrow { transition: transform .25s; display: inline-flex; }
.btn:hover .arrow { transform: translateX(3px); }

/* =====================================================
   Hero — split layout with Highland scene
   ===================================================== */
#header {
  position: relative;
  background:
    radial-gradient(900px 600px at 25% 30%, rgba(123, 167, 107, 0.10), transparent 60%),
    radial-gradient(700px 500px at 80% 70%, rgba(196, 74, 63, 0.04), transparent 60%),
    var(--bg);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  place-items: center stretch;
  text-align: left;
  width: min(var(--container), 92%);
  margin: 0 auto;
  padding: 8rem 0 6rem;
  min-height: 100vh;
  min-height: 100svh;
}
.hero-content { max-width: 640px; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 7rem 0 4rem; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: rgba(123, 167, 107, .08);
  border: 1px solid rgba(123, 167, 107, .22);
  font-family: 'Inter', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--moss-soft);
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 12px var(--moss);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 1.8rem 0 0;
  color: var(--text);
}
.hero h1 .accent {
  font-style: italic;
  color: var(--moss-soft);
  font-weight: 400;
}
.hero-sub {
  margin: 1.8rem 0 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 580px;
}
@media (max-width: 940px) { .hero-sub { margin-left: auto; margin-right: auto; } }
.hero-sub strong {
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(180deg, transparent 62%, rgba(123, 167, 107, .22) 62%, rgba(123, 167, 107, .22) 92%, transparent 92%);
  padding: 0 .15em;
}

.cta-wrap {
  margin-top: 2.4rem;
  display: inline-flex; flex-wrap: wrap;
  gap: .8rem;
}
@media (max-width: 940px) { .cta-wrap { justify-content: center; } }

/* =====================================================
   Highland Scene — Nessie animation
   ===================================================== */
.hero-visual { display: grid; place-items: center; width: 100%; }
.scene {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 6/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #1a2b25 0%, #1f3429 40%, #1c2c24 70%, #0f1a14 100%);
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, .4),
    0 20px 60px -20px rgba(0, 0, 0, .55);
  border: 1px solid var(--border-strong);
}
@media (max-width: 940px) { .scene { max-width: 460px; } }
@media (max-width: 480px) { .scene { max-width: 360px; } }

/* Twinkling stars */
.scene-stars { position: absolute; inset: 0; }
.scene-stars span {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--text);
  border-radius: 50%;
  opacity: .5;
  animation: twinkle 3s ease-in-out infinite;
}
.scene-stars span:nth-child(1) { top: 8%; left: 12%; animation-delay: 0s; }
.scene-stars span:nth-child(2) { top: 14%; left: 28%; animation-delay: .6s; width: 3px; height: 3px; }
.scene-stars span:nth-child(3) { top: 6%; left: 48%; animation-delay: 1.2s; }
.scene-stars span:nth-child(4) { top: 18%; left: 65%; animation-delay: 1.8s; width: 3px; height: 3px; }
.scene-stars span:nth-child(5) { top: 10%; left: 82%; animation-delay: 2.4s; }
.scene-stars span:nth-child(6) { top: 22%; left: 6%; animation-delay: 1.5s; }
.scene-stars span:nth-child(7) { top: 4%; left: 70%; animation-delay: .3s; width: 3px; height: 3px; }
@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Moon */
.scene-moon {
  position: absolute;
  top: 12%; right: 15%;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f5ebd0, #ddc998 70%, #b8a47c);
  box-shadow:
    0 0 30px rgba(245, 235, 208, 0.25),
    inset -8px -10px 0 rgba(0,0,0,.06);
  animation: moon-glow 5s ease-in-out infinite;
}
@keyframes moon-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(245, 235, 208, 0.25); }
  50% { box-shadow: 0 0 50px rgba(245, 235, 208, 0.4); }
}

/* Mountains — SVG layers */
.scene-mountains {
  position: absolute;
  bottom: 35%; left: 0;
  width: 100%; height: 45%;
}

/* Cabins */
.cabins {
  position: absolute;
  bottom: 34%; left: 0;
  width: 100%; display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 0 8%;
  z-index: 2;
}
.cabin {
  position: relative;
  color: var(--moss-soft);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}
.cabin.small  { width: 60px; opacity: .9; }
.cabin.medium { width: 75px; }
.cabin.large  { width: 70px; opacity: .95; }
.cabin svg { width: 100%; height: auto; }
.cabin .smoke {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(237, 229, 211, .35);
  animation: smoke 4s ease-in infinite;
}
.cabin.medium .smoke { animation-delay: 1s; }
.cabin.large .smoke { animation-delay: 2s; }
@keyframes smoke {
  0% { transform: translateX(-50%) translateY(0) scale(.6); opacity: .55; }
  100% { transform: translateX(-50%) translateY(-50px) scale(1.4); opacity: 0; }
}
.cabin .window {
  position: absolute;
  background: rgba(245, 197, 70, 0.9);
  box-shadow: 0 0 8px rgba(245, 197, 70, 0.6);
  border-radius: 1px;
  animation: window-flicker 5s ease-in-out infinite;
}
@keyframes window-flicker {
  0%, 100% { opacity: 1; }
  47% { opacity: .8; }
  50% { opacity: .6; }
  53% { opacity: .95; }
}

/* Water/Lake */
.scene-water {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 35%;
  background: linear-gradient(180deg, #2c4138 0%, #1a2922 60%, #0e1812 100%);
  overflow: hidden;
}
.water-waves {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background-image:
    radial-gradient(circle at 10px 8px, rgba(237, 229, 211, .18) 1px, transparent 2px),
    radial-gradient(circle at 30px 4px, rgba(237, 229, 211, .12) 1px, transparent 2px),
    radial-gradient(circle at 55px 10px, rgba(237, 229, 211, .15) 1px, transparent 2px);
  background-size: 70px 14px;
  animation: water-shimmer 6s linear infinite;
}
@keyframes water-shimmer {
  from { background-position: 0 0; }
  to { background-position: 70px 0; }
}

/* Moon reflection in water */
.water-reflection {
  position: absolute;
  top: 0; right: 18%;
  width: 30px; height: 60%;
  background: linear-gradient(180deg, rgba(245, 235, 208, .25) 0%, transparent 100%);
  filter: blur(3px);
  border-radius: 50%;
}

/* Nessie — the cute monster */
.nessie {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 90px;
  height: 38px;
  color: var(--moss);
  animation: nessie-swim 16s linear infinite;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4));
}
.nessie svg { width: 100%; height: 100%; overflow: visible; }
@keyframes nessie-swim {
  0% { transform: translateX(-100px); opacity: 0; }
  6% { opacity: 1; }
  44% { transform: translateX(calc(100% + 80px)); opacity: 1; }
  46% { opacity: 0; }
  50% { transform: translateX(calc(100% + 80px)) scaleX(-1); opacity: 0; }
  54% { opacity: 1; }
  94% { transform: translateX(-100px) scaleX(-1); opacity: 1; }
  96% { opacity: 0; }
  100% { transform: translateX(-100px); opacity: 0; }
}
/* Nessie's head bob */
.nessie-head {
  transform-origin: center bottom;
  animation: nessie-bob 1.8s ease-in-out infinite;
}
@keyframes nessie-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
/* Tiny water ripples around Nessie */
.nessie-ripple {
  fill: none;
  stroke: rgba(237, 229, 211, .4);
  stroke-width: .8;
  opacity: 0;
  animation: ripple 1.2s ease-out infinite;
}
.nessie-ripple.r2 { animation-delay: .4s; }
.nessie-ripple.r3 { animation-delay: .8s; }
@keyframes ripple {
  0% { opacity: .6; transform: scale(.3); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* =====================================================
   Marquee
   ===================================================== */
.marquee {
  background: var(--moss);
  color: var(--on-moss);
  padding: 1.2rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(20, 32, 26, .15);
  border-bottom: 1px solid rgba(20, 32, 26, .15);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .05em;
}
.marquee-track .dot {
  display: inline-block;
  font-size: .6rem;
  opacity: .55;
  align-self: center;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================
   Sections
   ===================================================== */
.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 1.2rem;
  width: min(var(--container), 92%);
  margin: 0 auto;
}
.section.alt {
  background: var(--bg-2);
  margin: 0;
  width: 100%;
  padding-left: 0; padding-right: 0;
}
.section.alt .section-inner {
  width: min(var(--container), 92%);
  margin: 0 auto;
  padding: 0 1.2rem;
}

.heading {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1.2rem;
  margin-bottom: 3rem;
}
.heading .eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem 1.05rem;
  border-radius: 999px;
  background: rgba(123, 167, 107, .10);
  border: 1px solid rgba(123, 167, 107, .25);
  font-family: 'Inter', sans-serif;
  font-size: .85rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--moss-soft);
}
.heading .eyebrow::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--moss);
}
.heading h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1; margin: 0;
  color: var(--text);
}
.heading h2 .accent {
  font-style: italic; color: var(--moss-soft); font-weight: 400;
}
.heading .lead {
  color: var(--text-muted);
  max-width: 660px;
  font-size: 1.05rem; line-height: 1.65;
  margin: 0;
}

/* =====================================================
   Stats
   ===================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: min(var(--container), 92%);
  margin: 3.5rem auto 1.5rem;
  position: relative;
  z-index: 5;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.stat {
  background: var(--surface);
  padding: 1.7rem 1.4rem;
  display: flex; flex-direction: column; gap: .35rem;
  transition: background .25s;
}
.stat:hover { background: var(--surface-2); }
.stat-icon { width: 28px; height: 28px; color: var(--moss); margin-bottom: .35rem; }
.stat-icon svg { width: 20px; height: 20px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--moss-soft);
  line-height: 1;
}
.stat-label {
  margin-top: .4rem;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   Cards — Chalés
   ===================================================== */
.cabins-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) { .cabins-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }

.cabin-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s, border-color .35s, box-shadow .35s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}
.cabin-card:hover {
  transform: translateY(-6px);
  border-color: var(--moss);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(123, 167, 107, .3);
}
.cabin-card.featured { border-color: rgba(123, 167, 107, .4); }

.cabin-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #2c4138, #1a2922);
}
.cabin-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.cabin-card:hover .cabin-image img { transform: scale(1.06); }
.cabin-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(19, 28, 23, .55) 100%);
  pointer-events: none;
}

.cabin-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(19, 28, 23, .85);
  backdrop-filter: blur(8px);
  color: var(--moss-soft);
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(237, 229, 211, .15);
  z-index: 2;
}
.cabin-badge.badge-soon {
  background: var(--tartan);
  color: var(--text);
  border-color: rgba(237, 229, 211, .25);
}

/* Coming soon cards: SVG Nessie animation (no overlay, no desaturation) */
.cabin-card.coming-soon .cabin-image::after { display: none; }

/* Nessie building animation
   ------------------------------------------------ */
.nessie-building {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* Nessie bobs gently up and down */
.nb-nessie {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: nbBob 2.4s ease-in-out infinite;
}
@keyframes nbBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Hammer taps the cabin — pivot at handle top (the translate point) */
.nb-hammer-pivot {
  transform-origin: 72px -10px;
}
.nb-hammer {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: nbHammer 1.2s ease-in-out infinite;
}
@keyframes nbHammer {
  0%, 100% { transform: rotate(-25deg); }
  40%      { transform: rotate(-25deg); }
  55%      { transform: rotate(35deg); }
  70%      { transform: rotate(20deg); }
  85%      { transform: rotate(-25deg); }
}

/* Sparkles flash where the hammer hits */
.nb-spark {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: nbSpark 1.2s ease-out infinite;
}
.nb-spark.s1 { animation-delay: 0.55s; }
.nb-spark.s2 { animation-delay: 0.62s; }
.nb-spark.s3 { animation-delay: 0.58s; }
.nb-spark.s4 { animation-delay: 0.65s; }
@keyframes nbSpark {
  0%   { opacity: 0; transform: scale(.4); }
  20%  { opacity: 1; transform: scale(1.1); }
  60%  { opacity: 0; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* Plank floats with a tiny rotation */
.nb-plank {
  transform-box: fill-box;
  transform-origin: center;
  animation: nbPlank 3.6s ease-in-out infinite;
}
@keyframes nbPlank {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}

/* Stars twinkle softly, staggered by nth-child */
.nb-stars circle {
  animation: nbTwinkle 2.6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.nb-stars circle:nth-child(1) { animation-delay: 0s; }
.nb-stars circle:nth-child(2) { animation-delay: .4s; }
.nb-stars circle:nth-child(3) { animation-delay: .9s; }
.nb-stars circle:nth-child(4) { animation-delay: 1.3s; }
.nb-stars circle:nth-child(5) { animation-delay: .2s; }
.nb-stars circle:nth-child(6) { animation-delay: 1.6s; }
.nb-stars circle:nth-child(7) { animation-delay: .7s; }
.nb-stars circle:nth-child(8) { animation-delay: 2.0s; }
@keyframes nbTwinkle {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

/* Pause animations on reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .nb-nessie, .nb-hammer, .nb-spark, .nb-plank, .nb-stars circle {
    animation: none;
  }
}

.cabin-cta.notify {
  border-color: rgba(196, 74, 63, .55);
  color: var(--tartan);
}
.cabin-cta.notify:hover {
  background: var(--tartan);
  color: var(--text);
  border-color: var(--tartan);
}

.cabin-body {
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex; flex-direction: column; gap: 1rem;
  flex: 1;
}
.cabin-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
.cabin-name .accent {
  font-style: italic;
  color: var(--moss-soft);
  font-weight: 600;
  font-size: 1em;
  margin-left: .25em;
}
.cabin-desc {
  color: var(--text-muted);
  font-size: .96rem;
  line-height: 1.6;
  margin: 0;
}
.cabin-features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.cabin-features li {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(123, 167, 107, .10);
  border: 1px solid rgba(123, 167, 107, .22);
  color: var(--text);
  font-size: .75rem;
  font-weight: 500;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.cabin-features li svg { width: 12px; height: 12px; color: var(--moss); }

.cabin-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .85rem 1.1rem;
  background: transparent;
  border: 1px solid var(--moss);
  color: var(--moss-soft);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .25s, color .25s, transform .25s;
}
.cabin-cta:hover {
  background: var(--moss);
  color: var(--on-moss);
  transform: translateY(-2px);
}
.cabin-cta svg { width: 14px; height: 14px; }

/* =====================================================
   Região — attractions list
   ===================================================== */
.attractions {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) { .attractions { grid-template-columns: 1fr; } }

.attraction {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  display: flex; gap: 1.1rem;
  align-items: flex-start;
  transition: transform .3s, border-color .3s, background .3s;
}
.attraction:hover {
  transform: translateX(4px);
  border-color: var(--moss);
  background: var(--surface-2);
}
.attraction-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(123, 167, 107, .12);
  border: 1px solid rgba(123, 167, 107, .25);
  color: var(--moss);
  display: grid; place-items: center;
}
.attraction-icon svg { width: 22px; height: 22px; }
.attraction-body { flex: 1; }
.attraction h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 .35rem;
  color: var(--text);
}
.attraction-meta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: .55rem;
}
.attraction p {
  margin: 0;
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.55;
}

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.6rem;
  position: relative;
  transition: transform .3s, border-color .3s, background .3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--moss);
  background: var(--surface-2);
}
.t-quote-mark {
  position: absolute;
  top: -.5rem; left: 1.2rem;
  font-family: 'Playfair Display', serif;
  font-size: 5rem; line-height: 1;
  color: var(--moss);
  opacity: .55;
  pointer-events: none;
}
.t-quote {
  margin: 0 0 1.4rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.55;
}
.t-author { display: flex; align-items: center; gap: .8rem; }
.t-stars { color: var(--moss); font-size: .9rem; letter-spacing: .15em; margin-bottom: .35rem; }
.t-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
}
.t-meta { display: flex; flex-direction: column; }
.t-role {
  font-size: .78rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}
@media (max-width: 980px) { .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; } }

/* =====================================================
   Contact
   ===================================================== */
.contact-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}
.contact-item {
  background: var(--surface);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: background .25s;
}
.contact-item:hover { background: var(--surface-2); }
.contact-icon {
  width: 44px; height: 44px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  background: rgba(123, 167, 107, .12);
  border: 1px solid rgba(123, 167, 107, .28);
  color: var(--moss);
  display: grid; place-items: center;
  transition: transform .25s;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item:hover .contact-icon { transform: translateY(-3px); }
.contact-label {
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .8rem;
  font-weight: 600;
}
.contact-item a, .contact-item span {
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  transition: color .2s;
  word-break: break-word;
}
.contact-item a:hover { color: var(--moss); }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background: var(--bg-2);
  padding: 4rem 1.2rem 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  width: min(var(--container), 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer .brand-col p {
  color: var(--text-muted);
  margin: 1rem 0 0;
  max-width: 340px;
  line-height: 1.6;
  font-size: .94rem;
}
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1.1rem;
  font-weight: 700;
}
.footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.footer a {
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: color .2s;
}
.footer a:hover { color: var(--moss-soft); }
.footer-bottom {
  width: min(var(--container), 92%);
  margin: 2.8rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bottom p {
  color: var(--text-faint);
  font-size: .82rem;
  margin: 0;
}
.footer-bottom .muted {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}
.socials { display: flex; gap: .55rem; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: all .25s;
}
.socials a:hover {
  background: var(--moss);
  color: var(--on-moss);
  border-color: var(--moss);
  transform: translateY(-2px);
}
.socials svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer .brand-col { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer .brand-col { grid-column: span 1; }
}

/* =====================================================
   Mobile menu
   ===================================================== */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(237, 229, 211, .14);
  background: rgba(237, 229, 211, .04);
  color: var(--text); cursor: pointer; padding: 0;
}
.hamburger:hover { background: rgba(237, 229, 211, .08); border-color: var(--moss); }
.hamburger .icon-close { display: none; }
.hamburger.open .icon-open { display: none; }
.hamburger.open .icon-close { display: inline-block; }
.hamburger svg { width: 18px; height: 18px; }

@media (max-width: 940px) {
  .nav {
    position: fixed;
    top: 70px; left: 50%;
    transform: translateX(-50%) translateY(-12px);
    width: min(94vw, 420px);
    background: rgba(19, 28, 23, 0.97);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: .55rem;
    flex-direction: column;
    gap: 0;
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open {
    opacity: 1; pointer-events: auto; visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav a { padding: .9rem 1rem; font-size: .9rem; }
  .nav a::after { display: none; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 640px) {
  .actions .btn.primary { display: none; }
}

/* =====================================================
   Reveal
   ===================================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .nessie { display: none; }
  .marquee-track { animation: none; }
}
