/* Belvárosi Ingatlaniroda — v2: airy sky, refined type, calm glass components */
:root {
  --ink: #0d2440;
  --ink-2: #41597a;
  --muted: #7a90ad;
  --line: rgba(13, 40, 80, 0.08);
  --line-2: rgba(13, 40, 80, 0.12);
  --sky-25: #fbfdff;
  --sky-50: #f5f9ff;
  --sky-100: #eaf3ff;
  --sky-150: #dfedff;
  --sky-200: #cfe4ff;
  --sky-300: #a9d0ff;
  --sky-400: #73b3ff;
  --sky-500: #4a98fb;
  --sky-600: #2a7ff0;
  --sky-700: #1d66d6;
  --sky-800: #184f9f;
  --peach: #ffc7a6;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 30px;
  --r-xl: 42px;
  --shadow-1: 0 1px 2px rgba(13, 40, 80, 0.04), 0 18px 40px -28px rgba(24, 79, 159, 0.35);
  --shadow-2: 0 2px 6px rgba(13, 40, 80, 0.04), 0 40px 80px -48px rgba(24, 79, 159, 0.5);
  --glass: rgba(255, 255, 255, 0.62);
  --f-display: "Urbanist", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --page: 1200px;
  --gutter: clamp(18px, 4.5vw, 48px);
  --header-h: 62px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink-2);
  font: 400 17px/1.75 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sky-200); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sky-500); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.032em;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: clamp(50px, 7.2vw, 116px); font-weight: 300; line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-size: clamp(38px, 4.6vw, 70px); font-weight: 300; letter-spacing: -0.04em; }
