/* =========================================================
   Палац — Palace Hotel, main stylesheet
   1. Tokens & reset
   2. Typography & helpers
   3. Buttons & links
   4. Header & navigation
   5. Hero & booking bar
   6. Sections & intro
   7. Rooms
   8. Amenities & dining
   9. Mosaic, reviews, location
   10. Booking form
   11. CTA band & footer
   12. Inner pages
   13. Forms & notices
   14. Gutenberg
   15. Motion & responsive
   ========================================================= */

/* 1. Tokens & reset --------------------------------------- */
:root {
  --cream: #f7f2e7;
  --cream-deep: #f1e9da;
  --sand: #eee3cf;
  --sand-deep: #e2d1b4;
  --ink: #1c1b18;
  --ink-soft: #33302a;
  --muted: #665d50;
  --forest: #1f3a2e;
  --forest-dark: #16291f;
  --gold: #b08d4f;
  --gold-text: #7d5f2b;
  --gold-light: #dcc38c;
  --line: rgba(30, 26, 23, 0.14);
  --line-light: rgba(250, 246, 240, 0.18);
  --white: #fff;
  --ok: #2f5d46;
  --error: #a33a2a;

  --ff-display: "Cormorant Garamond", "Times New Roman", serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--forest);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 2. Typography & helpers -------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--gold-text);
}

body .container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--narrow {
  max-width: 780px;
}

