:root {
  --bg: #101723;
  --panel: rgba(22, 30, 45, 0.74);
  --panel-strong: rgba(19, 27, 40, 0.9);
  --text: #f2f6ff;
  --muted: #b8c5db;
  --line: rgba(255, 255, 255, 0.18);
  --primary: #1aa391;
  --primary-dark: #0f7f71;
  --accent: #f07844;
  --gold: #f0bf66;
  --shadow-soft: 0 24px 60px rgba(6, 10, 17, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
}

.bg-photo,
.bg-shade,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-photo {
  z-index: -3;
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=80");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.bg-shade {
  z-index: -2;
  background:
    radial-gradient(1000px 620px at 10% 12%, rgba(26, 163, 145, 0.22), transparent 70%),
    radial-gradient(900px 540px at 90% 20%, rgba(240, 120, 68, 0.2), transparent 72%),
    linear-gradient(180deg, rgba(9, 14, 22, 0.72), rgba(9, 14, 22, 0.88));
}

.bg-glow {
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 100%);
  opacity: 0.5;
}

.topbar,
.page,
.footer {
  width: min(1240px, calc(100% - 30px));
  margin-inline: auto;
}

.topbar {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(18, 26, 38, 0.58);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  top: 10px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(240, 191, 102, 0.16);
  border: 1px solid rgba(240, 191, 102, 0.38);
  color: #ffe8bd;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-name {
  font-size: clamp(29px, 3.2vw, 40px);
  line-height: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-room-links {
  display: none;
}

.room-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff1cf;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(240, 191, 102, 0.28);
  background: rgba(240, 191, 102, 0.12);
}

.menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.2s ease;
}

.menu a[aria-current="page"],
.menu a:hover {
  color: #fff;
}

.menu-actions,
.hero-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(0);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn:active {
  transform: translateY(3px);
}

.btn.primary {
  color: #fff;
  border-color: rgba(14, 97, 85, 0.7);
  background: linear-gradient(180deg, #2ec4b0 0%, #159b89 65%, #0f7d70 100%);
  box-shadow: 0 7px 0 #0b5f55, 0 16px 26px rgba(0, 0, 0, 0.3);
}

.btn.primary:active {
  box-shadow: 0 2px 0 #0b5f55, 0 10px 18px rgba(0, 0, 0, 0.24);
}

.btn.ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.14) 100%);
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.12), 0 15px 24px rgba(0, 0, 0, 0.25);
}

.btn.ghost:active {
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.12), 0 10px 16px rgba(0, 0, 0, 0.2);
}

.page {
  display: grid;
  gap: 18px;
  padding: 18px 0 32px;
}

.card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  padding: clamp(16px, 2.6vw, 24px);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: 1.18fr 0.94fr;
  gap: 16px;
}

.hero-copy {
  align-self: center;
  min-width: 0;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  min-width: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background-image:
    linear-gradient(180deg, rgba(9, 14, 22, 0.22), rgba(9, 14, 22, 0.58)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1500&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.4);
  animation: floatPhoto 8s ease-in-out infinite;
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 16px;
}

.stats article {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  padding: 12px;
  background: rgba(11, 17, 27, 0.64);
  backdrop-filter: blur(10px);
}

.stats span {
  display: block;
  color: #d5e0f2;
  font-size: 12px;
}

.stats strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1;
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 9px 0 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 100%;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(31px, 4.5vw, 52px);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

h2 {
  font-size: clamp(24px, 3.1vw, 36px);
}

.lead {
  margin: 14px 0 0;
  color: #d6e0f0;
  line-height: 1.56;
  max-width: 740px;
  overflow-wrap: anywhere;
}

.hero-actions {
  margin-top: 17px;
}

.contacts {
  display: block;
}

.contact-card-large {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  align-items: center;
}

.contact-photo {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.contact-copy {
  min-width: 0;
}

.contact-name {
  margin: 0;
  color: #fff1cf;
  font-size: 21px;
  font-weight: 800;
}

.contact-role {
  margin: 6px 0 0;
  color: #d2deef;
  line-height: 1.5;
}

.contact-link-list {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(240, 191, 102, 0.45);
  color: #ffe8bd;
  background: rgba(240, 191, 102, 0.14);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
}

.messenger-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

.messenger-viber {
  background-image: url("./assets/icon-viber.svg");
  background-size: contain;
}

.messenger-telegram {
  background-image: url("./assets/icon-telegram.svg");
  background-size: contain;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

#generated-at {
  margin: 0;
  color: #d5dfef;
  font-size: 13px;
}

.catalog-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(20, 28, 42, 0.95), rgba(14, 21, 33, 0.9)),
    rgba(12, 18, 28, 0.9);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.26);
}

.catalog-sidebar-label {
  margin: 0 0 12px;
  color: #ffe8bd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-sidebar-note {
  margin: 0 0 16px;
  color: #b8c7db;
  font-size: 13px;
  line-height: 1.45;
}

