/* ====================================================================
   HOTEL ALPINA GRÄCHEN — Alpine Quiet Luxury
   Slate mineral dark · Alpine snow type · Champagne gold accents
   Cormorant Garamond (editorial serif) + Plus Jakarta Sans (technical)
   ==================================================================== */

:root {
  --slate: #0A0D12;
  --slate-2: #0D1118;
  --snow: #F4F5F7;
  --pine: #141E1B;
  --granite: #1F242D;
  --granite-2: #262C37;
  --gold: #C5A059;
  --gold-bright: #D4AF37;
  --muted: rgba(244, 245, 247, .58);
  --faint: rgba(244, 245, 247, .50);
  --line: rgba(244, 245, 247, .09);
  --line-strong: rgba(244, 245, 247, .16);
  --gold-line: rgba(197, 160, 89, .35);
  --shadow-lg: 0 40px 90px -24px rgba(0, 0, 0, .65);
  --shadow-md: 0 22px 54px -20px rgba(0, 0, 0, .55);
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-exp: cubic-bezier(.87, 0, .13, 1);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--snow);
  background: var(--slate);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--slate); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: .005em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold); }

.container { width: min(1280px, 92vw); margin-inline: auto; }
.section { padding: clamp(90px, 11vw, 170px) 0; position: relative; }

/* Grain overlay for mineral texture */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 3;
  opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Atmospheric snow canvas ---------- */
#snowCanvas {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: .55;
}

/* ---------- Custom cursor ---------- */
@media (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button,
  body.has-cursor input, body.has-cursor select, body.has-cursor textarea,
  body.has-cursor label { cursor: none; }
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 600; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px; background: var(--snow);
  transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), background .3s;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(244, 245, 247, .35);
  display: flex; align-items: center; justify-content: center;
  transition: width .45s var(--ease), height .45s var(--ease),
              border-color .45s, background .45s;
}
.cursor-ring span {
  font-size: 9.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--slate); opacity: 0; transition: opacity .3s; white-space: nowrap;
}
.cursor-hidden .cursor-dot, .cursor-hidden .cursor-ring { opacity: 0; }
body.cursor-cta .cursor-ring {
  width: 62px; height: 62px;
  border-color: var(--gold); background: rgba(197, 160, 89, .12);
}
body.cursor-cta .cursor-dot { background: var(--gold); }
body.cursor-view .cursor-ring {
  width: 92px; height: 92px;
  background: var(--snow); border-color: var(--snow);
}
body.cursor-view .cursor-ring span { opacity: 1; }
body.cursor-view .cursor-dot { opacity: 0; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Cinematic preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 500;
  background: var(--slate);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 34px;
}
.preloader.done { pointer-events: none; }
.pre-mark { width: 64px; height: 64px; opacity: 0; animation: preIn 1s var(--ease) .1s forwards; }
.pre-title {
  text-align: center; opacity: 0; animation: preIn 1s var(--ease) .3s forwards;
}
.pre-title strong {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4.6vw, 46px); letter-spacing: .34em; padding-left: .34em;
}
.pre-title small {
  display: block; margin-top: 10px;
  font-size: 10.5px; font-weight: 400; letter-spacing: .42em; padding-left: .42em;
  text-transform: uppercase; color: var(--muted);
}
.pre-progress {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; animation: preIn 1s var(--ease) .5s forwards;
}
.pre-label {
  font-size: 9.5px; font-weight: 400; letter-spacing: .32em; padding-left: .32em;
  text-transform: uppercase; color: var(--faint);
}
.pre-count { font-family: var(--font-display); font-size: 15px; font-style: italic; color: var(--gold); letter-spacing: .1em; }
.pre-bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.pre-bar i { display: block; height: 100%; width: 0%; background: var(--gold); transition: width .25s var(--ease); }
.pre-beam {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-bright), transparent);
  transform: translateX(-50%) scaleY(0); opacity: 0;
}
.preloader.beam .pre-mark, .preloader.beam .pre-title, .preloader.beam .pre-progress {
  animation: preOut .5s var(--ease) forwards;
}
.preloader.beam .pre-beam { animation: beamIn .55s var(--ease-exp) .25s forwards; }
.preloader.open { animation: doorsOpen 1s var(--ease-exp) forwards; }
@keyframes preIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes preOut { to { opacity: 0; transform: translateY(-14px); } }
@keyframes beamIn { from { transform: translateX(-50%) scaleY(0); opacity: 0; } to { transform: translateX(-50%) scaleY(1); opacity: 1; } }
@keyframes doorsOpen { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 50% 0 50%); } }
.preloader.gone { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 13.5px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 18px 38px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: all .45s var(--ease);
  white-space: nowrap; will-change: transform;
}
.btn-sm { padding: 12px 24px; font-size: 11.5px; }
.btn-lg { padding: 21px 48px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--slate); }
.btn-gold:hover { background: var(--gold-bright); box-shadow: 0 18px 44px -14px rgba(212, 175, 55, .45); }
.btn-glass {
  background: rgba(244, 245, 247, .06); color: var(--snow);
  border-color: rgba(244, 245, 247, .28); backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(244, 245, 247, .14); border-color: rgba(244, 245, 247, .5); }
