:root {
  --rausch: #8c1d3a;
  --rausch-600: #6b1229;
  --hof: #222222;
  --foggy: #6a6a6a;
  --grey-500: #c1c1c1;
  --bebe: #ebebeb;
  --deco: #dddddd;
  --faint: #f7f7f7;
  --white: #ffffff;
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-card: 12px;
  --shadow-float: 0 0 0 1px rgba(0,0,0,.02), 0 2px 6px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.12);
  --pad: 40px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background: var(--white); color: var(--hof); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 24px; height: 24px; flex: none; }
.i-12 { width: 12px; height: 12px; } .i-14 { width: 14px; height: 14px; }
.muted { color: var(--foggy); }
.small { font-size: 14px; }
html[data-lang="ru"] .en, html[data-lang="en"] .ru { display: none !important; }

.wrap { max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 var(--pad); }
section { margin-top: 96px; }

h1 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 24px; }
h2.big { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 10px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rausch); margin-bottom: 14px; }

/* nav: transparent over hero, solid after scroll */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background .25s, box-shadow .25s, color .25s; color: #fff; }
.nav.solid { background: var(--white); color: var(--hof); box-shadow: 0 1px 0 var(--bebe); }
.nav-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--rausch); color: #fff; font-size: 14px; }
.tabs { display: flex; gap: 28px; }
.tabs a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .85; }
.tabs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.circle { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 9999px; border: 0; background: rgba(255,255,255,.18); color: inherit; font: 500 14px var(--font); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav.solid .circle, .arrows .circle { background: var(--faint); color: var(--hof); }
.circle svg { width: 16px; height: 16px; }

/* hero */
.hero { position: relative; height: min(88vh, 760px); min-height: 520px; margin: 0; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.6) 100%); }
.hero-text { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 96px; }
.hero-text p { font-size: 19px; max-width: 32em; margin-top: 14px; opacity: .92; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--hof); border-radius: 9999px; padding: 6px 12px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }

/* booking bar */
.book-bar { position: relative; z-index: 2; margin-top: -44px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; background: #fff; border-radius: 9999px; box-shadow: var(--shadow-float); padding: 8px 8px 8px 12px; }
.book-bar label { display: flex; flex-direction: column; padding: 8px 24px; cursor: pointer; border-right: 1px solid var(--bebe); }
.book-bar label:nth-child(3) { border-right: 0; }
.book-bar label > span { font-size: 12px; font-weight: 700; }
.book-bar input, .book-bar select { border: 0; background: none; font: 400 15px var(--font); color: var(--hof); outline: none; width: 100%; padding: 2px 0; }
.btn-rausch { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 9999px; padding: 16px 28px; font: 600 16px var(--font); color: #fff; text-decoration: none; cursor: pointer; background: var(--rausch); transition: background .15s; white-space: nowrap; }
.btn-rausch:hover { background: var(--rausch-600); }
.bar-note { font-size: 13px; text-align: center; margin-top: 14px; }
.bar-note a { text-decoration: none; font-weight: 600; color: var(--hof); }

/* intro */
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; margin-top: 80px; }
.intro-text > p { color: var(--foggy); font-size: 17px; }
.host-row { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--bebe); }
.host-row p { font-size: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 9999px; background: var(--hof); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 20px; flex: none; }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts li { background: var(--faint); border-radius: var(--r-card); padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--foggy); }
.facts b { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--hof); line-height: 1.1; }