.sidebar-tabs {
  display: grid;
  gap: 10px;
}

.sidebar-tab {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(7, 12, 20, 0.76);
  color: #eef5ff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 0 rgba(255, 255, 255, 0.05), 0 16px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.sidebar-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.sidebar-tab-copy {
  min-width: 0;
  text-align: left;
}

.sidebar-tab-icon::before,
.sidebar-tab-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.sidebar-tab[data-room="all"] .sidebar-tab-icon::before {
  width: 16px;
  height: 16px;
  border: 2px solid #8fd7cc;
}

.sidebar-tab[data-room="exclusive"] .sidebar-tab-icon {
  border-color: rgba(240, 191, 102, 0.34);
  background: rgba(240, 191, 102, 0.1);
}

.sidebar-tab[data-room="exclusive"] .sidebar-tab-icon::before {
  width: 14px;
  height: 14px;
  background: linear-gradient(180deg, #ffd983, #f0a846);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 69% 57%, 79% 93%, 50% 71%, 21% 93%, 31% 57%, 2% 35%, 39% 35%);
}

.sidebar-tab[data-room="1"] .sidebar-tab-icon::before,
.sidebar-tab[data-room="2"] .sidebar-tab-icon::before,
.sidebar-tab[data-room="3"] .sidebar-tab-icon::before,
.sidebar-tab[data-room="4"] .sidebar-tab-icon::before {
  width: 16px;
  height: 16px;
  background: linear-gradient(180deg, #7fd4ff, #4ca1e0);
}

.sidebar-tab[data-room="2"] .sidebar-tab-icon::before {
  width: 18px;
  height: 12px;
  border-radius: 999px;
}

.sidebar-tab[data-room="3"] .sidebar-tab-icon::before {
  width: 18px;
  height: 18px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.sidebar-tab[data-room="4"] .sidebar-tab-icon::before {
  width: 18px;
  height: 18px;
  border-radius: 6px;
}

.sidebar-tab:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.sidebar-tab:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.08), 0 8px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-tab.is-active {
  color: #fff;
  border-color: rgba(14, 97, 85, 0.78);
  background: linear-gradient(180deg, #2ec4b0 0%, #159b89 65%, #0f7d70 100%);
  box-shadow: 0 7px 0 #0b5f55, 0 16px 24px rgba(0, 0, 0, 0.26);
}

.sidebar-tab[data-room="exclusive"] {
  border-color: rgba(240, 191, 102, 0.25);
}

.sidebar-tab[data-room="exclusive"].is-active {
  border-color: rgba(173, 101, 34, 0.8);
  background: linear-gradient(180deg, #f3c76d 0%, #df9e3f 60%, #b97828 100%);
  box-shadow: 0 7px 0 #8d5715, 0 16px 24px rgba(0, 0, 0, 0.26);
}

.catalog-content {
  min-width: 0;
}

.tabs {
  display: none;
  margin-top: 0;
  gap: 8px;
  flex-wrap: wrap;
}

.tab {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.08));
  color: #f1f6ff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.1), 0 10px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tab:hover {
  transform: translateY(-1px);
}

.tab:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.1), 0 8px 15px rgba(0, 0, 0, 0.2);
}

.tab.is-active {
  background: linear-gradient(180deg, #2ec4b0 0%, #159b89 65%, #0f7d70 100%);
  border-color: rgba(14, 97, 85, 0.7);
  box-shadow: 0 6px 0 #0b5f55, 0 12px 20px rgba(0, 0, 0, 0.28);
}

.list-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.list-meta p {
  margin: 0;
  color: #d7e1f0;
  font-size: 13px;
  font-weight: 600;
}

.listing-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-card {
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: var(--panel-strong);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.28);
}

.listing-card:hover {
  transform: translateY(-4px) scale(1.01);
  transition: transform 0.24s ease;
}

.thumb-link {
  display: block;
  aspect-ratio: 16 / 10;
  background: rgba(32, 43, 58, 0.2);
}

.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-body {
  padding: 10px;
}

.price {
  margin: 0;
  color: var(--gold);
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
}

.address {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.33;
  overflow-wrap: anywhere;
}

.meta,
.district {
  margin: 6px 0 0;
  color: #c9d5e9;
  font-size: 12px;
}

.actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #f0f6ff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.1);
}

.small-btn.secondary {
  border-color: rgba(240, 191, 102, 0.43);
  color: #ffe8be;
  background: rgba(240, 191, 102, 0.16);
}

.contact-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 7px 10px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(240, 191, 102, 0.34);
  background: rgba(240, 191, 102, 0.14);
  color: #fff1cf;
}

.contact-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-mini-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}

.contact-mini-meta strong {
  font-size: 12px;
  line-height: 1.1;
}

.contact-mini-meta small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: #ffe8bd;
  font-size: 11px;
  line-height: 1.1;
}

.empty {
  border: 1px dashed rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  color: #d4dfef;
  padding: 18px;
  text-align: center;
  font-weight: 600;
}