.btn-dark {
  background: transparent; color: var(--snow);
  border-color: var(--line-strong);
}
.btn-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark {
  background: transparent; color: var(--snow);
  border-color: var(--line-strong);
}
.btn-outline-dark:hover { border-color: var(--snow); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 26px 0;
  transition: all .5s var(--ease);
}
.header-inner {
  width: min(1400px, 94vw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(10, 13, 18, .78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--snow); }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  letter-spacing: .3em;
}
.brand-text small {
  font-size: 9px; font-weight: 400; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
}
.main-nav { display: flex; gap: 36px; }
.main-nav a {
  color: var(--muted); font-size: 11.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  position: relative; padding: 6px 0; transition: color .35s;
  white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .4s var(--ease);
}
.main-nav a:hover { color: var(--snow); }
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { color: var(--muted); font-size: 12.5px; letter-spacing: .08em; transition: color .3s; }
.header-phone:hover { color: var(--gold); }
.nav-toggle {
  display: none; flex-direction: column; gap: 7px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 28px; height: 1.5px; background: var(--snow); transition: all .4s var(--ease); }
.nav-toggle.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Mobile overlay menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--slate);
  display: flex; flex-direction: column; justify-content: center; gap: 52px;
  padding: 100px 8vw 60px;
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.overlay-nav { display: flex; flex-direction: column; gap: 6px; }
.overlay-nav a {
  font-family: var(--font-display); font-size: clamp(32px, 6.4vw, 52px); font-weight: 500;
  color: var(--snow); padding: 8px 0;
  transform: translateY(26px); opacity: 0; transition: all .6s var(--ease);
}
.menu-overlay.open .overlay-nav a { transform: none; opacity: 1; }
.overlay-nav a:nth-child(2) { transition-delay: .05s; }
.overlay-nav a:nth-child(3) { transition-delay: .1s; }
.overlay-nav a:nth-child(4) { transition-delay: .15s; }
.overlay-nav a:nth-child(5) { transition-delay: .2s; }
.overlay-nav a:nth-child(6) { transition-delay: .25s; }
.overlay-nav a:hover { color: var(--gold); }
.overlay-nav em {
  font-size: 11px; vertical-align: super; color: var(--gold); margin-right: 16px;
  font-style: normal; font-family: var(--font-body); letter-spacing: .1em;
}
.overlay-foot { display: flex; flex-direction: column; gap: 6px; }
.overlay-foot a { color: var(--muted); font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 26s var(--ease) both;
  will-change: transform;
  filter: saturate(.82) contrast(1.04) brightness(.92);
}
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,13,18,.72) 0%, rgba(10,13,18,.22) 34%, rgba(10,13,18,.3) 62%, rgba(10,13,18,.94) 100%),
    linear-gradient(100deg, rgba(10,13,18,.66) 0%, rgba(10,13,18,.05) 62%);
}
.hero-content {
  width: min(1280px, 92vw); margin-inline: auto;
  padding-top: 90px;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding: 11px 20px; border-radius: 999px;
  background: rgba(244, 245, 247, .07); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.pill .star { color: var(--gold-bright); }
.pill-outline { background: transparent; }
.hero h1 {
  font-size: clamp(58px, 10vw, 136px);
  font-weight: 500;
  margin-bottom: 30px;
  text-wrap: balance;
}
.hero-sub {
  max-width: 580px; font-size: clamp(15px, 1.5vw, 17.5px);
  font-weight: 300; color: rgba(244, 245, 247, .82);
  margin-bottom: 46px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px; }
.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 46px; border: 1px solid rgba(244,245,247,.32); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 9px; z-index: 4;
}
.scroll-cue span {
  width: 2px; height: 9px; border-radius: 2px; background: var(--gold);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(15px); opacity: 0; } }

