@import url("../fonts/fonts.css");

:root {
  --ink: #0c100e;
  --ink-2: #151a17;
  --line-dark: rgba(245, 240, 232, .14);
  --cream: #f5f0e8;
  --paper: #f8f4ed;
  --muted-dark: rgba(245, 240, 232, .66);
  --muted: #5d5a54;
  --line: rgba(12, 16, 14, .12);
  --gold: #e2c374;
  --gold-2: #c9a24f;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* --- type --- */
.eyebrow {
  font: 600 12px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.h-xl, .h-lg, .h-md {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0;
}
.h-xl { font-size: clamp(44px, 7.4vw, 104px); }
.h-lg { font-size: clamp(36px, 4.6vw, 62px); }
.h-md { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2; }
.h-xl em, .h-lg em, .h-md em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--gold); border-radius: 2px;
  background: var(--gold); color: var(--ink);
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line-dark); }
.btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold); }
.link {
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px;
}
.link:hover { color: var(--gold); }
.arrow::after { content: "→"; margin-left: 8px; }

/* --- header --- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: rgba(12, 16, 14, .94); border-color: var(--line-dark); backdrop-filter: blur(8px); }
.hdr__row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 84px;
}
.hdr__left, .hdr__right { display: flex; align-items: center; gap: 28px; }
.hdr__right { justify-content: flex-end; }
.hdr__logo { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.hdr__logo img { height: 64px; width: auto; }
.hdr__nav { display: flex; gap: 28px; }
.hdr__nav a, .hdr__phone {
  font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--cream); opacity: .88;
}
.hdr__nav a:hover, .hdr__phone:hover { color: var(--gold); opacity: 1; }
.hdr__book { min-height: 40px; padding: 0 18px; }
.hdr__burger {
  display: none; width: 44px; height: 44px; margin-left: -10px;
  background: none; border: 0; color: var(--cream); cursor: pointer;
}
.hdr__burger span, .hdr__burger span::before, .hdr__burger span::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; margin: 0 auto;
}
.hdr__burger span::before, .hdr__burger span::after { content: ""; position: absolute; left: 0; }
.hdr__burger span::before { top: -7px; }
.hdr__burger span::after { top: 7px; }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ink);
  display: flex; flex-direction: column; padding: 24px var(--gut) 40px;
  transform: translateY(-100%); transition: transform .35s ease; visibility: hidden;
}
.menu.is-open { transform: none; visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.menu__close { background: none; border: 0; color: var(--cream); font-size: 32px; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.menu nav { display: flex; flex-direction: column; margin-top: 32px; }
.menu nav a {
  font: 300 34px/1.2 var(--serif); text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.menu__foot { margin-top: auto; display: grid; gap: 14px; }
.menu__foot a { color: var(--muted-dark); text-decoration: none; }

/* --- hero --- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,16,14,.72) 0%, rgba(12,16,14,.38) 38%, rgba(12,16,14,.55) 70%, var(--ink) 100%);
}
.hero__inner { padding: 120px var(--gut) 140px; max-width: 1100px; }
.hero__sub { margin: 26px 0 0; }
.hero__sub .stars { color: var(--gold); margin-left: 6px; letter-spacing: .3em; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark);
  text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero__scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--muted-dark), transparent); }

/* --- booking bar --- */
.bookbar { position: relative; z-index: 2; margin-top: -60px; }
.bookbar__form {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1px;
  background: var(--line-dark); border: 1px solid var(--line-dark);
  max-width: 1040px; margin: 0 auto;
}
.bookbar__field { background: var(--ink-2); padding: 14px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bookbar__field input { min-width: 0; }
.hdr__book .short { display: none; }
.bookbar__field label { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.bookbar__field input, .bookbar__field select {
  background: transparent; border: 0; color: var(--cream); padding: 4px 0; font-size: 16px; outline: none;
  color-scheme: dark; width: 100%;
}
.bookbar__field select option { color: #000; }
.bookbar__go { min-height: 100%; border-radius: 0; padding: 0 32px; }

/* --- intro --- */
.intro { padding: clamp(90px, 11vw, 160px) 0; }
.intro__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.arch {
  border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--ink-2);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.intro__text p { color: var(--muted-dark); margin: 0 0 18px; }
.intro__text p strong { color: var(--cream); font-weight: 600; }
.intro__text .h-lg { margin: 18px 0 28px; }
.intro__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 8vw, 110px);
  border-top: 1px solid var(--line-dark);
}
.fact { padding: 26px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.fact b { display: block; font: 300 clamp(34px, 3.4vw, 46px)/1 var(--serif); color: var(--cream); }
.fact span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted-dark); }