h3 { font-size: clamp(21px, 1.8vw, 25px); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; }
h1 .accent, h2 .accent { font-weight: 500; }
p { margin: 0; }
.accent { color: var(--sky-600); }
.lead { font-size: clamp(17.5px, 1.4vw, 20.5px); line-height: 1.65; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }
.container { width: min(var(--page), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 16px; }

/* word-by-word headline reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.2em 0.02em 0.14em; margin: -0.2em -0.02em -0.14em; }
.w > span { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + var(--wd, 0ms)); will-change: transform; }
.is-ready .sky-hero .w > span, .is-ready .prop-head .w > span, .in .w > span, .in.w > span { transform: none; }
.sky-hero .w > span { --wd: 120ms; }

/* ── icons ── */
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ── buttons ── */
.btn {
  --bg: linear-gradient(180deg, #4592ff 0%, #2a7ff0 55%, #1d6fe0 100%);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px;
  font: 600 16px/1 var(--f-body);
  letter-spacing: 0.005em;
  color: #fff;
  background: var(--bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 14px 30px -14px rgba(29, 111, 224, 0.75);
  position: relative;
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 20px 38px -16px rgba(29, 111, 224, 0.85); }
.btn:active { transform: translateY(0) scale(0.985); transition-duration: 0.12s; }
.btn .i { width: 18px; height: 18px; transition: transform 0.5s var(--ease-out); }
.btn:hover .i:last-child { transform: translateX(2px); }
.btn--white { --bg: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 28px -18px rgba(24, 79, 159, 0.45); }
.btn--white:hover { box-shadow: inset 0 0 0 1px rgba(42, 127, 240, 0.35), 0 18px 34px -18px rgba(24, 79, 159, 0.5); }
.btn--glass { --bg: rgba(255, 255, 255, 0.58); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85), 0 12px 30px -18px rgba(24, 79, 159, 0.45); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.btn--ink { --bg: linear-gradient(180deg, #23426b, #0d2440); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sky-700); }
.link-arrow .i { width: 18px; height: 18px; transition: transform 0.5s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--sky-100); color: var(--sky-800);
  font: 600 12px/1.2 var(--f-body); letter-spacing: 0.02em;
}
.chip .i { width: 14px; height: 14px; }
.chip--glass { background: rgba(255, 255, 255, 0.72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), 0 8px 20px -14px rgba(24, 79, 159, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sky-700);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky-500); box-shadow: 0 0 0 4px rgba(74, 152, 251, 0.18); }
.kicker { display: inline-flex; align-items: center; gap: 9px; font: 600 13px/1 var(--f-body); letter-spacing: 0.04em; color: var(--ink-2); }
.kicker .i { width: 16px; height: 16px; color: var(--sky-600); }

/* ── header ── */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }
.nav-shell {
  pointer-events: auto;
  width: min(var(--page) + 32px, 100% - 24px); margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85), 0 16px 40px -26px rgba(24, 79, 159, 0.55);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  transition: background 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled .nav-shell { background: rgba(255, 255, 255, 0.86); box-shadow: inset 0 0 0 1px rgba(13, 40, 80, 0.06), 0 18px 44px -26px rgba(24, 79, 159, 0.5); }
.brand { display: flex; align-items: center; gap: 11px; padding-right: 6px; flex: none; }
.brand__mark { width: 38px; height: 38px; transition: transform 0.7s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__word { display: grid; line-height: 1; }
.brand__word b { font: 600 20px/1 var(--f-display); color: var(--ink); letter-spacing: -0.025em; }
.brand__word small { font: 600 8.5px/1 var(--f-body); letter-spacing: 0.34em; color: #3d9df7; margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; position: relative; }
.nav a {
  position: relative; z-index: 1;
  padding: 10px 14px; border-radius: 999px;
  font: 500 14.5px/1 var(--f-body); color: var(--ink-2);
  transition: color 0.25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sky-600); }
.nav__blob {
  position: absolute; z-index: 0; top: 0; left: 0; height: 100%;
  border-radius: 999px; background: rgba(234, 243, 255, 0.9);
  opacity: 0; transform: translateX(var(--x, 0)); width: var(--w, 0);
  transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), opacity 0.25s;
  pointer-events: none;
}
.nav:hover .nav__blob { opacity: 1; }
.nav a.nav__ach { display: inline-flex; align-items: center; gap: 7px; }
.nav a.nav__ach img { width: 14px; height: 14px; }
.nav-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.lang {
  display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(234, 243, 255, 0.85);
  font: 600 12px/1 var(--f-body); letter-spacing: 0.08em;
}
.lang a { padding: 8px 10px; border-radius: 999px; color: var(--muted); transition: background 0.3s, color 0.3s; }
.lang a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -8px rgba(24, 79, 159, 0.6); }
.nav-call .num { display: inline; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(234, 243, 255, 0.9); place-items: center; }
.burger span { display: block; width: 17px; height: 1.75px; border-radius: 2px; background: var(--ink); position: relative; transition: background 0.2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.75px; border-radius: 2px; background: var(--ink); transition: transform 0.45s var(--ease-out); }
.burger span::before { top: -5.5px; }
.burger span::after { top: 5.5px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(5.5px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-5.5px) rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 45;
  background: linear-gradient(180deg, #d6eaff 0%, #f2f8ff 55%, #fff 100%);
  padding: calc(var(--header-h) + 44px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 22px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.35s var(--ease), transform 0.6s var(--ease-out), visibility 0s 0.4s;
  overflow-y: auto;
}
.menu-open .sheet { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease), transform 0.6s var(--ease-out); }
.sheet nav { display: grid; gap: 2px; }
.sheet nav a { font: 300 36px/1.18 var(--f-display); letter-spacing: -0.035em; color: var(--ink); padding: 6px 0; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.sheet nav a .i { width: 22px; height: 22px; color: var(--sky-600); }
.sheet nav a[aria-current="page"] { color: var(--sky-600); }
.sheet__foot { margin-top: auto; display: grid; gap: 10px; }
.sheet__cloud { position: absolute; right: -90px; bottom: 140px; width: 420px; opacity: 0.85; pointer-events: none; }

@media (max-width: 1120px) {
  .nav a { padding: 10px 10px; font-size: 14px; }
  .nav-call .num { display: none; }
  .nav-call { width: 44px; padding: 0; }
}
@media (max-width: 960px) {
  .nav, .nav-call { display: none; }
  .burger { display: grid; }
  .nav-tools { margin-left: auto; }
}
@media (max-width: 480px) {
  .nav-shell { width: calc(100% - 16px); padding: 0 6px 0 10px; gap: 8px; height: 58px; }
  .brand { gap: 9px; min-width: 0; padding-right: 0; }
  .brand__word b { font-size: 18px; }
  .brand__word small { font-size: 7.5px; letter-spacing: 0.28em; }
  .brand__mark { width: 34px; height: 34px; }
  .lang { padding: 3px; }
  .lang a { padding: 7px 8px; }
  .burger { width: 42px; height: 42px; }
  .site-header { inset: 10px 0 auto; }
  .hero-home__copy h1, .page-hero__copy h1 { font-size: 13vw; }
  .prop-title h1 { font-size: 10.8vw; }
  h2 { font-size: 10vw; }
}

/* ── sky / hero ── */
.sky-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(900px 520px at 16% 10%, rgba(255, 250, 238, 0.85), rgba(255, 250, 238, 0) 60%),
    linear-gradient(180deg, #5d9df2 0%, #9cc9fb 40%, #d8eafd 72%, #eef6ff 100%);
}
.sky-hero--home { min-height: max(760px, min(100svh, 1060px)); }
.sky-hero--page { min-height: clamp(600px, 78svh, 800px); }
.sky-hero__canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 1.2s var(--ease); }
.sky-hero__canvas.is-live { opacity: 1; }
.sky-hero__canvas:active { cursor: grabbing; }
.sky-hero__canvas.is-off { cursor: default; }
.far-clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: opacity 1.2s var(--ease); }
.has-3d .far-clouds { opacity: 0; }
.far-clouds img { position: absolute; width: var(--w, 360px); height: auto; opacity: var(--o, 0.85); animation: drift var(--t, 90s) linear infinite; animation-delay: var(--dl, 0s); will-change: transform; }
@keyframes drift { from { transform: translate3d(-30vw, 0, 0); } to { transform: translate3d(130vw, 0, 0); } }
.sky-hero__inner { position: relative; z-index: 4; pointer-events: none; }
.sky-hero__inner a, .sky-hero__inner button, .sky-hero__inner .chip { pointer-events: auto; }

.bank { position: absolute; left: 0; right: 0; bottom: -1px; height: var(--bank-h, 230px); pointer-events: none; overflow: hidden; z-index: 5; }
.bank::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0;
  width: calc(100% + var(--bank-h, 230px) * 4.5162);
  background: var(--bank-img) repeat-x 0 100% / auto 100%;
  animation: bankdrift var(--bank-t, 140s) linear infinite;
  will-change: transform;
}
.bank--back { --bank-img: url(../img/clouds/bank-back.webp?v=6ad2dcaa); --bank-h: clamp(170px, 22vw, 330px); --bank-t: 240s; bottom: clamp(26px, 3vw, 48px); z-index: 2; opacity: 0.95; transform: translate3d(0, var(--bank-lift-b, 0px), 0); }
.bank--back::before { animation-direction: reverse; }
.bank--front { --bank-img: url(../img/clouds/bank-front.webp?v=6ad2dcaa); --bank-h: clamp(130px, 17vw, 250px); --bank-t: 160s; transform: translate3d(0, var(--bank-lift-f, 0px), 0); }
@keyframes bankdrift { to { transform: translate3d(calc(var(--bank-h, 230px) * -4.5162), 0, 0); } }