/* Hero entrance (after preloader) */
.reveal-hero { opacity: 0; transform: translateY(36px); }
body.loaded .reveal-hero { animation: heroIn 1.2s var(--ease) forwards; }
body.loaded .reveal-hero.d1 { animation-delay: .18s; }
body.loaded .reveal-hero.d2 { animation-delay: .36s; }
body.loaded .reveal-hero.d3 { animation-delay: .54s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Booking bar ---------- */
.bookbar-wrap { position: relative; z-index: 5; margin-top: clamp(60px, 8vw, 130px); padding-bottom: 10px; }
.bookbar {
  width: min(1120px, 92vw); margin-inline: auto;
  background: linear-gradient(160deg, var(--granite), #1A1F28);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
  padding: 34px clamp(24px, 4vw, 48px) 26px;
  border: 1px solid var(--gold-line);
}
.bookbar-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 24px; }
.bookbar-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); }
.bookbar-title em { color: var(--gold); font-style: italic; }
.bookbar-note { font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.bookbar-form {
  display: flex; align-items: center; gap: clamp(8px, 1.6vw, 20px);
  background: rgba(10, 13, 18, .55); border: 1px solid var(--line);
  border-radius: 16px; padding: 10px 10px 10px clamp(18px, 2.4vw, 28px);
}
.bb-field {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  flex: 1; min-width: 0; min-height: 62px;
}
.bb-field label { font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.bb-field select {
  border: 0; background: transparent; font-family: var(--font-body);
  font-size: 15px; font-weight: 400; color: var(--snow); outline: none; width: 100%;
  color-scheme: dark; height: 26px; cursor: pointer; border-radius: 4px;
}
.bb-field select:focus { box-shadow: 0 0 0 2px rgba(197, 160, 89, .6); }
.bb-sep { width: 1px; align-self: stretch; background: var(--line); margin: 8px 0; }
.bb-btn { align-self: center; flex-shrink: 0; }

/* ---------- Custom date trigger + calendar ---------- */
.date-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; height: 26px;
  background: transparent; border: 0; padding: 0;
  font-family: var(--font-body); font-size: 15px; font-weight: 400;
  color: var(--snow); cursor: pointer; text-align: left;
}
.date-trigger .dt-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-trigger.empty .dt-text { color: var(--faint); }
.date-trigger svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--gold); opacity: .8; }
.date-trigger:hover svg { opacity: 1; }
.date-trigger.boxed {
  height: auto; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 15px; background: rgba(10, 13, 18, .5);
  font-size: 14.5px; transition: border-color .35s, box-shadow .35s;
}
.date-trigger.boxed:hover, .date-trigger.boxed.open {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 160, 89, .14);
}
.calpop {
  position: fixed; z-index: 450;
  width: 316px;
  background: linear-gradient(165deg, var(--granite), #1A2029);
  border: 1px solid var(--gold-line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 18px 18px 14px;
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.calpop.open { opacity: 1; transform: none; pointer-events: auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title {
  font-family: var(--font-display); font-size: 19px; font-weight: 500;
  letter-spacing: .02em;
}
.cal-nav {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--snow); cursor: pointer; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.cal-nav:hover { border-color: var(--gold); color: var(--gold); }
.cal-nav[disabled] { opacity: .25; pointer-events: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow {
  text-align: center; font-size: 9px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
  padding: 6px 0 8px;
}
.cal-day {
  position: relative; height: 38px; border: 0; border-radius: 50%;
  background: transparent; color: var(--snow);
  font-family: var(--font-body); font-size: 13px; font-weight: 400;
  cursor: pointer; transition: background .25s, color .25s, box-shadow .25s;
}
.cal-day:hover:not(.disabled):not(.blank) { box-shadow: inset 0 0 0 1px var(--gold); }
.cal-day.blank { pointer-events: none; }
.cal-day.disabled { color: rgba(244, 245, 247, .18); pointer-events: none; }
.cal-day.today::after {
  content: ""; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 3px; border-radius: 50%; background: var(--gold);
}
.cal-day.in-range { background: rgba(197, 160, 89, .14); border-radius: 0; }
.cal-day.sel { background: var(--gold); color: var(--slate); font-weight: 600; border-radius: 50%; }
.cal-day.sel.sel-in.has-range { border-radius: 50% 0 0 50%; }
.cal-day.sel.sel-out { border-radius: 0 50% 50% 0; }
.cal-foot {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.cal-hint { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cal-clear {
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
  transition: color .3s;
}
.cal-clear:hover { color: var(--snow); }
.bookbar-sub { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }
.bookbar-sub a { color: var(--gold); font-weight: 500; }
.bookbar-sub.ok { color: #7FC79B; }

/* ---------- Booking dock (fixed bottom) ---------- */
.book-dock {
  position: fixed; left: 50%; bottom: 22px; z-index: 80;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: clamp(14px, 3vw, 30px);
  background: rgba(20, 24, 32, .82); backdrop-filter: blur(20px);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 10px 12px 10px clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
  transition: transform .6s var(--ease);
}
.book-dock.show { transform: translate(-50%, 0); }
.dock-info { display: flex; flex-direction: column; line-height: 1.35; }
.dock-info strong { font-family: var(--font-display); font-size: 17px; font-weight: 500; letter-spacing: .02em; }
.dock-info strong b { color: var(--gold); font-weight: 500; }
.dock-info small { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .dock-info small { display: none; } .book-dock { bottom: 14px; width: calc(100vw - 24px); justify-content: space-between; } }

/* ---------- Kinetic manifesto ---------- */
.kinetic { padding: clamp(60px, 7vw, 110px) 0 clamp(90px, 11vw, 170px); overflow: hidden; background: var(--slate); }
.kin-line {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(54px, 9.6vw, 150px); line-height: 1.06;
  white-space: nowrap; width: max-content;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 245, 247, .22);
  transition: color .8s var(--ease), -webkit-text-stroke-color .8s var(--ease);
  will-change: transform; padding-inline: 6vw;
}
.kin-line em { font-style: italic; }
.kin-line.lit { color: var(--snow); -webkit-text-stroke-color: transparent; }
.kin-line.lit em { color: var(--gold); }

/* ---------- Scroll reveal & split lines ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; }
.split-line > span {
  display: block; transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.split-ready.in .split-line > span { transform: none; }
.split-ready.in .split-line:nth-child(2) > span { transition-delay: .1s; }
.split-ready.in .split-line:nth-child(3) > span { transition-delay: .2s; }
.split-ready.in .split-line:nth-child(4) > span { transition-delay: .3s; }

/* ---------- Shared section bits ---------- */
.eyebrow {
  font-size: 10.5px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
  display: flex; align-items: center; gap: 16px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold-line); }
.eyebrow.gold { color: var(--gold); }
.eyebrow.light { color: var(--gold); }
.section h2 { font-size: clamp(38px, 5vw, 66px); margin-bottom: 30px; text-wrap: balance; }
.lead { font-size: clamp(16px, 1.6vw, 18.5px); font-weight: 300; color: rgba(244,245,247,.85); margin-bottom: 20px; }
.grid-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6.5vw, 100px); align-items: center;
}

/* ---------- Intro ---------- */
.intro { padding-top: clamp(80px, 9vw, 130px); background: var(--slate); }
.intro-text p:not(.eyebrow) { color: var(--muted); max-width: 56ch; }
.intro-text .lead { color: rgba(244,245,247,.85); }
.stats-row {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 60px);
  margin-top: 48px; padding-top: 38px; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 3.8vw, 52px); color: var(--snow); line-height: 1; }
.stat-label { font-size: 9.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }
.intro-media { position: relative; padding-bottom: 74px; }
.photo-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.photo-main img { aspect-ratio: 4/4.7; object-fit: cover; width: 100%; filter: saturate(.85); transition: transform 1.4s var(--ease); }
.photo-main:hover img { transform: scale(1.05); }
.photo-float {
  position: absolute; right: -5%; bottom: 0; width: 52%;
  border-radius: var(--radius); overflow: hidden;
  border: 5px solid var(--slate); box-shadow: var(--shadow-lg);
}
.photo-float img { aspect-ratio: 16/11; object-fit: cover; width: 100%; filter: saturate(.85); }
.photo-badge {
  position: absolute; left: -4%; top: 7%;
  background: var(--granite); color: var(--snow);
  border: 1px solid var(--gold-line);
  border-radius: 14px; padding: 18px 24px;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: var(--shadow-md); transform: rotate(-2.5deg);
}
.photo-badge span { font-size: 9px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.photo-badge strong { font-family: var(--font-display); font-weight: 500; font-size: 19px; }

/* ---------- Dark sections ---------- */
.section-dark { background: var(--pine); color: var(--snow); }
.section-dark::before, .section-dark::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line);
}
.section-dark::before { top: 0; }
.section-dark::after { bottom: 0; }
.section-head {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(30px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(50px, 5.5vw, 80px);
}
.section-head-note { color: var(--muted); font-size: 15px; max-width: 44ch; }

/* ---------- Rooms ---------- */
.room-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.room-card {
  grid-column: span 2;
  background: var(--granite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.room-card:hover { transform: translateY(-10px); border-color: var(--gold-line); box-shadow: var(--shadow-lg); }
.room-featured { grid-column: span 6; flex-direction: row; }
.room-featured .room-media { flex: 1.3; min-height: 400px; }
.room-featured .room-body { flex: 1; }
.room-media { position: relative; overflow: hidden; }
.room-card:not(.room-featured) .room-media { aspect-ratio: 16/10.5; }
.room-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
  filter: saturate(.85) contrast(1.02);
}
.room-card:hover .room-media img { transform: scale(1.09) translate(var(--px, 0), var(--py, 0)); }
.room-tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--gold); color: var(--slate);
  font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px;
}
.room-body { padding: clamp(26px, 2.8vw, 44px); display: flex; flex-direction: column; gap: 15px; flex: 1; }
.room-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.room-body h3 { font-size: clamp(25px, 2.3vw, 33px); font-weight: 500; }
.room-price { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.room-price strong { font-family: var(--font-display); font-size: clamp(21px, 2vw, 27px); color: var(--gold); font-weight: 500; letter-spacing: 0; text-transform: none; }
.room-price small { margin-left: 3px; }
.room-body > p { color: var(--muted); font-size: 14.5px; font-weight: 300; }
.room-feats { display: flex; flex-wrap: wrap; gap: 8px; }
.room-feats li {
  font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 7px 15px; color: var(--muted);
}
.room-link {
  margin-top: auto; padding-top: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; gap: 10px; align-items: center;
}
.room-link span { transition: transform .4s var(--ease); }
.room-link:hover span { transform: translateX(8px); }
.section-note { color: var(--faint); font-size: 12.5px; margin-top: 30px; }

/* ---------- Direct booking band ---------- */
.direct { background: var(--slate); }
.direct-inner {
  background: linear-gradient(150deg, var(--granite), #171C24 60%, var(--pine));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(56px, 7.5vw, 110px) clamp(28px, 6vw, 96px);
  text-align: center;
  position: relative; overflow: hidden;
}
.direct-inner::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(circle at 72% 18%, rgba(212, 175, 55, .14), transparent 44%);
  pointer-events: none;
}
.direct .eyebrow { justify-content: center; }
.direct .eyebrow::before { display: none; }
.direct h2 { margin-bottom: clamp(44px, 5vw, 70px); }
.direct-perks {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(44px, 5vw, 64px);
  text-align: left;
}
.perk { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.perk-num { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(32px, 3.6vw, 48px); color: var(--gold); display: block; margin-bottom: 14px; }
.perk h3 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.perk p { color: var(--muted); font-size: 14px; font-weight: 300; }

/* ---------- Offers ---------- */
.offers { background: var(--slate); padding-top: 0; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.offer-card {
  background: var(--granite); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.offer-card:hover { transform: translateY(-8px); border-color: var(--gold-line); box-shadow: var(--shadow-md); }
.offer-card > img { aspect-ratio: 16/9; object-fit: cover; width: 100%; filter: saturate(.85); transition: transform 1.3s var(--ease); }
.offer-card:hover > img { transform: scale(1.07); }
.offer-body { padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 13px; flex: 1; }
.offer-body h3 { font-size: 23px; font-weight: 500; }
.offer-body > p { font-size: 14px; font-weight: 300; color: var(--muted); }
.offer-price { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: auto; }
.offer-price strong { font-family: var(--font-display); font-size: 23px; color: var(--gold); font-weight: 500; letter-spacing: 0; text-transform: none; }
.offer-body .room-link { color: var(--gold); }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- Feature (gastro / wellness) ---------- */
.feature { background: var(--slate); }
.feature.reverse { background: var(--pine); }
.feature.reverse::before, .feature.reverse::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line);
}
.feature.reverse::before { top: 0; }
.feature.reverse::after { bottom: 0; }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-media img {
  aspect-ratio: 4/3.4; object-fit: cover; width: 100%;
  transition: transform 1.5s var(--ease);
  filter: saturate(.85) contrast(1.03);
}
.feature-media:hover img { transform: scale(1.07); }
.feature-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 28px 22px;
  background: linear-gradient(180deg, transparent, rgba(10, 13, 18, .88));
  color: var(--snow); font-size: 14.5px; font-style: italic; font-family: var(--font-display);
  letter-spacing: .04em;
}
.feature-text p:not(.eyebrow) { color: var(--muted); max-width: 54ch; }
.feature-text .lead { color: rgba(244,245,247,.85); }
.checklist { margin: 28px 0 38px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 16px; align-items: baseline; font-size: 14.5px; font-weight: 300; color: rgba(244,245,247,.8); }
.checklist li::before { content: "✦"; color: var(--gold); font-size: 11px; }
.checklist.light li { color: rgba(244,245,247,.8); }
.light-cap { color: var(--muted); }

/* ---------- Grächen scroller ---------- */
.erleben { padding-bottom: clamp(70px, 8vw, 110px); }
.scroller {
  display: flex; gap: clamp(16px, 2vw, 26px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(calc((100vw - 1280px) / 2), 4vw) 28px;
  scrollbar-width: none; cursor: grab;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller.dragging { cursor: grabbing; scroll-snap-type: none; }
.tip-card {
  flex: 0 0 clamp(280px, 27vw, 380px);
  scroll-snap-align: start;
  background: var(--granite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .55s var(--ease), border-color .55s var(--ease);
}
.tip-card:hover { transform: translateY(-8px); border-color: var(--gold-line); }
.tip-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; filter: saturate(.85); transition: transform 1.2s var(--ease); }
.tip-card:hover img { transform: scale(1.06); }
.tip-body { padding: 24px 26px 30px; }
.tip-body h3 { font-size: 22px; font-weight: 500; margin-bottom: 9px; }
.tip-body p { color: var(--muted); font-size: 13.5px; font-weight: 300; }
.scroller-hint { text-align: center; font-size: 9.5px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--faint); }

/* ---------- Reviews ---------- */
.reviews-sec { background: var(--slate); }
.rating-hero {
  display: flex; align-items: center; gap: clamp(24px, 3vw, 44px);
  margin-bottom: clamp(40px, 4.5vw, 60px);
}
.big-score { font-family: var(--font-display); font-weight: 500; font-size: clamp(80px, 10vw, 140px); line-height: 1; color: var(--snow); }
.rating-side .stars { color: var(--gold-bright); font-size: clamp(20px, 2.4vw, 28px); letter-spacing: 7px; }
.rating-side p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.review-card {
  background: var(--granite); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 2.8vw, 42px);
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .55s var(--ease), border-color .55s var(--ease);
}
.review-card:hover { transform: translateY(-8px); border-color: var(--gold-line); }
.review-card p { font-family: var(--font-display); font-size: 19px; font-style: italic; line-height: 1.5; color: rgba(244,245,247,.88); }
.review-card footer { font-size: 10px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); margin-top: auto; }

/* ---------- Contact ---------- */
.contact { background: var(--pine); }
.contact::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.contact-block { font-style: normal; margin-bottom: 28px; }
.contact-block p { margin-bottom: 16px; font-size: 15.5px; color: rgba(244,245,247,.85); }
.contact-block a { color: var(--gold); font-weight: 500; }
.travel { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 36px; }
.travel h3 { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.travel p { font-size: 13.5px; font-weight: 300; color: var(--muted); }
.contact-form {
  background: var(--granite); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(30px, 3.6vw, 52px);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 22px;
}
.contact-form h3 { font-size: 28px; font-weight: 500; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-field { display: flex; flex-direction: column; gap: 9px; }
.cf-field label { font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.cf-field input, .cf-field textarea {
  font-family: var(--font-body); font-size: 15px; font-weight: 300;
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 15px 17px; background: rgba(10, 13, 18, .5); color: var(--snow);
  outline: none; transition: border-color .35s, box-shadow .35s;
  resize: vertical; color-scheme: dark;
}
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 160, 89, .14); }
.form-note { font-size: 13.5px; color: #7FC79B; font-weight: 500; min-height: 1em; }
.form-note.err { color: #D08770; }

/* ---------- Inline field validation (contact form + checkout) ---------- */
.field-err { font-size: 12.5px; font-weight: 500; color: #D08770; line-height: 1.35; }
.cf-field.invalid input, .cf-field.invalid textarea,
.bm-field.invalid input, .bm-field.invalid textarea {
  border-color: rgba(208, 135, 112, .85);
  box-shadow: 0 0 0 3px rgba(208, 135, 112, .12);
}

/* ---------- Footer ---------- */
.site-footer { background: #070A0E; color: var(--snow); padding: clamp(70px, 8vw, 100px) 0 0; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(48px, 5.5vw, 70px);
}
.footer-brand p { color: var(--faint); margin-top: 20px; font-size: 14px; font-weight: 300; }
.site-footer h4 { font-size: 10px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.site-footer nav { display: flex; flex-direction: column; gap: 12px; }
.site-footer nav a, .site-footer p a { color: var(--muted); font-size: 14px; transition: color .3s; }
.site-footer nav a:hover, .site-footer p a:hover { color: var(--gold); }
.site-footer .footer-grid p { color: var(--faint); font-size: 14px; font-weight: 300; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 28px 0 96px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12px; color: var(--faint);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--gold); }
.credit { font-style: italic; }

/* ---------- Legal pages ---------- */
.legal-page h1 { color: var(--snow); }
.legal-page h2 { color: var(--snow); }
.legal-page p, .legal-page li { color: var(--muted) !important; }
.legal-back { color: var(--gold) !important; }

/* ---------- Booking checkout modal ---------- */
.bmodal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.bmodal.open { opacity: 1; pointer-events: auto; }
.bmodal-backdrop { position: absolute; inset: 0; background: rgba(7, 10, 14, .82); backdrop-filter: blur(10px); }
.bmodal-card {
  position: relative; z-index: 1;
  width: min(700px, 100%); max-height: 92vh; overflow-y: auto;
  background: linear-gradient(165deg, var(--granite), #191E27);
  border: 1px solid var(--gold-line);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-lg);
  padding: clamp(30px, 4vw, 52px);
  transform: translateY(28px) scale(.98); transition: transform .5s var(--ease);
}
.bmodal.open .bmodal-card { transform: none; }
.bmodal-close {
  position: absolute; top: 20px; right: 20px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  font-size: 14px; cursor: pointer; color: var(--snow);
  transition: all .35s var(--ease);
}
.bmodal-close:hover { background: var(--snow); color: var(--slate); }
.bm-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; padding-right: 54px; }
.bm-step-dot {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); white-space: nowrap;
}
.bm-step-dot i {
  font-style: normal; width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); font-size: 11px; background: transparent;
  transition: all .35s var(--ease);
}
.bm-step-dot.active { color: var(--snow); }
.bm-step-dot.active i { background: var(--gold); border-color: var(--gold); color: var(--slate); }
.bm-step-dot.done i { background: var(--pine); border-color: var(--gold-line); color: var(--gold); }
.bm-step-line { flex: 1; height: 1px; background: var(--line); }
.bm-pane { display: none; }
.bm-pane.active { display: block; animation: paneIn .5s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bm-pane h3 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 500; margin-bottom: 24px; }
.bm-dates { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.bm-field { display: flex; flex-direction: column; gap: 7px; }
.bm-field label { font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.bm-field input, .bm-field select, .bm-field textarea {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 300;
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 15px; background: rgba(10, 13, 18, .5); color: var(--snow);
  outline: none; transition: border-color .35s, box-shadow .35s; resize: vertical;
  color-scheme: dark;
}
.bm-field input:focus, .bm-field select:focus, .bm-field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 160, 89, .14);
}
.bm-avail { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.bm-avail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.bm-avail-title { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bm-avail-badge {
  font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-line); border-radius: 20px; padding: 3px 10px;
  white-space: nowrap;
}
.bm-avail-scroll { overflow-x: auto; }
.bm-avail-table { border-collapse: collapse; font-size: 12px; width: 100%; }
.bm-avail-table th, .bm-avail-table td { padding: 6px 8px; text-align: center; white-space: nowrap; }
.bm-avail-table th { color: var(--faint); font-weight: 500; font-size: 10.5px; }
.bm-avail-table td:first-child, .bm-avail-table th:first-child {
  text-align: left; color: var(--snow); font-weight: 500;
  position: sticky; left: 0; background: var(--granite);
}
.avail-cell.ok { color: #7FC79B; }
.avail-cell.no { color: #D08770; }
.bm-avail-legend { display: flex; gap: 18px; margin-top: 10px; font-size: 11px; color: var(--faint); }
.bm-avail-legend .avail-ok { color: #7FC79B; }
.bm-avail-legend .avail-no { color: #D08770; }
.bm-rooms { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.bm-room {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 15px 20px; cursor: pointer; background: rgba(10, 13, 18, .35);
  transition: all .3s var(--ease); text-align: left; width: 100%;
  font-family: var(--font-body); color: var(--snow);
}
.bm-room:hover { border-color: var(--gold-line); }
.bm-room.selected { border-color: var(--gold); background: rgba(197, 160, 89, .08); box-shadow: 0 0 0 3px rgba(197, 160, 89, .12); }
.bm-room-name { font-weight: 500; font-size: 15px; color: var(--snow); }
.bm-room-meta { font-size: 11.5px; color: var(--faint); margin-top: 3px; letter-spacing: .04em; }
.bm-room-max { font-size: 11px; color: #D08770; margin-top: 5px; font-weight: 500; }
.bm-room-price { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--gold); white-space: nowrap; }
.bm-room-price small { font-family: var(--font-body); font-size: 10px; color: var(--faint); }
.bm-room.disabled { opacity: .55; pointer-events: none; cursor: not-allowed; }
.bm-summary {
  border: 1px dashed var(--gold-line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 22px; background: rgba(197, 160, 89, .05);
}
.bm-sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; color: var(--muted); }
.bm-sum-row.discount { color: #7FC79B; font-weight: 500; font-size: 12.5px; }
.bm-sum-row.total {
  border-top: 1px solid var(--line-strong); margin-top: 10px; padding-top: 12px;
  font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--snow);
}
.bm-sum-note { font-size: 11px; color: var(--faint); margin-top: 8px; }
.bm-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 8px; }
.bm-actions .btn[disabled] { opacity: .35; cursor: not-allowed; }
.bm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.bm-field-full { grid-column: 1 / -1; }
.bm-recap {
  background: rgba(10, 13, 18, .45); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 24px; font-size: 14px; color: var(--muted);
}
.bm-recap strong { color: var(--snow); }
.bm-recap .bm-recap-total { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--snow); margin-top: 10px; }
.bm-pay-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.bm-pay-card {
  display: flex; flex-direction: column; gap: 7px; text-align: left;
  border: 1px solid var(--gold); border-radius: 14px;
  background: linear-gradient(120deg, rgba(197, 160, 89, .14), rgba(197, 160, 89, .03));
  padding: 20px 24px; cursor: pointer; font-family: var(--font-body); color: var(--snow);
  transition: all .35s var(--ease);
}
.bm-pay-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -16px rgba(197, 160, 89, .5); }
.bm-pay-card.alt { border-color: var(--line-strong); background: rgba(10, 13, 18, .35); }
.bm-pay-card.alt:hover { border-color: var(--snow); }
.bm-pay-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bm-pay-head strong { font-size: 15px; font-weight: 600; }
.bm-pay-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.bm-pay-badges i {
  font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: .08em;
  border: 1px solid var(--line-strong); border-radius: 5px; padding: 4px 9px;
  background: rgba(244, 245, 247, .05); color: var(--muted);
}
.bm-pay-sub { font-size: 12.5px; font-weight: 300; color: var(--muted); }
.bm-pay-note { font-size: 13px; min-height: 1.2em; color: var(--gold); font-weight: 500; }
.bm-pay-note.ok { color: #7FC79B; }
.bm-secure { font-size: 11px; letter-spacing: .1em; color: var(--faint); }
@media (max-width: 640px) {
  .bm-dates { grid-template-columns: 1fr 1fr; }
  .bm-form { grid-template-columns: 1fr; }
  .bm-steps { flex-wrap: wrap; }
  .bmodal { padding: 0; align-items: flex-end; }
  .bmodal-card { max-height: 96vh; border-radius: 20px 20px 0 0; width: 100%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .room-featured { flex-direction: column; }
  .room-featured .room-media { min-height: 0; aspect-ratio: 16/9; }
  .room-card, .room-featured { grid-column: span 3; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 820px) {
  .grid-split { grid-template-columns: 1fr; }
  .feature.reverse .grid-split .feature-text { order: 1; }
  .feature.reverse .grid-split .feature-media { order: 2; }
  .header-phone { display: none; }
  .bookbar-form { flex-direction: column; gap: 14px; padding: 18px; }
  .bb-sep { display: none; }
  .bb-field { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .bb-field:last-of-type { border-bottom: 0; }
  .bb-btn { width: 100%; }
  .review-grid { grid-template-columns: 1fr; }
  .direct-perks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .room-card, .room-featured { grid-column: span 6; }
  .intro-media { padding-bottom: 50px; }
  .photo-float { right: 0; }
  .photo-badge { left: 0; }
  .cf-row { grid-template-columns: 1fr; }
  .travel { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .btn-sm { padding: 10px 16px; font-size: 10.5px; }
  /* header-actions (lang-switch + CTA + hamburger) doesn't fit next to the
     brand on real phone widths — without this the nav-toggle button is
     pushed off-screen and the mobile menu becomes unopenable. The overlay
     menu repeats both the language switch and the direct-booking link. */
  .header-actions .lang-switch, .header-actions .btn-gold { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .preloader { display: none; }
  body .reveal-hero { opacity: 1; transform: none; animation: none; }
  .reveal, .split-line > span { opacity: 1; transform: none; transition: none; }
  .kin-line { color: var(--snow); -webkit-text-stroke-color: transparent; }
  #snowCanvas { display: none; }
  .cursor-dot, .cursor-ring { display: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Room thumbnails in checkout ---------- */
.bm-room { gap: 16px; }
.bm-room-img {
  width: 86px; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 9px; flex-shrink: 0;
  filter: saturate(.88);
}
.bm-room-txt { flex: 1; min-width: 0; }
@media (max-width: 520px) { .bm-room-img { width: 64px; } }

/* ---------- Language switcher ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch button {
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; color: var(--faint);
  padding: 6px 7px; transition: color .3s;
}
.lang-switch button:hover { color: var(--snow); }
.lang-switch button.active { color: var(--gold); }
.overlay-foot .lang-switch { margin-bottom: 10px; }
.overlay-foot .lang-switch button { font-size: 13px; padding: 8px 10px; }

/* ---------- Embedded payment frame ---------- */
.payframe {
  position: fixed; inset: 0; z-index: 380;
  display: none; flex-direction: column;
  background: var(--slate);
}
.payframe.open { display: flex; animation: payIn .4s var(--ease); }
@keyframes payIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.payframe-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(14px, 3vw, 28px);
  background: var(--granite); border-bottom: 1px solid var(--gold-line);
  flex-shrink: 0;
}
.payframe-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--snow);
}
.payframe-brand svg { width: 26px; height: 26px; }
.payframe-actions { display: inline-flex; align-items: center; gap: 16px; }
.payframe-ext {
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); cursor: pointer;
}
.payframe-ext:hover { color: var(--gold-bright); }
.payframe-close {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--snow); font-size: 13px; cursor: pointer;
  transition: all .3s var(--ease);
}
.payframe-close:hover { background: var(--snow); color: var(--slate); }
.payframe-frame { flex: 1; width: 100%; border: 0; background: #fff; }
@media (max-width: 560px) { .payframe-brand span { display: none; } }

/* ---------- Native select dropdown legibility ---------- */
select option {
  background-color: #1F242D;
  color: #F4F5F7;
  font-size: 14px;
}
select option:checked { background-color: #C5A059; color: #0A0D12; }

/* Native cursor inside the embedded payment frame */
body.pay-open .cursor-dot, body.pay-open .cursor-ring { opacity: 0; }
@media (pointer: fine) {
  body.has-cursor.pay-open, body.has-cursor.pay-open a, body.has-cursor.pay-open button { cursor: auto; }
}

/* Anchor targets clear the fixed header */
[id] { scroll-margin-top: 84px; }

/* ---------- Room photo album (carousel) ---------- */
.room-media .rm-track {
  display: flex; height: 100%; width: 100%;
  transition: transform .75s var(--ease);
  will-change: transform;
}
.room-media .rm-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.rm-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(244, 245, 247, .35);
  background: rgba(10, 13, 18, .45); backdrop-filter: blur(8px);
  color: var(--snow); font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s var(--ease), background .3s, border-color .3s;
  z-index: 3; padding-bottom: 3px;
}
.rm-prev { left: 14px; }
.rm-next { right: 14px; }
.room-media:hover .rm-nav { opacity: 1; }
.rm-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--slate); }
.rm-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 7px; z-index: 3;
}
.rm-dot {
  width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(244, 245, 247, .38); cursor: pointer;
  transition: all .35s var(--ease);
}
.rm-dot.on { background: var(--gold-bright); transform: scale(1.25); }
@media (pointer: coarse) { .rm-nav { opacity: 1; } }

/* ---------- Mini album in checkout room options ---------- */
.bm-thumb {
  position: relative; width: 104px; aspect-ratio: 4/3;
  border-radius: 9px; overflow: hidden; flex-shrink: 0; display: block;
}
.bm-thumb-track {
  display: flex; height: 100%; width: 100%;
  transition: transform .55s var(--ease);
}
.bm-thumb-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); }
.bm-tnav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(10, 13, 18, .55); backdrop-filter: blur(6px);
  color: var(--snow); font-size: 13px; line-height: 20px; text-align: center;
  cursor: pointer; opacity: 0; transition: opacity .3s, background .3s;
  z-index: 2; user-select: none;
}
.bm-tprev { left: 5px; }
.bm-tnext { right: 5px; }
.bm-room:hover .bm-tnav { opacity: 1; }
.bm-tnav:hover { background: var(--gold); color: var(--slate); }
.bm-tdots {
  position: absolute; left: 0; right: 0; bottom: 5px;
  display: flex; justify-content: center; gap: 4px; z-index: 2;
}
.bm-tdots i {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(244, 245, 247, .45); transition: all .3s;
}
.bm-tdots i.on { background: var(--gold-bright); transform: scale(1.3); }
@media (pointer: coarse) { .bm-tnav { opacity: 1; } }
@media (max-width: 520px) { .bm-thumb { width: 84px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 520;
  display: none; align-items: center; justify-content: center;
  background: rgba(7, 10, 14, .93); backdrop-filter: blur(14px);
}
.lightbox.open { display: flex; animation: payIn .35s var(--ease); }
.lb-img {
  max-width: 86vw; max-height: 84vh;
  border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: scale(.985);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.lb-img.in { opacity: 1; transform: none; }
.lb-close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(10, 13, 18, .5);
  color: var(--snow); font-size: 15px; cursor: pointer;
  transition: all .3s var(--ease); z-index: 2;
}
.lb-close:hover { background: var(--snow); color: var(--slate); }
.lb-counter {
  position: absolute; top: 34px; left: 30px;
  font-size: 11px; font-weight: 600; letter-spacing: .3em;
  color: var(--gold); z-index: 2;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(244, 245, 247, .3);
  background: rgba(10, 13, 18, .45); backdrop-filter: blur(8px);
  color: var(--snow); font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease); z-index: 2; padding-bottom: 4px;
}
.lb-prev { left: 26px; }
.lb-next { right: 26px; }
.lb-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--slate); }
@media (max-width: 640px) {
  .lb-nav { width: 42px; height: 42px; font-size: 20px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-img { max-width: 96vw; }
}

/* ---------- Native hand cursor over clickable photos ---------- */
@media (pointer: fine) {
  body.has-cursor .rm-track img,
  body.has-cursor .bm-thumb,
  body.has-cursor .bm-thumb-track img,
  body.has-cursor .rm-nav,
  body.has-cursor .rm-dot,
  body.has-cursor .bm-tnav,
  body.has-cursor .lb-nav,
  body.has-cursor .lb-close { cursor: pointer !important; }
  body.has-cursor .lightbox { cursor: auto; }
}
body.cursor-photo .cursor-dot, body.cursor-photo .cursor-ring { opacity: 0; }

/* ---------- Mail sheet (inquiry fallback) ---------- */
.mailsheet {
  position: fixed; inset: 0; z-index: 340;
  display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.mailsheet.open { display: flex; animation: payIn .35s var(--ease); }
.ms-backdrop { position: absolute; inset: 0; background: rgba(7, 10, 14, .78); backdrop-filter: blur(8px); }
.ms-card {
  position: relative; z-index: 1;
  width: min(560px, 100%);
  background: linear-gradient(165deg, var(--granite), #191E27);
  border: 1px solid var(--gold-line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
  padding: clamp(26px, 3.6vw, 44px);
}
.ms-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--snow); font-size: 13px; cursor: pointer;
  transition: all .3s var(--ease);
}
.ms-close:hover { background: var(--snow); color: var(--slate); }
.ms-title { font-size: clamp(21px, 2.6vw, 27px); font-weight: 500; margin-bottom: 10px; padding-right: 40px; }
.ms-to { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.ms-to a { color: var(--gold); font-weight: 500; }
.ms-body {
  width: 100%; font-family: var(--font-body); font-size: 14px; font-weight: 300;
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 14px 16px; background: rgba(10, 13, 18, .5); color: var(--snow);
  outline: none; resize: vertical; line-height: 1.6; margin-bottom: 18px;
  color-scheme: dark;
}
.ms-body:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 160, 89, .14); }
.ms-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.ms-note { font-size: 12.5px; color: var(--muted); }
.ms-note a { color: var(--gold); font-weight: 500; }
@media (max-width: 560px) { .ms-actions .btn { width: 100%; } }

/* imagem indisponível: fundo neutro em vez de espaço vazio */
.img-off { background: linear-gradient(135deg, #1a1f2b, #0e1219); }