.about-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-grid article {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px;
  background: rgba(12, 19, 29, 0.55);
}

.about-grid h2 {
  margin-top: 0;
  font-size: 22px;
}

.about-grid p,
.about-cta p {
  color: #d0dcf0;
  margin: 8px 0 0;
  line-height: 1.5;
}

.about-tools-head .lead {
  max-width: 920px;
}

.tool-grid {
  margin-top: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-panel {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(10, 16, 25, 0.62);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.tool-kicker {
  margin: 0;
  color: #ffe8bd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tool-panel h3 {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1.12;
}

.tool-panel p {
  color: #d3deef;
  margin: 10px 0 0;
  line-height: 1.55;
}

.tool-panel .btn {
  margin-top: 16px;
}

.about-contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(240, 191, 102, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(17, 25, 38, 0.76);
}

.about-contact-section .lead {
  max-width: 900px;
}

.about-contact-box {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(240, 191, 102, 0.34);
  background:
    linear-gradient(135deg, rgba(240, 191, 102, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(9, 15, 24, 0.72);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.about-contact-photo {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.about-contact-copy {
  min-width: 0;
}

.about-contact-name {
  margin: 0;
  color: #ffe8bd;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-contact-role {
  margin: 6px 0 0;
  color: #d3deef;
  line-height: 1.5;
  max-width: 640px;
}

.about-contact-links {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-contact-box .contact-pill {
  min-height: 46px;
  padding: 10px 14px;
  border-color: rgba(240, 191, 102, 0.52);
  background: linear-gradient(180deg, rgba(240, 191, 102, 0.2), rgba(240, 191, 102, 0.12));
  box-shadow: 0 7px 0 rgba(128, 86, 21, 0.5), 0 14px 24px rgba(0, 0, 0, 0.2);
}

.about-contact-box .contact-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.about-contact-box .contact-pill:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(128, 86, 21, 0.5), 0 9px 16px rgba(0, 0, 0, 0.18);
}

.footer {
  padding-bottom: 20px;
}

.footer p {
  margin: 0;
  text-align: center;
  color: #d6e1f2;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.listing-card.pop-in {
  opacity: 0;
  transform: translateY(18px);
  animation: cardIn 0.52s ease forwards;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPhoto {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 1120px) {
  .hero,
  .listing-grid,
  .about-grid,
  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-visual {
    min-height: 310px;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .catalog-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .topbar {
    left: 9px;
    right: 9px;
    width: auto;
    margin-top: 0;
    margin-inline: 0;
    top: 6px;
    padding: 12px 14px;
    border-radius: 18px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .page,
  .footer {
    width: auto;
    margin-inline: 9px;
  }

  .brand {
    font-size: 26px;
    min-width: 0;
  }

  .brand-mark {
    min-width: 38px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .brand-name {
    font-size: clamp(24px, 7vw, 30px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-shell {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(9, 14, 22, 0.9);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
  }

  .mobile-room-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .topbar.is-menu-open .nav-shell {
    display: flex;
  }

  .topbar.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .menu-actions,
  .hero-actions {
    width: 100%;
  }

  .menu-actions .btn,
  .hero-actions .btn,
  .about-cta .btn {
    flex: 1 1 100%;
    min-height: 48px;
  }

  .listing-grid,
  .about-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog-sidebar {
    display: none;
  }

  .hero,
  .card,
  .stats,
  .stats article,
  .catalog-head,
  .listing-grid,
  .listing-card,
  .listing-body,
  .contact-card-large,
  .about-contact-box {
    min-width: 0;
    max-width: 100%;
  }

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

  .hero-visual {
    min-height: 280px;
  }

  .stats {
    margin: 12px;
  }

  .catalog-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 42px;
  }

  .thumb-link {
    aspect-ratio: 16 / 11;
  }

  .listing-card.pop-in {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .price {
    font-size: 21px;
  }

  .actions {
    flex-direction: column;
  }

  .small-btn {
    width: 100%;
    min-height: 42px;
  }

  .contact-pill {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .topbar,
  .card,
  .stats article,
  .listing-card {
    backdrop-filter: none;
  }

  .contact-card-large,
  .about-contact-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-photo,
  .about-contact-photo {
    margin: 0 auto;
  }

  .contact-link-list,
  .about-contact-links {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  body {
    overflow-x: hidden;
  }

  .topbar {
    left: 8px;
    right: 8px;
    width: auto;
    margin-top: 0;
    top: 4px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .page {
    gap: 14px;
    padding-top: 14px;
  }

  .page,
  .footer {
    margin-inline: 8px;
  }

  .card {
    border-radius: 16px;
    padding: 14px;
  }

  h1 {
    font-size: 26px;
    line-height: 1.05;
  }

  h2 {
    font-size: 22px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.45;
  }

  .hero-visual {
    min-height: 236px;
  }

  .stats strong {
    font-size: 24px;
  }

  .list-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-contact-box {
    padding: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 20px;
  }
}
