/* Public hotel catalogue: server-rendered pages that read without JavaScript.
   The look is the site's own light sky: the same gradient and clouds as home, the white
   pill top bar, indigo pill buttons, white cards with soft shadows and pastel panels. */

:root {
  --ink: #10224f;
  --ink-strong: #131c4e;
  --muted: #4b5d80;
  --soft: #6b7590;
  --blue: #2f6bff;
  --indigo-a: #4b3ddb;
  --indigo-b: #3826b8;
  --card: #fff;
  --line: #dfe8f5;
  --line-strong: #c9d7ec;
  --lilac: #f6f5fe;
  --rose: #fef5f8;
  --mint: #f3fbf4;
  --cream: #fff8ef;
  --good: #1f9d55;
  --star: #f5a623;
  --shadow: 0 14px 32px rgba(24, 52, 102, 0.1);
  --shadow-soft: 0 10px 28px rgba(18, 48, 96, 0.07);
  --font: "Segoe UI", "SF Pro Text", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --round: "Sofia Round", "Segoe UI", ui-rounded, system-ui, sans-serif;
  color-scheme: light;
}

@font-face {
  font-family: "Sofia Round";
  src: url("/static/web/fonts/mplusrounded1c-black-latin.woff2?v=2") format("woff2");
  font-weight: 800 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2212;
}

@font-face {
  font-family: "Sofia Round";
  src: url("/static/web/fonts/mplusrounded1c-black-cyrillic.woff2?v=2") format("woff2");
  font-weight: 800 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
  background:
    url("/static/web/home/sky-cloud.svg?v=1") no-repeat right -60px top 70px / 320px auto,
    url("/static/web/home/sky-cloud.svg?v=1") no-repeat left -90px top 260px / 260px auto,
    radial-gradient(70% 42% at 78% 8%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0) 52%),
    linear-gradient(#c8e8ff 0%, #e7f5ff 46%, #f4fbff 100%) fixed;
  background-color: #f4fbff;
}

body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.5 var(--font);
  letter-spacing: -0.011em;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(47, 107, 255, 0.45);
  outline-offset: 2px;
}

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink-strong); }
h1 {
  font: 900 clamp(1.9rem, 4.6vw, 3.1rem)/1.05 var(--round);
  letter-spacing: -0.035em;
}
h2 { font: 900 clamp(1.25rem, 2.4vw, 1.55rem)/1.15 var(--round); letter-spacing: -0.02em; }
h3 { font-size: 1rem; font-weight: 750; letter-spacing: -0.02em; }
p { margin: 0 0 .8em; }

.cx-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Top bar: the logo on the sky, the menu in a white pill. */
.cx-top { padding: 14px 0 6px; }
.cx-top-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cx-brand { display: inline-flex; align-items: center; gap: 8px; }
.cx-brand:hover { text-decoration: none; }
.cx-brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.cx-brand-word { width: auto; height: 30px; }
.cx-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border-radius: 22px;
  padding: 6px 8px;
  box-shadow: var(--shadow-soft);
}
.cx-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .88rem;
  padding: 6px 11px;
  border-radius: 999px;
}
.cx-nav-link:hover { background: #f1f5fc; text-decoration: none; }
.cx-nav-link[aria-current="page"] { color: var(--ink); font-weight: 650; }
.cx-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 3px 8px rgba(58, 42, 130, .22);
}
.cx-langs { display: inline-flex; gap: 2px; margin-left: 4px; padding-left: 6px; border-left: 1px solid var(--line); }
.cx-langs a {
  color: var(--soft);
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 999px;
}
.cx-langs a:hover { background: #f1f5fc; text-decoration: none; }
.cx-langs a[aria-current="true"] { color: #fff; background: var(--ink-strong); }

.cx-main { padding: 14px 0 64px; }

.cx-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 6px 0 14px; font-size: .88rem; color: var(--muted); }
.cx-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--soft); }
.cx-crumbs a { color: var(--muted); }

.cx-page-head { margin: 10px 0 26px; max-width: 760px; }
.cx-lede { color: var(--muted); font: 800 1.08rem/1.5 var(--round); letter-spacing: 0; }

/* Cards on a city page */
.cx-cards { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.cx-card a {
  display: block;
  height: 100%;
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cx-card a:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(24, 52, 102, 0.16); }
.cx-card img, .cx-card-blank { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e3eefb; display: block; }
.cx-card-body { padding: 14px 16px 16px; }
.cx-card h3 { font-size: 1.04rem; margin-bottom: 4px; }
.cx-card .cx-badge { margin: 4px 0 2px; }
.cx-teaser { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.cx-nearby { background: transparent; box-shadow: none; padding: 8px 0 0; }

.cx-foot { padding: 26px 0 40px; color: var(--muted); font-size: .9rem; }
.cx-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cx-foot a { color: var(--muted); }

.cx-book-jump { display: none; }

@media (max-width: 960px) {
  .cx-hotel { grid-template-columns: 1fr; }
  .cx-hotel-side { position: static; }
  .cx-main { padding-bottom: 104px; }
  .cx-book-jump {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 6;
    min-height: 54px;
    background: linear-gradient(var(--indigo-a), var(--indigo-b));
    box-shadow: 0 16px 30px rgba(48, 34, 160, 0.32);
    color: #fff;
    font: 800 1.05rem/1.2 var(--round);
    border-radius: 999px;
  }
  .cx-book-jump:hover { text-decoration: none; }
}

@media (max-width: 640px) {
  .cx-brand-word { display: none; }
  .cx-nav { padding: 5px 6px; }
  .cx-nav-link { padding: 6px 8px; }
  .cx-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .cx-photo-lead { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .cx-block { padding: 18px 16px 10px; border-radius: 20px; }
  .cx-dates, .cx-guests, .cx-ages { grid-template-columns: 1fr; gap: 0; }
  html {
    background:
      radial-gradient(70% 42% at 78% 8%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0) 52%),
      linear-gradient(#c8e8ff 0%, #e7f5ff 46%, #f4fbff 100%) fixed;
    background-color: #f4fbff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cx-photo img, .cx-card a { transition: none; }
  .cx-photo:hover img, .cx-card a:hover { transform: none; }
}