/* --- rooms --- */
.rooms { padding: 0 0 clamp(90px, 11vw, 150px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--line-dark); margin-bottom: 40px; }
.rooms__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; }
.card__img { overflow: hidden; background: var(--ink-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card__img img { transform: scale(1.03); }
.rooms__grid .card:first-child .card__img { aspect-ratio: 4 / 3; }
.rooms__grid .card:last-child .card__img { aspect-ratio: 4 / 4.4; }
.card__meta { margin-top: 22px; }
.card__meta .h-md { margin: 10px 0 10px; }
.card__meta p { color: var(--muted-dark); margin: 0; max-width: 52ch; font-size: 15px; }

.rooms__list { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 28px; }
.room__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.room__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.room:hover .room__img img { transform: scale(1.03); }
.room__meta { margin-top: 22px; }
.room__meta .h-md { margin: 10px 0; }
.room__meta p:not(.eyebrow) { color: var(--muted-dark); margin: 0 0 18px; max-width: 54ch; font-size: 15px; }
.sleep { margin-top: 80px; padding: 40px 0 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 5fr 7fr; gap: 20px 60px; }
.sleep .eyebrow { grid-column: 1 / -1; }
.sleep .h-md { margin: 0; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.tags li { border: 1px solid var(--line-dark); padding: 8px 14px; font-size: 14px; color: var(--muted-dark); border-radius: 999px; }

.direct { padding: clamp(70px, 8vw, 110px) 0; border-top: 1px solid var(--line-dark); background: var(--ink-2); }
.direct__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.direct .h-lg { font-size: clamp(30px, 3.2vw, 44px); }
.direct__item { border-top: 1px solid var(--gold); padding-top: 20px; }
.direct__item b { display: block; font: 400 22px/1.25 var(--serif); }
.direct__item span { display: block; margin-top: 10px; color: var(--muted-dark); font-size: 15px; }

/* --- location --- */
.place { position: relative; isolation: isolate; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; }
.place__bg { position: absolute; inset: 0; z-index: -2; }
.place__bg img { width: 100%; height: 100%; object-fit: cover; }
.place::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,16,14,.92) 0%, rgba(12,16,14,.7) 45%, rgba(12,16,14,.25) 100%); }
.place__box { max-width: 560px; }
.place__box .h-lg { margin: 18px 0 24px; }
.place__box p { color: var(--muted-dark); }
.near { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line-dark); }
.near li { padding: 14px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; }
.near li span { color: var(--muted-dark); font-size: 14px; }

/* --- light sections --- */
.light { background: var(--paper); color: var(--ink); }
.light .eyebrow { color: #9c7a2c; }
.light .h-lg em, .light .h-md em { color: #9c7a2c; }

.info { padding: clamp(90px, 11vw, 150px) 0; }
.info__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); margin-top: 50px; }
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.times div { padding: 22px 0; }
.times div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.times small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.times b { display: block; font: 300 52px/1 var(--serif); margin-top: 12px; }
.info__note { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 18px; margin: 0; }
.rules-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; list-style: none; padding: 0; margin: 0; }
.rules-list li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.rules-list .ic { flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: #9c7a2c; }
.rules-list .ic svg { width: 16px; height: 16px; }
.rules-list b { display: block; font-weight: 600; }
.rules-list span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.info__more { margin-top: 30px; color: var(--ink); }

.book { padding: clamp(90px, 11vw, 150px) 0; background: #f1ebe0; color: var(--ink); }
.book__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 96px); }
.book .h-lg { margin: 18px 0 22px; }
.book .h-lg em { color: #9c7a2c; }
.book p { color: var(--muted); }
.book .btn { margin-top: 14px; }
.contacts { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.contacts li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contacts small { font: 600 11px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contacts a { text-decoration: none; }
.contacts a:hover { color: #9c7a2c; }
.map { min-height: 460px; background: #e6ddcf; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(.35) sepia(.12); }

/* --- footer --- */
.foot { padding: 80px 0 40px; border-top: 1px solid var(--line-dark); }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.foot__logo { display: inline-block; }
.foot__logo img { height: 96px; width: auto; }
.foot__tag { color: var(--muted-dark); margin: 6px 0 0; font-size: 14px; }
.foot h4 { margin: 0 0 16px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--muted-dark); }
.foot a:hover { color: var(--cream); }
.foot__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; color: var(--muted-dark); font-size: 13px; }

/* --- inner pages --- */
.page-hero { padding: 170px 0 60px; border-bottom: 1px solid var(--line-dark); }
.page-hero .h-lg { margin-top: 16px; }
.booking-frame { background: #fff; color: #000; padding: 40px 0 80px; min-height: 70vh; }
.doc { padding: 70px 0 110px; }
.doc__body { max-width: 820px; color: var(--muted-dark); font-size: 15px; }
.doc__body h2 { font: 400 26px/1.25 var(--serif); color: var(--cream); margin: 48px 0 16px; }
.doc__body p { margin: 0 0 12px; }

/* --- reveal --- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* --- responsive --- */
@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: block; }
}
@media (max-width: 900px) {
  .intro__grid, .info__grid, .book__grid, .rooms__grid, .rooms__list, .sleep { grid-template-columns: 1fr; }
  .direct__grid { grid-template-columns: 1fr; gap: 28px; }
  .arch { max-width: 460px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 26px; border-top: 1px solid var(--line-dark); }
  .bookbar__form { grid-template-columns: 1fr 1fr; }
  .bookbar__field:nth-child(3) { grid-column: 1 / -1; }
  .bookbar__go { grid-column: 1 / -1; min-height: 56px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hdr__row { height: 68px; }
  .hdr__logo img { height: 50px; }
  .hdr__phone { display: none; }
  .hdr__book { padding: 0 14px; font-size: 11px; letter-spacing: .1em; min-height: 38px; }
  .hdr__book .full { display: none; }
  .hdr__book .short { display: inline; }
  .hdr__left, .hdr__right { gap: 0; }
  .bookbar__field { padding: 12px 16px; }
  .rules-list { grid-template-columns: 1fr; }
  .contacts li { grid-template-columns: 1fr; gap: 4px; }
  .place::before { background: linear-gradient(180deg, rgba(12,16,14,.55) 0%, rgba(12,16,14,.9) 60%); }
  .sec-head { flex-direction: column; align-items: start; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; }
  .times b { font-size: 44px; }
}
