@font-face {
  font-family: "Roomplace Sans";
  src: url("/assets/hybrid/WorkSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roomplace Sans";
  src: url("/assets/hybrid/WorkSans-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --night: #06111d;
  --night-raised: #0b2032;
  --night-soft: #112b3e;
  --river: #23587a;
  --sky: #4d9cff;
  --sky-strong: #2f80ed;
  --window: #f4b654;
  --window-soft: #ffdda0;
  --cream: #f1e7d6;
  --paper: #f7f2e9;
  --white: #f9fbfd;
  --muted: #afc0ce;
  --ink: #12202c;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(13, 31, 45, 0.14);
  --shadow-map: 0 36px 110px rgba(1, 8, 14, 0.55);
  --shadow-card: 0 24px 70px rgba(7, 20, 31, 0.16);
  --radius-small: 14px;
  --radius-medium: 24px;
  --radius-large: 40px;
  /* V12 photos are individually finished files. Do not grade them twice. */
  --room-photo-grade: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Roomplace Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: rgba(77, 156, 255, 0.18); }

.pointer-light {
  position: fixed;
  z-index: 2147483646;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 180ms ease;
  will-change: transform;
}

.pointer-light::before,
.pointer-light::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 190ms ease, height 190ms ease, border-color 190ms ease, background 190ms ease, box-shadow 190ms ease;
}

.pointer-light::before {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(115, 180, 255, .58);
  background: radial-gradient(circle, rgba(77, 156, 255, .12), rgba(77, 156, 255, 0) 67%);
  box-shadow: 0 0 19px rgba(77, 156, 255, .22), inset 0 0 8px rgba(255, 255, 255, .08);
}

.pointer-light::after {
  width: 4px;
  height: 4px;
  background: var(--window-soft);
  box-shadow: 0 0 10px rgba(244, 182, 84, .9);
}

.pointer-light.is-visible { opacity: .82; }

.pointer-light.is-over-action::before {
  width: 45px;
  height: 45px;
  border-color: rgba(255, 221, 160, .78);
  background: radial-gradient(circle, rgba(244, 182, 84, .14), rgba(77, 156, 255, .04) 62%, transparent 70%);
  box-shadow: 0 0 27px rgba(244, 182, 84, .24), inset 0 0 11px rgba(255, 255, 255, .09);
}

.pointer-light.is-pressed::before {
  width: 22px;
  height: 22px;
  border-color: rgba(255, 255, 255, .82);
}

@media (pointer: coarse), (hover: none) {
  .pointer-light { display: none; }
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  border-radius: 10px;
  color: white;
  background: var(--sky-strong);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.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;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(3, 10, 17, 0.74), transparent);
}

.site-header--solid {
  position: relative;
  color: var(--ink);
  border-color: var(--line-light);
  background: rgba(247, 242, 233, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand__light {
  width: 215px;
  height: auto;
}

.site-header--solid .brand__light { content: url("/assets/roomplace-logo-light.svg"); }

.nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--window);
  transition: right 220ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.phone-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.site-header--solid .phone-link { border-color: var(--line-light); background: white; }

.language {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.site-header--solid .language { border-color: var(--line-light); background: white; }

.language button {
  min-width: 35px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 0;
  padding: 0 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
}

.language .is-current { color: var(--night); background: var(--white); }
.site-header--solid .language .is-current { color: white; background: var(--night); }

.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mobile-menu__panel { position: fixed; z-index: 3; top: 76px; right: 12px; width: min(330px, calc(100vw - 24px)); padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; color: white; background: rgba(6,17,29,.96); box-shadow: 0 24px 70px rgba(1,8,14,.5); backdrop-filter: blur(22px); }
.mobile-menu__panel > a { min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.1); color: #edf3f7; text-decoration: none; font-size: 14px; font-weight: 700; }
.mobile-menu__panel > a::after { content: "→"; color: #e8b66e; font-size: 18px; }
.mobile-menu__contact { display: grid; grid-template-columns: 1fr .72fr; gap: 7px; padding-top: 11px; }
.mobile-menu__contact a { min-height: 48px; display: grid; place-items: center; border-radius: 13px; color: white; background: #2f80ed; text-decoration: none; font-size: 12px; font-weight: 700; }
.mobile-menu__contact a:last-child { color: #ffdda0; background: rgba(255,255,255,.09); }

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
  isolation: isolate;
}

.hero .map-wrap,
.finder .map-wrap {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #0c2435, #06111d 70%);
}

.map-canvas { position: absolute; inset: 0; }

.map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.99) 0%, rgba(6, 17, 29, 0.92) 24%, rgba(6, 17, 29, 0.56) 45%, rgba(6, 17, 29, 0.12) 72%),
    linear-gradient(180deg, rgba(6, 17, 29, 0.1) 46%, rgba(6, 17, 29, 0.76) 100%);
}

.map-wrap--clear::after {
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.56), rgba(6, 17, 29, 0.05) 38%, rgba(6, 17, 29, 0.05) 70%, rgba(6, 17, 29, 0.5)),
    linear-gradient(180deg, rgba(6, 17, 29, 0.34), rgba(6, 17, 29, 0.02) 28%, rgba(6, 17, 29, 0.3) 78%, rgba(6, 17, 29, 0.88));
}

.maplibregl-control-container { display: none; }

.map-credit {
  position: absolute;
  z-index: 7;
  right: 10px;
  bottom: 7px;
  padding: 3px 6px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(3, 11, 18, 0.5);
  font-size: 9px;
  line-height: 1.2;
  backdrop-filter: blur(8px);
}

.map-credit__link { text-decoration: none; }
.map-credit__link:hover,
.map-credit__link:focus-visible { color: white; text-decoration: underline; }