.hero-home__inner { padding-top: clamp(150px, 20vh, 220px); padding-bottom: 320px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.hero-home__copy { display: grid; gap: 30px; align-content: start; max-width: 640px; }
.hero-home__copy .lead { color: #2c4a6e; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.float-chip {
  position: absolute; left: var(--x, auto); right: var(--fr, auto); top: var(--y);
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 22px 44px -26px rgba(24, 79, 159, 0.6);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  color: var(--ink);
  animation: bob 7s ease-in-out infinite; animation-delay: var(--dl, 0s);
  transition: box-shadow 0.3s;
  opacity: 0; scale: 0.9;
}
.is-ready .float-chip { opacity: 1; scale: 1; transition: opacity 0.8s var(--ease) var(--in, 1.6s), scale 1s var(--ease-out) var(--in, 1.6s), box-shadow 0.3s; }
.float-chip:hover { box-shadow: inset 0 0 0 1px #fff, 0 26px 50px -24px rgba(24, 79, 159, 0.7); }
.float-chip b { display: block; font: 600 15px/1.15 var(--f-display); letter-spacing: -0.01em; }
.float-chip small { display: block; font: 500 12.5px/1.2 var(--f-body); color: var(--muted); margin-top: 3px; }
.float-chip img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.drag-hint {
  position: absolute; z-index: 6; left: 71%; bottom: clamp(74px, 9vw, 132px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12.5px/1 var(--f-body); color: var(--ink-2); letter-spacing: 0.04em;
  padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.8s; pointer-events: none;
}
.drag-hint .i { width: 15px; height: 15px; animation: nudge 2.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.drag-hint.is-gone { opacity: 0; }

.page-hero__inner { padding-top: clamp(160px, 22vh, 230px); padding-bottom: 250px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
.page-hero__copy { display: grid; gap: 26px; align-content: start; max-width: 620px; }
.page-hero__copy .lead { color: #2c4a6e; }

@media (max-width: 900px) {
  .hero-home__inner { grid-template-columns: 1fr; padding-top: 124px; padding-bottom: calc(68vw + 130px); }
  .page-hero__inner { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: calc(58vw + 90px); }
  .drag-hint { left: 50%; }
  .float-chip { display: none; }
}

/* ── sections ── */
.section { position: relative; padding-block: clamp(96px, 11vw, 168px); overflow-x: clip; }
main, .site-footer { overflow-x: clip; }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--sky-50) 18%, var(--sky-50) 82%, #fff 100%); }
.section > .container { position: relative; z-index: 3; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 5.5vw, 80px); }
.section-head--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.float-up { position: relative; z-index: 6; margin-top: calc(-1 * clamp(40px, 5vw, 76px)); padding-top: 0; }
.edge-cloud { position: absolute; z-index: 2; width: var(--w, 300px); height: auto; pointer-events: none; animation: bob 11s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; } }

[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.section-head[data-reveal] { opacity: 1; transform: none; }
.section-head[data-reveal] > :not(h2):not(h1) { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 0.9s var(--ease) 0.25s, transform 1.1s var(--ease-out) 0.25s; }
.section-head[data-reveal].in > :not(h2):not(h1) { opacity: 1; transform: none; }

/* ── listing cards ── */
.listings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.listing-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-lg); background: #fff;
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.8s var(--ease-out), box-shadow 0.5s;
  will-change: transform;
}
.listing-card.is-tilting { transition: transform 0.14s linear, box-shadow 0.5s; }
.listing-card:hover { box-shadow: 0 2px 6px rgba(13, 40, 80, 0.04), 0 50px 90px -46px rgba(24, 79, 159, 0.6), inset 0 0 0 1px rgba(42, 127, 240, 0.12); }
.listing-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 55%);
  opacity: 0; transition: opacity 0.5s;
}
.listing-card:hover::after { opacity: 1; }
.listing-card__media { position: relative; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 7px); overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--sky-100); }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.1); transition: opacity 0.7s var(--ease), scale 1.4s var(--ease-out); }
.listing-card__media img + img { position: absolute; inset: 0; opacity: 0; }
.listing-card:hover .listing-card__media img { scale: 1.035; }
.listing-card:hover .listing-card__media img + img { opacity: 1; }
.price-bubble {
  position: absolute; left: 14px; bottom: 14px;
  display: grid; gap: 4px; padding: 12px 16px 11px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 14px 30px -18px rgba(13, 36, 64, 0.6);
}
.price-bubble b { font: 500 25px/1 var(--f-display); color: var(--ink); letter-spacing: -0.03em; }
.price-bubble small { font: 600 10.5px/1 var(--f-body); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.media-tag { position: absolute; right: 14px; top: 14px; }
.listing-card__body { display: grid; gap: 14px; padding: 24px 28px 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.listing-card h3 { font-size: clamp(23px, 2vw, 28px); font-weight: 500; letter-spacing: -0.025em; }
.loc { display: flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 500; font-size: 15px; }
.loc .i { width: 16px; height: 16px; color: var(--sky-600); }
.facts { list-style: none; margin: 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid var(--line); }
.facts li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.facts .i { width: 17px; height: 17px; color: var(--sky-600); }
.listing-card .link-arrow { margin-top: 4px; }
@media (max-width: 860px) { .listings { grid-template-columns: 1fr; } }

/* ── service cards + icon orbs ── */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.services.services--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc {
  position: relative; display: grid; gap: 14px; align-content: start;
  padding: 30px 26px 30px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  transition: transform 0.7s var(--ease-out), box-shadow 0.5s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(42, 127, 240, 0.16); }
.orb {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: var(--sky-700);
  background: linear-gradient(160deg, #ffffff 0%, #e6f1ff 100%);
  box-shadow: inset 0 0 0 1px rgba(42, 127, 240, 0.16), inset 0 -10px 18px -10px rgba(42, 127, 240, 0.25), 0 14px 26px -18px rgba(24, 79, 159, 0.55);
  position: relative;
  transition: transform 0.8s var(--ease-out), box-shadow 0.5s;
}
.orb .i { width: 24px; height: 24px; position: relative; stroke-width: 1.6; }
.svc:hover .orb { transform: translateY(-3px) rotate(-4deg); box-shadow: inset 0 0 0 1px rgba(42, 127, 240, 0.28), inset 0 -10px 18px -10px rgba(42, 127, 240, 0.3), 0 18px 30px -18px rgba(24, 79, 159, 0.7); }
.svc h3 { font-size: 23px; }
.svc p { font-size: 15.5px; line-height: 1.65; }
.svc .link-arrow { font-size: 15px; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services, .services.services--2 { grid-template-columns: 1fr; } }

/* ── process stepper ── */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 18px; }
.steps__track { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; border-radius: 2px; background: var(--sky-150); }
.steps__fill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--sky-400), var(--sky-600)); width: var(--p, 0%); transition: width 1s var(--ease-out); }
.step { position: relative; display: grid; gap: 18px; text-align: left; align-content: start; padding: 0; outline: none; }
.step__dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font: 500 19px/1 var(--f-display); color: var(--sky-700); background: #fff;
  box-shadow: inset 0 0 0 1px var(--sky-200), 0 10px 24px -16px rgba(24, 79, 159, 0.6);
  transition: transform 0.7s var(--ease-out), background 0.5s, color 0.5s, box-shadow 0.5s;
  position: relative; z-index: 1;
}
.step.is-active .step__dot, .step.is-done .step__dot { color: #fff; background: linear-gradient(160deg, #5aa2ff, #1d6fe0); box-shadow: 0 0 0 6px rgba(74, 152, 251, 0.14), 0 14px 26px -14px rgba(29, 111, 224, 0.8); }
.step.is-active .step__dot { transform: scale(1.08); }
.step__card { padding: 22px 22px 24px; border-radius: var(--r); background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.5s, transform 0.7s var(--ease-out), background 0.5s; }
.step.is-active .step__card { background: #fff; box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(42, 127, 240, 0.18); transform: translateY(-4px); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { font-size: 15.5px; line-height: 1.65; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps__track { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .steps__fill { width: 100%; height: var(--p, 0%); transition: height 1s var(--ease-out); }
  .step { grid-template-columns: 56px 1fr; align-items: start; }
}

/* ── people ── */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.people.people--stack { grid-template-columns: 1fr; }
.person {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  padding: 24px 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
.monogram {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  font: 400 30px/1 var(--f-display); color: #fff; letter-spacing: -0.02em;
  background: radial-gradient(circle at 30% 24%, #cfe6ff 0%, #79b6ff 34%, #2a7ff0 72%, #1a5fc6 100%);
  box-shadow: inset 0 -10px 18px rgba(12, 60, 150, 0.28), inset 0 2px 2px rgba(255, 255, 255, 0.5), 0 22px 34px -22px rgba(24, 79, 159, 0.9);
  position: relative; transition: transform 0.8s var(--ease-out);
}
.monogram span { position: relative; }
.person:hover .monogram { transform: rotate(-5deg) scale(1.04); }
.person h3 { font-size: 25px; font-weight: 500; }
.person .role { font-weight: 500; color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.person .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .person { grid-template-columns: 1fr; } .monogram { width: 74px; height: 74px; font-size: 26px; } }

/* ── CTA band with drifting light ── */
.cta-band {
  position: relative; isolation: isolate;
  border-radius: var(--r-xl);
  padding: clamp(52px, 7vw, 96px) clamp(26px, 6vw, 88px);
  background: linear-gradient(135deg, #184f9f 0%, #2a7ff0 52%, #5aa8ff 100%);
  color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  box-shadow: 0 50px 90px -50px rgba(24, 79, 159, 0.85);
}
.cta-band__light { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.cta-band__light i { /* slow moving sunlight */
  position: absolute; left: -30%; top: -60%; width: 90%; height: 160%;
  background: radial-gradient(closest-side, rgba(255, 248, 230, 0.4), rgba(255, 248, 230, 0));
  animation: sheen 16s ease-in-out infinite alternate;
}
@keyframes sheen { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(90%, 10%, 0); } }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin-top: 16px; max-width: 50ch; font-size: 18px; }
.cta-band__cloud { position: absolute; z-index: -1; pointer-events: none; width: var(--w); left: var(--cl, auto); right: var(--cr, auto); top: var(--ct, auto); bottom: var(--cb, auto); animation: bob 10s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.cta-band__cloud--over { z-index: 2; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ── footer ── */
.site-footer { padding: 0 12px 12px; }
.footer-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  background: radial-gradient(900px 420px at 12% 0%, rgba(120, 182, 255, 0.35), rgba(120, 182, 255, 0) 70%), linear-gradient(160deg, #123f80 0%, #1a5bc0 46%, #2a7ff0 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(64px, 8vw, 104px) 0 30px;
}
.footer-card .far-clouds img { opacity: 0.1; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 0.8fr 1.35fr 0.9fr; gap: 40px; }
.footer-grid h4 { font: 600 11.5px/1 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-grid li { font-size: 15px; }
.footer-grid a { color: #fff; font-weight: 500; transition: opacity 0.2s; overflow-wrap: anywhere; }
.footer-grid a:hover { opacity: 0.7; }
.footer-grid a .i { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; margin-right: 7px; opacity: 0.8; }
.footer-brand .brand__word b { color: #fff; }
.footer-brand .brand__word small { color: #bfe0ff; }
.footer-brand p { margin-top: 20px; max-width: 32ch; font-size: 15.5px; line-height: 1.7; }
.footer-big {
  margin-top: clamp(48px, 7vw, 84px);
  font: 200 clamp(56px, 12.5vw, 184px)/0.86 var(--f-display);
  letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.95);
  white-space: nowrap; text-align: center;
}
.footer-bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13.5px; color: rgba(255, 255, 255, 0.66); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── listing page tools ── */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 32px; }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(234, 243, 255, 0.9); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { padding: 10px 16px; border-radius: 999px; font: 600 14px/1 var(--f-body); color: var(--ink-2); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(24, 79, 159, 0.7); }
.seg button span { opacity: 0.5; margin-left: 5px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding: 12px 42px 12px 18px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.select .i { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; pointer-events: none; color: var(--sky-700); }
.listing-card.is-hidden { display: none; }
.empty-note { display: none; padding: 30px; border-radius: var(--r-lg); background: var(--sky-50); text-align: center; color: var(--muted); font-weight: 500; }

.map-card { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); background: var(--sky-100); }
.map { height: clamp(380px, 46vw, 540px); }
.map-card .leaflet-container { font: inherit; background: #e9f2ff; }
.map-card .leaflet-tile-pane { filter: grayscale(1) sepia(0.25) hue-rotate(178deg) saturate(1.6) brightness(1.08) contrast(0.88); }
.map-pin { display: flex; flex-direction: column; align-items: center; transform: translateY(-6px); }
.map-pin b {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; white-space: nowrap;
  font: 600 14.5px/1 var(--f-display); color: #fff; letter-spacing: -0.01em;
  background: linear-gradient(180deg, #4592ff, #1d6fe0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 24px -12px rgba(29, 111, 224, 0.9);
}
.map-pin i { width: 12px; height: 12px; margin-top: -3px; background: #1d6fe0; transform: rotate(45deg); border-radius: 2px; }
.map-pin.is-approx b { background: linear-gradient(180deg, #74b4ff, #3d8ef2); }
.leaflet-popup-content-wrapper { border-radius: 18px !important; box-shadow: var(--shadow-2) !important; }
.leaflet-popup-content { margin: 14px 16px !important; font: 600 14px/1.45 var(--f-body) !important; color: var(--ink) !important; }
.leaflet-popup-content a { color: var(--sky-700) !important; }

/* ── forms ── */
.form-card { padding: clamp(26px, 4vw, 48px); border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 9px; }
.field > span { font: 600 12.5px/1 var(--f-body); letter-spacing: 0.06em; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 18px; border-radius: 16px; border: 0;
  background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 16px; color: var(--ink);
  transition: box-shadow 0.3s, background 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #9aaec7; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sky-500), 0 0 0 5px rgba(74, 152, 251, 0.14); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; cursor: pointer;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2);
  font-weight: 600; font-size: 14px; color: var(--ink-2);
  transition: background 0.3s, box-shadow 0.3s, color 0.3s, transform 0.5s var(--ease-out);
}
.choice span .i { width: 16px; height: 16px; }
.choice span:hover { box-shadow: inset 0 0 0 1px rgba(42, 127, 240, 0.4); }
.choice input:checked + span { background: var(--sky-600); color: #fff; box-shadow: 0 10px 22px -12px rgba(29, 111, 224, 0.9); }
.choice input:focus-visible + span { outline: 2px solid var(--sky-500); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.form-foot small, .side-card > small { color: var(--muted); font-size: 13px; max-width: 48ch; line-height: 1.5; }
.form-ok { display: none; padding: 14px 18px; border-radius: 16px; background: #edf9f1; color: #1e6b3f; font-weight: 600; font-size: 15px; }
.form-ok.is-on { display: block; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* wizard */
.wizard { display: grid; gap: 24px; }
.wizard__bar { height: 4px; border-radius: 4px; background: var(--sky-100); overflow: hidden; }
.wizard__bar i { display: block; height: 100%; width: var(--p, 25%); border-radius: inherit; background: linear-gradient(90deg, var(--sky-400), var(--sky-600)); transition: width 0.9s var(--ease-out); }
.wizard__meta { display: flex; justify-content: space-between; font: 600 12px/1 var(--f-body); color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.wizard__step { display: none; gap: 20px; animation: stepIn 0.7s var(--ease-out); }
.wizard__step.is-on { display: grid; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.wizard__step h3 { font-size: clamp(25px, 2.4vw, 32px); font-weight: 400; letter-spacing: -0.03em; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tiles label { position: relative; }
.tiles input { position: absolute; opacity: 0; pointer-events: none; }
.tiles span {
  display: grid; justify-items: center; gap: 12px; padding: 24px 12px 20px; border-radius: var(--r); cursor: pointer;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); text-align: center;
  font: 600 17px/1.1 var(--f-display); color: var(--ink);
  transition: transform 0.6s var(--ease-out), box-shadow 0.35s, background 0.35s;
}
.tiles span .orb { width: 48px; height: 48px; border-radius: 16px; }
.tiles span .orb .i { width: 22px; height: 22px; }
.tiles span:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(42, 127, 240, 0.4); }
.tiles input:checked + span { box-shadow: inset 0 0 0 2px var(--sky-500), 0 18px 34px -22px rgba(24, 79, 159, 0.8); transform: translateY(-3px); }
.tiles input:focus-visible + span { outline: 2px solid var(--sky-500); outline-offset: 2px; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; }
.summary { display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--r); background: var(--sky-50); font-size: 15px; }
.summary:empty { display: none; }
.summary div { display: flex; justify-content: space-between; gap: 16px; }
.summary b { color: var(--ink); text-align: right; font-weight: 600; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); background: #fff; }
.calc__in { padding: clamp(26px, 3.6vw, 44px); display: grid; gap: 24px; }
.calc__out {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(26px, 3.6vw, 44px); color: #fff; display: grid; gap: 16px; align-content: center;
  background: radial-gradient(520px 280px at 85% 0%, rgba(255, 248, 230, 0.32), rgba(255, 248, 230, 0) 70%), linear-gradient(160deg, #184f9f, #2a7ff0 70%, #4a98fb);
}
.calc__out img { position: absolute; z-index: -1; width: 360px; right: -120px; bottom: -110px; opacity: 0.32; }
.calc__out small { font: 600 11.5px/1 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.calc__big { font: 300 clamp(38px, 4vw, 58px)/1 var(--f-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__rows { display: grid; gap: 9px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.22); font-size: 15px; }
.calc__rows div { display: flex; justify-content: space-between; gap: 12px; }
.calc__rows b { font-variant-numeric: tabular-nums; font-weight: 600; }
.calc__note { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.55; }
.range { display: grid; gap: 10px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range__top span { font: 600 13.5px/1 var(--f-body); color: var(--ink); }
.range__top output { font: 500 21px/1 var(--f-display); color: var(--sky-700); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sky-500) var(--p), var(--sky-150) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--sky-150); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--sky-500); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(13, 40, 80, 0.1), 0 6px 16px -4px rgba(24, 79, 159, 0.55); transition: transform 0.4s var(--ease-out), box-shadow 0.3s; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(13, 40, 80, 0.1), 0 6px 16px -4px rgba(24, 79, 159, 0.55); }
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(74, 152, 251, 0.16), 0 6px 16px -4px rgba(24, 79, 159, 0.55); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ── property page ── */
.prop-head { position: relative; padding-top: clamp(130px, 16vh, 176px); padding-bottom: 34px; overflow: hidden; background: radial-gradient(800px 360px at 10% 0%, rgba(255, 250, 238, 0.8), rgba(255, 250, 238, 0) 65%), linear-gradient(180deg, #d3e8ff 0%, #ecf5ff 48%, #fff 100%); }
.prop-head .far-clouds img { opacity: 0.85; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 500; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; position: relative; }
.crumbs a { color: var(--sky-700); }
.crumbs .i { width: 14px; height: 14px; }
.prop-title { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 48px; align-items: end; }
.prop-title h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1; }
.prop-title .loc { margin-top: 18px; font-size: 16px; }
.prop-price { display: grid; justify-items: end; gap: 8px; text-align: right; }
.prop-price b { font: 300 clamp(40px, 4.8vw, 66px)/1 var(--f-display); color: var(--ink); letter-spacing: -0.045em; }
.prop-price small { font-weight: 500; color: var(--muted); font-size: 13.5px; }
@media (max-width: 760px) { .prop-title { grid-template-columns: 1fr; } .prop-price { justify-items: start; text-align: left; } }

.nf { min-height: 84svh; display: grid; align-items: center; padding-bottom: clamp(80px, 12vh, 140px); }
.nf__inner { position: relative; display: grid; gap: 22px; justify-items: start; }
.nf .lead { max-width: 52ch; }

.gallery { display: grid; gap: 10px; border-radius: var(--r-xl); overflow: hidden; }
.gallery--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(340px, 44vw, 580px); }
.gallery--5 .g-item:first-child { grid-row: 1 / 3; }
.gallery--2 { grid-template-columns: 1fr 1fr; height: clamp(380px, 56vw, 700px); }
.g-item { position: relative; overflow: hidden; background: var(--sky-100); cursor: zoom-in; padding: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.1); transition: scale 1.4s var(--ease-out); }
.g-item:hover img { scale: 1.04; }
.g-item .chip { position: absolute; left: 12px; bottom: 12px; }
.g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 36, 64, 0.45); color: #fff; font: 500 22px/1 var(--f-display); backdrop-filter: blur(2px); }
@media (max-width: 760px) {
  .gallery--5 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery--5 .g-item { aspect-ratio: 4 / 3; }
  .gallery--5 .g-item:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .gallery--5 .g-item:nth-child(n + 4) { display: none; }
  .gallery--2 { height: auto; }
  .gallery--2 .g-item { aspect-ratio: 3 / 4; }
}

.prop-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 4.6vw, 72px); align-items: start; }
.prop-main { display: grid; gap: clamp(48px, 5.6vw, 76px); min-width: 0; }
.prop-side { position: sticky; top: 100px; display: grid; gap: 14px; }
@media (max-width: 1020px) { .prop-body { grid-template-columns: 1fr; } .prop-side { position: static; } }
.keyfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.keyfact { display: grid; gap: 10px; padding: 20px; border-radius: var(--r); background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--line); }
.keyfact .i { width: 22px; height: 22px; color: var(--sky-600); }
.keyfact small { font: 600 11px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.keyfact b { font: 500 22px/1.15 var(--f-display); color: var(--ink); letter-spacing: -0.02em; }
.prose { display: grid; gap: 18px; max-width: 66ch; }
.prose h2 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 4px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; color: var(--ink); font-size: 15.5px; }
.ticks .orb { width: 34px; height: 34px; border-radius: 12px; flex: none; }
.ticks .orb .i { width: 16px; height: 16px; stroke-width: 2.2; }
@media (max-width: 640px) { .ticks { grid-template-columns: 1fr; } }
.figure { display: grid; gap: 12px; }
.figure button { border-radius: var(--r-lg); overflow: hidden; background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in; position: relative; }
.figure img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.figure button:hover img { transform: scale(1.02); }
.figure--crop img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
.figure figcaption { font-size: 14px; color: var(--muted); font-weight: 500; }
.zoom-badge { position: absolute; right: 14px; top: 14px; }

.side-card { padding: 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); display: grid; gap: 16px; }
.side-card__price { display: grid; gap: 6px; }
.side-card__price small { font: 600 11px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.side-card__price b { font: 300 44px/1 var(--f-display); color: var(--ink); letter-spacing: -0.045em; }
.side-card__price span { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.agent-row { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.agent-row .monogram { width: 44px; height: 44px; font-size: 15px; }
.agent-row .monogram + .monogram { margin-left: -12px; box-shadow: 0 0 0 3px #fff, inset 0 -6px 10px rgba(12, 60, 150, 0.3); }
.agent-row p { font-size: 13.5px; line-height: 1.4; }
.agent-row b { color: var(--ink); font-weight: 600; }
.share-row { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-700); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.5s var(--ease-out), background 0.3s; flex: none; }
.icon-btn:hover { transform: translateY(-2px); background: var(--sky-100); }
.icon-btn .i { width: 18px; height: 18px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 90; translate: -50% 20px; opacity: 0; padding: 12px 18px; border-radius: 999px; background: rgba(13, 36, 64, 0.92); color: #fff; font-weight: 500; font-size: 14.5px; box-shadow: 0 18px 40px -16px rgba(13, 36, 64, 0.7); transition: opacity 0.3s, translate 0.6s var(--ease-out); pointer-events: none; backdrop-filter: blur(10px); }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto 1fr auto; background: rgba(9, 24, 46, 0.94); color: #fff; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; backdrop-filter: blur(8px); }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; gap: 12px; }
.lb__count { font: 500 15px/1 var(--f-display); letter-spacing: 0.06em; }
.lb__stage { position: relative; overflow: hidden; display: grid; place-items: center; touch-action: none; }
.lb__stage img { max-width: min(92vw, 1500px); max-height: 100%; object-fit: contain; border-radius: 14px; transition: transform 0.5s var(--ease-out), opacity 0.35s; user-select: none; -webkit-user-drag: none; }
.lb__stage.is-zoom img { cursor: grab; transition: none; }
.lb__cap { padding: 14px 18px 22px; text-align: center; font-weight: 500; color: rgba(255, 255, 255, 0.82); }
.lb .icon-btn { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: none; }
.lb .icon-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 54px; height: 54px; }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }
@media (max-width: 640px) { .lb__nav { display: none; } }

/* ── content blocks ── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(234, 243, 255, 0.9); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 30px; }
.tabs button { padding: 12px 22px; border-radius: 999px; font: 600 15px/1 var(--f-body); color: var(--ink-2); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 8px 20px -12px rgba(24, 79, 159, 0.7); }
.tabpanel[hidden] { display: none; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: tl; }
.timeline li { counter-increment: tl; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border-radius: var(--r); background: rgba(255, 255, 255, 0.92); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.4s, transform 0.7s var(--ease-out); }
.timeline li:hover { box-shadow: var(--shadow-1), inset 0 0 0 1px rgba(42, 127, 240, 0.18); transform: translateX(4px); }
.timeline li::before { content: counter(tl, decimal-leading-zero); width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font: 500 17px/1 var(--f-display); color: var(--sky-700); background: linear-gradient(160deg, #fff, #e6f1ff); box-shadow: inset 0 0 0 1px rgba(42, 127, 240, 0.16); }
.timeline h3 { font-size: 21px; margin: 4px 0 6px; }
.timeline p { font-size: 15.5px; line-height: 1.65; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value { padding: 30px 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.88); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); display: grid; gap: 14px; align-content: start; }
.value h3 { font-size: 23px; }
.value p { font-size: 15.5px; line-height: 1.65; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-content: center; padding: 10px; }
.chip--big { padding: 15px 22px; font: 500 18px/1 var(--f-display); letter-spacing: -0.01em; background: #fff; color: var(--ink); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); animation: bob 8s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.chip--big .i { width: 18px; height: 18px; color: var(--sky-600); }
.chip--big:nth-child(3n + 2) { background: linear-gradient(180deg, #4592ff, #1d6fe0); color: #fff; box-shadow: 0 14px 30px -16px rgba(29, 111, 224, 0.9); }
.chip--big:nth-child(3n + 2) .i { color: #fff; }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.c-card { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.c-card h3 { font-size: 21px; }
.c-card .big { font: 400 clamp(22px, 2vw, 28px)/1.15 var(--f-display); letter-spacing: -0.025em; color: var(--ink); overflow-wrap: anywhere; }
.c-card .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.c-card .mail-list { display: grid; gap: 8px; }
.c-card .mail-list a { font-weight: 600; color: var(--sky-700); overflow-wrap: anywhere; font-size: 15px; }
@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr; } }

.ach-card { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 50px 90px -50px rgba(13, 36, 64, 0.75); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.8s var(--ease-out); background: #0b1430; }
.ach-card.is-tilting { transition: transform 0.14s linear; }
.ach-card img { width: 100%; height: auto; }
.ach-card .chip { position: absolute; left: 16px; top: 16px; }
.ach-layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ach-layer { padding: 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.ach-layer small { font: 600 11px/1 var(--f-body); letter-spacing: 0.18em; color: var(--sky-600); text-transform: uppercase; }
.ach-layer h3 { font-size: 22px; }
.ach-layer p { font-size: 15px; line-height: 1.65; }
@media (max-width: 1000px) { .ach-layers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ach-layers { grid-template-columns: 1fr; } }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: fl; padding: 0; margin: 0; }
.flow li { list-style: none; counter-increment: fl; padding: 22px; border-radius: var(--r); background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.flow li::before { content: counter(fl, decimal-leading-zero); font: 500 14px/1 var(--f-display); color: var(--sky-600); letter-spacing: 0.06em; }
.flow b { font: 600 19px/1.2 var(--f-display); color: var(--ink); letter-spacing: -0.015em; }
.flow small { font: 600 10.5px/1 var(--f-body); letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.flow p { font-size: 14.5px; line-height: 1.6; }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.fine { font-size: 13px; color: var(--muted); max-width: 80ch; }
.same-co { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 28px 30px; border-radius: var(--r-xl); background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--line); }
.same-co .marks { display: flex; align-items: center; gap: 12px; }
.same-co .marks img, .same-co .marks svg { width: 52px; height: 52px; }
.same-co .marks .plus { font: 300 24px/1 var(--f-display); color: var(--sky-600); }
.same-co h3 { font-size: 24px; margin-bottom: 8px; font-weight: 500; }
.same-co p { font-size: 15.5px; }
@media (max-width: 860px) { .same-co { grid-template-columns: 1fr; } }

.fb-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); transition: transform 0.7s var(--ease-out), box-shadow 0.4s; }
.fb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(42, 127, 240, 0.14); }
.fb-card .fb { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #1877f2; color: #fff; }
.fb-card .fb .i { width: 24px; height: 24px; }
.fb-card b { display: block; font: 500 20px/1.2 var(--f-display); color: var(--ink); letter-spacing: -0.02em; }
.fb-card small { font-size: 14px; color: var(--muted); font-weight: 500; }
@media (max-width: 520px) { .fb-card { grid-template-columns: auto 1fr; } .fb-card > .i { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .w > span { opacity: 1; transform: none; }
}