/* room cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { display: flex; flex-direction: column; font-size: 14px; }
.card b { font-weight: 600; font-size: 16px; margin-top: 12px; }
.card-img { position: relative; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 9999px; padding: 6px 12px; font-size: 12px; font-weight: 600; box-shadow: 0 2px 4px rgba(0,0,0,.18); }

/* amenities band */
.band { background: var(--faint); padding: 72px 0; }
.amen { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.amen li { background: #fff; border-radius: var(--r-card); padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; font-weight: 500; }

/* photo mosaic */
.mosaic { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(46vw, 500px); border-radius: var(--r-card); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: filter .2s; }
.mosaic img:hover { filter: brightness(.85); }
.m-big { grid-row: span 2; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--hof); background: #fff; border-radius: 8px; padding: 7px 15px; font: 600 14px var(--font); cursor: pointer; }
.pill svg { width: 16px; height: 16px; }
.show-all { position: absolute; right: 24px; bottom: 24px; }
.show-all:hover { background: var(--faint); }

/* gallery dialog */
.gallery { width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 72px var(--pad) 40px; background: #fff; }
.gallery::backdrop { background: rgba(0,0,0,.5); }
.g-grid { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g-grid img:nth-child(3n+1) { grid-column: span 2; }
.gallery .close { position: fixed; top: 20px; left: 24px; width: 40px; padding: 0; justify-content: center; background: var(--faint); color: var(--hof); }

/* location */
.location { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.location h2 { margin-bottom: 6px; }
.walk { list-style: none; margin: 24px 0; }
.walk li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--bebe); }
.walk li svg { width: 18px; height: 18px; color: var(--rausch); }
.walk b { margin-left: auto; font-weight: 600; }
.map { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; background: var(--faint); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* reviews */
.reviews { display: flex; align-items: center; gap: 48px; background: var(--faint); border-radius: 20px; padding: 48px 56px; max-width: calc(1200px - 2 * var(--pad)); margin-bottom: 96px; }
.score { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; }
.score b { font-size: 72px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.score span { display: flex; gap: 2px; }
.reviews h2 { margin-bottom: 8px; }
.reviews p { max-width: 36em; margin-bottom: 22px; }
.btn-ghost { display: inline-flex; text-decoration: none; border: 1px solid var(--hof); border-radius: 9999px; padding: 11px 22px; font-weight: 600; font-size: 15px; background: #fff; }
.btn-ghost:hover { background: var(--hof); color: #fff; }

.mbar { display: none; }

footer { border-top: 1px solid var(--bebe); }
.foot { display: flex; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--foggy); }
.foot a { text-decoration: none; } .foot a:hover { color: var(--hof); }

/* responsive */
@media (max-width: 1000px) {
  .intro, .location { grid-template-columns: 1fr; gap: 40px; }
  .amen { grid-template-columns: repeat(3, 1fr); }
  .tabs { display: none; }
}
@media (max-width: 744px) {
  :root { --pad: 20px; }
  section { margin-top: 64px; }
  /* hero + date bar fill exactly one screen; bar sits at the bottom edge */
  .fold { display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 560px; }
  .hero { flex: 1; height: auto; min-height: 0; }
  .fold > .wrap { flex: none; width: 100%; padding-bottom: var(--pad); }
  .hero-text { padding-bottom: 72px; }
  .hero-text p { font-size: 16px; }
  .book-bar { grid-template-columns: 1fr 1fr; border-radius: 20px; padding: 8px; }
  .book-bar label { padding: 10px 12px; }
  .book-bar label:nth-child(2) { border-right: 0; }
  .book-bar label:nth-child(3) { grid-column: span 2; border-top: 1px solid var(--bebe); }
  .book-bar .btn-rausch { grid-column: span 2; margin-top: 6px; border-radius: 14px; }
  .facts b { font-size: 24px; }
  .amen { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 62vw; }
  .mosaic img:not(.m-big) { display: none; }
  .m-big { grid-row: auto; }
  .show-all { right: 12px; bottom: 12px; padding: 5px 12px; font-size: 12px; }
  .gallery { padding: 64px 0 24px; }
  .g-grid { grid-template-columns: 1fr; }
  .g-grid img:nth-child(3n+1) { grid-column: auto; }
  .reviews { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 24px; margin-left: 20px; margin-right: 20px; }
  .mbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--bebe); transform: translateY(100%); transition: transform .25s; }
  .mbar.show { transform: none; }
  .mbar > div { display: flex; flex-direction: column; font-size: 12px; }
  .mbar b { font-size: 16px; display: flex; align-items: center; gap: 4px; }
  .mbar .btn-rausch { padding: 12px 22px; border-radius: 10px; }
  body { padding-bottom: 72px; }
  .foot { flex-direction: column; gap: 6px; }
}
