@font-face {
  font-family: Manrope;
  src: url("manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  font: 16px/1.55 Manrope, system-ui, sans-serif;
  color: #302721;
  background: #fcfaf7;
  --ink: #302721;
  --muted: #685b53;
  --dark: #44342b;
  --taupe: #9d8377;
  --cream: #efe8e0;
  --line: #e6ddd4;
  --control: #f5efe9;
  --edge-hover: #ad8f7d;
  --lift-shadow: 0 8px 22px #44342b17;
  --motion: 220ms cubic-bezier(.2, .65, .35, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #78564a; }
:focus-visible { outline: 3px solid #986f60; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 64px, 1180px); margin-inline: auto; }
.header { background: #fcfaf7; border-bottom: 1px solid #eadfd4; }
.header-row { min-height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.wordmark { display: inline-block; width: fit-content; font-size: 1.65rem; line-height: 1.1; font-weight: 800; letter-spacing: -.055em; text-decoration: none; }
.wordmark span { color: #846455; }
.header nav { display: flex; gap: 28px; }
.header nav a, .help-link { font-size: .89rem; font-weight: 650; text-decoration: none; }
.help-link { justify-self: end; border: 1px solid #d9cabc; border-radius: 8px; padding: 8px 13px; color: inherit; background: transparent; }
.header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { background: linear-gradient(105deg, #eee5db, #f7f2ed); border-bottom: 1px solid var(--line); }
.hero-inner { padding: 32px 0 26px; }
.intro { margin-bottom: 22px; }
h1 { letter-spacing: -.043em; font-size: clamp(2.25rem, 4.2vw, 3.4rem); line-height: 1.1; font-weight: 800; }
.intro h1 { max-width: 22ch; text-wrap: balance; }
.intro p { color: var(--muted); margin-top: 10px; font-size: 1rem; }
.search { background: #fff; display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr auto; align-items: stretch; gap: 4px; padding: 6px; border-radius: 12px; border: 1px solid #e0d3c7; box-shadow: 0 7px 20px #44342b12; }
.search-field { min-width: 0; display: grid; align-content: center; position: relative; padding: 5px 12px; border-radius: 8px; }
.search-field:not(.guests)::after { content: ""; position: absolute; inset: 10px -2px 10px auto; width: 1px; background: var(--line); pointer-events: none; }
.search-field label { font-size: .75rem; color: var(--muted); font-weight: 650; cursor: pointer; }
.search-field :is(select, input) { height: 29px; min-width: 0; width: 100%; border: 0; padding: 0; background: transparent; color: var(--ink); font-size: .94rem; font-weight: 700; }
.search-field select { cursor: pointer; }
.search-field input::-webkit-calendar-picker-indicator { opacity: .65; cursor: pointer; }
.search-field:focus-within { background: var(--control); }
.search-field:has(:focus-visible) { outline: 2px solid #986f60; outline-offset: -2px; }
.search-field :focus-visible { outline: 0; }
.search-field input[aria-invalid="true"] { color: #812e24; }
.primary, .outline { min-height: 43px; padding: 8px 15px; border-radius: 8px; font-weight: 750; }
.primary { color: #fff; background: var(--dark); border: 1px solid var(--dark); }
.search .primary { white-space: nowrap; min-height: 53px; }
.outline { color: var(--dark); background: #fff; border: 1px solid #c9b5a4; }

@supports (appearance: base-select) and selector(::picker(select)) {
  .search-field select, .search-field select::picker(select) { appearance: base-select; }
  .search-field select { align-items: center; gap: 5px; }
  .search-field select::picker-icon {
    content: "";
    width: 7px;
    height: 7px;
    margin-inline-end: 3px;
    border: solid var(--muted);
    border-width: 0 1.5px 1.5px 0;
    rotate: 45deg;
  }
  .search-field select:open::picker-icon { rotate: 225deg; }
  .search-field select::picker(select) {
    margin-block: 8px;
    padding: 5px;
    min-inline-size: max(12rem, anchor-size(width));
    border: 1px solid var(--line);
    border-radius: 11px;
    background: white;
    color: var(--ink);
    box-shadow: 0 10px 28px #44342b24;
    font: 650 .9rem/1.4 Manrope, system-ui, sans-serif;
  }
  .search-field option { min-height: 44px; padding: 8px 11px; gap: 8px; border-radius: 7px; }
  .search-field option::checkmark { order: 1; margin-inline-start: auto; }
  .search-field option:checked { background: #eee3da; font-weight: 800; }
  .search-field option:is(:hover, :focus-visible) { background: var(--control); }
  .search-field:has(select:open) { background: var(--control); }
  @media (prefers-reduced-motion: no-preference) {
    .search-field select::picker-icon { transition: rotate var(--motion); }
    .search-field select::picker(select) {
      opacity: 0;
      translate: 0 -5px;
      transition: opacity var(--motion), translate var(--motion), display var(--motion), overlay var(--motion);
      transition-behavior: allow-discrete;
    }
    .search-field select:open::picker(select) { opacity: 1; translate: 0 0; }
    @starting-style {
      .search-field select:open::picker(select) { opacity: 0; translate: 0 -5px; }
    }
  }
}
.date-error { margin-top: 8px; color: #812e24; font-size: .9rem; font-weight: 700; }

.home { padding-bottom: 39px; }
.section { padding-top: 34px; scroll-margin-top: 12px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); line-height: 1.15; letter-spacing: -.037em; font-weight: 800; }
.section-head a { font-size: .89rem; font-weight: 700; text-decoration: none; text-align: right; }
.section-head a:hover { text-decoration: underline; }
.property-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.property { min-width: 0; }
.property-link { display: flex; flex-direction: column; width: 100%; height: 100%; color: inherit; padding: 0; border: 1px solid var(--line); background: #fff; border-radius: 11px; overflow: hidden; text-align: left; text-decoration: none; }
.property-link img { width: 100%; height: auto; aspect-ratio: 1.62; object-fit: cover; }
.property-body { display: block; padding: 12px 13px 14px; }
.property-meta { display: block; color: #765a4e; font-size: .75rem; font-weight: 650; }
.property-name { display: block; font-weight: 800; margin: 4px 0 3px; font-size: 1rem; line-height: 1.22; letter-spacing: -.018em; }
.property-address { display: block; color: var(--muted); font-size: .84rem; }
.city-grid, .theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.city-card { display: grid; isolation: isolate; overflow: hidden; border-radius: 11px; color: white; text-decoration: none; background: #43362d; }
.city-card img, .city-card::after, .city-card span { grid-area: 1 / 1; }
.city-card img { width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; }
.city-card::after { content: ""; background: linear-gradient(0deg, #211710df, #21171008 68%); }
.city-card span { z-index: 1; align-self: end; padding: 13px 15px; font-weight: 750; }
.city-card:hover { color: #fff; }
.theme-card { min-width: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 11px; background: #f4eee7; color: var(--ink); text-decoration: none; }
.theme-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.theme-card h3 { font-size: .96rem; }
.theme-card p { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.quick-links { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.quick-links h2 { font-size: 1.32rem; }
.link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 16px; }
.link-grid h3 { font-size: .86rem; margin-bottom: 4px; }
.link-grid a, .footer nav a, .contact { display: block; width: fit-content; font-size: .85rem; color: var(--muted); text-decoration: none; margin-top: 5px; }
.link-grid a:hover, .footer a:hover { text-decoration: underline; }
.footer { background: #eee4d9; border-top: 1px solid var(--line); }
.footer-row { display: grid; grid-template-columns: 1.4fr .9fr .9fr; gap: 22px; padding: 24px 0; }
.footer p { color: var(--muted); font-size: .83rem; margin-top: 4px; }
.text-button { border: 0; padding: 0; background: transparent; color: var(--dark); font-size: .88rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.results { padding-block: 24px 42px; min-height: 440px; }
.results-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 5px 12px; margin: 12px 0 16px; }
.results-head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.results-head p, .results-head span { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.back { font-size: .86rem; }
.result-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; }
.result-layout .property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filter-panel, .empty { align-self: start; border: 1px solid var(--line); padding: 15px; border-radius: 10px; background: #fff; }
.filter-panel summary { cursor: pointer; font-weight: 750; }
.filter-panel fieldset { margin: 12px 0; border: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; min-width: 0; }
.filter-panel legend { font-size: .85rem; font-weight: 750; padding: 0; }
.filter-panel label { display: flex; gap: 6px; align-items: start; font-size: .86rem; min-height: 36px; padding: 6px 5px; border-radius: 5px; cursor: pointer; }
.filter-panel label:has(input:checked) { background: var(--control); }
.filter-panel input { accent-color: var(--dark); width: 16px; height: 16px; flex-shrink: 0; }
.filter-panel button { width: 100%; font-size: .82rem; }
.empty h2 { font-size: 1.2rem; }
.empty p, .empty button { margin-top: 8px; }

dialog { width: min(550px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
dialog::backdrop { background: #2017109c; }
.close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; font-size: 1.5rem; line-height: 1; }
.dialog-body { padding: 19px 20px; }
.dialog-body h2 { margin: 3px 36px 4px 0; }
.dialog-body p { margin: 6px 0; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 44px); }
  .theme-card { grid-template-columns: 49px minmax(0, 1fr); gap: 9px; }
  .theme-card img { width: 49px; height: 49px; }
  .search-field { padding-inline: 8px; }
  .result-layout .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .header-row { min-height: 56px; grid-template-columns: auto 1fr auto; gap: 11px; }
  .wordmark { font-size: 1.32rem; }
  .header nav { justify-content: end; }
  .header nav a { font-size: .81rem; }
  .header nav a:not(:last-child) { display: none; }
  .help-link { padding: 5px 8px; font-size: .78rem; }
  .hero-inner { padding: 22px 0 17px; }
  .intro { margin-bottom: 15px; }
  .intro h1 { max-width: 16ch; font-size: clamp(1.95rem, 8.5vw, 2.65rem); }
  .intro p { margin-top: 8px; font-size: .85rem; max-width: 38ch; }
  .search { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 5px; }
  .search-field { padding: 5px 8px; border-radius: 6px; }
  .search-field.city { grid-column: 1 / -1; }
  .search-field.city, .search-field:nth-child(2), .search-field:nth-child(3) { box-shadow: 0 1px 0 var(--line); }
  .search-field:is(.city,:nth-child(3))::after { display: none; }
  .search .primary { min-height: 44px; font-size: .82rem; padding: 5px 7px; align-self: end; }
  .section { padding-top: 23px; }
  .section-head { margin-bottom: 10px; }
  .section-head a { font-size: .77rem; }
  .property-grid, .result-layout .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .property-body { padding: 8px 8px 10px; }
  .property-name { font-size: .91rem; }
  .property-meta, .property-address { font-size: .72rem; }
  .city-grid { gap: 8px; }
  .city-card img { aspect-ratio: .84; }
  .city-card span { padding: 7px; font-size: .75rem; overflow-wrap: anywhere; }
  .theme-grid { grid-template-columns: 1fr; gap: 7px; }
  .theme-card { padding: 8px; }
  .quick-links { margin-top: 22px; }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .footer-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .footer-row > :first-child { grid-column: 1 / -1; }
  .result-layout { grid-template-columns: 1fr; gap: 12px; }
}
@media (hover: hover) {
  .search-field:hover, .outline:hover, .help-link:hover, .close:hover, .filter-panel label:hover { background: var(--control); }
  .primary:hover { background: #60463a; border-color: #60463a; }
  :is(.property-link, .theme-card, .city-card):hover { box-shadow: var(--lift-shadow); }
  :is(.property-link, .theme-card):hover { border-color: var(--edge-hover); color: var(--ink); }
  .theme-card:hover { background: #eee4d9; }
  .city-card:hover img { filter: brightness(1.07); }
}
.primary:active, .outline:active, .help-link:active { filter: brightness(.94); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  :is(.primary, .outline, .help-link, .close, .search-field, .filter-panel label, .gallery-thumbs button) {
    transition: background-color var(--motion), border-color var(--motion), filter var(--motion);
  }
  dialog { opacity: 0; translate: 0 6px; transition: opacity var(--motion), translate var(--motion), display var(--motion), overlay var(--motion); transition-behavior: allow-discrete; }
  dialog[open] { opacity: 1; translate: 0 0; }
  @starting-style {
    dialog[open] { opacity: 0; translate: 0 6px; }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.property-link, .theme-card, .city-card) { transition: background-color var(--motion), box-shadow var(--motion), border-color var(--motion), translate var(--motion); }
  :is(.property-link, .theme-card, .city-card):hover { translate: 0 -2px; }
  .city-card img { transition: filter var(--motion), scale var(--motion); }
  .city-card:hover img { scale: 1.025; }
}
.detail { padding-block: 22px 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: .85rem; margin-bottom: 16px; }
.crumbs a { text-underline-offset: 3px; }
.detail-heading { margin-bottom: 19px; }
.detail-heading h1 { margin-top: 5px; }
.detail-heading > :last-child { margin-top: 9px; color: var(--muted); }
.detail-gallery { display: grid; grid-template-columns: minmax(0, 3.1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 12px; height: clamp(290px, 32vw, 430px); }
.gallery-main { position: relative; margin: 0; min-height: 0; border-radius: 13px; overflow: hidden; background: var(--cream); }
.gallery-main img, .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main figcaption { position: absolute; inset: auto auto 12px 12px; max-width: calc(100% - 24px); background: #302721e8; color: white; padding: 6px 10px; border-radius: 6px; font-size: .8rem; }
.gallery-thumbs { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; min-height: 0; }
.gallery-thumbs button { position: relative; background: var(--cream); border: 2px solid transparent; border-radius: 9px; padding: 0; min-width: 0; min-height: 0; }
.gallery-thumbs img { border-radius: 6px; }
.gallery-thumbs button[aria-pressed="true"] { border-color: #735143; }
@media (hover: hover) {
  .gallery-thumbs button:hover { border-color: #aa8e7c; }
}

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(285px, 350px); gap: 35px; margin-top: 26px; }
.detail-copy { grid-column: 1; grid-row: 1; }
.detail-copy > section + section { margin-top: 26px; }
.detail-copy section > p { line-height: 1.65; margin: 11px 0 13px; max-width: 68ch; color: var(--muted); }
.detail-features { padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.detail-features li { font-size: .85rem; padding: 6px 10px; background: #f3eae1; border-radius: 6px; }
.conditions { margin: 11px 0 0; border-top: 1px solid var(--line); }
.conditions > div { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 8px; }
.conditions dt, .reservation-summary dd { font-weight: 700; }
.conditions dd, .reservation-summary dd { margin: 0; }
.conditions dd { color: var(--muted); }
.reservation { grid-column: 2; grid-row: 1; position: sticky; top: 18px; align-self: start; border: 1px solid #ddcfc3; border-radius: 13px; background: #fff; padding: 18px; box-shadow: 0 8px 24px #44342b0d; }
.reservation h2 { font-size: 1.35rem; }
.reservation-summary { margin: 10px 0 14px; }
.reservation-summary div { padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: .89rem; }
.reservation-summary dt, .booking-hint { color: var(--muted); }
.reservation .primary { width: 100%; }
.booking-hint, #booking-status { font-size: .83rem; margin-top: 8px; }
#booking-status { background: #f3eae1; padding: 9px; border-radius: 6px; }
#booking-status a { display: inline-block; margin-top: 5px; }

@media (max-width: 680px) {
  .detail { padding-block: 14px 34px; }
  .crumbs { margin-bottom: 11px; }
  .detail-heading { margin-bottom: 13px; }
  .detail-heading > :last-child { font-size: .87rem; }
  .detail-gallery { display: block; height: auto; }
  .gallery-main { height: clamp(190px, 58vw, 325px); }
  .gallery-thumbs { grid-template: clamp(52px, 16vw, 75px) / repeat(3, minmax(0, 1fr)); margin-top: 7px; gap: 7px; }
  .detail-layout { display: block; margin-top: 15px; }
  .reservation { position: static; margin-bottom: 22px; padding: 14px; }
  .conditions > div { grid-template-columns: 1fr; gap: 4px; }
}

.property-highlight {
  display: block;
  color: #64493b;
  font-size: .81rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.city-intro { color: var(--muted); margin: 0 0 18px; max-width: 66ch; }
.city-guide {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 22px;
}
.city-guide p { color: var(--muted); margin: 10px 0; max-width: 69ch; }

.detail-copy > :not([hidden]) ~ :not([hidden]),
.grand-content > section + section { margin-top: 26px; }
.room-grid {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.room-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
}
.room-grid h3 { font-size: 1rem; }
.room-grid p, .room-action { font-size: .84rem; }
.room-grid p, .property-faq p { color: var(--muted); }
.room-action { justify-self: start; }
.reservation-summary dd { text-align: right; }
.property-faq { border-bottom: 1px solid var(--line); }
.property-faq summary { padding: 11px 0; cursor: pointer; font-weight: 700; }
.property-faq p { padding-bottom: 11px; }

@media (max-width: 680px) {
  .property-highlight { font-size: .74rem; }
  .city-guide { margin-top: 24px; }
  .room-grid { grid-template-columns: 1fr; }
}