.rp-marker {
  position: relative;
  width: 48px;
  height: 68px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.rp-marker__pulse,
.rp-marker__core {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.rp-marker__pulse {
  width: 44px;
  height: 44px;
  background: radial-gradient(circle, rgba(141, 197, 255, .24) 0 14%, rgba(77, 156, 255, .11) 35%, rgba(77, 156, 255, 0) 72%);
  box-shadow: 0 0 32px rgba(77, 156, 255, .24), 0 0 72px rgba(77, 156, 255, .13);
  filter: blur(1.6px);
}

.rp-marker__core {
  width: 18px;
  height: 18px;
  border: 5px solid var(--white);
  background: var(--sky);
  box-shadow: 0 0 15px rgba(140, 199, 255, .25), 0 7px 18px rgba(0, 0, 0, 0.45);
}

.rp-marker.is-active .rp-marker__pulse {
  width: 58px;
  height: 58px;
  background: radial-gradient(circle, rgba(255, 229, 181, .28) 0 12%, rgba(244, 182, 84, .12) 34%, rgba(244, 182, 84, 0) 74%);
  box-shadow: 0 0 38px rgba(244, 182, 84, .28), 0 0 88px rgba(244, 182, 84, .16);
  filter: blur(2px);
}

.rp-marker.is-active .rp-marker__core {
  background: var(--window);
  box-shadow: 0 0 17px rgba(255, 221, 160, .32), 0 7px 18px rgba(0, 0, 0, .42);
}

.rp-marker__label {
  position: absolute;
  left: 50%;
  top: -31px;
  min-width: 152px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px 12px 12px 2px;
  background: rgba(5, 16, 27, 0.9);
  box-shadow: 0 14px 36px rgba(1, 8, 14, 0.42);
  text-align: left;
  transform: translateX(11px);
  backdrop-filter: blur(14px);
}

.rp-marker__label b,
.rp-marker__label small { display: block; white-space: nowrap; }
.rp-marker__label b { font-size: 12px; }
.rp-marker__label small { margin-top: 2px; color: #9fb2c1; font-size: 10px; }
.rp-marker.is-compact:not(.is-active) .rp-marker__label { display: none; }
.rp-marker.is-active .rp-marker__label { border-color: rgba(244, 182, 84, 0.52); }
.finder .rp-marker { z-index: 1; }
.finder .rp-marker:not(.is-active) .rp-marker__pulse { width: 30px; height: 30px; opacity: .72; }
.finder .rp-marker:not(.is-active) .rp-marker__core { width: 13px; height: 13px; border-width: 3px; }
.finder .rp-marker__label { opacity: 0; visibility: hidden; transform: translate(11px, 4px); transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease; }
.finder .rp-marker.is-active { z-index: 4; }
.finder .rp-marker:hover .rp-marker__label,
.finder .rp-marker:focus-visible .rp-marker__label { opacity: 1; visibility: visible; transform: translate(11px, 0); }

.hero__content {
  position: relative;
  z-index: 10;
  width: min(660px, 47vw);
  margin-left: clamp(24px, 5vw, 80px);
  padding-top: 184px;
}

.hero__location {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  color: #c1d0dc;
  font-size: 14px;
  font-weight: 700;
}

.hero__location::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--window));
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(58px, 5.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.hero__lead {
  max-width: 570px;
  margin: 13px 0 0;
  color: #c0ced9;
  font-size: 17px;
  line-height: 1.52;
}

.hero__promise {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--window-soft);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.38;
  text-wrap: balance;
  text-shadow: 0 0 22px rgba(244, 182, 84, .13);
}

.hero__actions { display: flex; align-items: center; gap: 13px; margin-top: 34px; }

.btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible, a:focus-visible, .rp-marker:focus-visible, .language button:focus-visible { outline: 3px solid var(--window); outline-offset: 4px; }
.btn--primary { color: white; background: var(--sky-strong); box-shadow: 0 16px 40px rgba(47, 128, 237, 0.35); }
.btn--primary:hover { background: #2276df; box-shadow: 0 20px 46px rgba(47, 128, 237, 0.43); }
.btn--ghost { color: white; border-color: var(--line-dark); background: rgba(255, 255, 255, 0.08); }
.btn--dark { color: white; background: var(--night); }
.btn--telegram { color: #ffdda0; border-color: rgba(255, 221, 160, .2); background: rgba(255, 255, 255, .075); }
.btn--telegram:hover { color: #fff0cf; border-color: rgba(255, 221, 160, .42); background: rgba(255, 255, 255, .12); box-shadow: 0 16px 38px rgba(1, 8, 14, .22); }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }

.btn--arrival-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--night);
  border-color: rgba(255, 235, 188, .32);
  background:
    repeating-linear-gradient(4deg, transparent 0 2px, rgba(63, 39, 12, .045) 2px 3px, transparent 3px 5px),
    radial-gradient(circle at 21% 19%, rgba(255, 235, 181, .34), transparent 26%),
    radial-gradient(circle at 82% 81%, rgba(109, 67, 24, .2), transparent 31%),
    linear-gradient(132deg, #a67432 0%, #d4aa63 34%, #b7833e 68%, #d7ae69 100%);
  box-shadow:
    0 17px 42px rgba(108, 70, 24, .34),
    inset 0 1px 0 rgba(255, 245, 214, .48),
    inset 0 -1px 0 rgba(81, 48, 15, .24);
  text-shadow: 0 1px 0 rgba(255, 237, 196, .28);
}

.btn--arrival-cta > span,
.btn--arrival-cta > svg {
  position: relative;
  z-index: 3;
}

.btn--arrival-cta::before,
.btn--arrival-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.btn--arrival-cta::before {
  z-index: 2;
  top: -45%;
  bottom: -45%;
  left: -62%;
  width: 48%;
  opacity: 0;
  background: linear-gradient(108deg, transparent 5%, rgba(255, 249, 224, .08) 28%, rgba(255, 248, 214, .72) 50%, rgba(255, 242, 198, .12) 72%, transparent 95%);
  filter: blur(5px);
  transform: translate3d(0, 0, 0) skewX(-13deg);
}

.btn--arrival-cta::after {
  z-index: 1;
  inset: 0;
  opacity: .48;
  background:
    url("/assets/gold-wear.svg"),
    radial-gradient(ellipse at 13% 70%, rgba(52, 31, 11, .66) 0 1px, transparent 2px),
    radial-gradient(ellipse at 73% 24%, rgba(255, 240, 196, .72) 0 1px, transparent 2px),
    linear-gradient(104deg, transparent 0 23%, rgba(73, 45, 17, .55) 23.4% 23.8%, transparent 24.2% 100%),
    linear-gradient(78deg, transparent 0 66%, rgba(255, 237, 188, .5) 66.3% 66.6%, transparent 67% 100%);
  background-size: 240px 72px, 73px 41px, 91px 47px, 127px 61px, 149px 67px;
  mix-blend-mode: soft-light;
}

.btn--arrival-cta.is-attention-ready::before,
.map-dialog[open] .btn--arrival-cta::before {
  animation: arrival-cta-shimmer 2.4s cubic-bezier(.35, 0, .25, 1) infinite;
  will-change: transform, opacity;
}

.btn--arrival-cta:hover {
  color: var(--night);
  background:
    radial-gradient(circle at 21% 19%, rgba(255, 242, 199, .44), transparent 28%),
    radial-gradient(circle at 82% 81%, rgba(109, 67, 24, .16), transparent 31%),
    linear-gradient(132deg, #b2813a 0%, #dfb66e 35%, #c18d46 68%, #dfba73 100%);
  box-shadow: 0 20px 48px rgba(165, 111, 42, .42), 0 0 25px rgba(244, 182, 84, .12), inset 0 1px 0 rgba(255, 247, 219, .56);
}

body.is-arriving .btn--arrival-cta::before { animation: none; opacity: 0; }

@keyframes arrival-cta-shimmer {
  0%, 5% { opacity: 0; transform: translate3d(0, 0, 0) skewX(-13deg); }
  18% { opacity: .16; }
  42% { opacity: .56; }
  78% { opacity: 0; transform: translate3d(345%, 0, 0) skewX(-13deg); }
  100% { opacity: 0; transform: translate3d(345%, 0, 0) skewX(-13deg); }
}

.hero__facts {
  display: flex;
  gap: 26px;
  margin-top: 33px;
  color: #d5dfe7;
  font-size: 13px;
  font-weight: 700;
}

.hero__facts span { display: flex; align-items: center; gap: 9px; }
.hero__facts i { width: 7px; height: 7px; border-radius: 50%; background: var(--window); box-shadow: 0 0 16px rgba(244, 182, 84, 0.72); }

.hero__location { animation: hero-copy-in 560ms 80ms both cubic-bezier(.2,.72,.2,1); }
.hero h1 { animation: hero-copy-in 720ms 150ms both cubic-bezier(.2,.72,.2,1); }
.hero__promise { animation: hero-copy-in 720ms 220ms both cubic-bezier(.2,.72,.2,1); }
.hero__lead { animation: hero-copy-in 720ms 280ms both cubic-bezier(.2,.72,.2,1); }
.hero__actions { animation: hero-copy-in 680ms 360ms both cubic-bezier(.2,.72,.2,1); }
.hero__facts { animation: hero-copy-in 640ms 440ms both cubic-bezier(.2,.72,.2,1); }
.hero-room-card { animation: hero-card-in 820ms 420ms both cubic-bezier(.16,.78,.22,1); }

@keyframes hero-copy-in {
  from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(7px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

@keyframes hero-card-in {
  from { opacity: 0; transform: translate3d(0, 25px, 0) scale(.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.arrival-routes {
  position: absolute;
  z-index: 8;
  inset: 0;
  overflow: hidden;
  opacity: .78;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, transparent 8%, #000 25%, #000 82%, transparent 98%);
  mask-image: linear-gradient(180deg, transparent 8%, #000 25%, #000 82%, transparent 98%);
  animation: arrival-routes-in 1200ms 900ms both ease;
}

.arrival-routes__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.arrival-route-mist,
.arrival-route-line { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.arrival-route-mist { stroke-width: 14; opacity: .13; filter: blur(8px); }
.arrival-route-line { stroke-width: 1.3; stroke-dasharray: 3 17; opacity: .5; }
.arrival-route-mist--bus,
.arrival-route-line--bus { stroke: #8bc5ff; }
.arrival-route-mist--car,
.arrival-route-line--car { stroke: #ffd995; }

.arrival-vehicle {
  position: absolute;
  display: block;
  opacity: 0;
  transform-origin: center;
  will-change: transform, opacity;
}

.arrival-vehicle svg { display: block; width: 100%; height: 100%; overflow: visible; }
.arrival-vehicle svg > * { vector-effect: non-scaling-stroke; }
.arrival-vehicle path,
.arrival-vehicle rect { fill: rgba(9, 31, 47, .95); stroke: currentColor; stroke-width: 1.15; }
.arrival-vehicle circle { fill: var(--night); stroke: currentColor; stroke-width: 1.1; }

.arrival-vehicle--bus {
  top: 60%;
  left: 47%;
  width: 46px;
  height: 18px;
  color: #9dceff;
  filter: drop-shadow(0 0 4px rgba(121, 190, 255, .68)) drop-shadow(0 0 14px rgba(77, 156, 255, .28));
  animation: arrival-bus-motion 12.8s 2.1s linear infinite;
}

.arrival-vehicle--car {
  top: 73%;
  left: 48%;
  width: 33px;
  height: 16px;
  color: #ffdfa4;
  filter: drop-shadow(0 0 4px rgba(255, 222, 164, .72)) drop-shadow(0 0 16px rgba(244, 182, 84, .3));
  animation: arrival-car-motion 10.4s .8s linear infinite;
}

@keyframes arrival-routes-in {
  from { opacity: 0; }
  to { opacity: .78; }
}

@keyframes arrival-bus-motion {
  0%, 7% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-12deg) scale(.78); }
  13%, 56% { opacity: .78; }
  66% { opacity: 0; transform: translate3d(520px, -115px, 0) rotate(-17deg) scale(.94); }
  100% { opacity: 0; transform: translate3d(520px, -115px, 0) rotate(-17deg) scale(.94); }
}

@keyframes arrival-car-motion {
  0%, 8% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-20deg) scale(.82); }
  15%, 55% { opacity: .9; }
  66% { opacity: 0; transform: translate3d(520px, -205px, 0) rotate(-27deg) scale(.96); }
  100% { opacity: 0; transform: translate3d(520px, -205px, 0) rotate(-27deg) scale(.96); }
}

.hero-room-card {
  position: absolute;
  z-index: 12;
  right: clamp(26px, 6vw, 92px);
  bottom: 44px;
  width: 350px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-medium);
  background: rgba(5, 17, 29, 0.94);
  box-shadow: var(--shadow-map);
  backdrop-filter: blur(18px);
}

.hero-room-card__photo { height: 177px; background: url("/assets/hybrid/room-1-warm-ai.webp") center 48% / cover; }
.hero-room-card__body { padding: 17px 20px 19px; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--window); font-size: 12px; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero-room-card h2 { margin: 8px 0 11px; font-size: 20px; line-height: 1.15; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #b9c8d3; font-size: 12px; }
.card-row b { color: white; font-size: 13px; }

.section { padding: 108px clamp(24px, 5vw, 80px); }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--night { color: var(--white); background: var(--night); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.65fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 47px;
}

.section-heading h2 { max-width: 760px; margin: 0; font-size: clamp(43px, 4.5vw, 68px); line-height: 1.02; letter-spacing: -0.05em; }
.section-heading p { max-width: 470px; margin: 0 0 6px; color: #526474; font-size: 17px; }
.section--night .section-heading p { color: var(--muted); }

.rooms-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }

.room-tile {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 28px;
  background: #d8d0c4;
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.room-tile img { width: 100%; height: 100%; object-fit: cover; filter: var(--room-photo-grade); transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.room-tile img[src$="room-1-warm-ai.png"] { filter: none; }
.room-tile:hover img { transform: scale(1.025); }
.room-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(4, 13, 20, .9) 100%); }
.room-tile__info { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; color: white; }
.room-tile__info small { color: #c5d2db; font-size: 12px; }
.room-tile__info h3 { margin: 6px 0 10px; font-size: 22px; line-height: 1.13; }
.room-tile__meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.room-tile__meta span:first-child { color: var(--window-soft); font-weight: 700; }

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 720ms var(--reveal-delay, 0ms) cubic-bezier(.2,.72,.2,1),
    transform 860ms var(--reveal-delay, 0ms) cubic-bezier(.16,.78,.22,1),
    filter 720ms var(--reveal-delay, 0ms) ease,
    clip-path 980ms var(--reveal-delay, 0ms) cubic-bezier(.16,.78,.22,1);
  will-change: opacity, transform, clip-path;
}

.reveal-ready [data-reveal="copy"] { filter: blur(7px); }

.reveal-ready [data-reveal="photo"] {
  clip-path: inset(0 0 16% 0 round 22px);
  transform: translate3d(0, 34px, 0) scale(1.025);
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 0 0 0 round 0);
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

.reveal-ready .room-tile[data-reveal="photo"]::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 221, 160, .34) 50%, transparent 65%);
  transform: translateX(-115%);
}

.reveal-ready .room-tile[data-reveal="photo"].is-revealed::before {
  animation: room-photo-light 1100ms calc(var(--reveal-delay, 0ms) + 180ms) both cubic-bezier(.2,.7,.2,1);
}

@keyframes room-photo-light {
  from { transform: translateX(-115%); }
  to { transform: translateX(115%); }
}

.map-story {
  display: grid;
  grid-template-columns: minmax(320px, .75fr) minmax(520px, 1.35fr);
  min-height: 680px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: #091c2b;
  box-shadow: var(--shadow-map);
}

.map-story__copy { display: flex; flex-direction: column; justify-content: center; padding: 68px; }
.map-story__copy h2 { margin: 0; color: white; font-size: clamp(45px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.05em; }
.map-story__copy p { margin: 24px 0 30px; color: var(--muted); font-size: 17px; }
.map-story__visual { position: relative; min-height: 680px; overflow: hidden; background: url("/screens/finder-desktop.png") 58% center / cover; }
.map-story__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #091c2b 0%, transparent 25%); }
.map-story__tag { position: absolute; z-index: 2; right: 32px; bottom: 32px; padding: 15px 18px; border-radius: 14px; color: var(--night); background: var(--window); font-size: 13px; font-weight: 700; box-shadow: 0 18px 40px rgba(0,0,0,.25); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line-light); border-radius: 28px; background: var(--line-light); overflow: hidden; }
.step-card { min-height: 270px; padding: 37px; background: var(--paper); }
.step-card__number { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--night); background: var(--window); font-weight: 700; }
.step-card h3 { margin: 45px 0 12px; font-size: 24px; }
.step-card p { margin: 0; color: #5a6b79; }

.contact-panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 56px;
  padding: 68px;
  border-radius: var(--radius-large);
  color: white;
  background:
    radial-gradient(circle at 85% 20%, rgba(244,182,84,.24), transparent 24%),
    linear-gradient(135deg, #102d41, #071522);
  box-shadow: var(--shadow-map);
}

.contact-panel h2 { margin: 0; font-size: clamp(43px, 4.2vw, 64px); line-height: 1; letter-spacing: -.05em; }
.contact-panel p { margin: 20px 0 0; color: #c0cfda; font-size: 17px; }
.contact-panel__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.contact-panel__phone { text-align: center; color: var(--window); font-size: 25px; font-weight: 700; text-decoration: none; }

@media (min-width: 901px) {
  .contact-panel__mobile-call { display: none; }
}
.callback-panel {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 64px;
  padding: 60px 68px;
  border: 1px solid #e2d8c9;
  border-radius: var(--radius-large);
  background: #fffcf6;
  color: var(--night);
}
.callback-panel__eyebrow { color: #8a602d; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.callback-panel h2 { margin: 16px 0 20px; max-width: 420px; font-size: clamp(36px, 3.5vw, 52px); line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
.callback-panel__intro p { max-width: 360px; margin: 0; color: #526573; font-size: 17px; line-height: 1.6; }
.callback-form { min-width: 0; }
.callback-form__field + .callback-form__field { margin-top: 22px; }
.callback-form label { display: block; margin-bottom: 9px; font-size: 15px; font-weight: 700; }
.callback-form input { display: block; width: 100%; min-height: 58px; padding: 15px 18px; border: 1px solid #c5bcaf; border-radius: 14px; background: #fff; color: #152633; font-size: 17px; }
.callback-form input::placeholder { color: #6b7377; opacity: 1; }
.callback-form input:focus-visible { outline: 3px solid #bc8b44; outline-offset: 3px; border-color: #8a602d; }
.callback-form__promise { margin: 22px 0 16px; color: #526573; font-size: 14px; line-height: 1.5; }
.callback-form__submit { width: 100%; justify-content: space-between; min-height: 58px; }
.callback-form__status { margin: 16px 0 0; color: #526573; font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) {
  .callback-panel { grid-template-columns: 1fr; gap: 30px; padding: 42px; }
}
@media (max-width: 620px) {
  .callback-panel { padding: 36px 27px; border-radius: 28px; }
}

.footer { display: flex; align-items: center; justify-content: space-between; padding: 31px clamp(24px, 5vw, 80px); color: #8fa3b2; background: #030b12; font-size: 12px; }
.footer strong { color: white; }
.footer a { color: var(--window); text-decoration: none; font-weight: 700; }
.footer__links { display: flex; align-items: center; gap: 18px; }

body.is-arriving { overflow: hidden; }
body.is-arriving::after {
  content: "";
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  background: var(--night);
  animation: arrival-curtain 1050ms cubic-bezier(.65, 0, .35, 1) forwards;
}
body.is-arriving .hero .map-canvas { animation: city-approach 1050ms cubic-bezier(.3, .7, .2, 1) forwards; }
body.is-arriving .hero__content,
body.is-arriving .hero-room-card,
body.is-arriving .arrival-routes { animation: arrival-copy-out 520ms ease forwards; }

@keyframes city-approach {
  to { transform: scale(1.085) translate3d(-1.5%, -1.5%, 0); filter: brightness(1.12); }
}

@keyframes arrival-copy-out {
  to { opacity: 0; transform: translateY(-8px); }
}

@keyframes arrival-curtain {
  0%, 58% { opacity: 0; }
  100% { opacity: 1; }
}

/* Map finder */
.finder {
  position: relative;
  width: 100vw;
  height: 100dvh;
  min-height: 660px;
  overflow: hidden;
  color: white;
  background: var(--night);
  isolation: isolate;
}

.finder .site-header { height: 80px; }

.finder-heading {
  position: absolute;
  z-index: 12;
  top: 111px;
  left: 50%;
  width: min(780px, 76vw);
  text-align: center;
  transform: translateX(-50%);
}

.finder-heading__arrival { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--window); font-size: 13px; font-weight: 700; }
.finder-heading__arrival svg { width: 21px; height: 21px; fill: currentColor; transform: rotate(10deg); }
.finder-heading h1 { margin: 9px 0 0; font-size: clamp(48px, 4.7vw, 72px); line-height: 1; letter-spacing: -.055em; }
.finder-heading p { margin: 10px 0 0; color: #c3d0da; }

.filters,
.address-panel {
  position: absolute;
  z-index: 14;
  top: 252px;
  left: clamp(20px, 4vw, 58px);
  width: 300px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 21px;
  background: rgba(5, 17, 28, .88);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}

.address-panel {
  max-height: calc(100dvh - 420px);
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.address-panel__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 1px 3px 13px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.address-panel__heading small { color: #9fb0bd; font-size: 10px; font-weight: 700; }
.address-panel__heading h2 { margin: 1px 0 0; font-size: 24px; line-height: 1; }
.address-panel__heading > span { color: var(--window); font-size: 13px; font-weight: 700; }
.address-list { min-height: 0; margin: 8px -8px 0; padding: 0 8px; overflow: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }

.address-option {
  width: 100%;
  min-height: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 0;
  border-radius: 11px;
  color: #e6edf2;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.address-option span { font-size: 12px; font-weight: 700; }
.address-option small { max-width: 104px; color: #91a5b4; font-size: 9px; text-align: right; }
.address-option:hover,
.address-option:focus-visible { background: rgba(255,255,255,.08); }
.address-option.is-selected { color: var(--night); background: var(--window); }
.address-option.is-selected small { color: #4a3a22; }
.address-option--catalog { margin-top: 4px; color: var(--window-soft); border: 1px solid rgba(244, 182, 84, .22); text-decoration: none; }
.address-option--catalog small { color: var(--window); }
.address-panel__note { margin: 11px 3px 0; color: #92a6b5; font-size: 10px; line-height: 1.35; }

.filters__title { margin: 0 0 13px; color: #b7c7d3; font-size: 12px; font-weight: 700; }
.filter-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 13px; background: rgba(255,255,255,.07); }
.filter-choice + .filters__title { margin-top: 17px; }
.filter-choice span { min-height: 43px; display: grid; place-items: center; border-radius: 10px; color: #aebfcb; font-size: 12px; font-weight: 700; }
.filter-choice .on { color: var(--night); background: white; }

.finder-plane {
  position: absolute;
  z-index: 12;
  top: 214px;
  left: 23%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 5px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: var(--night);
  background: white;
  background-clip: padding-box;
  box-shadow: 0 18px 48px rgba(0,0,0,.36);
  transform: rotate(18deg);
}
.finder-plane svg { width: 31px; height: 31px; fill: currentColor; }

.district-chips { position: absolute; z-index: 13; inset: 0; pointer-events: none; }
.district-chip { position: absolute; padding: 10px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(5,16,27,.86); box-shadow: 0 12px 32px rgba(0,0,0,.3); backdrop-filter: blur(14px); font-size: 12px; font-weight: 700; }
.district-chip i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--sky); }
.district-chip--active { color: var(--night); background: var(--window); border-color: var(--window); }
.district-chip--active i { background: var(--night); }
.chip-nadodrze { left: 56%; top: 39%; }
.chip-centrum { left: 44%; top: 57%; }
.chip-krzyki { left: 57%; top: 69%; }
.chip-fabryczna { left: 29%; top: 56%; }
.chip-psie { right: 11%; top: 49%; }

.finder-selection {
  position: absolute;
  z-index: 15;
  left: 50%;
  bottom: 28px;
  width: min(780px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: 94px 1fr auto;
  align-items: center;
  gap: 19px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 23px;
  background: rgba(4, 15, 25, .94);
  box-shadow: 0 28px 75px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.finder-selection img { width: 94px; height: 76px; object-fit: cover; border-radius: 14px; }
.finder-selection small { color: #9eb0be; font-size: 11px; font-weight: 700; }
.finder-selection h2 { margin: 3px 0 3px; font-size: 21px; }
.finder-selection p { margin: 0; color: #c2ced7; font-size: 12px; }
.finder-selection .btn { min-height: 52px; }

.finder-selection h2,
.finder-selection img { transition: opacity 180ms ease; }

.is-map-arriving .finder-heading,
.is-map-arriving .address-panel,
.is-map-arriving .district-chips { animation: map-interface-arrival 820ms 280ms both cubic-bezier(.2,.7,.2,1); }

.is-map-arriving .finder-selection { animation: finder-selection-arrival 820ms 420ms both cubic-bezier(.2,.7,.2,1); }

@keyframes map-interface-arrival {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes finder-selection-arrival {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.is-map-arriving .finder-heading { animation-delay: 120ms; }

/* Room page */
.catalog-page { background: var(--paper); }
.catalog-hero {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  align-items: end;
  gap: clamp(40px, 8vw, 130px);
  padding: 78px clamp(24px, 5vw, 80px) 72px;
  color: white;
  background:
    radial-gradient(circle at 82% 21%, rgba(244, 182, 84, .22), transparent 23%),
    linear-gradient(125deg, #06111d 0%, #0a2435 58%, #102f41 100%);
  overflow: hidden;
}

/* Photo-first catalog: short introduction and explicit, fully visible filters. */
.catalog-page .catalog-hero { min-height: 0; padding-top: 48px; padding-bottom: 38px; gap: 20px 60px; }
.catalog-page .catalog-hero h1 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.045em; }
.catalog-help-link { display: inline-block; color: #8a602d; font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.catalog-hero .catalog-help-link { grid-column: 1 / -1; color: #ffdda0; }
.catalog-controls.catalog-controls--simple { grid-template-columns: minmax(240px, 1.5fr) minmax(200px, 1fr) auto auto; gap: 18px; align-items: end; position: relative; }
.catalog-field-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #384b59; }
.catalog-district-select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #cfc4b4; border-radius: 15px; color: var(--ink); background: #fff; font: inherit; font-size: 14px; }
.catalog-district-select:focus-visible, .catalog-reset:focus-visible { outline: 3px solid #bc8b44; outline-offset: 3px; }
.catalog-controls--simple .catalog-result { min-height: 50px; gap: 7px; white-space: nowrap; }
.catalog-controls--simple .catalog-result span { display: inline; font-size: 12px; }
.catalog-reset { min-height: 50px; border: 0; background: transparent; color: #765025; text-decoration: underline; text-underline-offset: 4px; font: inherit; font-size: 13px; cursor: pointer; }
.catalog-reset:disabled { color: #77746e; cursor: default; text-decoration: none; }
.catalog-empty .catalog-help-link { display: block; margin-top: 24px; }
.catalog-page #contact { scroll-margin-top: 24px; }
@media (max-width: 1100px) {
  .catalog-controls.catalog-controls--simple { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .catalog-controls--simple .catalog-result { justify-content: flex-start; min-height: 30px; }
  .catalog-reset { justify-self: end; min-height: 30px; }
}
@media (max-width: 620px) {
  .catalog-page .catalog-hero { padding: 25px 20px; gap: 16px; }
  .catalog-page .catalog-hero h1 { font-size: 38px; }
  .catalog-page .catalog-hero > p { font-size: 15px; }
  .catalog-controls.catalog-controls--simple { padding: 24px 20px; gap: 14px; }
  .catalog-controls--simple > div:nth-child(-n+2) { grid-column: 1 / -1; }
}

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #c79a5b; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 1px; background: currentColor; }
.catalog-hero h1 { margin: 18px 0 0; max-width: 820px; font-size: clamp(54px, 6.4vw, 94px); line-height: .93; letter-spacing: -.065em; }
.catalog-hero h1 em { color: var(--window-soft); font-family: Georgia, serif; font-weight: 400; }
.catalog-hero > p { max-width: 440px; margin: 0 0 7px; color: #c4d0d9; font-size: 17px; line-height: 1.65; }

.catalog-controls {
  position: sticky;
  z-index: 18;
  top: 0;
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--line-light);
  background: rgba(247, 242, 233, .93);
  box-shadow: 0 10px 34px rgba(14, 27, 37, .06);
  backdrop-filter: blur(18px);
}

.catalog-search { min-height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid #cfc4b4; border-radius: 15px; background: white; }
.catalog-search:focus-within { border-color: #9b7040; box-shadow: 0 0 0 3px rgba(196, 147, 79, .13); }
.catalog-search svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: #75695c; stroke-width: 1.8; }
.catalog-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.catalog-search input::placeholder { color: #8a8178; }

.catalog-filter { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.catalog-filter::-webkit-scrollbar { display: none; }
.catalog-filter button { min-height: 38px; flex: 0 0 auto; padding: 0 14px; border: 1px solid #d5cbbb; border-radius: 999px; color: #596875; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.catalog-filter button:hover { transform: translateY(-1px); border-color: #ad8652; }
.catalog-filter button.is-active { color: white; border-color: var(--night); background: var(--night); }
.catalog-result { min-width: 125px; display: flex; align-items: baseline; justify-content: flex-end; gap: 7px; white-space: nowrap; }
.catalog-result strong { color: #a9783a; font-size: 27px; line-height: 1; }
.catalog-result span { color: #6b7882; font-size: 10px; }

.catalog-list { padding: 54px clamp(24px, 5vw, 80px) 110px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.catalog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(13, 31, 45, .12);
  border-radius: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 16px 45px rgba(7, 20, 31, .08);
  text-decoration: none;
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.catalog-card[hidden] { display: none; }
.catalog-card:hover { border-color: rgba(169, 117, 53, .42); box-shadow: 0 24px 64px rgba(7, 20, 31, .15); transform: translateY(-6px); }
.catalog-card__photo { position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #d8d0c4; }
.catalog-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(4, 13, 20, .34)); pointer-events: none; }
.catalog-card__photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--room-photo-grade); transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.catalog-card:hover .catalog-card__photo img { transform: scale(1.035); }
.catalog-card__count { position: absolute; z-index: 2; right: 14px; bottom: 13px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; color: white; background: rgba(4, 14, 23, .7); backdrop-filter: blur(9px); font-size: 10px; font-weight: 700; }
.catalog-card__body { flex: 1; display: flex; flex-direction: column; padding: 22px 23px 20px; }
.catalog-card__district { color: #a56f2e; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.catalog-card h2 { margin: 7px 0 8px; font-size: clamp(21px, 1.8vw, 29px); line-height: 1.08; letter-spacing: -.035em; }
.catalog-card p { margin: 0 0 22px; color: #61717d; font-size: 12px; line-height: 1.55; }
.catalog-card__meta { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #e0d8cd; color: #384b59; font-size: 11px; font-weight: 700; }
.catalog-card__meta > span:last-child { margin-left: auto; }
.catalog-card__meta b { color: #a36d2e; font-size: 16px; }
.catalog-card__source { color: #7d7165; font-size: 9px; font-weight: 700; }
.catalog-empty { max-width: 620px; margin: 40px auto 0; padding: 50px; border: 1px solid #d8cebf; border-radius: 28px; text-align: center; background: white; }
.catalog-empty h2 { margin: 0; font-size: 32px; }
.catalog-empty p { color: #657581; }
.catalog-empty .btn { margin-top: 12px; }

.catalog-contact {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: clamp(36px, 8vw, 120px);
  align-items: end;
  margin: 0 clamp(24px, 5vw, 80px) 100px;
  padding: clamp(42px, 5vw, 72px);
  border-radius: 36px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(244,182,84,.2), transparent 22%),
    linear-gradient(135deg, #0b2435, #06111d);
  box-shadow: var(--shadow-map);
}
.catalog-contact h2 { margin: 15px 0 0; max-width: 760px; font-size: clamp(38px, 4.8vw, 68px); line-height: 1; letter-spacing: -.055em; }
.catalog-contact p { margin: 0 0 21px; color: #becdd7; }
.catalog-contact .btn { width: 100%; }
.catalog-contact__actions { display: grid; }

.room-page { background: var(--paper); }
.room-main { padding: 42px clamp(24px, 5vw, 80px) 110px; }
.room-breadcrumbs { margin-bottom: 25px; color: #6b7c89; font-size: 13px; }
.room-breadcrumbs a { text-decoration: none; }
.room-breadcrumbs a:hover { color: #9b6a2f; }
.room-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr); gap: 28px; align-items: start; }
.room-gallery { display: grid; grid-template-columns: 1.55fr .7fr; grid-template-rows: repeat(2, 300px); gap: 14px; }
.room-gallery__item { position: relative; display: block; overflow: hidden; border-radius: 22px; background: #d8d0c4; box-shadow: var(--shadow-card); }
.room-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-card); filter: var(--room-photo-grade); }
.room-gallery__main { grid-row: 1 / 3; }
.room-gallery__item img { transition: transform 650ms cubic-bezier(.2,.7,.2,1), filter 350ms ease; }
.room-gallery__item:hover img { transform: scale(1.025); }
.room-gallery__zoom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.23); border-radius: 14px; color: white; background: rgba(5,16,27,.72); box-shadow: 0 7px 22px rgba(1,8,14,.23); backdrop-filter: blur(10px); transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.room-gallery__item:hover .room-gallery__zoom { color: #ffdda0; background: rgba(5,16,27,.86); transform: translateY(-2px); }
.room-gallery__zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.room-summary { position: sticky; top: 20px; padding: 31px; border: 1px solid var(--line-light); border-radius: 28px; background: white; box-shadow: var(--shadow-card); }
.room-summary h1 { margin: 10px 0 13px; font-size: 38px; line-height: 1.05; letter-spacing: -.04em; }
.room-summary__address { color: #576b7a; }
.room-photo-note { margin: 15px 0 0; padding: 13px 15px; border-left: 3px solid #bd9150; border-radius: 0 12px 12px 0; color: #576b7a; background: #f7f2e9; font-size: 12px; line-height: 1.5; }
.room-features { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 23px 0; }
.room-feature { padding: 12px; border-radius: 12px; color: #405361; background: #f0eadf; font-size: 12px; font-weight: 700; }
.room-summary__price { margin: 24px 0 18px; padding-top: 20px; border-top: 1px solid var(--line-light); color: #6a7985; font-size: 13px; }
.room-summary__price strong { display: block; color: var(--ink); font-size: 22px; }
.room-summary .btn { width: 100%; }
.room-summary__next { margin: 13px 2px 0; color: #70808b; font-size: 11px; line-height: 1.45; }
.room-summary__next b { color: #3e5260; }
.room-facts { margin-top: 76px; }
.room-facts__heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(340px, 1.2fr); column-gap: 50px; align-items: end; margin-bottom: 28px; }
.room-facts__heading .eyebrow { grid-column: 1; }
.room-facts__heading h2 { grid-column: 1; margin: 10px 0 0; max-width: 620px; font-size: clamp(36px, 4.2vw, 60px); line-height: .98; letter-spacing: -.055em; }
.room-facts__heading p { grid-column: 2; grid-row: 1 / 3; max-width: 630px; margin: 0; padding: 17px 19px; border-left: 3px solid #b8894b; border-radius: 0 14px 14px 0; color: #586b78; background: rgba(255, 255, 255, .58); font-size: 13px; line-height: 1.6; }
.room-facts__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 18px; }
.room-fact-card { position: relative; min-height: 270px; padding: 28px; overflow: hidden; border: 1px solid rgba(18, 32, 44, .12); border-radius: 26px; background: rgba(255, 255, 255, .72); box-shadow: 0 18px 55px rgba(7, 20, 31, .08); }
.room-fact-card::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(216, 161, 83, .15), transparent 70%); pointer-events: none; }
.room-fact-card--home { grid-column: 1 / -1; min-height: 250px; color: white; border-color: rgba(255, 255, 255, .11); background: radial-gradient(circle at 88% 18%, rgba(244, 182, 84, .15), transparent 28%), linear-gradient(135deg, #10293b, #06111d); box-shadow: var(--shadow-card); }
.room-fact-card__icon { width: 48px; height: 48px; display: grid; place-items: center; float: right; margin-left: 18px; border: 1px solid rgba(163, 109, 46, .24); border-radius: 15px; color: #a36d2e; background: #f4eadc; }
.room-fact-card--home .room-fact-card__icon { color: #ffdda0; border-color: rgba(255, 221, 160, .2); background: rgba(255, 255, 255, .06); box-shadow: 0 0 24px rgba(244, 182, 84, .09); }
.room-fact-card__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.room-fact-card__kicker { color: #9b6a2f; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.room-fact-card--home .room-fact-card__kicker { color: #e2ad64; }
.room-fact-card h3 { margin: 5px 0 19px; font-size: 28px; line-height: 1.1; letter-spacing: -.035em; }
.room-fact-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.room-fact-list li { position: relative; padding: 11px 13px 11px 35px; border-radius: 13px; color: #455966; background: rgba(240, 234, 223, .76); font-size: 13px; line-height: 1.42; }
.room-fact-list li::before { content: ""; position: absolute; top: 16px; left: 16px; width: 7px; height: 7px; border-radius: 50%; background: #bb8644; box-shadow: 0 0 12px rgba(187, 134, 68, .26); }
.room-fact-list--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.room-fact-card--home .room-fact-list li { color: #d7e1e8; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .055); }
.room-fact-card--home .room-fact-list li::before { background: #f0be76; box-shadow: 0 0 14px rgba(240, 190, 118, .32); }
.room-details { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; margin-top: 70px; }
.room-details h2 { margin: 0 0 17px; font-size: 34px; }
.room-details p { color: #536674; }
.room-contact-card { align-self: center; }
.room-contact-card h2 { max-width: 630px; margin-top: 10px; font-size: clamp(35px, 3.5vw, 50px); line-height: 1.03; letter-spacing: -.045em; }
.room-contact-card__context { width: fit-content; margin: 22px 0 13px !important; padding: 10px 14px; border: 1px solid rgba(163, 109, 46, .24); border-radius: 999px; color: #875b29 !important; background: #f3eadc; font-size: 12px; font-weight: 700; }
.room-contact-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.room-contact-card__phone { display: inline-block; margin-top: 17px; color: #405361; font-weight: 700; text-decoration: none; }
.room-map { position: relative; min-height: 390px; overflow: hidden; border-radius: 28px; background: var(--night); box-shadow: var(--shadow-map); }
.room-map .map-wrap { position: absolute; inset: 0; }
.room-map .map-wrap::after { background: linear-gradient(180deg, transparent, rgba(6,17,29,.52)); }
.room-map__label { position: absolute; z-index: 4; left: 20px; bottom: 20px; padding: 12px 15px; border-radius: 13px; color: white; background: rgba(5,16,27,.88); font-size: 12px; font-weight: 700; }
.room-mobile-contact { display: none; }
body.is-lightbox-open { overflow: hidden; }
.room-lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: clamp(18px, 3vw, 44px); border: 0; color: white; background: rgba(3, 10, 17, .92); overflow: hidden; backdrop-filter: blur(24px); }
.room-lightbox[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 18px; }
.room-lightbox::backdrop { background: rgba(2, 7, 12, .78); }
.room-lightbox__figure { width: min(1120px, 100%); margin: auto; }
.room-lightbox__figure img, [data-selection-image] { filter: var(--room-photo-grade); }
.room-lightbox__figure img { width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 24px; box-shadow: 0 28px 90px rgba(0,0,0,.55); user-select: none; touch-action: pan-y; }
.room-lightbox__figure figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 13px; color: #b9c9d4; font-size: 12px; }
.room-lightbox__figure figcaption b { color: #ffdda0; }
.room-lightbox__close, .room-lightbox__nav { border: 1px solid rgba(255,255,255,.16); color: white; background: rgba(255,255,255,.08); cursor: pointer; transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.room-lightbox__close:hover, .room-lightbox__nav:hover { color: #ffdda0; border-color: rgba(255,221,160,.45); background: rgba(255,255,255,.13); }
.room-lightbox__close:focus-visible, .room-lightbox__nav:focus-visible { outline: 3px solid #f4b654; outline-offset: 4px; }
.room-lightbox__close { position: fixed; z-index: 2; top: 22px; right: 22px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; }
.room-lightbox__nav { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; }
.room-lightbox__nav:hover { transform: translateY(-2px); }
.room-lightbox__nav svg, .room-lightbox__close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { min-height: 850px; }
  .hero__content { width: min(620px, calc(100vw - 48px)); }
  .hero-room-card { width: 300px; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .map-story { grid-template-columns: 1fr; }
  .map-story__copy { padding: 50px; }
  .map-story__visual { min-height: 470px; }
  .contact-panel { grid-template-columns: 1fr; }
  .filters { display: none; }
  .address-panel {
    top: 205px;
    left: 10px;
    right: 10px;
    width: auto;
    min-height: 0;
    max-height: none;
    padding: 6px;
    border-radius: 15px;
  }
  .address-panel__heading,
  .address-panel__note { display: none; }
  .address-list { display: flex; gap: 5px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
  .address-list::-webkit-scrollbar { display: none; }
  .address-option { flex: 0 0 168px; min-height: 48px; }
  .address-option small { max-width: 64px; }
  .finder-heading { width: calc(100vw - 40px); }
  .room-layout { grid-template-columns: 1fr; }
  .room-summary { position: relative; top: auto; }
  .room-facts__heading { grid-template-columns: 1fr; gap: 21px; }
  .room-facts__heading .eyebrow, .room-facts__heading h2, .room-facts__heading p { grid-column: 1; grid-row: auto; }
  .room-details { grid-template-columns: 1fr; }
  .catalog-hero { grid-template-columns: 1fr; min-height: 500px; align-content: end; gap: 26px; }
  .catalog-controls { grid-template-columns: 1fr auto; }
  .catalog-filter { grid-column: 1 / -1; grid-row: 2; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-contact { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 620px) {
  .site-header { height: 72px; padding: 0 18px; }
  .brand__light { width: 174px; }
  .phone-link { display: none; }
  .language { min-height: 40px; }
  .language button { height: 30px; }
  .mobile-menu { position: relative; z-index: 50; display: block; }
  .mobile-menu summary { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 13px; color: white; background: rgba(255,255,255,.08); cursor: pointer; }
  .site-header--solid .mobile-menu summary { color: var(--ink); border-color: var(--line-light); background: white; }
  .mobile-menu[open] summary { color: #ffdda0; border-color: rgba(255,221,160,.35); background: #102638; }

  .hero { min-height: 980px; }
  .hero .map-wrap::after {
    background:
      linear-gradient(180deg, rgba(6,17,29,.92) 0%, rgba(6,17,29,.82) 47%, rgba(6,17,29,.3) 74%, rgba(6,17,29,.68) 100%),
      linear-gradient(90deg, rgba(6,17,29,.7), transparent);
  }
  .hero__content { width: auto; margin: 0 20px; padding-top: 125px; }
  .hero__location { margin-bottom: 16px; font-size: 12px; }
  .hero h1 { max-width: 390px; font-size: 46px; line-height: 1.01; }
  .hero__promise { margin-top: 17px; font-size: 16px; line-height: 1.4; }
  .hero__lead { margin-top: 10px; font-size: 15px; line-height: 1.45; }
  .hero__actions { margin-top: 24px; }
  .btn { min-height: 54px; padding: 0 18px; font-size: 14px; }
  .hero__facts { gap: 15px; margin-top: 21px; font-size: 11px; }
  .hero__facts span:last-child { display: none; }
  .arrival-routes { opacity: .58; }
  .arrival-routes__lines { width: 185%; transform: translateX(-37%); }
  .arrival-vehicle--bus { top: 58%; left: 7%; width: 39px; }
  .arrival-vehicle--car { top: 71%; left: 12%; width: 29px; }
  .hero-room-card { right: 14px; bottom: 17px; width: 250px; }
  .hero-room-card__photo { height: 122px; }
  .hero-room-card__body { padding: 13px 15px 15px; }
  .hero-room-card h2 { font-size: 16px; }

  .section { padding: 74px 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 42px; }
  .section-heading p { font-size: 16px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .room-tile { min-height: 470px; }
  .map-story { min-height: 0; border-radius: 28px; }
  .map-story__copy { padding: 37px 28px; }
  .map-story__copy h2 { font-size: 43px; }
  .map-story__visual { min-height: 380px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 220px; }
  .step-card h3 { margin-top: 31px; }
  .contact-panel { padding: 38px 27px; border-radius: 28px; }
  .contact-panel h2 { font-size: 42px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__links { width: 100%; justify-content: space-between; padding-top: 8px; }

  .finder { min-height: 660px; }
  .finder .site-header { height: 70px; }
  .finder-heading { top: 95px; width: calc(100vw - 30px); }
  .finder-heading__arrival { font-size: 11px; }
  .finder-heading h1 { font-size: 39px; }
  .finder-heading p { display: none; }
  .finder-plane { top: 285px; left: 18px; width: 52px; height: 52px; }
  .rp-marker__label { display: none; }
  .district-chip { padding: 8px 10px; font-size: 10px; }
  .chip-nadodrze { left: 52%; top: 43%; }
  .chip-centrum { left: 25%; top: 52%; }
  .chip-krzyki { left: 48%; top: 66%; }
  .chip-fabryczna { left: 4%; top: 45%; }
  .chip-psie { right: 2%; top: 53%; }
  .finder-selection { bottom: 17px; width: calc(100vw - 22px); grid-template-columns: 68px 1fr; gap: 12px; padding: 11px; border-radius: 19px; }
  .finder-selection img { width: 68px; height: 66px; }
  .finder-selection h2 { font-size: 17px; }
  .finder-selection .btn { grid-column: 1 / -1; width: 100%; }

  .room-main { padding: 26px 16px 74px; }
  .room-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 140px; }
  .room-gallery__main { grid-column: 1 / 3; grid-row: 1; }
  .room-gallery img { border-radius: 16px; }
  .room-gallery__item { border-radius: 16px; }
  .room-gallery__zoom { right: 10px; bottom: 10px; width: 37px; height: 37px; border-radius: 12px; }
  .room-summary { padding: 23px; }
  .room-summary h1 { font-size: 31px; }
  .room-facts { margin-top: 53px; }
  .room-facts__heading h2 { font-size: 41px; }
  .room-facts__grid { grid-template-columns: 1fr; }
  .room-fact-card { min-height: 0; padding: 23px; border-radius: 21px; }
  .room-fact-card--home { grid-column: 1; }
  .room-fact-list--columns { grid-template-columns: 1fr; }
  .room-contact-card__actions { display: grid; }
  .room-contact-card__actions .btn { width: 100%; }
  .room-details { margin-top: 48px; gap: 36px; }
  .room-map { min-height: 330px; }
  .room-page { padding-bottom: 70px; }
  .room-mobile-contact { position: fixed; z-index: 55; right: 10px; bottom: 10px; left: 10px; display: grid; grid-template-columns: 1fr .72fr; gap: 7px; padding: 7px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(6,17,29,.92); box-shadow: 0 14px 38px rgba(1,8,14,.42); backdrop-filter: blur(16px); }
  .room-mobile-contact a { min-height: 46px; display: grid; place-items: center; border-radius: 12px; color: white; background: #2f80ed; font-size: 13px; font-weight: 700; text-decoration: none; }
  .room-mobile-contact a:last-child { color: #ffdda0; background: rgba(255,255,255,.08); }
  .room-lightbox { padding: 16px 9px 24px; }
  .room-lightbox[open] { grid-template-columns: 1fr 1fr; align-content: center; gap: 10px; }
  .room-lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .room-lightbox__figure img { max-height: calc(100dvh - 170px); border-radius: 16px; }
  .room-lightbox__nav { width: 52px; height: 52px; }
  .room-lightbox__nav--previous { grid-column: 1; justify-self: end; }
  .room-lightbox__nav--next { grid-column: 2; justify-self: start; }
  .room-lightbox__close { top: 13px; right: 13px; }
  .catalog-hero { min-height: 460px; padding: 66px 20px 45px; }
  .catalog-hero h1 { font-size: 47px; }
  .catalog-hero > p { font-size: 15px; }
  .catalog-controls { position: relative; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 20px 16px; }
  .catalog-result span { display: none; }
  .catalog-result { min-width: 36px; }
  .catalog-filter { margin: 0 -20px; padding: 0 20px; }
  .catalog-list { padding: 30px 16px 72px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 18px; }
  .catalog-card { border-radius: 22px; }
  .catalog-card__photo { aspect-ratio: 1.28 / 1; }
  .catalog-card h2 { font-size: 26px; }
  .catalog-contact { margin: 0 16px 72px; padding: 35px 26px; border-radius: 28px; }
  .catalog-contact h2 { font-size: 39px; }
}

@media (orientation: landscape) and (max-height: 520px) {
  .finder { min-height: 100dvh; }
  .finder .site-header { height: 60px; }
  .finder-heading { top: 67px; width: 52vw; }
  .finder-heading__arrival, .finder-heading p { display: none; }
  .finder-heading h1 { margin: 0; font-size: clamp(29px, 5.5vw, 44px); }
  .finder-plane { top: 105px; left: 5vw; }
  .finder .rp-marker__label { display: none; }
  .district-chip { padding: 7px 9px; }
  .chip-nadodrze { top: 39%; }
  .chip-centrum { top: 54%; }
  .chip-krzyki { top: 64%; }
  .chip-fabryczna { top: 43%; }
  .chip-psie { top: 51%; }
  .finder-selection { bottom: 10px; width: min(690px, calc(100vw - 24px)); grid-template-columns: 58px 1fr auto; }
  .finder-selection img { width: 58px; height: 54px; }
  .finder-selection p { display: none; }
  .finder-selection .btn { grid-column: auto; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .btn--arrival-cta::before { animation: none !important; opacity: 0 !important; }
  .arrival-routes,
  .arrival-vehicle { animation: none !important; }
  .arrival-routes { opacity: .38; }
  .arrival-vehicle { opacity: .58; }
}

/* Arrival Story V3: one cinematic gesture, then a quiet live city. */
.hero {
  height: 100svh;
  min-height: 720px;
  max-height: none;
}

.hero .map-wrap::after {
  z-index: 3;
  opacity: 1;
  transition: opacity .82s cubic-bezier(.2,.72,.2,1);
  background:
    radial-gradient(circle at 70% 42%, rgba(77, 156, 255, .03), rgba(6, 17, 29, .36) 56%, rgba(6, 17, 29, .72) 100%),
    linear-gradient(90deg, rgba(6, 17, 29, .92) 0%, rgba(6, 17, 29, .68) 30%, rgba(6, 17, 29, .12) 61%, rgba(6, 17, 29, .18) 100%),
    linear-gradient(180deg, rgba(6, 17, 29, .2) 52%, rgba(6, 17, 29, .78) 100%);
}

.arrival-pending .hero .map-wrap::after,
.arrival-active .hero .map-wrap::after {
  opacity: 0;
}

.hero__content {
  position: absolute;
  z-index: 14;
  left: clamp(24px, 5vw, 80px);
  bottom: clamp(82px, 11vh, 126px);
  width: min(680px, calc(100vw - 48px));
  margin: 0;
  padding: 0;
  animation: none;
  will-change: transform, opacity, filter;
}

.arrival-pending .hero__content,
.arrival-active .hero__content { opacity: 0; visibility: hidden; }

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(51px, 5.2vw, 78px);
  line-height: .97;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 7px 42px rgba(1, 8, 14, .72);
  animation: none;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  animation: none;
}

.hero__actions .btn { min-width: 154px; }

.hero .rp-marker {
  width: 32px;
  height: 45px;
  transition: opacity .55s ease, filter .55s ease;
}
.hero .rp-marker__pulse { width: 30px; height: 30px; }
.hero .rp-marker__core { width: 12px; height: 12px; border-width: 3px; }
.hero .rp-marker__label { display: none; }
.hero .rp-marker.is-active .rp-marker__label { display: block; }
.arrival-active .hero .rp-marker { opacity: .15; filter: blur(.4px); }
.arrival-complete .hero .rp-marker { opacity: .92; }

.city-car-light {
  position: relative;
  width: 15px;
  height: 7px;
  display: block;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(255, 221, 160, .64)) drop-shadow(0 0 11px rgba(244, 182, 84, .27));
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.arrival-complete .city-car-light { opacity: .7; }
.city-car-light i {
  position: absolute;
  top: 2px;
  width: 3px;
  height: 2px;
  border-radius: 50%;
  background: #ffe4b3;
  box-shadow: 0 0 6px #f4b654;
}
.city-car-light i:first-child { left: 2px; }
.city-car-light i:last-child { right: 2px; }
.city-car-light.is-reverse i { background: #ff746b; box-shadow: 0 0 6px rgba(255, 74, 64, .72); }

.hero-command {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(5, 16, 27, .9);
  box-shadow: 0 18px 55px rgba(1, 8, 14, .42);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  backdrop-filter: blur(18px);
}

.hero-command.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.hero-command a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.hero-command__find { min-width: 158px; color: var(--night) !important; }
.hero-command__call { border: 1px solid rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .08); }

.phone-dialog {
  width: min(460px, calc(100vw - 40px));
  margin: auto;
  padding: 48px 30px 36px;
  border: 1px solid rgba(255, 221, 160, .25);
  border-radius: 24px;
  background: #0c1c29;
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .5);
}
.phone-dialog::backdrop { background: rgba(3, 10, 18, .7); }
.phone-dialog h2 { margin: 0 0 18px; font-size: 20px; font-weight: 500; }
.phone-dialog__number { margin: 0; color: var(--window-soft); font-size: clamp(24px, 3vw, 34px); font-weight: 700; white-space: nowrap; user-select: text; }
.phone-dialog__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }
.phone-dialog__close:focus-visible { outline: 2px solid var(--window); outline-offset: -4px; }
@media (max-width: 900px) {
  .hero__actions .desktop-write, .hero-command .desktop-write { display: none; }
}

@media (max-width: 900px) {
  .hero { min-height: 760px; max-height: none; }
  .hero__content {
    left: 22px;
    bottom: 66px;
    width: min(590px, calc(100vw - 44px));
  }
  .hero h1 { max-width: 570px; font-size: clamp(46px, 7.6vw, 62px); }
}

@media (max-width: 600px) {
  .hero { height: 100svh; min-height: 690px; max-height: none; }
  .hero .map-wrap::after {
    background:
      linear-gradient(180deg, rgba(6, 17, 29, .28) 0%, rgba(6, 17, 29, .08) 37%, rgba(6, 17, 29, .88) 75%, rgba(6, 17, 29, .97) 100%),
      radial-gradient(circle at 52% 36%, transparent 8%, rgba(6, 17, 29, .24) 78%);
  }
  .hero__content {
    left: 18px;
    bottom: 34px;
    width: calc(100vw - 36px);
  }
  .hero h1 { max-width: 430px; font-size: clamp(39px, 11.7vw, 52px); line-height: .96; }
  .hero__actions { margin-top: 21px; }
  .hero__actions .btn { min-width: 0; min-height: 54px; padding: 0 18px; }
  .hero__actions .btn--arrival-cta { flex: 1.18; }
  .hero__actions .btn--ghost { flex: .82; }
  .hero-command { width: calc(100vw - 20px); }
  .hero-command a { padding: 0 13px; }
  .hero-command__find { flex: 1.2; min-width: 0; }
  .hero-command__call { flex: .8; }
}

@media (prefers-reduced-motion: reduce) {
  .arrival-pending .hero__content,
  .arrival-active .hero__content { opacity: 1 !important; visibility: visible !important; transform: none !important; filter: none !important; }
  .city-car-light { display: none; }
}

/* Mobile reference: keep the photographed composition and its copy together. */
@media (max-width: 599px) {
  .arrival-pending .hero .map-wrap::after,
  .arrival-active .hero .map-wrap::after { opacity: 1; }
  .arrival-pending .hero__content,
  .arrival-active .hero__content {
    opacity: 1 !important; visibility: visible !important;
    transform: none !important; filter: none !important;
  }
}

/* Desktop uses the approved mobile arrival, framed for a wider viewport. */
@media (min-width: 600px) {
  .hero .map-wrap::after {
    background:
      linear-gradient(180deg, rgba(6,17,29,.28) 0%, rgba(6,17,29,.08) 37%, rgba(6,17,29,.88) 75%, rgba(6,17,29,.97) 100%),
      radial-gradient(circle at 52% 36%, transparent 8%, rgba(6,17,29,.24) 78%);
  }
  .arrival-pending .hero .map-wrap::after,
  .arrival-active .hero .map-wrap::after { opacity: 1; }
  .arrival-pending .hero__content,
  .arrival-active .hero__content {
    opacity: 1 !important; visibility: visible !important;
    transform: none !important; filter: none !important;
  }
}

/* MapLibre owns marker placement: never participate in normal document flow. */
.maplibregl-marker.rp-marker { position: absolute; width: 44px; height: 44px; display: block; }
.maplibregl-marker.rp-marker .rp-marker__label { display: none !important; }
.maplibregl-marker.rp-marker:hover, .maplibregl-marker.rp-marker:focus { z-index: 8; }
.address-tooltip { z-index: 12; pointer-events: none; }
.address-tooltip .maplibregl-popup-content { background: #0b2030; color: #f7f3e9; border: 1px solid #b58a4c; border-radius: 10px; padding: 10px 14px; font: 13px/1.5 system-ui; }
.address-tooltip .maplibregl-popup-tip { border-top-color: #0b2030; border-bottom-color: #0b2030; }
.maplibregl-ctrl-bottom-right { z-index: 16; }
.maplibregl-ctrl-group { background: #e0ddd4; }

/* V11.3: the embedded map is scenery; explicit expansion enables interaction. */
.map-wrap--locked { pointer-events: none; touch-action: auto; }
.map-expand {
  position: absolute; z-index: 15; left: 50%; top: 38%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 18px; border: 1px solid rgba(229,207,166,.3); border-radius: 18px;
  color: #fff3d8; background: rgba(6,20,31,.72); backdrop-filter: blur(10px);
  cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; opacity: 0; visibility: hidden;
  transition: opacity .35s, background .2s; touch-action: pan-y;
}
.map-expand svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map-expand span { font-size: 12px; white-space: nowrap; }
html[data-maps-ready="true"] .arrival-complete .map-expand { opacity: 1; visibility: visible; }
.map-expand:hover { background: rgba(23,47,62,.92); }
.map-expand:focus-visible, .map-back:focus-visible { outline: 3px solid #e3b869; outline-offset: 4px; }
.map-dialog {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  overflow: hidden; background: #06111d; color: #fff;
}
.map-dialog::backdrop { background: #06111d; }
.map-dialog .map-wrap { position: absolute; inset: 0; }
.map-dialog .map-wrap::after { display: none; }
.map-dialog .maplibregl-control-container { display: block; }
.map-dialog .maplibregl-ctrl-bottom-right { bottom: calc(28px + env(safe-area-inset-bottom)); }
.map-dialog .map-credit { bottom: max(8px, env(safe-area-inset-bottom)); }
.map-back {
  position: absolute; z-index: 20; top: max(18px, env(safe-area-inset-top)); left: max(18px, env(safe-area-inset-left));
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 17px;
  border: 1px solid rgba(229,207,166,.3); border-radius: 14px;
  color: #fff3d8; background: rgba(6,20,31,.9); cursor: pointer; font: inherit; font-size: 14px;
}
.map-back svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.map-find {
  position: absolute; z-index: 20; isolation: isolate;
  left: max(24px, env(safe-area-inset-left));
  bottom: calc(32px + env(safe-area-inset-bottom));
}
.map-find .btn { min-height: 58px; padding: 0 26px; gap: 22px; font-size: 16px; }
.map-find::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 12px -14px -14px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(229, 167, 74, .44), transparent 72%);
  filter: blur(12px); opacity: .35;
  animation: map-find-glow 2.4s ease-in-out infinite;
}
@keyframes map-find-glow { 0%, 100% { opacity: .3; } 45% { opacity: .75; } }
@media (max-width: 600px) {
  .map-find { left: max(18px, env(safe-area-inset-left)); bottom: calc(32px + env(safe-area-inset-bottom)); }
  .map-find .btn { min-height: 56px; padding: 0 22px; font-size: 15px; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .map-find::before { animation: none; opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .map-expand { transition: none; } }

/* V12.4: district selection, separate nearby addresses and full source galleries. */
.catalog-controls.catalog-controls--district { position: relative; display: block; padding: 24px clamp(20px, 5vw, 80px); }
.catalog-controls--district > div { max-width: 440px; }
.catalog-district-heading { margin: 0 0 28px; font-size: 30px; letter-spacing: -.03em; }
.catalog-nearby { padding: 0 clamp(20px, 5vw, 80px) 65px; }
.catalog-nearby[hidden], .catalog-district-heading[hidden] { display: none; }
.catalog-nearby > h2 { margin: 0 0 10px; font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -.035em; }
.catalog-nearby > p { margin: 0 0 28px; color: #61717d; }
.room-gallery__more { grid-column: 1 / -1; min-width: 0; }
.room-gallery__more h2 { margin: 12px 0 14px; font-size: 20px; }
.room-gallery__thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.room-gallery__thumbnail { display: block; min-width: 0; height: 115px; border-radius: 12px; overflow: hidden; }
.room-gallery__thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.room-gallery__thumbnail:focus-visible { outline: 3px solid #b8894b; outline-offset: 3px; }
.room-facts__heading { display: block; }
.room-facts__heading h2 { max-width: none; }
.room-map-open { position: absolute; z-index: 8; top: 17%; left: 50%; transform: translateX(-50%); min-width: 160px; padding: 15px; border: 1px solid rgba(255,221,160,.4); border-radius: 20px; background: rgba(7,24,36,.93); color: #fff2d6; font: inherit; font-size: 13px; cursor: pointer; }
.room-map-open svg { display: block; width: 28px; height: 28px; margin: 0 auto 8px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.room-map-open:disabled { cursor: wait; opacity: .7; }
.room-map-open:focus-visible, .room-map-recenter:focus-visible { outline: 3px solid var(--window); outline-offset: 4px; }
.room-map .maplibregl-control-container { display: none; }
.room-location-dialog .map-wrap { position: absolute; inset: 0; }
.room-location-dialog .map-wrap::after { display: none; }
.room-location-dialog .maplibregl-ctrl-top-right { top: 88px; right: 14px; }
.room-map-address { position: absolute; z-index: 8; left: 20px; bottom: 56px; max-width: calc(100% - 40px); padding: 12px 18px; border-radius: 12px; background: #0c2232; color: white; font-size: 14px; pointer-events: none; }
.room-map-recenter { position: absolute; z-index: 8; right: 20px; top: 20px; min-height: 48px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; background: #0c2232; color: white; font: inherit; cursor: pointer; }
.room-location-dialog .map-credit { bottom: 10px; }
@media (max-width: 620px) {
  .room-gallery__thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .room-gallery__thumbnail { height: 96px; }
}

/* Incremental catalog: the help section always follows the gold action. */
.catalog-more { display: flex; justify-content: center; padding: 0 20px 32px; }
.catalog-more .btn { min-width: 240px; min-height: 56px; }
.catalog-more .btn[hidden], [data-catalog-other][hidden] { display: none; }
.catalog-more:has(.btn[hidden]) { display: none; }
