/* SaleHouse marketing site — "Aurora Navy / Living Building".
   Palette comes from the official logo: navy tile, white glyph, teal swoosh. */

/* ============ Tokens ============ */
:root {
  --navy-950: #061c2b;
  --navy-900: #0b2c42;
  --navy-850: #0e2f46;
  --ink: #173146;
  --navy-700: #1b455e;
  --navy-600: #29617c;
  --steel: #4d7a95;
  --teal: #1fb8bc;
  --teal-300: #2dd4d8;
  --teal-600: #109ca4;
  --teal-700: #0e7c83;
  --blue: #5174ff;
  --blue-strong: #4263eb;

  --st-free: #22b573;
  --st-res: #f2a93b;
  --st-sold: #5b7489;
  --st-off: #c8d3dc;

  --bg: #f4f8fa;
  --surface: #ffffff;
  --line: #d9e4ea;
  --line-soft: #e8eff3;
  --fg: #173146;
  --fg-muted: #52677a;
  --accent-text: #0e7c83;
  --eyebrow: #0e7c83;
  --card-bg: #ffffff;
  --card-line: #dde7ed;
  --card-shadow: 0 1px 2px rgba(11, 44, 66, .04), 0 12px 32px -18px rgba(11, 44, 66, .22);

  --font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

.tone-dark {
  --fg: #e8f1f5;
  --fg-muted: #a7bdca;
  --accent-text: #2dd4d8;
  --eyebrow: #2dd4d8;
  --line: rgba(159, 182, 195, .18);
  --line-soft: rgba(159, 182, 195, .1);
  --card-bg: rgba(255, 255, 255, .045);
  --card-line: rgba(159, 182, 195, .16);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 48px -28px rgba(0, 0, 0, .6);
  color: var(--fg);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -.02em; color: var(--fg); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.icon { flex: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.tone-dark :focus-visible { outline-color: var(--teal-300); }
::selection { background: rgba(31, 184, 188, .28); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.hl { color: var(--accent-text); font-style: normal; }
.tone-dark .hl { background: linear-gradient(100deg, #7ff0ef, #2dd4d8 40%, #8ea6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ Buttons ============ */
.btn {
  --btn-h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: .975rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { --btn-h: 42px; padding: 0 16px; font-size: .925rem; }
.btn--lg { --btn-h: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #29617c 0%, #173146 55%, #0b2c42 100%);
  box-shadow: 0 10px 24px -12px rgba(11, 44, 66, .7), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn--primary:hover { box-shadow: 0 16px 30px -14px rgba(11, 44, 66, .75), inset 0 1px 0 rgba(255, 255, 255, .18); }
.tone-dark .btn--primary, .site-header .btn--primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, #7ff0ef 0%, #2dd4d8 40%, #1fb8bc 100%);
  box-shadow: 0 12px 30px -12px rgba(31, 184, 188, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.tone-dark .btn--primary:hover, .site-header .btn--primary:hover { box-shadow: 0 18px 38px -14px rgba(45, 212, 216, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--secondary { color: var(--ink); background: #e6f6f6; border-color: #bfe8e9; }
.btn--secondary:hover { background: #d8f2f3; }
.btn--ghost { color: var(--fg); background: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--fg-muted); }
.btn--glass { color: var(--fg); background: rgba(255, 255, 255, .7); border-color: var(--line); backdrop-filter: blur(10px); }
.tone-dark .btn--glass, .site-header .btn--ghost { color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.tone-dark .btn--glass:hover, .site-header .btn--ghost:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); }
.btn--link { min-height: auto; padding: 0; border: 0; color: var(--accent-text); background: none; border-radius: 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: #fff;
  background: rgba(6, 28, 43, .72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(159, 182, 195, .12);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(6, 28, 43, .9); box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .6); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; border-radius: 12px; }
.brand__mark { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 8px 18px -8px rgba(31, 184, 188, .55); }
.brand__word { font-family: var(--font-head); font-size: 1.32rem; letter-spacing: -.02em; line-height: 1; }
.brand__sale { font-weight: 800; color: #fff; }
.brand__house { font-weight: 700; color: #d9e4ff; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.site-nav a {
  position: relative; padding: 10px 12px; border-radius: 10px;
  color: rgba(232, 241, 245, .82); font-size: .94rem; font-weight: 500; text-decoration: none; transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--teal-300); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-grid; place-items: center; min-width: 44px; height: 42px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.lang-switch:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .32); }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; }
.mobile-nav { border-top: 1px solid rgba(159, 182, 195, .14); background: rgba(6, 28, 43, .97); }
.mobile-nav .container { display: grid; gap: 2px; padding-block: 12px 20px; }
.mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 12px; color: #e8f1f5; font-weight: 500; text-decoration: none; }
.mobile-nav a:hover, .mobile-nav a:focus-visible { background: rgba(255, 255, 255, .06); }
.menu-open body { overflow: hidden; }

@media (max-width: 1179px) {
  .site-nav a { padding-inline: 9px; font-size: .9rem; }
  .site-header__login { display: none; }
}
@media (max-width: 1079px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .site-header__actions .btn--primary { display: none; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__word { font-size: 1.18rem; }
}

/* ============ Sections ============ */
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); overflow: clip; }
.section--white { background: var(--surface); }
.section--light { background: var(--bg); }
.section--navy { background: linear-gradient(180deg, #0b2c42 0%, #0a2638 100%); }
.section--deep { background: radial-gradient(120% 80% at 85% 0%, #123a54 0%, rgba(18, 58, 84, 0) 60%), linear-gradient(180deg, #061c2b 0%, #08202f 100%); }
.section__glow { position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(31, 184, 188, .16), transparent 62%); pointer-events: none; }
.section > .container { position: relative; }
.section + .section--white, .section + .section--light { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.section-head--center .eyebrow::before { display: none; }
.section-title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.05rem); font-weight: 800; }
.lead { margin-top: 18px; font-size: clamp(1.04rem, 1rem + .3vw, 1.18rem); line-height: 1.65; color: var(--fg-muted); max-width: 66ch; }
.section-head--center .lead { margin-inline: auto; }

/* ============ Chips & badges ============ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card-bg); font-size: .9rem; font-weight: 500; color: var(--fg); }
.chip .icon { color: var(--accent-text); }
.chips--hero { margin-top: 32px; }
.namuna {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #7a5200; background: #fff4dc; border: 1px solid #f6dca5; white-space: nowrap;
}
.st { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.st--free { color: #0b6b40; background: #e1f6ec; }
.st--res { color: #835400; background: #fff1d6; }
.st--sold { color: #344b5f; background: #e5ecf1; }
.st--off { color: #5c6c79; background: #f0f3f5; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.dot--free { background: var(--st-free); }
.dot--res { background: var(--st-res); }
.dot--sold { background: var(--st-sold); }
.dot--off { background: var(--st-off); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: .7rem; font-weight: 600; color: #3f5567; background: #edf2f5; }
.tag--task { color: #835400; background: #fff1d6; }
.mini-label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6a7f90; }

/* ============ Cards, grids, bento ============ */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: var(--card-bg); border: 1px solid var(--card-line); box-shadow: var(--card-shadow);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card__icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px;
  color: var(--teal-700); background: linear-gradient(145deg, #e7f8f8, #d4f0f1); border: 1px solid #c3e9ea;
}
.tone-dark .card__icon { color: var(--teal-300); background: linear-gradient(145deg, rgba(45, 212, 216, .16), rgba(45, 212, 216, .05)); border-color: rgba(45, 212, 216, .25); }
.card__title { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
.card__title a { text-decoration: none; }
.card__text { margin-top: 10px; color: var(--fg-muted); line-height: 1.6; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: .94rem; color: var(--accent-text); }
.card__more .icon { transition: transform .2s var(--ease); }
.card--link:hover { transform: translateY(-4px); border-color: rgba(31, 184, 188, .45); box-shadow: 0 1px 2px rgba(11, 44, 66, .05), 0 22px 40px -22px rgba(11, 44, 66, .35); }
.tone-dark .card--link:hover { box-shadow: 0 0 0 1px rgba(45, 212, 216, .25), 0 30px 60px -30px rgba(31, 184, 188, .45); }
.card--link:hover .card__more .icon { transform: translateX(4px); }
.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 3px solid var(--teal); outline-offset: 2px; }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento__tile {
  position: relative; display: flex; flex-direction: column; grid-column: span 2; min-height: 260px; padding: 28px; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-line); box-shadow: var(--card-shadow);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.bento__tile--lg { grid-column: span 3; min-height: 340px; }
.bento__tile--xl { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 32px; }
.bento__tile--xl .bento__visual { order: 2; flex: 0 0 auto; margin: 0 0 0 auto; min-height: 0; }
.bento__tile--xl .bento__copy { flex: 1; margin: 0; max-width: 640px; }
.bento__visual { position: relative; flex: 1; min-height: 120px; margin: -6px -6px 22px; }
.bento__copy { position: relative; margin-top: auto; }
.bento__tile .card__icon { width: 44px; height: 44px; margin-bottom: 14px; }
.bento__tile.card--link:hover { transform: translateY(-4px); }
.section--light .bento__tile { background: #fff; }

/* Bento mini visuals */
.bv-mini-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; max-width: 360px; }
.bv-mini-grid i { aspect-ratio: 1.3; border-radius: 4px; background: var(--st-sold); opacity: .9; }
.bv-mini-grid i.f { background: var(--st-free); }
.bv-mini-grid i.r { background: var(--st-res); }
.bv-mini-grid i.o { background: var(--st-off); }
.mini-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 380px; }
.mini-kanban span { display: grid; gap: 7px; align-content: start; padding: 10px; border-radius: 12px; background: #f1f6f8; border: 1px solid #e2eaef; }
.mini-kanban b { font-size: .7rem; font-weight: 700; color: #5b7084; text-transform: uppercase; letter-spacing: .05em; }
.mini-kanban i { height: 26px; border-radius: 7px; background: #fff; border: 1px solid #e0e8ed; box-shadow: 0 2px 6px -4px rgba(11, 44, 66, .3); }
.mini-kanban i:first-of-type { border-left: 3px solid var(--teal); }
.mini-wave { display: flex; align-items: center; gap: 4px; height: 70px; }
.mini-wave i { width: 6px; height: calc(var(--h) * 100%); border-radius: 4px; background: linear-gradient(180deg, var(--teal-300), var(--teal-600)); opacity: .85; }
.mini-orbit { position: relative; width: 120px; height: 120px; margin-left: auto; }
.mini-orbit::before, .mini-orbit::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(31, 184, 188, .5); transform: rotateX(70deg); }
.mini-orbit::after { inset: 18px; border-color: rgba(81, 116, 255, .4); transform: rotateY(70deg); }
.mini-orbit .icon { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; color: var(--teal-700); }
.mini-pay { display: grid; gap: 8px; max-width: 280px; }
.mini-pay span { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: #f1f6f8; font-size: .78rem; font-weight: 600; color: #3f5567; }
.mini-phone { width: 92px; height: 150px; margin-left: auto; border-radius: 20px; border: 5px solid #173146; background: linear-gradient(180deg, #eef6f8, #fff); box-shadow: 0 16px 30px -18px rgba(11, 44, 66, .6); display: grid; align-content: start; gap: 6px; padding: 14px 8px; }
.mini-phone i { height: 14px; border-radius: 5px; background: #dbe8ee; }
.mini-phone i:first-child { height: 34px; background: linear-gradient(135deg, #29617c, #173146); }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; max-width: 260px; }
.mini-bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #8ea6ff, #5174ff); }
.mini-bars i:nth-child(even) { background: linear-gradient(180deg, #7ff0ef, #1fb8bc); }
.mini-chat { display: grid; gap: 8px; max-width: 300px; }
.mini-chat span { padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: #eef4f7; font-size: .78rem; color: #3f5567; width: fit-content; }
.mini-chat span.me { justify-self: end; border-radius: 12px 12px 4px 12px; background: #173146; color: #fff; }
.mini-chat span.ai { background: #e2f6f6; color: #0b5f64; }

/* ============ Checklist, split, steps ============ */
.checklist { display: grid; gap: 14px; margin-top: 26px; list-style: none; }
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; color: var(--fg-muted); }
.checklist li strong { color: var(--fg); font-weight: 600; }
.checklist .icon { margin-top: 2px; padding: 3px; width: 24px; height: 24px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-600)); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--reverse .split__copy { order: 2; }
.split + .split { margin-top: clamp(72px, 9vw, 120px); }
.split__copy .btn-row { margin-top: 30px; }
.split__visual { min-width: 0; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); }
.step__num { display: block; margin-bottom: 18px; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--teal), var(--navy-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step__title { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--fg-muted); font-size: .97rem; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 50px; right: -14px; width: 8px; height: 8px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); opacity: .6; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq__item { border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--card-line); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: rgba(31, 184, 188, .45); box-shadow: 0 18px 36px -26px rgba(11, 44, 66, .4); }
.faq__item summary { display: flex; align-items: center; gap: 16px; padding: 20px 22px; list-style: none; cursor: pointer; border-radius: var(--radius); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; line-height: 1.35; }
.faq__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e7f6f6; color: var(--teal-700); transition: transform .25s var(--ease), background-color .2s; flex: none; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq__a { padding: 0 22px 22px; color: var(--fg-muted); line-height: 1.7; max-width: 72ch; }
.faq__a a { color: var(--accent-text); font-weight: 600; }

/* ============ Contact cards & CTA band ============ */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; list-style: none; }
.contact-card {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 18px; border-radius: var(--radius);
  text-align: left; text-decoration: none; color: var(--fg); background: var(--card-bg); border: 1px solid var(--card-line);
  transition: transform .2s var(--ease), border-color .2s, background-color .2s;
}
.contact-card:hover { transform: translateY(-2px); border-color: rgba(31, 184, 188, .5); }
.contact-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #29617c, #173146); flex: none; }
.contact-card small { display: block; font-size: .78rem; color: var(--fg-muted); }
.contact-card strong { display: block; font-size: 1.02rem; font-weight: 700; }
.contact-card__go { margin-left: auto; color: var(--fg-muted); }
.contact-card--demo .contact-card__icon { color: var(--navy-950); background: linear-gradient(135deg, #7ff0ef, #1fb8bc); }

.cta-band {
  position: relative; display: grid; gap: 32px; padding: clamp(36px, 6vw, 72px); border-radius: var(--radius-xl); overflow: hidden;
  background: radial-gradient(90% 120% at 100% 0%, #1b5a73 0%, rgba(27, 90, 115, 0) 55%), linear-gradient(135deg, #0e2f46 0%, #061c2b 100%);
  box-shadow: 0 40px 80px -40px rgba(6, 28, 43, .7);
}
.cta-band__glow { position: absolute; right: -10%; bottom: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(31, 184, 188, .35), transparent 65%); filter: blur(10px); pointer-events: none; }
.cta-band__copy { position: relative; max-width: 760px; }
.cta-band .contact-cards { position: relative; }
.cta-band .contact-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.cta-band .contact-card small { color: var(--fg-muted); }
.cta-band .contact-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.contact-card strong { white-space: nowrap; }

/* ============ Breadcrumbs, page hero, aurora ============ */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin-bottom: 22px; font-size: .88rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-muted); }
.breadcrumbs a { color: var(--fg-muted); text-decoration: none; border-radius: 4px; }
.breadcrumbs a:hover { color: var(--fg); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--fg); font-weight: 500; }

.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.aurora i:nth-child(1) { width: 56vw; height: 56vw; max-width: 760px; max-height: 760px; right: -12%; top: -30%; background: radial-gradient(circle, rgba(41, 97, 124, .9), transparent 65%); animation: drift-a 16s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 44vw; height: 44vw; max-width: 600px; max-height: 600px; right: 8%; bottom: -40%; background: radial-gradient(circle, rgba(31, 184, 188, .45), transparent 65%); animation: drift-b 19s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 36vw; height: 36vw; max-width: 480px; max-height: 480px; left: -12%; top: 10%; background: radial-gradient(circle, rgba(81, 116, 255, .22), transparent 65%); animation: drift-a 22s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate3d(-6%, 8%, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(8%, -10%, 0) scale(1.12); } }

.page-hero { position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(64px, 8vw, 112px); background: linear-gradient(160deg, #0e3550 0%, #0b2c42 38%, #061c2b 100%); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(159, 182, 195, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 182, 195, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(80% 70% at 70% 30%, #000, transparent 75%); pointer-events: none; }
.page-hero__grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.page-hero--split .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.page-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
.page-hero .lead { color: #b9cbd6; }
.page-hero__visual { min-width: 0; }

/* ============ Home hero ============ */
.hero { position: relative; padding-block: clamp(48px, 6vw, 88px) clamp(64px, 8vw, 112px); background: linear-gradient(165deg, #10405c 0%, #0b2c42 34%, #061c2b 78%); overflow: hidden; isolation: isolate; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(159, 182, 195, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 182, 195, .055) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent 78%); }
.hero .aurora { z-index: -1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 24px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; font-weight: 500; color: #d3e2ea; }
.hero__kicker b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--navy-950); background: linear-gradient(135deg, #7ff0ef, #1fb8bc); }
.hero h1 { font-size: clamp(2.35rem, 1.2rem + 4.4vw, 4.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: #fff; }
:lang(ru) .hero h1 { font-size: clamp(2.2rem, 1.1rem + 3.6vw, 3.7rem); }
.hero .lead { margin-top: 24px; font-size: clamp(1.06rem, 1rem + .4vw, 1.24rem); color: #b9cbd6; max-width: 58ch; }
.hero .btn-row { margin-top: 36px; }
.hero__call { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: #b9cbd6; font-size: .95rem; text-decoration: none; border-radius: 8px; }
.hero__call .icon { color: var(--teal-300); }
.hero__call b { color: #fff; font-weight: 600; }
.hero__call:hover b { text-decoration: underline; }
.hero .chips { margin-top: 32px; }
.hero .chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .13); color: #dbe7ee; }
.hero .chip .icon { color: var(--teal-300); }

/* ============ Signature: the living tower ============ */
.hero-visual { position: relative; min-width: 0; min-height: 560px; display: grid; place-items: center; }
.tower-stage { flex: none; justify-self: center; }
.tower-stage { --tw: 172px; --tp: 250px; --th: 384px; --ph: 46px; position: relative; width: 460px; height: 560px; perspective: 1500px; perspective-origin: 50% 30%; }
.tower-scale { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateY(18px) rotateX(-14deg); }
.tower-rig { position: absolute; inset: 0; transform-style: preserve-3d; animation: tower-spin 46s linear infinite; }
.hero-visual.is-paused .tower-rig { animation-play-state: paused; }
@keyframes tower-spin { from { transform: rotateY(-28deg); } to { transform: rotateY(332deg); } }
.t-face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.t-ground { position: absolute; left: 50%; top: calc(100% - 92px); width: 440px; height: 440px; margin: -220px 0 0 -220px; transform: rotateX(90deg); transform-style: preserve-3d; border-radius: 50%; background: radial-gradient(circle, rgba(31, 184, 188, .2) 0%, rgba(31, 184, 188, .06) 40%, transparent 68%); }
.t-ring { position: absolute; inset: 70px; border-radius: 50%; border: 1px dashed rgba(45, 212, 216, .35); }
.t-swoosh { position: absolute; inset: 30px; border-radius: 50%; border: 3px solid transparent; border-bottom-color: rgba(31, 184, 188, .8); border-right-color: rgba(31, 184, 188, .35); transform: rotate(18deg); }
.t-podium { position: absolute; left: 50%; bottom: 92px; width: var(--tp); height: var(--ph); margin-left: calc(var(--tp) / -2); transform-style: preserve-3d; }
.t-pf { inset: 0; display: flex; align-items: center; justify-content: space-evenly; padding: 0 12px; background: linear-gradient(180deg, #e9f1f4, #c9d8e0); border-top: 3px solid #fff; }
.t-pf i { width: 26%; height: 54%; border-radius: 4px; background: linear-gradient(180deg, #7fb3c7, #3d7b95); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.t-pf.t-front { transform: translateZ(calc(var(--tp) / 2)); }
.t-pf.t-right { transform: rotateY(90deg) translateZ(calc(var(--tp) / 2)); filter: brightness(.86); }
.t-pf.t-back { transform: rotateY(180deg) translateZ(calc(var(--tp) / 2)); filter: brightness(.74); }
.t-pf.t-left { transform: rotateY(-90deg) translateZ(calc(var(--tp) / 2)); filter: brightness(.8); }
.t-ptop { left: 0; top: calc(var(--tp) / -2); width: var(--tp); height: var(--tp); transform: rotateX(90deg); background: linear-gradient(135deg, #f3f7f9, #d6e3ea); }
.t-tower { position: absolute; left: 50%; bottom: calc(92px + var(--ph)); width: var(--tw); height: var(--th); margin-left: calc(var(--tw) / -2); transform-style: preserve-3d; }
.t-wall {
  inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 6px 7px; padding: 14px 11px 10px;
  background: linear-gradient(180deg, #24526b 0%, #173d54 55%, #12324a 100%);
  border-left: 3px solid #e8eff3; border-right: 3px solid #e8eff3; border-top: 6px solid #f0f5f8;
}
.t-wall.t-front { transform: translateZ(calc(var(--tw) / 2)); }
.t-wall.t-right { transform: rotateY(90deg) translateZ(calc(var(--tw) / 2)); background: linear-gradient(180deg, #1c465d 0%, #133548 60%, #0f2c3e 100%); }
.t-wall.t-back { transform: rotateY(180deg) translateZ(calc(var(--tw) / 2)); background: linear-gradient(180deg, #173c51 0%, #102e40 100%); }
.t-wall.t-left { transform: rotateY(-90deg) translateZ(calc(var(--tw) / 2)); background: linear-gradient(180deg, #1f4a61 0%, #15384c 100%); }
.t-top { left: 0; top: calc(var(--tw) / -2); width: var(--tw); height: var(--tw); transform: rotateX(90deg); background: linear-gradient(135deg, #f3f7f9, #cfdde5); }
.t-top i { position: absolute; inset: 28%; border-radius: 6px; background: linear-gradient(135deg, #7fb3c7, #3d7b95); }
.win { border-radius: 3px; background: var(--st-sold); transition: background-color .6s, box-shadow .6s; }
.win.is-free { background: #3fd08f; box-shadow: 0 0 10px rgba(63, 208, 143, .55); }
.win.is-res { background: #ffbe55; box-shadow: 0 0 10px rgba(255, 190, 85, .5); }
.win.is-sold { background: #39566c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.win.is-off { background: #8aa1b1; opacity: .55; }
.win.is-flash { animation: win-flash 1.2s ease-out; }
@keyframes win-flash { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .9); transform: scale(1.25); } 100% { transform: scale(1); } }

.float-layer { position: absolute; inset: 0; pointer-events: none; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; max-width: 250px;
  border-radius: 16px; color: #e8f1f5; background: rgba(14, 47, 70, .62); border: 1px solid rgba(159, 182, 195, .22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .7);
  animation: float-y 7s ease-in-out infinite;
}
.float-card small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8fb2c3; }
.float-card b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.float-card__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; flex: none; color: var(--navy-950); background: linear-gradient(135deg, #7ff0ef, #1fb8bc); }
.float-card--ai { top: 6%; left: -4%; }
.float-card--res { top: 40%; right: -6%; animation-delay: -2.4s; }
.float-card--res .float-card__icon { background: linear-gradient(135deg, #ffd58a, #f2a93b); }
.float-card--pay { bottom: 13%; left: -2%; animation-delay: -4.6s; }
.float-card--pay .float-card__icon { background: linear-gradient(135deg, #8ff0be, #22b573); }
.float-card--legend { bottom: 2%; right: 2%; display: grid; gap: 6px; padding: 14px 16px; animation-delay: -1.2s; }
.float-card.is-pop { animation: pop .6s var(--ease-out), float-y 7s ease-in-out .6s infinite; }
.legend-row { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: #cfe0e8; }
.legend-row b { display: inline; margin-left: auto; padding-left: 14px; font-variant-numeric: tabular-nums; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pop { 0% { transform: scale(.92); opacity: .4; } 100% { transform: scale(1); opacity: 1; } }
.tower-toggle { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #e8f1f5; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.tower-toggle:hover { background: rgba(255, 255, 255, .14); }
.tower-toggle .i-play, .tower-toggle[aria-pressed="true"] .i-pause { display: none; }
.tower-toggle[aria-pressed="true"] .i-play { display: block; }
.hero-visual > .namuna { position: absolute; top: 0; right: 0; }

/* ============ Product widgets (always light, like the real app) ============ */
.widget {
  --fg: #173146; --fg-muted: #5b6f80; --line: #e2eaef; --accent-text: #0e7c83;
  position: relative; color: #173146; background: #fff; border-radius: 20px; border: 1px solid rgba(11, 44, 66, .1);
  box-shadow: 0 2px 4px rgba(11, 44, 66, .04), 0 40px 80px -40px rgba(11, 44, 66, .45);
  overflow: hidden; text-align: left;
}
.tone-dark .widget { border-color: rgba(255, 255, 255, .12); box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 50px 100px -40px rgba(0, 0, 0, .75); }
.widget__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #e8eef2; background: linear-gradient(180deg, #fbfdfe, #f4f8fa); }
.widget__dots { display: inline-flex; gap: 6px; }
.widget__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dbe3e8; }
.widget__dots i:first-child { background: #ff6b6b; }
.widget__dots i:nth-child(2) { background: #ffc24b; }
.widget__dots i:nth-child(3) { background: #3fd08f; }
.widget__title { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font-size: .86rem; font-weight: 600; color: #3f5567; }
.widget__title .icon { color: var(--teal-700); }
.widget__body { padding: 18px; }
.widget__hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: .78rem; color: #6a7f90; }
.widget__hint > .icon { flex: none; }
.widget__hint-sep { opacity: .6; }
.seg {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid #dbe5eb; background: #fff; color: #3f5567; font-size: .8rem; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s;
}
.seg:hover { border-color: #b7cad5; }
.seg[aria-pressed="true"] { color: #fff; background: #173146; border-color: #173146; }
.seg--free[aria-pressed="true"] { background: #13895a; border-color: #13895a; }
.segs { display: flex; flex-wrap: wrap; gap: 6px; }

/* Chessboard */
.cb__modes { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 12px; border-radius: 10px; background: #eef3f6; font-size: .76rem; font-weight: 600; color: #5b7084; }
.cb__modes span { padding: 5px 10px; border-radius: 8px; }
.cb__modes .is-on { background: #fff; color: #173146; box-shadow: 0 1px 3px rgba(11, 44, 66, .12); }
.cb__filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cb__layout { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 16px; align-items: start; }
.cb__grid { display: grid; gap: 5px; }
.cb__row { display: grid; grid-template-columns: 22px repeat(6, minmax(0, 1fr)); gap: 5px; align-items: center; }
.cb__floor { font-size: .7rem; font-weight: 600; color: #8195a5; text-align: center; font-variant-numeric: tabular-nums; }
.cb__cell {
  height: 34px; padding: 0; border: 0; border-radius: 7px; font-size: .72rem; font-weight: 700; font-variant-numeric: tabular-nums;
  color: #fff; background: var(--st-sold); transition: transform .15s var(--ease), opacity .25s, box-shadow .2s, background-color .3s;
}
.cb__cell.is-free { background: var(--st-free); }
.cb__cell.is-res { background: var(--st-res); color: #4a2f00; }
.cb__cell.is-sold { background: #8fa3b3; }
.cb__cell.is-off { background: #e3e9ed; color: #8c9ba7; }
.cb__cell:hover { transform: translateY(-1px); box-shadow: 0 6px 12px -6px rgba(11, 44, 66, .5); }
.cb__cell[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #173146; transform: scale(1.04); }
.cb__cell.is-dim { opacity: .18; }
.cb__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; list-style: none; font-size: .76rem; color: #5b7084; }
.cb__legend li { display: inline-flex; align-items: center; gap: 6px; }
.cb__legend b { color: #173146; font-variant-numeric: tabular-nums; }
.cb__card { padding: 16px; border-radius: 14px; background: #f6f9fb; border: 1px solid #e3ebf0; }
.cb__card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: .95rem; }
.cb__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.cb__facts div { min-width: 0; }
.cb__facts dt { font-size: .7rem; color: #6a7f90; }
.cb__facts dd { margin: 2px 0 0; font-size: .86rem; font-weight: 600; }
.cb__total { display: grid; gap: 2px; padding: 10px 0 12px; border-top: 1px dashed #d5e0e7; font-size: .74rem; color: #6a7f90; }
.cb__total strong { font-size: 1rem; color: #173146; }
.cb__note { margin-top: 10px; font-size: .74rem; color: #6a7f90; line-height: 1.45; }
.cb__toast { margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-size: .82rem; font-weight: 600; color: #0b6b40; background: #e1f6ec; }

/* Kanban */
.kb__board { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.kb__col { padding: 10px; border-radius: 14px; background: #f3f7f9; border: 1px solid #e5edf1; min-width: 0; }
.kb__head { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: .76rem; font-weight: 700; color: #3f5567; }
.kb__dot { width: 8px; height: 8px; border-radius: 50%; }
.kb__dot--0 { background: var(--blue); }
.kb__dot--1 { background: var(--teal); }
.kb__dot--2 { background: var(--st-res); }
.kb__dot--3 { background: var(--st-free); }
.kb__count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #fff; text-align: center; font-variant-numeric: tabular-nums; }
.kb__list { display: grid; gap: 8px; list-style: none; min-height: 60px; }
.kb__card {
  display: grid; gap: 6px; width: 100%; padding: 10px; border-radius: 10px; text-align: left;
  background: #fff; border: 1px solid #e0e8ed; box-shadow: 0 2px 6px -4px rgba(11, 44, 66, .35); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.kb__card:hover { transform: translateY(-2px); border-color: #9fd9db; box-shadow: 0 10px 18px -12px rgba(11, 44, 66, .45); }
.kb__card[aria-disabled="true"] { cursor: default; }
.kb__card.is-moved { animation: pop .5s var(--ease-out); border-color: var(--teal); }
.kb__name { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: #173146; }
.kb__avatar { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .66rem; color: #fff; background: linear-gradient(135deg, #29617c, #173146); }
.kb__meta { font-size: .72rem; color: #5b7084; }
.kb__tags { display: flex; flex-wrap: wrap; gap: 4px; }

/* AI chat */
.ai-chat__log { display: grid; gap: 12px; min-height: 240px; align-content: start; }
.msg { font-size: .88rem; line-height: 1.55; }
.msg--user { justify-self: end; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; color: #fff; background: linear-gradient(135deg, #29617c, #173146); }
.msg--in { max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #eef3f6; }
.msg--ai { display: flex; gap: 10px; align-items: flex-start; }
.msg__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; flex: none; color: var(--navy-950); background: linear-gradient(135deg, #7ff0ef, #1fb8bc); }
.msg__body { padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: #f1f8f8; border: 1px solid #d9efef; }
.msg__body b { color: #0b4f63; }
.msg--ai.is-in { animation: pop .45s var(--ease-out); }
.ai-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.file { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; font-size: .74rem; font-weight: 600; color: #173146; background: #fff; border: 1px solid #d6e5ea; }
.ai-bars { display: grid; gap: 6px; margin-top: 10px; }
.ai-bar { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; font-size: .72rem; color: #5b7084; }
.ai-bar i { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #1fb8bc, #5174ff); transform-origin: left; transform: scaleX(var(--v)); }
.ai-typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #f1f8f8; width: fit-content; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-600); animation: typing 1s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: .15s; }
.ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-chat__prompts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e8eef2; }
.prompt { padding: 8px 12px; border-radius: 999px; border: 1px solid #cfe6e8; background: #f3fbfb; color: #0b5f64; font-size: .78rem; font-weight: 600; text-align: left; transition: background-color .2s, border-color .2s; }
.prompt:hover { border-color: #8fd3d6; }
.prompt[aria-pressed="true"] { color: #fff; background: #0e7c83; border-color: #0e7c83; }
.ai-chat__input { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid #e0e8ed; color: #8195a5; font-size: .82rem; }
.ai-chat__input span { flex: 1; }

/* Call analysis */
.call__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #e8eef2; font-size: .82rem; font-weight: 600; color: #3f5567; }
.call__head > .icon { color: var(--teal-700); }
.call__wave { display: flex; align-items: center; gap: 2px; height: 26px; margin-left: auto; width: 46%; }
.call__wave i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px; background: linear-gradient(180deg, #2dd4d8, #109ca4); transform-origin: center; transform: scaleY(.2); transition: transform .5s var(--ease-out) calc(var(--i) * 18ms); }
.call.is-visible .call__wave i { transform: scaleY(1); }
.call__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.call__line { padding: 6px 0; font-size: .8rem; color: #3f5567; line-height: 1.5; }
.call__line:nth-child(even of .call__line) { color: #0b5f64; }
.score { padding: 12px; border-radius: 12px; background: #f1f8f8; border: 1px solid #d9efef; margin-bottom: 12px; }
.score__value { font-family: var(--font-head); font-size: .9rem; color: #5b7084; }
.score__value b { font-size: 1.7rem; color: #173146; }
.meter { display: block; height: 8px; margin: 6px 0 8px; border-radius: 4px; background: #dceaee; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1fb8bc, #22b573); transform-origin: left; transform: scaleX(.05); transition: transform 1s var(--ease-out) .2s; }
.call.is-visible .meter i { transform: scaleX(var(--v)); }
.score__quote { font-size: .74rem; font-style: italic; color: #5b7084; }
.script-list { display: grid; gap: 6px; list-style: none; font-size: .76rem; color: #3f5567; }
.script-list li { display: flex; align-items: center; gap: 6px; }
.script-list .icon { color: #13895a; }
.script-list .is-partial .icon { color: #c27c00; }
.script-list small { color: #8195a5; }
.call__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e8eef2; }
.filled { display: grid; gap: 4px; list-style: none; font-size: .78rem; }
.filled li { padding: 5px 9px; border-radius: 8px; background: #eef3f6; width: fit-content; }
.call__next { padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #0e2f46, #173146); color: #e8f1f5; font-size: .8rem; line-height: 1.5; }
.call__next .mini-label { color: #7ff0ef; }

/* Telegram draft */
.tg { display: grid; gap: 12px; }
.tg .mini-label .icon { color: #229ed9; }
.tg__draft { padding: 14px; border-radius: 14px; background: #f1f8f8; border: 1px dashed #9fd9db; font-size: .84rem; line-height: 1.55; }
.tg__flats { display: flex; gap: 8px; margin-top: 10px; }
.flat { display: grid; gap: 2px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid #dceaee; font-size: .72rem; min-width: 110px; }
.flat__plan { height: 40px; margin-bottom: 4px; border-radius: 6px; background: linear-gradient(90deg, #dfeaef 1px, transparent 1px) 0 0 / 12px 12px, linear-gradient(#dfeaef 1px, transparent 1px) 0 0 / 12px 12px, #f7fafb; border: 2px solid #173146; }
.flat small { color: #6a7f90; }
.tg__actions { display: flex; gap: 8px; margin-top: 12px; }
.mock-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; font-size: .76rem; font-weight: 600; border: 1px solid #d6e2e8; background: #fff; }
.mock-btn--primary { color: #fff; background: #173146; border-color: #173146; }

/* Building visual */
.bv__weather-ctl { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.bv__stage { position: relative; border-radius: 14px; overflow: hidden; background: #dfe9ee; }
.bv__stage img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bv__zones { position: absolute; inset: 0; }
.bv__zone {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); padding: 0; border: 0; border-radius: 3px;
  background: rgba(34, 181, 115, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); transition: background-color .2s, box-shadow .2s, opacity .2s;
}
.bv__zone span { position: absolute; left: -26px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: .66rem; font-weight: 700; color: #173146; background: rgba(255, 255, 255, .92); opacity: 0; transition: opacity .2s; }
.bv__zone--res { background: rgba(242, 169, 59, .38); }
.bv__zone--sold { background: rgba(23, 49, 70, .42); }
.bv__zone:hover, .bv__zone:focus-visible { box-shadow: inset 0 0 0 2px #fff; }
.bv__zone:hover span, .bv__zone:focus-visible span, .bv__zone[aria-pressed="true"] span { opacity: 1; }
.bv__zone[aria-pressed="true"] { background: rgba(31, 184, 188, .55); box-shadow: inset 0 0 0 2px #fff, 0 0 24px rgba(45, 212, 216, .7); }
.bv__info { position: absolute; right: 14px; bottom: 14px; display: grid; gap: 8px; width: min(240px, 46%); padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 30px -18px rgba(11, 44, 66, .6); font-size: .8rem; }
.bv__info-title { font-size: .9rem; }
.bv__counts { display: flex; flex-wrap: wrap; gap: 4px 12px; list-style: none; color: #3f5567; }
.bv__counts li { display: inline-flex; align-items: center; gap: 5px; }
.bv__cells { display: flex; flex-wrap: wrap; gap: 4px; }
.bv__cells i { width: 18px; height: 12px; border-radius: 3px; background: #8fa3b3; }
.bv__cells i.is-free { background: var(--st-free); }
.bv__cells i.is-res { background: var(--st-res); }
.bv__weather { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
[data-weather-state="rain"] .bv__weather {
  opacity: 1;
  background-image: linear-gradient(105deg, transparent 0 46%, rgba(255, 255, 255, .55) 47%, transparent 48%), linear-gradient(105deg, transparent 0 46%, rgba(255, 255, 255, .35) 47%, transparent 48%);
  background-size: 22px 46px, 31px 62px;
  animation: rain .5s linear infinite;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .4));
}
[data-weather-state="rain"] .bv__stage img { filter: saturate(.75) brightness(.86); }
[data-weather-state="snow"] .bv__weather {
  opacity: 1;
  background-image: radial-gradient(circle, #fff 0 1.6px, transparent 2.2px), radial-gradient(circle, rgba(255, 255, 255, .85) 0 1.1px, transparent 1.6px);
  background-size: 48px 48px, 30px 30px;
  animation: snow 6s linear infinite;
}
[data-weather-state="snow"] .bv__stage img { filter: saturate(.7) brightness(1.06) hue-rotate(-8deg); }
@keyframes rain { to { background-position: -10px 46px, -14px 62px; } }
@keyframes snow { to { background-position: 30px 240px, -20px 150px; } }

/* Phone */
.phone { position: relative; width: min(290px, 100%); margin-inline: auto; }
.phone__frame { padding: 10px; border-radius: 44px; background: linear-gradient(145deg, #2c4458, #0b1a26); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 50px 80px -40px rgba(0, 0, 0, .75); }
.phone__screen { position: relative; display: grid; gap: 10px; align-content: start; min-height: 540px; padding: 38px 14px 74px; border-radius: 34px; background: linear-gradient(180deg, #f2f7f9, #fff 40%); color: #173146; overflow: hidden; }
.phone__screen::before { content: ''; position: absolute; top: 10px; left: 50%; width: 88px; height: 22px; margin-left: -44px; border-radius: 12px; background: #0b1a26; }
.phone > .namuna { position: absolute; top: -12px; right: -8px; }
.app-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.app-label { margin-top: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6a7f90; }
.app-card { display: grid; gap: 4px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid #e3ebf0; box-shadow: 0 6px 16px -12px rgba(11, 44, 66, .35); font-size: .78rem; }
.app-card small { color: #6a7f90; font-size: .7rem; }
.app-card--hero { color: #fff; background: linear-gradient(135deg, #29617c, #0b2c42); border: 0; }
.app-card--hero small { color: #b9d2de; }
.app-big { font-family: var(--font-head); font-size: 1.15rem; }
.app-progress { height: 6px; margin: 8px 0 2px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.app-progress i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: #7ff0ef; }
.app-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 9px; border-radius: 10px; color: #fff; background: #0e7c83; font-weight: 600; }
.app-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid #edf2f5; font-size: .72rem; }
.app-row .ok { color: #13895a; font-weight: 600; }
.app-push { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #e1f6ec; color: #0b6b40; font-size: .74rem; font-weight: 600; }
.app-push .icon { color: #13895a; }
.app-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-kpi { display: grid; gap: 2px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid #e3ebf0; }
.app-kpi small { font-size: .66rem; color: #6a7f90; }
.app-kpi b { font-family: var(--font-head); font-size: 1.02rem; }
.app-kpi:first-child { color: #fff; background: linear-gradient(135deg, #29617c, #0b2c42); border: 0; }
.app-kpi:first-child small { color: #b9d2de; }
.app-chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 6px; }
.app-chart i { flex: 1; height: calc(var(--v) * 100%); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #2dd4d8, #109ca4); }
.app-chart i:nth-child(6) { background: linear-gradient(180deg, #8ea6ff, #5174ff); }
.app-mini-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid #e3ebf0; }
.app-mini-grid i { aspect-ratio: 1.2; border-radius: 3px; background: #8fa3b3; }
.app-mini-grid i.is-free { background: var(--st-free); }
.app-mini-grid i.is-res { background: var(--st-res); }
.app-mini-grid i.is-off { background: var(--st-off); }
.app-tabs { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-around; padding: 10px 6px; border-radius: 18px; background: #fff; border: 1px solid #e3ebf0; font-size: .64rem; font-weight: 600; color: #8195a5; }
.app-tabs .is-on { color: #0e7c83; }

/* Dashboard */
.dash__filters { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-select { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; border: 1px solid #dbe5eb; font-size: .74rem; font-weight: 600; color: #3f5567; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { display: grid; gap: 3px; padding: 12px; border-radius: 14px; background: #f6f9fb; border: 1px solid #e3ebf0; min-width: 0; }
.kpi small { font-size: .68rem; color: #6a7f90; line-height: 1.3; }
.kpi b { font-family: var(--font-head); font-size: 1.12rem; white-space: nowrap; }
.kpi__delta { width: fit-content; padding: 1px 6px; border-radius: 6px; font-size: .66rem; font-weight: 700; color: #0b6b40; background: #e1f6ec; }
.dash__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.dash__chart, .dash__donut { padding: 14px; border-radius: 14px; border: 1px solid #e3ebf0; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.bar { flex: 1; display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; text-align: center; }
.bar i { align-self: end; height: calc(var(--v) * 100%); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #8ea6ff, #5174ff); transform-origin: bottom; transform: scaleY(.05); transition: transform .8s var(--ease-out) calc(var(--i) * 70ms); }
.bar:last-child i { background: linear-gradient(180deg, #7ff0ef, #1fb8bc); }
.dash.is-visible .bar i { transform: scaleY(1); }
.bar small { font-size: .66rem; color: #6a7f90; }
.donut { width: 104px; height: 104px; margin: 4px auto 10px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 6; }
.seg-0 { stroke: #5174ff; }
.seg-1 { stroke: #1fb8bc; }
.seg-2 { stroke: #173146; }
.donut__legend { display: grid; gap: 4px; list-style: none; font-size: .72rem; color: #3f5567; }
.donut__legend li { display: flex; align-items: center; gap: 6px; }
.donut__legend b { margin-left: auto; }
.sw { width: 9px; height: 9px; border-radius: 3px; }
.sw-0 { background: #5174ff; }
.sw-1 { background: #1fb8bc; }
.sw-2 { background: #173146; }
.dash__ai { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #f1f8f8; border: 1px solid #d9efef; font-size: .8rem; color: #24485c; }
.dash__ai .icon { color: var(--teal-700); margin-top: 2px; }

/* Installment */
.inst__summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.inst__summary > div { display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: #f6f9fb; border: 1px solid #e3ebf0; min-width: 0; }
.inst__summary small { font-size: .7rem; color: #6a7f90; }
.inst__summary b { font-family: var(--font-head); font-size: 1rem; }
.inst__term { grid-column: span 1; }
.inst__monthly { color: #fff; background: linear-gradient(135deg, #0e7c83, #0b5f64) !important; border: 0 !important; }
.inst__monthly small { color: #c6eeef; }
.inst__monthly b { font-size: 1.2rem; }

/* Tables & callouts */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
.widget .table-wrap { background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; color: #173146; }
.table caption { padding: 14px 16px 0; text-align: left; font-weight: 700; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #e8eef2; white-space: nowrap; }
.table thead th { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6a7f90; background: #f7fafb; }
.table tbody th { font-weight: 600; }
.table tr:last-child > * { border-bottom: 0; }
.table--compact { font-size: .8rem; }
.table--compact th, .table--compact td { padding: 9px 12px; }
.table .is-more td { color: #8195a5; text-align: center; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0; padding: 18px 20px; border-radius: var(--radius); background: #eef5ff; border: 1px solid #d5e1ff; color: #24375f; }
.callout > .icon { color: var(--blue-strong); margin-top: 2px; }
.callout--teal { background: #e9f8f8; border-color: #c3e9ea; color: #0f4f54; }
.callout--teal > .icon { color: var(--teal-700); }
.callout--warn { background: #fff7e6; border-color: #f6dca5; color: #5f4100; }
.callout--warn > .icon { color: #c27c00; }
.callout strong { display: block; margin-bottom: 4px; }

/* Related links */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; list-style: none; }
.related:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.related-card { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px; border-radius: var(--radius); text-decoration: none; background: var(--card-bg); border: 1px solid var(--card-line); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.related-card:hover { transform: translateY(-2px); border-color: rgba(31, 184, 188, .5); box-shadow: 0 18px 32px -24px rgba(11, 44, 66, .45); }
.related-card .card__icon { margin: 0; flex: none; }
.related-card__copy { display: grid; gap: 4px; }
.related-card__copy strong { font-family: var(--font-head); font-size: 1.02rem; }
.related-card__copy span { font-size: .9rem; color: var(--fg-muted); line-height: 1.5; }
.related-card__go { margin-left: auto; color: var(--accent-text); flex: none; }

/* Prose (articles) */
.prose { max-width: 740px; font-size: 1.08rem; line-height: 1.8; color: #2b4357; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; color: var(--ink); }
.prose h3 { margin-top: 1.8em; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.prose a { color: var(--teal-700); font-weight: 600; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--teal-600); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--teal); color: var(--ink); font-weight: 500; }
.prose .table-wrap, .prose .callout { margin-block: 1.6em; }

/* ============ Footer ============ */
.site-footer { position: relative; color: #c3d4de; background: #051622; padding-top: 72px; }
.site-footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(45, 212, 216, .5), transparent); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer__brand p { margin-top: 18px; max-width: 36ch; font-size: .95rem; line-height: 1.65; color: #9fb6c3; }
.site-footer h2 { margin-bottom: 16px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7fa1b3; }
.site-footer nav { display: grid; align-content: start; gap: 4px; }
.site-footer nav a { padding: 6px 0; color: #d3e2ea; text-decoration: none; font-size: .95rem; border-radius: 4px; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-links { display: grid; gap: 10px; list-style: none; }
.contact-links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .2s, border-color .2s; }
.contact-links a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(45, 212, 216, .35); }
.contact-links .icon { width: 22px; height: 22px; color: var(--teal-300); }
.contact-links span { display: grid; font-weight: 600; font-size: .95rem; }
.contact-links small { font-size: .74rem; font-weight: 500; color: #8fa9b8; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; border-top: 1px solid rgba(159, 182, 195, .12); font-size: .88rem; color: #8fa9b8; }
.site-footer__bottom a { color: #d3e2ea; text-decoration: none; }
.site-footer__bottom a:hover { text-decoration: underline; }

/* Mobile contact dock */
.contact-dock { display: none; }
@media (max-width: 767px) {
  .contact-dock {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: 48px 48px 48px 1fr; gap: 8px; padding: 8px; border-radius: 20px;
    background: rgba(6, 28, 43, .9); border: 1px solid rgba(159, 182, 195, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
  }
  .contact-dock a, .contact-dock button { display: grid; place-items: center; min-height: 48px; border-radius: 14px; border: 0; color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
  .contact-dock button { font-weight: 700; color: var(--navy-950); background: linear-gradient(135deg, #7ff0ef, #1fb8bc); }
  .site-footer { padding-bottom: 88px; }
  .menu-open .contact-dock, .dialog-open .contact-dock { display: none; }
  /* the open 3D viewer has its own booking action and its bottom sheet reaches the screen edge */
  .v3d-in-view .contact-dock { display: none; }
}

/* ============ Demo dialog ============ */
.demo-dialog {
  width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 32px; border: 0; border-radius: 28px;
  color: #173146; background: #fff; box-shadow: 0 50px 100px -30px rgba(6, 28, 43, .65); overflow: auto;
}
.demo-dialog[open] { animation: dialog-in .35s var(--ease-out); }
.demo-dialog::backdrop { background: rgba(6, 28, 43, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f0f5f8; color: #3f5567; }
.dialog-close:hover { background: #e3ecf1; }
.demo-dialog h2 { font-size: 1.7rem; font-weight: 800; padding-right: 44px; }
.demo-dialog #demo-form-content > p { margin-top: 10px; color: #52677a; line-height: 1.6; }
#demo-form { display: grid; margin-top: 22px; }
#demo-form label { margin-bottom: 6px; font-size: .9rem; font-weight: 600; }
#demo-form input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #d3dfe6; background: #f9fbfc; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
#demo-form input:focus { outline: none; border-color: var(--teal-600); background: #fff; box-shadow: 0 0 0 4px rgba(31, 184, 188, .18); }
#demo-form input[aria-invalid="true"] { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, .12); }
#demo-form input[readonly] { opacity: .7; }
.field-error { min-height: 22px; padding-top: 4px; font-size: .82rem; color: #b42318; }
.form-error { margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; color: #8f1d14; background: #fdecea; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#demo-submit { margin-top: 6px; }
#demo-submit[disabled] { opacity: .75; cursor: progress; transform: none; }
.form-consent { margin-top: 12px; font-size: .78rem; line-height: 1.5; color: #6a7f90; }
.dialog-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e8eef2; font-size: .88rem; color: #52677a; }
.dialog-alt a { color: var(--teal-700); font-weight: 600; }
.demo-success { display: grid; justify-items: center; gap: 12px; padding: 12px 0; text-align: center; }
.demo-success > .icon { width: 64px; height: 64px; color: #13895a; }
.demo-success h2 { padding: 0; }
.demo-success p { color: #52677a; }
.demo-success:focus { outline: none; }
/* the success block is shown only after a saved submission (its `hidden` attribute must win over display: grid) */
.demo-success[hidden], .form-error[hidden] { display: none; }

/* ============ 404 ============ */
.not-found { display: grid; justify-items: center; gap: 14px; padding-block: 96px 120px; text-align: center; }
.not-found__code { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--teal), var(--navy-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.not-found p { max-width: 52ch; color: var(--fg-muted); }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; }
.not-found__links a { color: var(--teal-700); font-weight: 600; }

/* ============ Home: section-specific ============ */
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ai-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.ai-point { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(159, 182, 195, .14); }
.ai-point .card__icon { margin: 0; width: 42px; height: 42px; flex: none; }
.ai-point h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.ai-point p { font-size: .9rem; color: var(--fg-muted); line-height: 1.55; }
.section-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 40px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-text); text-decoration: none; border-radius: 6px; }
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.visual-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.visual-cards .card { padding: 22px; }
.visual-cards .card__icon { width: 42px; height: 42px; margin-bottom: 14px; }
.visual-cards .card__title { font-size: 1.04rem; }
.visual-cards .card__text { font-size: .92rem; }
.apps-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr) minmax(0, .75fr); gap: 28px; align-items: center; }
.apps-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--card-line); }
.trust-item .card__icon { margin: 0; width: 42px; height: 42px; flex: none; }
.trust-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.trust-item p { font-size: .9rem; color: var(--fg-muted); line-height: 1.5; }
.cta-section { padding-block: clamp(56px, 7vw, 96px); background: var(--bg); }

/* ============ Reveal ============ */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1179px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
  .tower-stage { transform: scale(.8); }
  .float-card--res { right: -2%; }
  .float-card--legend { right: 0; }
  .apps-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .apps-grid > :first-child { grid-column: 1 / -1; }
  .visual-cards, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .hero__grid, .split, .ai-grid, .page-hero--split .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__copy { order: 0; }
  .hero-visual { min-height: 520px; }
  .float-card--ai { left: 2%; }
  .float-card--res { right: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__tile, .bento__tile--lg { grid-column: span 1; }
  .bento__tile--xl { grid-column: 1 / -1; }
  .grid--3, .grid--4, .steps, .ai-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:not(:last-child)::after { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .apps-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .bento, .grid--2, .grid--3, .grid--4, .steps, .ai-points, .visual-cards, .trust-grid, .checklist--2 { grid-template-columns: minmax(0, 1fr); }
  .bento__tile, .bento__tile--lg { min-height: 0; }
  .bento__tile--xl { flex-direction: column; align-items: stretch; gap: 0; }
  .bento__tile--xl .bento__visual { order: 0; margin: -6px -6px 22px; }
  .hero-visual { min-height: 440px; margin-inline: calc(var(--gutter) * -1); }
  .tower-stage { transform: scale(.74); margin-block: -60px; }
  .float-card { max-width: 200px; padding: 10px 12px 10px 10px; }
  .float-card b { font-size: .8rem; }
  .float-card--ai { top: 0; left: 12px; }
  .float-card--res { top: 46%; right: 8px; }
  .float-card--pay { bottom: 12%; left: 8px; }
  .float-card--legend { display: none; }
  .hero-visual > .namuna { top: auto; bottom: 6px; right: 12px; }
  .cb__layout { grid-template-columns: minmax(0, 1fr); }
  .cb__cell { height: 30px; }
  .call__grid, .call__foot { grid-template-columns: minmax(0, 1fr); }
  .call__wave { width: 38%; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .dash__row { grid-template-columns: minmax(0, 1fr); }
  .inst__summary { grid-template-columns: minmax(0, 1fr); }
  .bv__info { position: static; width: auto; margin: 10px; background: #f6f9fb; box-shadow: none; }
  .bv__stage { display: flex; flex-direction: column; }
  .bv__zones { bottom: auto; aspect-ratio: 3 / 2; }
  .apps-grid { grid-template-columns: minmax(0, 1fr); }
  .widget__body { padding: 14px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .btn-row .btn { flex: 1 1 auto; }
  .hero .btn-row .btn { width: 100%; }
  .cta-band { border-radius: var(--radius-lg); }
  .tg__flats { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .widget__hint { flex-wrap: nowrap; align-items: flex-start; }
  .widget__hint > .icon { margin-top: 1px; }
  .cta-band { padding: 32px 20px; }
  .cta-band .contact-card { gap: 12px; padding: 14px; }
  .contact-card > span:not([class]) { min-width: 0; }
  .contact-card strong { font-size: .95rem; white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  .tower-stage { transform: scale(.66); margin-block: -90px; }
  .hero-visual { min-height: 400px; }
  .kb__board { grid-template-columns: repeat(4, 160px); }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .tower-rig { animation: none; transform: rotateY(-32deg); }
  .aurora i, .float-card { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .contact-dock, .demo-dialog, .hero-visual, .site-footer { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============ Interactive 3D demo (site/ui.mjs building3d + src/viewer3d) ============ */
/* Poster + lazy-load shell. The viewer (.v3d) is mounted into .v3w__root by public/app.js. */
.v3w .widget__body { padding: 0; }
.v3w [hidden] { display: none !important; }
.v3w .widget__hint { margin: 0; padding: 12px 18px 14px; border-top: 1px solid #e8eef2; }
.v3w__root { position: relative; height: clamp(540px, 76vh, 720px); background: #dfe9ee; }
.v3w__poster { position: absolute; inset: 0; overflow: hidden; }
.v3w__poster picture, .v3w__poster img { width: 100%; height: 100%; object-fit: cover; }
.v3w__poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 28, 43, 0) 45%, rgba(6, 28, 43, .55)); pointer-events: none; }
.v3w__cta { position: absolute; left: 50%; bottom: clamp(20px, 6%, 40px); z-index: 1; display: grid; justify-items: center; gap: 10px; width: min(92%, 540px); text-align: center; transform: translateX(-50%); }
.v3w__open { --btn-h: 54px; padding: 0 26px; font-size: 1rem; box-shadow: 0 18px 40px -16px rgba(6, 28, 43, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.v3w__open .icon { width: 22px; height: 22px; }
.v3w__open:disabled { cursor: progress; opacity: .85; transform: none; }
.v3w__poster-hint { padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 500; color: #fff; background: rgba(6, 28, 43, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.v3w__status { max-width: 520px; padding: 10px 14px; border-radius: 12px; font-size: .86rem; line-height: 1.5; color: #173146; background: rgba(255, 255, 255, .94); box-shadow: 0 12px 30px -16px rgba(6, 28, 43, .6); }
.v3w__status:empty { display: none; }
.v3w.is-loading .v3w__open::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: v3d-spin .8s linear infinite; }
.v3w.is-loading .v3w__open .icon { display: none; }
.v3w.is-loading .v3w__poster-hint, .v3w.is-failed .v3w__poster-hint { display: none; }
.v3w.is-live .v3w__poster { display: none; }

/* Viewer layout: stage (canvas + overlays) and the side panel */
.v3d { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) 312px; color: #173146; background: #fff; font-family: var(--font-body); }
.v3d__stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: linear-gradient(180deg, #a9c9e2, #e6edef 60%, #d8dbcf); isolation: isolate; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.v3d__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; outline: none; cursor: grab; }
.v3d__canvas:active { cursor: grabbing; }
.v3d__canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--teal); }
.v3d__labels { position: absolute !important; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.v3d__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.v3d .v3d-i { flex: none; }
.v3d button { font-family: inherit; }
.v3d [hidden] { display: none !important; }

/* Glass controls */
.v3d-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .75); border-radius: 12px; color: #173146; background: rgba(255, 255, 255, .8);
  box-shadow: 0 8px 22px -12px rgba(6, 28, 43, .55); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  font-size: .82rem; font-weight: 600; line-height: 1; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s;
}
.v3d-btn:hover { background: #fff; }
.v3d-btn[aria-pressed="true"] { color: #fff; background: #173146; border-color: #173146; }
.v3d-btn:disabled { opacity: .4; cursor: default; }
.v3d-btn--sm { min-width: 32px; height: 32px; padding: 0 6px; border-color: #dbe5eb; border-radius: 9px; background: #fff; box-shadow: none; }
.v3d-btn:focus-visible, .v3d-chip:focus-visible, .v3d-row:focus-visible, .v3d-toggle:focus-visible, .v3d-link:focus-visible, .v3d__crumbs button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.v3d__tools { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 6px; }
.v3d__nav { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 10px 26px -14px rgba(6, 28, 43, .6); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); }
.v3d__nav .v3d-btn { border-color: transparent; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.v3d__nav .v3d-btn:hover { background: rgba(23, 49, 70, .08); }
.v3d__badge { position: absolute; top: 60px; right: 12px; z-index: 3; display: none; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #7a5200; background: #fff4dc; border: 1px solid #f6dca5; }
.v3d.is-fs .v3d__badge, .v3d.is-pseudo-fs .v3d__badge { display: inline-flex; }

.v3d__crumbs { position: absolute; top: 12px; left: 12px; z-index: 3; max-width: calc(100% - 330px); padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 8px 22px -12px rgba(6, 28, 43, .55); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); }
.v3d__crumbs ol { display: flex; align-items: center; gap: 2px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.v3d__crumbs ol::-webkit-scrollbar { display: none; }
.v3d__crumbs li { display: inline-flex; align-items: center; flex: none; color: #8aa0b0; }
.v3d__crumbs button, .v3d__crumbs span { display: inline-block; padding: 6px 9px; border: 0; border-radius: 8px; background: none; font-size: .8rem; font-weight: 600; color: #0e7c83; white-space: nowrap; }
.v3d__crumbs button:hover { background: rgba(14, 124, 131, .1); }
.v3d__crumbs span { color: #173146; }
.v3d__crumbs .v3d-crumb-home { display: inline-flex; align-items: center; padding: 6px 7px; }
.v3d__crumbs ol.is-scrolled { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22px); mask-image: linear-gradient(to right, transparent 0, #000 22px); }

.v3d__legend { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px 12px; max-width: calc(100% - 270px); padding: 8px 12px; list-style: none; border-radius: 12px; font-size: .74rem; font-weight: 600; color: #3f5567; background: rgba(255, 255, 255, .84); box-shadow: 0 8px 22px -12px rgba(6, 28, 43, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.v3d__legend[hidden] { display: none; }
.v3d__legend li { display: inline-flex; align-items: center; gap: 6px; }
.v3d__legend i { width: 10px; height: 10px; border-radius: 3px; }
.v3d__hint { position: absolute; left: 50%; bottom: 66px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; max-width: min(92%, 460px); padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 500; line-height: 1.35; color: #fff; background: rgba(6, 28, 43, .72); box-shadow: 0 10px 26px -12px rgba(6, 28, 43, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateX(-50%); transition: opacity .35s, transform .35s var(--ease-out); pointer-events: none; }
.v3d__hint.is-hidden { opacity: 0; transform: translate(-50%, 8px); }
.v3d__tip { position: absolute; left: 0; top: 0; z-index: 4; display: grid; gap: 2px; padding: 8px 12px; border-radius: 12px; font-size: .74rem; color: #52677a; background: rgba(255, 255, 255, .96); box-shadow: 0 14px 30px -14px rgba(6, 28, 43, .6); pointer-events: none; white-space: nowrap; }
.v3d__tip[hidden] { display: none; }
.v3d__tip b { font-family: var(--font-head); font-size: .84rem; color: #173146; }
.v3d__tip .st { justify-self: start; margin-top: 3px; }

.v3d__loading { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 12px; font-size: .9rem; font-weight: 600; color: #173146; background: radial-gradient(120% 90% at 50% 30%, rgba(255, 255, 255, .7), rgba(223, 233, 238, .92)); transition: opacity .5s, visibility .5s; }
.v3d__loading.is-done { opacity: 0; visibility: hidden; }
.v3d__spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(23, 49, 70, .15); border-top-color: var(--teal); animation: v3d-spin .9s linear infinite; }
.v3d__progress { width: 180px; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(23, 49, 70, .12); }
.v3d__progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1fb8bc, #29617c); transform-origin: left; transition: transform .3s; }
@keyframes v3d-spin { to { transform: rotate(360deg); } }

/* Labels anchored in 3D (CSS2DRenderer sets their transform: never set transform here) */
.v3d-tag { display: grid; gap: 1px; padding: 6px 10px; border: 1px solid rgba(23, 49, 70, .08); border-radius: 11px; color: #173146; background: rgba(255, 255, 255, .93); box-shadow: 0 10px 22px -12px rgba(6, 28, 43, .6); font-size: .7rem; font-weight: 500; line-height: 1.25; text-align: left; white-space: nowrap; pointer-events: auto; cursor: pointer; transition: opacity .25s, background-color .2s, box-shadow .2s; }
.v3d-tag b { font-family: var(--font-head); font-size: .8rem; font-weight: 700; }
.v3d-tag span { color: #5b6f80; }
.v3d-tag:hover { background: #fff; box-shadow: 0 0 0 2px var(--teal), 0 12px 26px -12px rgba(6, 28, 43, .6); }
.v3d-tag .st { justify-self: start; margin-top: 3px; padding: 2px 7px; font-size: .64rem; }
.v3d-tag--block { position: relative; padding: 7px 12px; color: #fff; border-color: rgba(255, 255, 255, .2); background: rgba(23, 49, 70, .9); }
.v3d-tag--block span { color: #b9d3df; }
.v3d-tag--block::after { content: ''; position: absolute; left: 50%; top: 100%; width: 2px; height: 14px; margin-left: -1px; background: rgba(23, 49, 70, .7); }
.v3d-tag--block:hover { background: #173146; }
.v3d-tag--block.is-active { color: #061c2b; background: #2dd4d8; }
.v3d-tag--block.is-active span { color: #0b3b46; }
.v3d-tag--block.is-active::after { background: #1fb8bc; }
.v3d-tag--flat { border-left: 4px solid var(--st-sold); }
.v3d-tag--flat.is-free { border-left-color: var(--st-free); }
.v3d-tag--flat.is-res { border-left-color: var(--st-res); }
.v3d-tag--flat.is-off { border-left-color: var(--st-off); }
.v3d-tag--room { padding: 5px 9px; border-radius: 999px; display: inline-flex; align-items: baseline; gap: 6px; background: rgba(255, 255, 255, .9); }
.v3d-tag--room b { font-size: .74rem; }
.v3d-tag--room span { font-size: .68rem; }
.v3d-tag--room.is-active { color: #fff; background: #0e7c83; border-color: #0e7c83; }
.v3d-tag--room.is-active span { color: #d6f3f3; }
.v3d-tag--room.is-hotspot { color: #fff; background: rgba(6, 28, 43, .72); border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.v3d-tag--room.is-hotspot span { color: #b9d3df; }
.v3d-tag--room.is-hotspot:hover { background: rgba(14, 124, 131, .92); }
.v3d-tag.is-occluded, .v3d-tag.is-under-ui, .v3d-tag.is-crowded { opacity: 0; pointer-events: none; }

/* Side panel */
.v3d__panel { min-width: 0; min-height: 0; overflow: auto; border-left: 1px solid #e3ebf0; background: #fbfdfe; overscroll-behavior: contain; }
.v3d__panel-inner { display: grid; align-content: start; gap: 14px; padding: 18px; }
.v3d-p__head { display: grid; gap: 4px; }
.v3d-p__eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0e7c83; }
.v3d-p__title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; outline: none; }
.v3d-p__sub { font-size: .82rem; color: #5b6f80; }
.v3d-p__note { font-size: .74rem; line-height: 1.45; color: #6a7f90; }
.v3d:not(.is-fs):not(.is-pseudo-fs) .v3d-p__note { display: none; }
.v3d-p__titlerow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v3d-p__step { display: inline-flex; gap: 4px; }
.v3d-p__label { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6a7f90; }
.v3d-p__blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.v3d-chip { display: grid; gap: 1px; padding: 8px 10px; border: 1px solid #dbe5eb; border-radius: 12px; color: #173146; background: #fff; text-align: left; transition: border-color .2s, background-color .2s, color .2s; }
.v3d-chip b { font-size: .84rem; font-weight: 700; }
.v3d-chip small { font-size: .7rem; color: #6a7f90; }
.v3d-chip:hover { border-color: #1fb8bc; }
.v3d-chip[aria-pressed="true"] { color: #fff; border-color: #173146; background: #173146; }
.v3d-chip[aria-pressed="true"] small { color: #b9d3df; }
.v3d-p__list { display: grid; gap: 3px; list-style: none; }
.v3d-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border: 1px solid transparent; border-radius: 10px; color: #173146; background: none; text-align: left; font-size: .8rem; transition: background-color .15s, border-color .15s; }
.v3d-row:hover { border-color: #cfe3e8; background: #eef7f8; }
.v3d-row b { font-weight: 700; }
.v3d-row small { font-size: .72rem; color: #5b6f80; white-space: nowrap; }
.v3d-cells { display: flex; gap: 3px; }
.v3d-cells i { width: 12px; height: 9px; border-radius: 2px; }
.v3d-row--flat { grid-template-columns: 40px minmax(0, 1fr) auto; }
.v3d-num { display: grid; place-items: center; height: 32px; border-radius: 9px; font-family: var(--font-head); font-size: .86rem; color: #173146; background: #eef3f6; }
.v3d-p__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.v3d-p__facts div { padding: 8px 10px; border-radius: 10px; background: #f1f6f8; }
.v3d-p__facts dt { font-size: .68rem; color: #6a7f90; }
.v3d-p__facts dd { margin: 2px 0 0; font-size: .86rem; font-weight: 700; }
.v3d-p__facts .v3d-p__price { grid-column: 1 / -1; background: #e9f7f7; }
.v3d-p__facts .v3d-p__price dd { font-family: var(--font-head); font-size: 1.05rem; color: #0b3b46; }
.v3d-p__rooms { display: flex; flex-wrap: wrap; gap: 6px; }
.v3d-chip--room { padding: 6px 10px; border-radius: 10px; }
.v3d-chip--room b { font-size: .78rem; }
.v3d-p__actions { display: grid; gap: 8px; }
.v3d-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid #1fb8bc; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #0e7c83; background: #fff; transition: background-color .2s, color .2s; }
.v3d-toggle:hover { background: #e9f7f7; }
.v3d-toggle[aria-pressed="true"] { color: #fff; background: #0e7c83; border-color: #0e7c83; }
.v3d-book { width: 100%; }
.v3d-link { display: inline-flex; align-items: center; justify-self: start; gap: 6px; padding: 6px 2px; border: 0; background: none; font-size: .84rem; font-weight: 600; color: #0e7c83; }
.v3d-link:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Fullscreen (Fullscreen API) and the fixed-position fallback */
.v3d.is-fs, .v3d:fullscreen { position: fixed; inset: 0; width: 100%; height: 100%; }
.v3d.is-pseudo-fs { position: fixed; inset: 0; z-index: 1000; width: 100%; height: 100%; }
html.v3d-lock, html.v3d-lock body { overflow: hidden; }

@media (max-width: 1023px) {
  .v3d { grid-template-columns: minmax(0, 1fr) 272px; }
  .v3d__crumbs { max-width: calc(100% - 140px); }
  .v3d__tools .v3d-btn--label span { display: none; }
  .v3d__tools .v3d-btn--label { padding: 0; width: 40px; }
}
@media (max-width: 767px) {
  .v3w__root { height: auto; }
  .v3w__poster { position: relative; height: 66vh; height: clamp(380px, 66svh, 580px); }
  .v3w .widget__hint { padding: 10px 14px 12px; }
  .v3d { position: relative; inset: auto; display: flex; flex-direction: column; }
  .v3d__stage { flex: none; height: 66vh; height: clamp(380px, 66svh, 580px); }
  .v3d.is-fs .v3d__stage, .v3d.is-pseudo-fs .v3d__stage { flex: 1 1 auto; height: auto; }
  .v3d.is-fs .v3d__panel, .v3d.is-pseudo-fs .v3d__panel { flex: none; max-height: 42%; }
  .v3d__panel { border-left: 0; border-top: 1px solid #e3ebf0; overflow: visible; }
  .v3d.is-fs .v3d__panel, .v3d.is-pseudo-fs .v3d__panel { overflow: auto; }
  .v3d__panel-inner { gap: 10px; padding: 12px 14px 14px; }
  .v3d-p__title { font-size: 1.08rem; }
  .v3w .widget__bar { flex-wrap: wrap; row-gap: 6px; }
  .v3w .widget__title { flex: 1 1 auto; min-width: 0; }
  .v3d__crumbs { left: 8px; top: 8px; max-width: calc(100% - 64px); }
  .v3d__crumbs button, .v3d__crumbs span { padding: 6px 7px; font-size: .74rem; }
  .v3d__tools { top: 8px; right: 8px; flex-direction: column; gap: 6px; }
  .v3d__nav { right: 8px; bottom: 8px; }
  .v3d__nav .v3d-btn { min-width: 38px; height: 40px; }
  .v3d__legend { left: 8px; top: 56px; bottom: auto; max-width: calc(100% - 64px); padding: 6px 10px; gap: 4px 10px; font-size: .68rem; }
  .v3d__hint { left: 8px; right: 8px; bottom: 60px; max-width: none; justify-content: center; border-radius: 14px; font-size: .74rem; transform: none; }
  .v3d__hint.is-hidden { transform: translateY(8px); }
  .v3d__badge { top: auto; bottom: 60px; right: 8px; }
  /* compact lists: horizontal scrollers instead of tall columns */
  .v3d-p__floors, .v3d-p__flats, .v3d-p__rooms { display: flex; flex-wrap: nowrap; gap: 6px; margin-inline: -14px; padding: 2px 14px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .v3d-p__floors li, .v3d-p__flats li, .v3d-p__rooms > * { flex: none; scroll-snap-align: start; }
  .v3d-p__floors .v3d-row { display: grid; grid-template-columns: auto; justify-items: start; gap: 4px; width: auto; min-width: 92px; padding: 8px 10px; border-color: #dbe5eb; background: #fff; }
  .v3d-p__flats .v3d-row { grid-template-columns: 36px auto; grid-template-rows: auto auto; width: auto; padding: 8px 10px; border-color: #dbe5eb; background: #fff; }
  .v3d-row--flat .v3d-num { grid-row: span 2; height: 36px; }
  .v3d-row--flat .st { justify-self: start; }
  .v3d-p__facts { gap: 4px; }
  .v3d-p__facts div { padding: 6px 8px; }
  .v3d-p__facts dd { font-size: .8rem; }
  .v3d-p__facts .v3d-p__price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
  .v3d-p__facts .v3d-p__price dd { margin: 0; font-size: .95rem; }
  .v3d-p__actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .v3d-p__actions .v3d-link { grid-column: 1 / -1; }
  .v3d-p__actions .v3d-toggle, .v3d-p__actions .v3d-book { min-width: 0; padding-inline: 10px; white-space: nowrap; }
  .v3d-p__actions span { overflow: hidden; text-overflow: ellipsis; }
  .v3d-tag--room.is-small { display: none !important; }
  .v3d-book { --btn-h: 42px; padding: 0 12px; font-size: .86rem; }
  .v3d-toggle { font-size: .86rem; }
  .v3d-tag { padding: 4px 8px; font-size: .64rem; }
  .v3d-tag b { font-size: .72rem; }
  .v3d-tag--flat span, .v3d-tag--room span { display: none; }
}

@media (max-width: 400px) {
  .v3d-p__actions { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .v3d__spinner, .v3w.is-loading .v3w__open::before { animation-duration: 2.4s !important; animation-iteration-count: infinite !important; }
}
.t3-levels { margin-top: 24px; }