.section {
  padding: clamp(64px, 8.5vw, 124px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--light {
  color: var(--gold-light);
}

.section-title {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.04;
  margin: 0 0 24px;
}

.lead {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 58ch;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(36px, 4vw, 60px);
}

.section-head .section-title {
  margin-bottom: 0;
}

.section-head--center {
  justify-content: center;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .section-lead {
  margin: 18px auto 0;
  max-width: 560px;
  color: var(--muted);
}

.section-head--split {
  align-items: flex-end;
}

.section-head__link {
  margin-bottom: 8px;
  white-space: nowrap;
}

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

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

/* 3. Buttons & links ------------------------------------- */
.btn {
  --btn-bg: var(--forest);
  --btn-color: var(--cream);
  --btn-border: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
  --btn-bg: var(--forest-dark);
  --btn-border: var(--forest-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -16px rgba(30, 26, 23, 0.6);
}

.btn--sm {
  padding: 12px 20px;
  font-size: 10.5px;
}

.btn--full {
  width: 100%;
}

.btn--solid {
  --btn-bg: var(--forest);
  --btn-color: var(--cream);
  --btn-border: var(--forest);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-color: var(--ink);
  --btn-border: rgba(30, 26, 23, 0.35);
}

.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-color: var(--cream);
  --btn-border: var(--ink);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-color: var(--cream);
  --btn-border: rgba(250, 246, 240, 0.55);
}

.btn--ghost:hover {
  --btn-bg: var(--cream);
  --btn-color: var(--ink);
  --btn-border: var(--cream);
}

.btn--cream {
  --btn-bg: var(--cream);
  --btn-color: var(--ink);
  --btn-border: var(--cream);
}

.btn--cream:hover {
  --btn-bg: var(--sand);
  --btn-border: var(--sand);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  cursor: pointer;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--forest-dark);
}

.link-arrow:hover .icon {
  transform: translateX(5px);
}

/* 4. Header ---------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--ink);
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header--overlay {
  background: transparent;
  border-color: rgba(250, 246, 240, 0.16);
  color: var(--cream);
  backdrop-filter: none;
}

.site-header--overlay.is-scrolled {
  background: rgba(250, 246, 240, 0.96);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -24px rgba(30, 26, 23, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  color: inherit;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--ff-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1;
  padding-top: 3px;
  opacity: 0.9;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand__tagline {
  font-size: 8.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-top: 4px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lang-switcher__link {
  padding: 4px 1px;
  opacity: 0.62;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-switcher__link:hover,
.lang-switcher__link.is-current {
  opacity: 1;
  color: var(--gold-text);
}

.lang-switcher__sep {
  opacity: 0.3;
}

.site-header--overlay:not(.is-scrolled) .header__inner .lang-switcher__link {
  color: var(--cream);
}

.site-header--overlay:not(.is-scrolled) .header__inner .lang-switcher__link.is-current {
  color: var(--gold-light);
}

.mobile-menu .lang-switcher__link {
  color: var(--ink);
  opacity: 0.68;
}

.mobile-menu .lang-switcher__link.is-current {
  color: var(--gold-text);
  opacity: 1;
}

.mobile-menu__langs {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mobile-menu__langs .lang-switcher {
  gap: 12px;
  font-size: 13px;
}

.nav .menu,
.footer__menu,
.mobile-menu__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav .menu-item > a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  opacity: 0.82;
}

.nav .menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav .menu-item > a:hover,
.nav .current-menu-item > a {
  opacity: 1;
}

.nav .menu-item > a:hover::after,
.nav .current-menu-item > a::after {
  transform: scaleX(1);
}

.header__cta {
  flex: none;
}

.site-header--overlay:not(.is-scrolled) .header__cta {
  --btn-bg: transparent;
  --btn-color: var(--cream);
  --btn-border: rgba(250, 246, 240, 0.55);
}

.site-header--overlay:not(.is-scrolled) .header__cta:hover {
  --btn-bg: var(--cream);
  --btn-color: var(--ink);
  --btn-border: var(--cream);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle__line {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.nav-toggle__line:nth-child(1) {
  top: 18px;
}

.nav-toggle__line:nth-child(2) {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto;
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(30, 26, 23, 0.4);
}

.mobile-menu__inner {
  padding: 28px var(--gutter) 40px;
}

.mobile-menu__list {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.mobile-menu__list .menu-item {
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__list .menu-item > a {
  display: block;
  padding: 18px 0;
  font-family: var(--ff-display);
  font-size: 26px;
}

.mobile-menu__foot {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.mobile-menu__phone {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.mobile-menu__note {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 5. Hero ------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(92svh, 920px);
  padding: calc(var(--header-h) + 72px) 0 190px;
  color: var(--cream);
  overflow: hidden;
  background: var(--ink);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.02);
}

.hero__shade {
  background:
    radial-gradient(120% 90% at 20% 100%, rgba(18, 14, 11, 0.78) 0%, rgba(18, 14, 11, 0) 60%),
    linear-gradient(180deg, rgba(18, 14, 11, 0.62) 0%, rgba(18, 14, 11, 0.18) 38%, rgba(18, 14, 11, 0.58) 78%, rgba(18, 14, 11, 0.86) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero__title {
  text-shadow: 0 4px 30px rgba(18, 14, 11, 0.38);
  font-size: clamp(50px, 7.6vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 30px;
  text-wrap: balance;
}

.hero__title em {
  color: var(--gold-light);
}

.hero__lead {
  max-width: 52ch;
  text-shadow: 0 1px 18px rgba(18, 14, 11, 0.32);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.75;
  color: rgba(250, 246, 240, 0.82);
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__meta {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  border-top: 1px solid rgba(250, 246, 240, 0.22);
  padding-top: 18px;
}

.hero__meta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.76);
}

.hero__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* Booking bar */
.booking-bar__wrap {
  position: relative;
  z-index: 20;
  margin-top: -110px;
}

.booking-bar {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr auto;
  gap: 26px;
  align-items: end;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid rgba(30, 26, 23, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 40px 70px -46px rgba(30, 26, 23, 0.55);
}

.booking-bar__field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.booking-bar__field label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-bar__field input,
.booking-bar__field select {
  width: 100%;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

.booking-bar__field select {
  appearance: none;
  padding-right: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2374695D' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.booking-bar__field input:focus,
.booking-bar__field select:focus {
  outline: none;
  border-color: var(--forest);
}

.booking-bar__submit {
  min-height: 48px;
  white-space: nowrap;
}

/* InnSync booking strip ---------------------------------- */
.booking-strip {
  position: relative;
  z-index: 20;
  margin-top: -96px;
}

.booking-strip__card {
  padding: clamp(20px, 2.3vw, 30px) clamp(20px, 2.6vw, 34px) clamp(18px, 2vw, 24px);
  background: var(--white);
  border: 1px solid rgba(30, 26, 23, 0.08);
  box-shadow: 0 40px 70px -46px rgba(30, 26, 23, 0.55);
}

.booking-strip__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.booking-strip__title {
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 0;
}

.booking-strip__note {
  margin: 0 0 5px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.booking-strip__hint {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.innsync-widget {
  min-height: 64px;
  width: 100%;
}

.innsync-widget.is-mounted {
  min-height: 0;
}

/* Приводим виджет InnSync к палитре отеля */
.innsync-widget .booking-widget {
  --color-primary-500: var(--forest);
  --color-primary-600: var(--forest-dark);
  --color-btn-text: var(--cream);
  --color-bg-card: var(--white);
  --color-border: rgba(30, 26, 23, 0.18);
  --color-text-primary: var(--ink);
  --color-text-muted: var(--muted);
  --radius-default: 2px;
  --radius-card: 2px;
  font-family: var(--ff-body);
}

.innsync-widget .booking-widget > div {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.innsync-widget .bw-horizontal {
  gap: 20px;
}

.innsync-widget .bw-control {
  height: 46px;
  border-radius: 2px;
  font-size: 14px;
}

.innsync-widget .bw-control-label {
  margin-bottom: 6px;
  font-family: var(--ff-body);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.innsync-widget .bw-control-value {
  color: var(--ink);
}

.innsync-widget .bw-search-btn {
  height: 46px;
  padding: 0 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.innsync-widget .bw-search-btn:disabled {
  opacity: 0.45;
}

.innsync-fallback {
  padding: 18px 20px;
  background: var(--sand);
  font-size: 13px;
  color: var(--ink-soft);
}

.innsync-fallback a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CTA вместо локальной формы */
.booking__cta-title {
  font-size: clamp(26px, 2.9vw, 38px);
  margin: 0 0 14px;
}

.booking__cta-text {
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.booking__card--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking__card--cta .btn {
  width: 100%;
}

.booking-card__note {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* Страница бронирования */
.page--booking {
  padding-bottom: clamp(48px, 6vw, 80px);
}

.booking-page__head {
  padding: clamp(20px, 3vw, 34px) 0 clamp(24px, 3vw, 36px);
  max-width: 820px;
}

.booking-page__title {
  font-size: clamp(38px, 5vw, 64px);
  margin: 0 0 18px;
}

.booking-page__lead {
  max-width: 62ch;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.booking-frame {
  padding: 0;
}

.booking-frame__iframe {
  display: block;
  width: 100%;
  min-height: 640px;
  border: 0;
  background: var(--white);
  box-shadow: 0 30px 60px -50px rgba(30, 26, 23, 0.45);
}

.booking-frame [data-hc-booking-frame-wrap] {
  background: var(--white);
}

.booking-frame [data-hc-booking-loader] {
  min-height: 640px;
}

.booking-page__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.booking-page__foot p {
  margin: 0;
}

.booking-page__foot a {
  color: var(--forest);
}

/* 6. Intro ----------------------------------------------- */
.intro__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.intro__text .lead {
  margin-bottom: 1.2em;
}

.intro__text > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 54ch;
}

.intro__text .link-arrow {
  margin-top: 10px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  margin: 38px 0 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stats__item dt {
  font-family: var(--ff-display);
  font-variant-numeric: lining-nums;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1;
  color: var(--gold-text);
  margin-bottom: 6px;
}

.stats__item dt span {
  font-size: 0.4em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats__item dd {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.intro__media {
  position: relative;
  padding: 0 0 56px 56px;
}

.intro__figure--main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.intro__figure--small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44%;
  border: 8px solid var(--cream);
}

.intro__figure--small img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.intro__stamp {
  position: absolute;
  top: 22px;
  right: -14px;
  display: grid;
  place-content: center;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  transform: rotate(6deg);
}

.intro__stamp strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Замок и парк -------------------------------------------- */
.section--castle {
  background: var(--cream);
}

.castle {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.castle__list {
  margin: 26px 0 30px;
  border-top: 1px solid var(--line);
}

.castle__list li {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}

.castle__list span {
  flex: none;
  width: 82px;
  padding-top: 3px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.castle__media {
  position: relative;
  padding: 0 0 52px 40px;
}

.castle__media-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.castle__media-small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid var(--cream);
}

/* Мероприятия --------------------------------------------- */
.section--events {
  background: var(--forest);
  color: var(--cream);
}

.events {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.events__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.events .eyebrow {
  color: var(--gold-light);
}

.events .section-title {
  color: var(--cream);
}

.events .section-title em {
  color: var(--gold-light);
}

.events .lead {
  color: rgba(247, 242, 231, 0.76);
}

.events .checklist li {
  color: rgba(247, 242, 231, 0.84);
}

.events .checklist .icon {
  color: var(--gold-light);
}

.events__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 30px;
}

.events__note {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.55);
}

/* 7. Rooms ----------------------------------------------- */
.section--rooms {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
}

.rooms-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.room-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sand);
}

.room-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.room-card:hover .room-card__media img {
  transform: scale(1.045);
}

.room-card__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px 16px;
  background: rgba(250, 246, 240, 0.94);
  color: var(--ink);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.room-card {
  display: flex;
  flex-direction: column;
}

.room-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 20px;
}

.room-card__title {
  font-size: clamp(25px, 2.4vw, 32px);
  margin: 0 0 8px;
}

.room-card__title a:hover {
  color: var(--forest);
}

.room-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.room-card__meta .dot {
  opacity: 0.5;
}

.room-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.room-card__actions .link-arrow {
  font-size: 10.5px;
}

.room-card__actions .btn {
  padding: 11px 18px;
  font-size: 10px;
}

/* 8. Amenities & dining ---------------------------------- */
.section--amenities {
  background: var(--sand);
}

.amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
  border-top: 1px solid rgba(30, 26, 23, 0.14);
}

.amenities__item {
  padding: 34px 0 36px;
  border-bottom: 1px solid rgba(30, 26, 23, 0.14);
}

.amenities__item .icon {
  width: 28px;
  height: 28px;
  color: var(--forest);
  margin-bottom: 22px;
}

.amenities__item h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.amenities__item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34ch;
}

.section--dining {
  background: var(--cream);
}

.dining {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.dining__media {
  position: relative;
  padding: 0 0 0 48px;
}

.dining__img-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dining__img-small {
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 38%;
  border: 8px solid var(--cream);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 26px 0 32px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.checklist .icon {
  width: 17px;
  height: 17px;
  color: var(--forest);
  margin-top: 4px;
}

.checklist--light li {
  color: rgba(250, 246, 240, 0.82);
}

.checklist--light .icon {
  color: var(--gold-light);
}

/* 9. Mosaic / reviews / location -------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 16vw, 230px);
  gap: 16px;
}

.mosaic__item {
  grid-column: span 4;
  overflow: hidden;
  background: var(--sand);
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.mosaic__item:hover img {
  transform: scale(1.04);
}

.mosaic__item--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.mosaic__item--wide {
  grid-column: span 8;
}

.section--reviews {
  background: var(--cream-deep);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.review {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 32px 30px;
  background: var(--cream);
  border-top: 2px solid var(--gold);
}

.review__stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
}

.review__stars .icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke-width: 0.8;
}

.review blockquote {
  margin: 0;
  flex: 1;
}

.review blockquote p {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.45;
  color: var(--ink-soft);
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

.review figcaption strong {
  color: var(--ink);
  font-weight: 500;
}

.review figcaption small {
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.review__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--forest);
  font-family: var(--ff-display);
  font-size: 20px;
}

.reviews__score {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.reviews__score strong {
  font-family: var(--ff-display);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold-text);
  margin-right: 6px;
  vertical-align: -3px;
}

.location {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.location__text {
  padding: 12px 0;
}

.location__list {
  margin: 28px 0 26px;
  border-top: 1px solid var(--line);
}

.location__list li {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}

.location__list li span {
  flex: none;
  width: 58px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  padding-top: 3px;
}

.location__address {
  display: flex;
  align-items: center;
  gap: 10px;
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.location__address .icon {
  width: 18px;
  height: 18px;
  color: var(--forest);
}

.location__map {
  position: relative;
  min-height: 520px;
  background: var(--sand);
  overflow: hidden;
}

.map-card {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.map-card:hover img {
  transform: scale(1.035);
}

.map-card__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.map-card__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 5px rgba(31, 58, 46, 0.24), 0 0 0 12px rgba(31, 58, 46, 0.1);
}

.map-card__label {
  padding: 7px 13px;
  background: var(--cream);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -14px rgba(30, 26, 23, 0.6);
  white-space: nowrap;
}

.map-card__attr {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 2px 6px;
  background: rgba(250, 246, 240, 0.76);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(30, 26, 23, 0.6);
}

.contacts__map .map-card {
  position: absolute;
  inset: 0;
}

/* 10. Booking form --------------------------------------- */
.section--booking {
  background: var(--forest);
  color: var(--cream);
}

.section--booking .booking__aside .eyebrow {
  color: var(--gold-light);
}

.section--booking .section-title {
  color: var(--cream);
}

.section--booking .section-title em {
  color: var(--gold-light);
}

.section--booking .lead {
  color: rgba(250, 246, 240, 0.72);
}

.booking {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: stretch;
}

.booking__contacts {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
  font-size: 14px;
  color: rgba(250, 246, 240, 0.66);
}

.booking__phone {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: 30px;
  color: var(--cream);
  letter-spacing: 0.02em;
  margin: 4px 0 2px;
}

.booking__phone:hover {
  color: var(--gold-light);
}

.booking__hours {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.58);
  margin: 0;
}

.booking__card {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.8);
}

.booking-form {
  display: grid;
  gap: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 20px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.25s var(--ease);
}

.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2374695D' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.field textarea {
  resize: vertical;
  min-height: 76px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(116, 105, 93, 0.55);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
}

.field input[type="date"] {
  min-height: 40px;
  cursor: pointer;
}

.form-hint {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.booking-form .btn {
  margin-top: 4px;
}

/* 11. CTA band & footer ---------------------------------- */
.cta-band {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(48px, 6vw, 82px) 0;
}

.cta-band .eyebrow {
  color: var(--gold-light);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  color: var(--cream);
  margin: 0;
}

.cta-band h2 em {
  color: var(--cream);
  opacity: 0.85;
}

.site-footer {
  background: #121a15;
  color: rgba(250, 246, 240, 0.66);
  padding-top: clamp(56px, 7vw, 88px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.brand--footer {
  color: var(--cream);
  margin-bottom: 22px;
}

.footer__about {
  font-size: 13.5px;
  line-height: 1.75;
  max-width: 34ch;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(250, 246, 240, 0.2);
  border-radius: 50%;
  color: var(--cream);
}

.footer__social a:hover {
  background: var(--cream);
  color: var(--ink);
}

.footer__social .icon {
  width: 16px;
  height: 16px;
}

.footer__title {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.58);
  margin-bottom: 22px;
}

.footer__menu {
  display: grid;
  gap: 10px;
  align-items: start;
}

.footer__menu a {
  font-size: 14px;
}

.footer__menu a:hover {
  color: var(--cream);
}

.footer__list {
  display: grid;
  gap: 12px;
  font-size: 13.5px;
}

.footer__list li {
  display: flex;
  gap: 10px;
  line-height: 1.6;
}

.footer__list .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--gold);
}

.footer__list--plain li {
  display: block;
}

.footer__book {
  margin-top: 22px;
  color: var(--gold-light);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(250, 246, 240, 0.56);
}

.footer__bottom a:hover {
  color: var(--cream);
}

/* 12. Inner pages ---------------------------------------- */
.has-hero main {
  padding-top: 0;
}

body:not(.has-hero) main {
  padding-top: var(--header-h);
}

.breadcrumbs {
  padding: 28px 0 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}

.breadcrumbs a:hover {
  color: var(--forest);
}

.page-hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 72px);
}

.page-hero__title {
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.16;
  max-width: 18ch;
  margin: 0 0 20px;
}

.page-hero__lead {
  max-width: 58ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.page--narrow .page-hero__inner {
  max-width: 760px;
  margin-inline: auto;
}

.page--narrow .page-hero__title {
  font-size: clamp(34px, 3.9vw, 54px);
  line-height: 1.2;
}

.page__cover {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.page__cover img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.entry {
  max-width: 760px;
  padding-bottom: clamp(56px, 7vw, 96px);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.entry--room {
  max-width: none;
  font-size: 16.5px;
  padding-bottom: 0;
}

.entry > * + * {
  margin-top: 1.2em;
}

.entry h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-top: 1.8em;
  color: var(--ink);
}

.entry h3 {
  font-size: clamp(21px, 2vw, 26px);
  margin-top: 1.6em;
  color: var(--ink);
}

.entry a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.entry a:hover {
  color: var(--forest-dark);
}

.entry ul:not([class]) {
  padding-left: 1.2em;
  list-style: disc;
}

.entry ul:not([class]) li {
  margin-bottom: 0.4em;
}

.entry blockquote {
  margin: 2em 0;
  padding: 24px 0 24px 28px;
  border-left: 2px solid var(--gold);
  font-family: var(--ff-display);
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink);
}

.entry img {
  width: 100%;
}

.entry--gallery {
  max-width: none;
}

/* Rooms archive */
.rooms-list {
  padding-top: 0;
}

.room-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 60px) 0;
  border-top: 1px solid var(--line);
}

.room-row:last-child {
  border-bottom: 1px solid var(--line);
}

.room-row:nth-child(even) .room-row__media {
  order: 2;
}

.room-row__media {
  display: block;
  overflow: hidden;
  background: var(--sand);
}

.room-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.room-row:hover .room-row__media img {
  transform: scale(1.03);
}

.room-row__body {
  position: relative;
}

.room-row__index {
  display: block;
  font-family: var(--ff-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--gold-text);
  margin-bottom: 10px;
}

.room-row__title {
  font-size: clamp(30px, 3.4vw, 46px);
  margin-bottom: 12px;
}

.room-row__title a:hover {
  color: var(--forest);
}

.room-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 18px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.room-row__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.room-row__meta .icon {
  width: 16px;
  height: 16px;
  color: var(--forest);
}

.room-row__text {
  color: var(--muted);
  font-size: 15px;
  max-width: 46ch;
}

.room-row__text p {
  margin-bottom: 1em;
}

.room-row__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.room-row__price {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.room-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-row__price strong {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0 4px;
}

/* Single room */
.room-single__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: clamp(360px, 46vw, 560px);
  margin-top: 20px;
}

.room-single__photo {
  overflow: hidden;
  background: var(--sand);
}

.room-single__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-single__photo--main {
  grid-row: span 2;
}

/* Если в галерее номера всего два фото, боковое занимает обе строки. */
.room-single__photo:nth-child(2):last-child {
  grid-row: span 2;
}

.room-single__layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
}

.room-single__title {
  font-size: clamp(38px, 4.6vw, 64px);
  margin: 0 0 18px;
}

.room-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.room-single__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.room-single__meta .icon {
  width: 17px;
  height: 17px;
  color: var(--forest);
}

.room-single__subtitle {
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 36px 0 20px;
}

.room-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin-bottom: 30px;
}

.room-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.room-features .icon {
  width: 19px;
  height: 19px;
  color: var(--gold);
}

.room-single__note {
  padding: 18px 22px;
  background: var(--sand);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.room-single__aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.booking-card {
  padding: clamp(22px, 2.6vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -50px rgba(30, 26, 23, 0.5);
}

.booking-card__price {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-card__price strong {
  font-family: var(--ff-display);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
  margin-right: 2px;
}

.booking-card__hint {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.booking-card .form-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.booking-card .field--wide {
  grid-column: auto;
}

.booking-card__foot {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.booking-card__foot a {
  color: var(--forest);
}

.booking-form--room .form-hint {
  display: none;
}

.section--other {
  background: var(--cream-deep);
}

/* Contacts */
.contacts {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-top: 8px;
}

.contacts__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  padding-top: 8px;
}

.contacts__block h2 {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.contacts__block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.contacts__block a {
  color: var(--ink-soft);
}

.contacts__block a:hover {
  color: var(--forest);
}

.contacts__block .link-arrow {
  font-size: 10px;
}

.contacts__hint {
  font-size: 12px !important;
  color: var(--muted) !important;
}

.contacts__form {
  background: var(--sand);
  padding: clamp(24px, 3vw, 42px);
}

.contacts__form .section-title {
  font-size: clamp(26px, 2.6vw, 34px);
  margin-bottom: 24px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contacts__map {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
  height: clamp(320px, 38vw, 460px);
  overflow: hidden;
  background: var(--sand);
}

/* Gallery */
.entry--gallery .wp-block-gallery {
  display: block;
  columns: 3;
  column-gap: 16px;
}

.entry--gallery .wp-block-gallery .wp-block-image {
  width: 100% !important;
  margin: 0 0 16px;
  break-inside: avoid;
  cursor: zoom-in;
}

.entry--gallery .wp-block-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}

.entry--gallery .wp-block-gallery figure:hover img {
  opacity: 0.88;
}

/* 404 */
.error-page {
  padding: clamp(72px, 10vw, 140px) 0;
}

.error-page__inner {
  max-width: 760px;
}

.error-page__title {
  font-size: clamp(44px, 6.4vw, 84px);
  margin-bottom: 24px;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* 13. Forms & notices ------------------------------------ */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 1.7;
  border-left: 3px solid var(--ok);
  background: rgba(47, 93, 70, 0.08);
  color: #244a37;
}

.notice p {
  margin: 0;
}

.notice .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
}

.notice--error {
  border-color: var(--error);
  background: rgba(163, 58, 42, 0.08);
  color: #7c2c20;
}

/* 14. Gutenberg ------------------------------------------ */
.entry .wp-block-image {
  margin: 2em 0;
}

.entry .wp-block-gallery {
  margin: 2em 0;
}

.entry .wp-block-separator {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4em auto;
  width: 88px;
}

.entry .wp-block-quote {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 2em 0;
}

.entry .wp-block-columns {
  gap: 32px;
}

.entry .has-drop-cap:first-letter {
  float: left;
  font-family: var(--ff-display);
  font-size: 4.2em;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--forest);
}

/* Lightbox */
dialog.lightbox:not([open]) {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(18, 14, 11, 0.92);
  border: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
}

.lightbox::backdrop {
  background: rgba(18, 14, 11, 0.92);
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(250, 246, 240, 0.4);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 246, 240, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

/* 15. Motion & responsive -------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .nav .menu {
    gap: 20px;
  }

  .nav .menu-item > a {
    font-size: 12px;
  }

  .header__inner {
    gap: 24px;
  }

  .rooms-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.3fr 0.9fr 1.1fr;
  }

  .footer__col:last-child {
    grid-column: 1 / -1;
    padding-top: 8px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 74px;
  }

  .nav,
  .header__cta,
  .header__inner > .lang-switcher {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 88svh;
    padding-bottom: 150px;
  }

  .booking-strip {
    margin-top: -80px;
  }

  .booking-bar {
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
  }

  .booking-bar__submit {
    grid-column: 1 / -1;
  }

  .intro__grid,
  .dining,
  .booking,
  .location,
  .contacts,
  .castle,
  .events {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .castle__media {
    order: 2;
    max-width: 620px;
    padding-left: 30px;
  }


  .intro__media {
    max-width: 620px;
    padding-left: 40px;
  }

  .booking__aside {
    max-width: 560px;
  }

  .location__map {
    min-height: 380px;
  }

  .room-single__layout {
    grid-template-columns: 1fr;
  }

  .room-single__aside {
    position: static;
    max-width: 520px;
  }

  .rooms-grid {
    gap: 32px 24px;
  }

  .amenities {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
  }

  .reviews {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review {
    padding: 26px 24px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-head__link {
    margin-top: 0;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 64px;
    min-height: 86svh;
  }

  .hero__meta {
    margin-top: 36px;
  }

  .hero__meta-inner {
    gap: 10px 14px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .booking-bar__wrap {
    margin-top: 20px;
  }

  .booking-strip {
    margin-top: 20px;
  }

  .booking-strip__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .booking-strip__note {
    white-space: normal;
  }

  .booking-frame__iframe {
    min-height: 560px;
  }

  .innsync-widget .bw-horizontal {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .innsync-widget .bw-field {
    width: 100%;
  }

  .innsync-widget .bw-search-btn {
    width: 100%;
  }

  .booking-bar {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }

  .booking-bar__field:last-of-type {
    grid-column: 1 / -1;
  }

  .booking-bar__submit {
    grid-column: 1 / -1;
  }

  .stats {
    gap: 20px;
  }

  .stats__item dt {
    font-size: 32px;
  }

  .intro__media {
    padding: 0 0 40px 30px;
  }

  .intro__stamp {
    width: 86px;
    height: 86px;
    right: 0;
    font-size: 8px;
  }

  .intro__stamp strong {
    font-size: 22px;
  }

  .rooms-grid,
  .rooms-grid--three {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .amenities {
    grid-template-columns: 1fr;
  }

  .amenities__item {
    padding: 26px 0 28px;
  }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .mosaic__item--tall {
    grid-column: span 2;
    grid-row: span 1;
  }

  .mosaic__item--wide {
    grid-column: span 2;
  }

  .dining__media {
    padding-left: 28px;
  }

  .dining__img-small {
    width: 42%;
    bottom: -24px;
  }

  .review blockquote p {
    font-size: 19px;
  }

  .room-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .room-row:nth-child(even) .room-row__media {
    order: 0;
  }

  .room-row__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .room-single__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }

  .room-single__photo--main,
  .room-single__photo:nth-child(2):last-child {
    grid-row: auto;
  }

  .room-single__photo img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .room-features {
    grid-template-columns: 1fr;
  }

  .contacts__info {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 40px;
  }

  .footer__col:last-child {
    grid-column: auto;
  }

  .site-footer {
    padding-top: 48px;
  }

  .booking__phone {
    font-size: 26px;
  }

  .page-hero__title {
    font-size: clamp(36px, 9vw, 52px);
  }

  .entry--gallery .wp-block-gallery {
    columns: 1;
  }
}

@media (max-width: 420px) {
  .brand__tagline {
    display: none;
  }

  .hero__title {
    font-size: 44px;
  }

  .hero__lead {
    font-size: 14.5px;
  }

  .booking-bar {
    grid-template-columns: 1fr;
  }

  .booking-bar__field:last-of-type {
    grid-column: auto;
  }

  .btn {
    padding: 15px 22px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
