:root {
  color-scheme: dark;
  --bg: #050506;
  --bg-soft: #0b0b0d;
  --bg-graphite: #121113;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.09);
  --gold: #d7b46a;
  --gold-strong: #f1d68b;
  --champagne: #f4e1b7;
  --platinum: #edf2f2;
  --silver: #aeb4bd;
  --muted: #7f8791;
  --emerald: #2dd4a4;
  --blue: #4aa3ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --header-height: 78px;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 1) 48%),
    radial-gradient(circle at 18% 9%, rgba(215, 180, 106, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 20%, rgba(45, 212, 164, 0.09), transparent 24rem),
    radial-gradient(circle at 55% 74%, rgba(74, 163, 255, 0.08), transparent 26rem),
    var(--bg);
  color: var(--platinum);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

img {
  display: block;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(215, 180, 106, 0.14), rgba(74, 163, 255, 0.08));
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--platinum);
  color: #090909;
  transition: transform 180ms var(--ease);
}

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

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  position: relative;
}

.section-anchor {
  scroll-margin-top: 96px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--platinum), var(--emerald));
  box-shadow: 0 0 18px rgba(215, 180, 106, 0.48);
}

.page-intro {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  place-items: center;
  background: transparent;
  pointer-events: none;
  animation: introExit 1600ms var(--ease) forwards;
}

.page-intro.done {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 320ms var(--ease),
    visibility 0s linear 320ms;
}

.intro-mark {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--champagne);
  font-size: clamp(2.2rem, 7vw, 5.8rem);
  font-weight: 700;
  opacity: 0;
  transform: translateY(16px);
  animation: introMark 1100ms var(--ease) forwards;
}

.intro-line {
  position: absolute;
  top: 58%;
  width: min(380px, 72vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  transform: scaleX(0);
  animation: introLine 1200ms var(--ease) 160ms forwards;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition:
    background 260ms var(--ease),
    box-shadow 260ms var(--ease),
    border-color 260ms var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 6, 8, 0.72);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
}

.nav {
  width: min(100% - 32px, 1240px);
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--platinum);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(215, 180, 106, 0.54);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--champagne);
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.22), rgba(237, 242, 242, 0.06)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 26px rgba(215, 180, 106, 0.14);
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: var(--radius);
  padding: 0 13px;
  color: rgba(237, 242, 242, 0.76);
  font-size: 0.93rem;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--platinum);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 102;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--platinum);
  border-radius: 999px;
  transition:
    transform 180ms var(--ease),
    opacity 180ms var(--ease);
}

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

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

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

.button {
  --button-x: 0px;
  --button-y: 0px;
  --button-lift: 0px;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 0 22px;
  color: var(--platinum);
  cursor: pointer;
  transform: translate(var(--button-x), calc(var(--button-y) + var(--button-lift)));
  transition:
    transform 220ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease),
    color 220ms var(--ease),
    box-shadow 220ms var(--ease);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
}

.button:hover {
  --button-lift: -2px;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: transform 620ms var(--ease);
}

.button:hover::after {
  transform: translateX(120%) skewX(-18deg);
}

.button-metal {
  border-color: rgba(215, 180, 106, 0.5);
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.95), rgba(244, 225, 183, 0.78) 45%, rgba(89, 76, 48, 0.86)),
    var(--gold);
  color: #11100d;
  box-shadow: 0 16px 40px rgba(215, 180, 106, 0.22);
  font-weight: 800;
}

.button-metal:hover {
  box-shadow: 0 22px 60px rgba(215, 180, 106, 0.34);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.055);
  color: var(--platinum);
  backdrop-filter: blur(18px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 225, 183, 0.42);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  padding: 128px 0 36px;
}

.scroll-object {
  --scroll-x: 0px;
  --scroll-y: 0px;
  --scroll-r: 0deg;
  --scroll-ry: 0deg;
  --scroll-scale: 1;
  will-change: transform, translate, rotate, scale;
}

.hero-skyline {
  position: absolute;
  right: 3vw;
  bottom: 8%;
  z-index: -1;
  display: flex;
  align-items: end;
  gap: 10px;
  opacity: 0.34;
  perspective: 900px;
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotateY(var(--scroll-ry)) scale(var(--scroll-scale));
}

.hero-skyline span {
  display: block;
  width: clamp(28px, 4vw, 54px);
  height: var(--tower-height, 160px);
  border: 1px solid rgba(244, 225, 183, 0.2);
  border-radius: var(--radius) var(--radius) 2px 2px;
  background:
    linear-gradient(180deg, rgba(244, 225, 183, 0.18), rgba(255, 255, 255, 0.025)),
    repeating-linear-gradient(180deg, transparent 0 17px, rgba(237, 242, 242, 0.08) 18px 19px);
  box-shadow: 0 0 40px rgba(215, 180, 106, 0.08);
}

.hero-skyline span:nth-child(1) { --tower-height: 130px; }
.hero-skyline span:nth-child(2) { --tower-height: 210px; }
.hero-skyline span:nth-child(3) { --tower-height: 168px; }
.hero-skyline span:nth-child(4) { --tower-height: 245px; }
.hero-skyline span:nth-child(5) { --tower-height: 148px; }

.ambient-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(215, 180, 106, 0.12), transparent 26%),
    linear-gradient(250deg, rgba(45, 212, 164, 0.08), transparent 25%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 62px 62px, 62px 62px;
  transform: perspective(900px) rotateX(62deg) translateY(-20%);
  transform-origin: top;
  opacity: 0.58;
}

.light-beam {
  position: absolute;
  z-index: -1;
  width: 44vw;
  height: 14rem;
  opacity: 0.34;
  filter: blur(34px);
  transform: rotate(-18deg);
  background: linear-gradient(90deg, transparent, rgba(215, 180, 106, 0.28), transparent);
  animation: beamDrift 12s ease-in-out infinite alternate;
}

.beam-one {
  top: 10%;
  left: -13vw;
}

.beam-two {
  right: -12vw;
  bottom: 22%;
  background: linear-gradient(90deg, transparent, rgba(74, 163, 255, 0.18), transparent);
  animation-duration: 15s;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--champagne);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.03;
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: 5.2rem;
}

h2 {
  max-width: 15ch;
  font-size: 3.25rem;
}

h3 {
  margin: 0;
  color: var(--platinum);
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(237, 242, 242, 0.76);
  font-size: 1.16rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.stat-tile,
.trust-tile,
.feature-card,
.service-card,
.category-card,
.property-card,
.amenity-card,
.timeline-step,
.testimonial-card,
.insight-card,
.search-panel,
.hero-search,
.contact-form {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stat-tile {
  min-height: 106px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.stat-tile::before,
.trust-tile::before,
.feature-card::before,
.service-card::before,
.category-card::before,
.amenity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(130deg, transparent, rgba(244, 225, 183, 0.18), transparent);
  transition: opacity 220ms var(--ease);
}

.stat-tile:hover::before,
.trust-tile:hover::before,
.feature-card:hover::before,
.service-card:hover::before,
.category-card:hover::before,
.amenity-card:hover::before {
  opacity: 1;
}

.stat-tile strong,
.trust-tile strong {
  color: var(--champagne);
  font-size: 1.38rem;
  line-height: 1;
}

.stat-tile span,
.trust-tile p {
  margin: 8px 0 0;
  color: rgba(237, 242, 242, 0.68);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  perspective: 1200px;
}

.hero-image-frame {
  position: absolute;
  inset: 34px 28px 22px 54px;
  border: 1px solid rgba(244, 225, 183, 0.26);
  border-radius: var(--radius);
  overflow: hidden;
  transform: rotateY(-10deg) rotateX(4deg);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.02), rgba(5, 5, 6, 0.74)),
    linear-gradient(120deg, rgba(215, 180, 106, 0.18), transparent 42%);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.scan-line {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(45, 212, 164, 0.28), transparent);
  height: 22%;
  animation: scan 5s linear infinite;
}

.floating-card {
  position: absolute;
  z-index: 4;
  width: 166px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 7, 9, 0.68);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(20px);
  animation: floatY 5.5s ease-in-out infinite;
}

.floating-card span {
  color: var(--silver);
  font-size: 0.78rem;
}

.floating-card strong {
  display: block;
  margin: 6px 0 2px;
  color: var(--champagne);
  font-size: 1.55rem;
}

.floating-card small {
  color: rgba(237, 242, 242, 0.76);
}

.floating-card-primary {
  top: 72px;
  left: 0;
}

.floating-card-secondary {
  right: 0;
  bottom: 88px;
  animation-delay: -1.4s;
}

.glass-key,
.glass-pin {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(215, 180, 106, 0.24));
  animation: rotateFloat 8s ease-in-out infinite;
}

.glass-key {
  right: 30px;
  top: 38px;
  width: 88px;
  height: 26px;
  border: 1px solid rgba(244, 225, 183, 0.64);
  border-radius: 999px 4px 4px 999px;
  background: linear-gradient(135deg, rgba(244, 225, 183, 0.42), rgba(255, 255, 255, 0.08));
  transform: translate3d(var(--scroll-x, 0px), var(--scroll-y, 0px), 0) rotate(var(--scroll-r, 0deg));
}

.glass-key::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -12px;
  width: 46px;
  height: 46px;
  border: 9px solid rgba(244, 225, 183, 0.54);
  border-radius: 50%;
}

.glass-key::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 24px;
  width: 10px;
  height: 18px;
  background: rgba(244, 225, 183, 0.58);
  box-shadow: 18px 0 0 rgba(244, 225, 183, 0.48);
}

.glass-pin {
  left: 58px;
  bottom: 50px;
  width: 56px;
  height: 72px;
  border-radius: 56px 56px 56px 4px;
  border: 1px solid rgba(74, 163, 255, 0.56);
  background: linear-gradient(135deg, rgba(74, 163, 255, 0.28), rgba(255, 255, 255, 0.08));
  transform: translate3d(var(--scroll-x, 0px), var(--scroll-y, 0px), 0) rotate(calc(-45deg + var(--scroll-r, 0deg)));
  animation-delay: -2s;
}

.property-stack {
  position: absolute;
  z-index: 4;
  right: 96px;
  top: 45%;
  width: 150px;
  height: 118px;
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotateY(var(--scroll-ry)) scale(var(--scroll-scale));
  transform-style: preserve-3d;
  pointer-events: none;
}

.property-stack span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 225, 183, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(244, 225, 183, 0.18), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, transparent 34%, rgba(74, 163, 255, 0.12));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.property-stack span:nth-child(1) {
  transform: translate3d(-18px, 16px, -20px) rotate(-6deg);
}

.property-stack span:nth-child(2) {
  transform: translate3d(0, 0, 0) rotate(2deg);
}

.property-stack span:nth-child(3) {
  transform: translate3d(20px, -16px, 28px) rotate(8deg);
}

.glass-pin::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: rgba(237, 242, 242, 0.72);
}

.hero-search {
  margin-top: 26px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr auto;
  gap: 12px;
  align-items: end;
}

label,
fieldset {
  min-width: 0;
}

label span,
fieldset legend,
.newsletter label span {
  display: block;
  margin: 0 0 8px;
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--platinum);
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background 180ms var(--ease);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--champagne) 50%),
    linear-gradient(135deg, var(--champagne) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 12px) 22px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

textarea {
  min-height: 138px;
  padding-block: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(244, 225, 183, 0.58);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 4px rgba(215, 180, 106, 0.12);
  outline: none;
}

.scroll-cue {
  width: 34px;
  height: 54px;
  border: 1px solid rgba(244, 225, 183, 0.42);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 9px;
  margin: 28px auto 0;
}

.scroll-cue span {
  width: 5px;
  height: 10px;
  border-radius: 999px;
  background: var(--champagne);
  animation: cue 1.5s ease-in-out infinite;
}

section:not(.hero) {
  padding: 96px 0;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(237, 242, 242, 0.7);
  font-size: 1.02rem;
}

.search-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.015);
}

.search-pin,
.map-panel {
  position: absolute;
  pointer-events: none;
}

.search-pin {
  right: clamp(18px, 8vw, 120px);
  top: 76px;
  width: 54px;
  height: 72px;
  border: 1px solid rgba(45, 212, 164, 0.44);
  border-radius: 54px 54px 54px 4px;
  background: linear-gradient(135deg, rgba(45, 212, 164, 0.18), rgba(255, 255, 255, 0.04));
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotate(calc(-45deg + var(--scroll-r)));
  box-shadow: 0 24px 70px rgba(45, 212, 164, 0.12);
}

.search-pin::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: rgba(237, 242, 242, 0.72);
}

.map-panel {
  left: max(12px, calc((100vw - var(--max)) / 2 - 80px));
  bottom: 56px;
  width: 190px;
  height: 128px;
  border: 1px solid rgba(244, 225, 183, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    linear-gradient(90deg, transparent 24%, rgba(74, 163, 255, 0.16) 25% 26%, transparent 27%),
    linear-gradient(180deg, transparent 48%, rgba(45, 212, 164, 0.14) 49% 50%, transparent 51%);
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotateY(var(--scroll-ry));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.map-panel span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 24px rgba(244, 225, 183, 0.72);
}

.map-panel span:nth-child(1) { left: 32px; top: 34px; }
.map-panel span:nth-child(2) { right: 48px; top: 56px; background: var(--emerald); }
.map-panel span:nth-child(3) { left: 88px; bottom: 28px; background: var(--blue); }

.search-panel {
  padding: 22px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.7fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.search-panel fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented-control {
  display: flex;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.chip {
  flex: 1;
  min-width: 62px;
  border: 0;
  color: var(--silver);
  background: transparent;
  cursor: pointer;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease);
}

.chip.active,
.chip:hover {
  color: #11100d;
  background: linear-gradient(135deg, var(--gold), var(--champagne));
  font-weight: 800;
}

.search-submit {
  height: 52px;
}

.property-grid,
.category-grid,
.feature-grid,
.service-grid,
.amenity-grid,
.insight-grid {
  display: grid;
  gap: 18px;
}

.property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-card,
.category-card,
.feature-card,
.service-card,
.amenity-card,
.insight-card,
.timeline-step,
.trust-tile {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 260ms var(--ease),
    border-color 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

[data-tilt] {
  --rx: 0deg;
  --ry: 0deg;
  --card-scroll-y: 0px;
  transform: perspective(900px) translateY(calc(var(--reveal-y, 0px) + var(--card-scroll-y))) rotateX(var(--rx)) rotateY(var(--ry));
}

[data-tilt]:hover {
  border-color: rgba(244, 225, 183, 0.32);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.property-media {
  position: relative;
  aspect-ratio: 1.18;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.property-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.68)),
    linear-gradient(120deg, rgba(215, 180, 106, 0.14), transparent 42%);
}

.property-media img,
.insight-card img,
.flagship-media img,
.tour-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.property-card:hover .property-media img,
.insight-card:hover img,
.flagship-media:hover img,
.tour-device:hover img {
  transform: scale(1.07);
}

.section-wire {
  position: absolute;
  right: 0;
  top: 32px;
  width: min(540px, 48vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 225, 183, 0.42), transparent);
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0);
  pointer-events: none;
}

.section-wire::before,
.section-wire::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 22px rgba(244, 225, 183, 0.72);
}

.section-wire::before {
  left: 18%;
}

.section-wire::after {
  right: 12%;
  background: var(--emerald);
}

.badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  border: 1px solid rgba(215, 180, 106, 0.42);
  border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.66);
  color: var(--champagne);
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.badge-emerald {
  border-color: rgba(45, 212, 164, 0.42);
  color: #aef4da;
}

.badge-blue {
  border-color: rgba(74, 163, 255, 0.42);
  color: #b8dcff;
}

.property-content {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.property-content > div:first-child {
  min-height: 58px;
}

.property-content p {
  margin: 6px 0 0;
  color: var(--silver);
}

.property-description {
  min-height: 64px;
  opacity: 0.72;
  transform: translateY(6px);
  transition:
    opacity 220ms var(--ease),
    transform 220ms var(--ease);
}

.property-card:hover .property-description {
  opacity: 1;
  transform: translateY(0);
}

.property-content > strong {
  color: var(--champagne);
  font-size: 1.42rem;
}

.property-meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.property-meta div {
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.property-meta dt,
.project-details dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.property-meta dd,
.project-details dd {
  margin: 4px 0 0;
  color: var(--platinum);
  font-weight: 700;
}

.card-link,
.insight-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(244, 225, 183, 0.24);
  border-radius: var(--radius);
  color: var(--champagne);
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.card-link:hover,
.insight-card a:hover {
  background: rgba(244, 225, 183, 0.12);
  transform: translateY(-2px);
}

.category-grid,
.feature-grid,
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.feature-card,
.service-card {
  min-height: 250px;
  padding: 24px;
}

.category-card p,
.feature-card p,
.service-card p {
  margin: 12px 0 0;
  color: rgba(237, 242, 242, 0.68);
}

.object {
  width: 84px;
  height: 84px;
  margin-bottom: 28px;
  position: relative;
  transform-style: preserve-3d;
  animation: objectFloat 6s ease-in-out infinite;
}

.object::before,
.object::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 225, 183, 0.3);
  background: linear-gradient(145deg, rgba(244, 225, 183, 0.2), rgba(255, 255, 255, 0.04));
  transform: skewY(-12deg) rotate(45deg);
}

.object::after {
  inset: 18px -12px -8px 24px;
  border-color: rgba(45, 212, 164, 0.24);
  background: linear-gradient(145deg, rgba(45, 212, 164, 0.16), rgba(74, 163, 255, 0.05));
}

.object-apartment::after {
  border-color: rgba(74, 163, 255, 0.3);
}

.object-penthouse::before {
  height: 54px;
  top: 18px;
}

.object-tower::before {
  height: 96px;
  width: 54px;
  left: 16px;
}

.object-farm::before {
  border-radius: 50% 50% var(--radius) var(--radius);
}

.object-invest::after {
  inset: 8px 6px 6px 32px;
}

.why-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.ai-panel {
  position: absolute;
  right: 18px;
  top: 26px;
  z-index: 0;
  width: 218px;
  padding: 16px;
  border: 1px solid rgba(74, 163, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(74, 163, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotateY(var(--scroll-ry));
  backdrop-filter: blur(16px);
}

.ai-panel span,
.ai-panel small {
  display: block;
  color: var(--silver);
  font-size: 0.78rem;
}

.ai-panel strong {
  display: block;
  margin: 6px 0;
  color: var(--champagne);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border: 1px solid rgba(215, 180, 106, 0.32);
  border-radius: var(--radius);
  background: rgba(215, 180, 106, 0.12);
  color: var(--champagne);
  font-weight: 900;
}

.tour-layout,
.flagship-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
}

.tour-stage {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.16);
  box-shadow: var(--shadow);
  perspective: 1000px;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(rgba(45, 212, 164, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 164, 0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(900px) translate3d(var(--scroll-x, 0px), var(--scroll-y, 0px), 0) rotateX(58deg) scale(1.2) translateY(-8%);
}

.tour-device {
  position: absolute;
  inset: 92px 72px 72px;
  border: 1px solid rgba(237, 242, 242, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  transform: translate3d(var(--scroll-x, 0px), var(--scroll-y, 0px), 0) rotateY(calc(-8deg + var(--scroll-ry, 0deg))) rotateX(3deg) scale(var(--scroll-scale, 1));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.tour-device::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.02), rgba(5, 5, 6, 0.48));
}

.tour-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 26%;
  background: linear-gradient(180deg, transparent, rgba(45, 212, 164, 0.32), transparent);
  animation: scan 4.8s linear infinite;
}

.room-card {
  position: absolute;
  z-index: 5;
  padding: 11px 14px;
  border: 1px solid rgba(244, 225, 183, 0.28);
  border-radius: var(--radius);
  color: var(--champagne);
  background: rgba(6, 6, 8, 0.68);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  translate: var(--scroll-x, 0px) var(--scroll-y, 0px);
  animation: floatY 5s ease-in-out infinite;
}

.room-card-one {
  top: 52px;
  left: 44px;
}

.room-card-two {
  right: 34px;
  top: 150px;
  animation-delay: -1.3s;
}

.room-card-three {
  left: 84px;
  bottom: 52px;
  animation-delay: -2.2s;
}

.service-card {
  min-height: 218px;
}

.flagship {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(215, 180, 106, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.018);
}

.flagship-ring,
.flagship-slab {
  position: absolute;
  pointer-events: none;
}

.flagship-ring {
  right: 4vw;
  top: 80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(244, 225, 183, 0.2);
  border-radius: 50%;
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotate(var(--scroll-r));
}

.flagship-ring::before {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(45, 212, 164, 0.18);
  border-radius: 50%;
}

.flagship-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 26px rgba(244, 225, 183, 0.8);
}

.flagship-slab {
  left: 5vw;
  bottom: 72px;
  width: 170px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(237, 242, 242, 0.12), rgba(215, 180, 106, 0.07));
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotateY(var(--scroll-ry));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.flagship-layout {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.86fr);
}

.flagship-media {
  --scroll-scale: 1;
  height: 620px;
  border: 1px solid rgba(244, 225, 183, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  scale: var(--scroll-scale);
}

.flagship-copy p:not(.eyebrow) {
  color: rgba(237, 242, 242, 0.72);
  font-size: 1.04rem;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.project-details div {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.chip-row span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(244, 225, 183, 0.22);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--champagne);
  background: rgba(255, 255, 255, 0.055);
}

.amenity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.amenity-card {
  min-height: 156px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.amenity-card p {
  margin: 10px 0 0;
  color: rgba(237, 242, 242, 0.64);
  font-size: 0.9rem;
}

.amenity-card span {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 225, 183, 0.34);
  background:
    linear-gradient(135deg, rgba(244, 225, 183, 0.3), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
  position: relative;
}

.amenity-card span::before,
.amenity-card span::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-top: 2px solid var(--champagne);
  border-left: 2px solid var(--champagne);
  transform: rotate(45deg);
}

.amenity-card span::after {
  inset: 17px;
  opacity: 0.64;
}

.timeline {
  --timeline-progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--emerald), var(--blue));
  opacity: 0.44;
  transform-origin: left;
  transform: scaleX(var(--timeline-progress));
  transition: transform 60ms linear;
}

.timeline-step {
  min-height: 232px;
  padding: 74px 18px 18px;
  --card-scroll-y: 0px;
  transform: translateY(calc(var(--reveal-y, 0px) + var(--card-scroll-y)));
}

.timeline-step span {
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--champagne));
  color: #11100d;
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(215, 180, 106, 0.08);
}

.timeline-step p {
  margin: 10px 0 0;
  color: rgba(237, 242, 242, 0.66);
  font-size: 0.92rem;
}

.trust {
  position: relative;
  overflow: hidden;
  padding-top: 20px;
}

.trust-graph {
  position: absolute;
  left: max(20px, calc((100vw - var(--max)) / 2));
  top: 26px;
  z-index: 0;
  width: 260px;
  height: 144px;
  border: 1px solid rgba(45, 212, 164, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(45, 212, 164, 0.08), rgba(255, 255, 255, 0.025)),
    linear-gradient(180deg, transparent 74%, rgba(244, 225, 183, 0.2) 75% 76%, transparent 77%);
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotateY(var(--scroll-ry));
  opacity: 0.64;
  pointer-events: none;
}

.trust-graph span {
  position: absolute;
  bottom: 18px;
  width: 28px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--champagne), rgba(215, 180, 106, 0.22));
}

.trust-graph span:nth-child(1) {
  left: 42px;
  height: 54px;
}

.trust-graph span:nth-child(2) {
  left: 108px;
  height: 90px;
}

.trust-graph span:nth-child(3) {
  left: 174px;
  height: 118px;
}

.trust-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.trust-tile {
  min-height: 158px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  --card-scroll-y: 0px;
  transform: translateY(calc(var(--reveal-y, 0px) + var(--card-scroll-y)));
}

.trust-tile strong {
  font-size: 2.25rem;
}

.testimonial-carousel {
  position: relative;
  min-height: 330px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.12), rgba(45, 212, 164, 0.05)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.testimonial-card {
  position: absolute;
  inset: 0;
  padding: 52px 52px 52px 140px;
  opacity: 0;
  transform: translateX(28px);
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease);
  border: 0;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
}

.client-avatar {
  position: absolute;
  left: 52px;
  top: 56px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(244, 225, 183, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 225, 183, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.18);
  color: var(--champagne);
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
}

.rating {
  color: var(--champagne);
  font-size: 1.1rem;
}

blockquote {
  max-width: 820px;
  margin: 20px 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--platinum);
  font-size: 2rem;
  line-height: 1.2;
}

.testimonial-card p {
  margin: 0;
  color: var(--champagne);
  font-weight: 800;
}

.testimonial-card p span {
  display: block;
  margin-top: 4px;
  color: var(--silver);
  font-weight: 500;
}

.carousel-controls {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 38px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    width 180ms var(--ease),
    background 180ms var(--ease);
}

.dot.active {
  width: 54px;
  background: linear-gradient(90deg, var(--gold), var(--champagne));
}

.insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insights {
  position: relative;
}

.insight-card img {
  aspect-ratio: 1.52;
}

.insight-card > div {
  padding: 18px;
}

.insight-card span {
  color: var(--champagne);
  font-size: 0.8rem;
  font-weight: 800;
}

.insight-card time {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.insight-card h3 {
  min-height: 76px;
  margin-top: 10px;
}

.insight-card a {
  width: 100%;
  margin-top: 16px;
}

.contact {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.1), rgba(45, 212, 164, 0.05), transparent),
    rgba(255, 255, 255, 0.02);
}

.contact-keycard,
.contact-slab {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.contact-keycard {
  right: clamp(18px, 8vw, 126px);
  top: 62px;
  width: 196px;
  height: 118px;
  padding: 18px;
  border: 1px solid rgba(244, 225, 183, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 225, 183, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(0, 0, 0, 0.2);
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotateY(var(--scroll-ry));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.contact-keycard span {
  display: block;
  color: var(--silver);
  font-size: 0.78rem;
}

.contact-keycard strong {
  display: block;
  margin-top: 24px;
  color: var(--champagne);
}

.contact-slab {
  left: 4vw;
  bottom: 84px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(74, 163, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(74, 163, 255, 0.12), rgba(255, 255, 255, 0.035));
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotate(var(--scroll-r));
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.28);
}

.contact-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
}

.contact-copy p:not(.eyebrow) {
  max-width: 580px;
  color: rgba(237, 242, 242, 0.72);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.contact-list p {
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-list strong {
  color: var(--champagne);
}

.contact-list span {
  color: var(--silver);
  text-align: right;
}

.contact-form {
  --scroll-y: 0px;
  --scroll-ry: 0deg;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  transform: translate3d(var(--scroll-x, 0px), var(--scroll-y, 0px), 0) rotateY(var(--scroll-ry));
}

.full-field {
  grid-column: 1 / -1;
}

.form-success {
  display: none;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(45, 212, 164, 0.32);
  border-radius: var(--radius);
  color: #b8f8df;
  background: rgba(45, 212, 164, 0.1);
}

.form-success.show {
  display: block;
}

.site-footer {
  padding: 70px 0 30px;
  background: #030304;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr) 1fr;
  gap: 32px;
}

.footer-brand p {
  max-width: 360px;
  color: rgba(237, 242, 242, 0.68);
}

.demo-badge {
  display: inline-flex;
  margin-top: 10px;
  max-width: 360px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 180, 106, 0.24);
  border-radius: var(--radius);
  color: var(--champagne);
  background: rgba(215, 180, 106, 0.08);
  font-size: 0.86rem;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--champagne);
  font-size: 0.98rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 9px 0;
  color: rgba(237, 242, 242, 0.66);
  transition: color 180ms var(--ease);
}

.site-footer a:hover {
  color: var(--platinum);
}

.newsletter label span {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.newsletter input {
  margin-bottom: 10px;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--champagne) !important;
  background: rgba(255, 255, 255, 0.045);
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(244, 225, 183, 0.3);
  border-radius: var(--radius);
  color: var(--champagne);
  background: rgba(7, 7, 9, 0.72);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  --reveal-y: 28px;
  opacity: 0;
  transform: translateY(calc(var(--reveal-y) + var(--card-scroll-y, 0px)));
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.visible {
  --reveal-y: 0px;
  opacity: 1;
}

.reveal[data-tilt] {
  transform: perspective(900px) translateY(calc(var(--reveal-y, 0px) + var(--card-scroll-y, 0px))) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.contact-form.reveal {
  transform: translate3d(var(--scroll-x, 0px), calc(var(--scroll-y, 0px) + var(--reveal-y, 0px)), 0) rotateY(var(--scroll-ry, 0deg));
}

.property-grid .reveal:nth-child(2),
.category-grid .reveal:nth-child(2),
.feature-grid .reveal:nth-child(2),
.service-grid .reveal:nth-child(2),
.amenity-grid .reveal:nth-child(2),
.timeline .reveal:nth-child(2),
.insight-grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.property-grid .reveal:nth-child(3),
.category-grid .reveal:nth-child(3),
.feature-grid .reveal:nth-child(3),
.service-grid .reveal:nth-child(3),
.amenity-grid .reveal:nth-child(3),
.timeline .reveal:nth-child(3),
.insight-grid .reveal:nth-child(3) {
  transition-delay: 140ms;
}

.property-grid .reveal:nth-child(4),
.category-grid .reveal:nth-child(4),
.feature-grid .reveal:nth-child(4),
.service-grid .reveal:nth-child(4),
.amenity-grid .reveal:nth-child(4),
.timeline .reveal:nth-child(4) {
  transition-delay: 200ms;
}

.property-grid .reveal:nth-child(5),
.category-grid .reveal:nth-child(5),
.feature-grid .reveal:nth-child(5),
.service-grid .reveal:nth-child(5),
.amenity-grid .reveal:nth-child(5),
.timeline .reveal:nth-child(5) {
  transition-delay: 260ms;
}

.property-grid .reveal:nth-child(6),
.category-grid .reveal:nth-child(6),
.feature-grid .reveal:nth-child(6),
.service-grid .reveal:nth-child(6),
.amenity-grid .reveal:nth-child(6),
.timeline .reveal:nth-child(6) {
  transition-delay: 320ms;
}

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

@keyframes introLine {
  45% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0.12);
    opacity: 0;
  }
}

@keyframes introExit {
  0%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes beamDrift {
  from {
    transform: translate3d(0, 0, 0) rotate(-18deg);
  }
  to {
    transform: translate3d(8%, 14%, 0) rotate(-12deg);
  }
}

@keyframes scan {
  0% {
    transform: translateY(-120%);
  }
  100% {
    transform: translateY(480%);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes rotateFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes objectFloat {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-10px) rotateX(8deg) rotateY(-10deg);
  }
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(16px);
    opacity: 1;
  }
}

@keyframes lineDraw {
  0% {
    transform: scaleX(0.2);
  }
  55%,
  100% {
    transform: scaleX(1);
  }
}

@media (max-width: 1120px) {
  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-shell,
  .tour-layout,
  .flagship-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-stats,
  .amenity-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-submit {
    grid-column: 1 / -1;
  }

  .property-grid,
  .category-grid,
  .feature-grid,
  .service-grid,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-panel,
  .trust-graph,
  .flagship-ring,
  .flagship-slab,
  .contact-keycard,
  .contact-slab {
    opacity: 0.28;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    width: min(100% - 24px, 1240px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: stretch;
    gap: 10px;
    padding: 96px 24px 28px;
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(135deg, rgba(6, 6, 8, 0.94), rgba(12, 13, 16, 0.92)),
      radial-gradient(circle at 78% 16%, rgba(215, 180, 106, 0.12), transparent 26rem);
    box-shadow: var(--shadow);
    backdrop-filter: blur(28px);
    transform: translateY(-18px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 180ms var(--ease),
      transform 180ms var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    min-height: 58px;
    width: 100%;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    font-size: 1.08rem;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  h1 {
    max-width: 11ch;
    font-size: 3.35rem;
  }

  h2 {
    max-width: 14ch;
    font-size: 2.28rem;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

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

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

  .hero-image-frame {
    inset: 28px 16px 24px;
    transform: rotateY(-5deg) rotateX(2deg);
  }

  .floating-card-primary {
    left: 14px;
  }

  .floating-card-secondary {
    right: 14px;
    bottom: 56px;
  }

  .glass-key {
    right: 22px;
    top: 16px;
  }

  .glass-pin {
    left: 26px;
    bottom: 28px;
  }

  .hero-skyline,
  .map-panel,
  .section-wire,
  .ai-panel,
  .trust-graph,
  .flagship-ring,
  .flagship-slab,
  .contact-keycard,
  .contact-slab {
    display: none;
  }

  .property-stack {
    right: 58px;
    top: 48%;
    width: 120px;
    height: 94px;
  }

  section:not(.hero) {
    padding: 76px 0;
  }

  .property-grid,
  .category-grid,
  .feature-grid,
  .service-grid,
  .amenity-grid,
  .insight-grid,
  .trust-grid,
  .search-panel,
  .contact-form,
  .project-details,
  .timeline {
    grid-template-columns: 1fr;
  }

  .tour-stage {
    min-height: 470px;
  }

  .tour-device {
    inset: 84px 24px 72px;
    transform: rotateY(-3deg) rotateX(2deg);
  }

  .room-card-two {
    right: 18px;
  }

  .flagship-media {
    height: 480px;
  }

  blockquote {
    font-size: 1.42rem;
  }

  .testimonial-card {
    padding: 32px;
  }

  .client-avatar {
    position: static;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 1.06rem;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  h1 {
    font-size: 2.62rem;
  }

  h2 {
    font-size: 2rem;
  }

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

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

  .floating-card {
    width: 142px;
    padding: 12px;
  }

  .floating-card strong {
    font-size: 1.28rem;
  }

  .glass-key,
  .glass-pin {
    scale: 0.74;
  }

  .property-meta {
    grid-template-columns: 1fr;
  }

  .category-card,
  .feature-card,
  .service-card {
    min-height: auto;
  }

  .tour-stage {
    min-height: 390px;
  }

  .tour-device {
    inset: 78px 16px 72px;
  }

  .room-card {
    font-size: 0.76rem;
  }

  .room-card-one {
    top: 34px;
    left: 18px;
  }

  .room-card-three {
    left: 20px;
  }

  .flagship-media {
    height: 380px;
  }

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

  .contact-list span {
    text-align: left;
  }

  .testimonial-carousel {
    min-height: 410px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .client-avatar {
    width: 48px;
    height: 48px;
  }

  .carousel-controls {
    left: 24px;
    right: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

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

  .timeline {
    --timeline-progress: 1;
  }

  [data-tilt],
  .button {
    transform: none !important;
  }
}

body.popup-lock {
  overflow: hidden;
  overscroll-behavior: none;
}

.demo-purpose-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  perspective: 1600px;
  transition:
    opacity 420ms var(--ease),
    visibility 0s linear 420ms;
}

.demo-purpose-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 420ms var(--ease),
    visibility 0s;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(4, 5, 8, 0.86), rgba(4, 6, 10, 0.76)),
    radial-gradient(ellipse at 16% 18%, rgba(215, 180, 106, 0.26), transparent 34%),
    radial-gradient(ellipse at 84% 28%, rgba(74, 163, 255, 0.28), transparent 36%),
    radial-gradient(ellipse at 52% 95%, rgba(237, 242, 242, 0.12), transparent 42%);
  backdrop-filter: blur(28px) saturate(126%);
}

.popup-backdrop::before,
.popup-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.popup-backdrop::before {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(237, 242, 242, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 242, 242, 0.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse at center, black, transparent 72%);
  animation: popupGridDrift 16s linear infinite;
}

.popup-backdrop::after {
  opacity: 0.18;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(244, 225, 183, 0.2) 48%, transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(74, 163, 255, 0.07) 47px, transparent 48px);
  mix-blend-mode: screen;
  animation: popupBackdropShine 8s var(--ease) infinite;
}

.popup-light,
.popup-particle {
  position: absolute;
  pointer-events: none;
}

.popup-light {
  width: 42vw;
  height: 18vh;
  border: 1px solid rgba(244, 225, 183, 0.14);
  background: linear-gradient(90deg, transparent, rgba(244, 225, 183, 0.16), transparent);
  filter: blur(18px);
  opacity: 0.65;
  transform: rotate(-16deg);
  animation: lightSweep 9s var(--ease) infinite alternate;
}

.popup-light-one {
  top: 9%;
  left: -14%;
}

.popup-light-two {
  right: -12%;
  bottom: 16%;
  border-color: rgba(74, 163, 255, 0.14);
  background: linear-gradient(90deg, transparent, rgba(74, 163, 255, 0.18), transparent);
  animation-delay: -3s;
}

.popup-light-three {
  left: 30%;
  bottom: -8%;
  width: 36vw;
  opacity: 0.42;
  animation-delay: -5s;
}

.popup-particle {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--champagne);
  box-shadow: 0 0 18px rgba(244, 225, 183, 0.9);
  opacity: 0.78;
  animation: particleFloat 7s var(--ease) infinite;
}

.particle-one { top: 18%; left: 18%; }
.particle-two { top: 24%; right: 18%; animation-delay: -1.5s; background: var(--blue); }
.particle-three { bottom: 22%; left: 22%; animation-delay: -3s; }
.particle-four { bottom: 18%; right: 24%; animation-delay: -4.5s; background: var(--blue); }
.particle-five { top: 52%; left: 8%; animation-delay: -2.4s; }

.luxury-popup-card {
  --popup-tilt-x: 0deg;
  --popup-tilt-y: 0deg;
  --popup-shift-x: 0px;
  --popup-shift-y: 0px;
  position: relative;
  width: min(1120px, calc(100vw - 32px));
  height: min(720px, calc(100vh - 32px));
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(244, 225, 183, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    linear-gradient(135deg, rgba(8, 9, 12, 0.9), rgba(10, 14, 20, 0.84));
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.58),
    0 0 70px rgba(215, 180, 106, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform:
    translate3d(var(--popup-shift-x), var(--popup-shift-y), 0)
    rotateX(var(--popup-tilt-x))
    rotateY(var(--popup-tilt-y));
  transform-style: preserve-3d;
  transition:
    opacity 320ms var(--ease),
    transform 280ms var(--ease),
    box-shadow 280ms var(--ease);
}

.demo-purpose-popup:not(.is-open) .luxury-popup-card {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.luxury-popup-card::before,
.luxury-popup-card::after,
.popup-holo-edge {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.luxury-popup-card::before {
  z-index: 0;
  background:
    radial-gradient(ellipse at 24% 12%, rgba(244, 225, 183, 0.18), transparent 36%),
    radial-gradient(ellipse at 82% 20%, rgba(74, 163, 255, 0.18), transparent 36%),
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 49%, transparent 56%);
  animation: cardGlowPulse 5.8s var(--ease) infinite alternate;
}

.luxury-popup-card::after {
  z-index: 1;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.18;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.popup-holo-edge {
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(244, 225, 183, 0.72), transparent 24%, rgba(74, 163, 255, 0.56) 58%, rgba(244, 225, 183, 0.42));
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.72;
}

.popup-progress {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}

.popup-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(244, 225, 183, 0.22);
  border-radius: var(--radius);
  color: rgba(244, 225, 183, 0.92);
  background: rgba(5, 6, 9, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.popup-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
}

.popup-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(237, 242, 242, 0.32);
  box-shadow: 0 0 0 rgba(74, 163, 255, 0);
  transition:
    width 260ms var(--ease),
    background 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

.popup-dot.active {
  width: 28px;
  background: linear-gradient(90deg, var(--gold-strong), var(--blue));
  box-shadow:
    0 0 16px rgba(244, 225, 183, 0.42),
    0 0 22px rgba(74, 163, 255, 0.32);
}

.popup-slide-stage {
  position: relative;
  z-index: 4;
  height: 100%;
  perspective: 1400px;
}

.popup-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 76px 70px 42px;
  opacity: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  transition:
    opacity 520ms var(--ease),
    transform 620ms var(--ease),
    filter 520ms var(--ease);
}

.popup-slide[data-position="active"] {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  filter: blur(0);
  transform: translate3d(0, 0, 36px) rotateY(0deg) scale(1);
}

.popup-slide[data-position="before"] {
  transform: translate3d(-9%, 12px, -40px) rotateY(12deg) scale(0.96);
}

.popup-slide[data-position="after"] {
  transform: translate3d(9%, 12px, -40px) rotateY(-12deg) scale(0.96);
}

.slide-one-layout,
.slide-two-layout,
.slide-three-layout {
  display: grid;
  align-items: center;
  gap: 48px;
}

.slide-one-layout {
  grid-template-columns: minmax(300px, 0.94fr) minmax(360px, 1.06fr);
}

.slide-two-layout {
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
}

.slide-three-layout {
  grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 1.22fr);
}

.demo-purpose-popup h2,
.demo-purpose-popup p {
  max-width: none;
  overflow-wrap: anywhere;
}

.popup-copy,
.portfolio-copy {
  position: relative;
  z-index: 3;
}

.popup-copy.centered {
  text-align: center;
}

.popup-brand-badge,
.popup-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
}

.popup-brand-badge {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(244, 225, 183, 0.34);
  color: var(--champagne);
  background:
    linear-gradient(135deg, rgba(244, 225, 183, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(6, 7, 10, 0.52);
  box-shadow: 0 12px 30px rgba(215, 180, 106, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.popup-kicker {
  margin: 20px 0 10px;
  color: rgba(237, 242, 242, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-purpose-popup h2 {
  margin: 0;
  color: var(--platinum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.7rem;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.demo-purpose-popup p {
  margin: 18px 0 0;
  color: rgba(237, 242, 242, 0.74);
  font-size: 1.03rem;
}

.popup-subtle {
  color: rgba(244, 225, 183, 0.68) !important;
}

.demo-glass-hero {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(244, 225, 183, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(237, 242, 242, 0.12), rgba(237, 242, 242, 0.035)),
    radial-gradient(ellipse at 28% 18%, rgba(244, 225, 183, 0.18), transparent 34%),
    radial-gradient(ellipse at 72% 70%, rgba(74, 163, 255, 0.16), transparent 36%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 34px 80px rgba(0, 0, 0, 0.34);
  transform: perspective(900px) rotateX(8deg) rotateY(-12deg);
  transform-style: preserve-3d;
  animation: glassStageFloat 5.6s var(--ease) infinite;
}

.demo-glass-hero::before,
.demo-glass-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.demo-glass-hero::before {
  inset: 18px;
  border: 1px solid rgba(237, 242, 242, 0.1);
  border-radius: var(--radius);
  background-image:
    linear-gradient(90deg, rgba(244, 225, 183, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(74, 163, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.36;
  transform: translateZ(18px);
}

.demo-glass-hero::after {
  right: 12%;
  bottom: 14%;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--champagne), transparent);
  box-shadow: 0 0 26px rgba(74, 163, 255, 0.6);
  transform: translateZ(62px) rotate(-12deg);
  animation: lineGlow 3.2s var(--ease) infinite alternate;
}

.glass-cube,
.gold-ring,
.property-key,
.holo-line,
.building-block {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
}

.glass-cube {
  width: 78px;
  height: 78px;
  border: 1px solid rgba(237, 242, 242, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(237, 242, 242, 0.18), rgba(237, 242, 242, 0.035)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 12px 12px 28px rgba(255, 255, 255, 0.08),
    0 24px 44px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(74, 163, 255, 0.15);
  animation: objectFloat 4.8s var(--ease) infinite;
}

.cube-one {
  top: 14%;
  left: 13%;
  transform: translateZ(74px) rotateX(18deg) rotateY(-20deg);
}

.cube-two {
  right: 15%;
  bottom: 18%;
  width: 58px;
  height: 58px;
  animation-delay: -1.8s;
  transform: translateZ(84px) rotateX(-12deg) rotateY(24deg);
}

.gold-ring {
  width: 118px;
  height: 118px;
  border: 2px solid rgba(244, 225, 183, 0.62);
  border-radius: 999px;
  box-shadow:
    0 0 30px rgba(215, 180, 106, 0.22),
    inset 0 0 24px rgba(215, 180, 106, 0.18);
  animation: ringOrbit 7s linear infinite;
}

.ring-one {
  top: 21%;
  right: 12%;
  transform: translateZ(90px) rotateX(66deg) rotateY(20deg);
}

.ring-two {
  left: 18%;
  bottom: 20%;
  width: 84px;
  height: 84px;
  border-color: rgba(74, 163, 255, 0.55);
  animation-duration: 9s;
}

.property-key {
  left: 50%;
  top: 48%;
  width: 126px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--champagne), rgba(244, 225, 183, 0.42));
  box-shadow: 0 0 28px rgba(215, 180, 106, 0.42);
  transform: translate(-50%, -50%) translateZ(110px) rotate(-20deg);
  animation: keyFloat 5.2s var(--ease) infinite;
}

.property-key::before,
.property-key::after {
  content: "";
  position: absolute;
}

.property-key::before {
  left: -34px;
  top: -23px;
  width: 56px;
  height: 56px;
  border: 12px solid rgba(244, 225, 183, 0.72);
  border-radius: 999px;
}

.property-key::after {
  right: -2px;
  top: 14px;
  width: 36px;
  height: 26px;
  border-right: 10px solid rgba(244, 225, 183, 0.7);
  border-bottom: 10px solid rgba(244, 225, 183, 0.7);
}

.holo-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 163, 255, 0.9), transparent);
  box-shadow: 0 0 22px rgba(74, 163, 255, 0.6);
}

.line-one {
  top: 31%;
  left: 8%;
  width: 66%;
  transform: translateZ(48px) rotate(14deg);
}

.line-two {
  bottom: 28%;
  right: 8%;
  width: 56%;
  transform: translateZ(54px) rotate(-8deg);
}

.building-block {
  bottom: 12%;
  width: 42px;
  border: 1px solid rgba(244, 225, 183, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(244, 225, 183, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(4, 6, 9, 0.54);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  transform: translateZ(42px);
}

.block-one { left: 58%; height: 96px; }
.block-two { left: 69%; height: 142px; }
.block-three { left: 80%; height: 76px; }

.contact-aura {
  position: relative;
  min-height: 400px;
  transform: perspective(900px) rotateY(14deg) rotateX(6deg);
  transform-style: preserve-3d;
}

.contact-ring {
  position: absolute;
  inset: 48px;
  border: 1px solid rgba(244, 225, 183, 0.26);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(74, 163, 255, 0.1), transparent 56%),
    conic-gradient(from 90deg, rgba(244, 225, 183, 0.42), transparent 24%, rgba(74, 163, 255, 0.42), transparent 62%, rgba(244, 225, 183, 0.42));
  mask-image: radial-gradient(circle, transparent 45%, black 46%, black 56%, transparent 57%);
  animation: ringOrbit 12s linear infinite;
}

.contact-device {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 168px;
  height: 244px;
  border: 1px solid rgba(237, 242, 242, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(237, 242, 242, 0.17), rgba(237, 242, 242, 0.045)),
    linear-gradient(180deg, rgba(6, 8, 12, 0.88), rgba(6, 8, 12, 0.46));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(74, 163, 255, 0.22);
  transform: translate(-50%, -50%) translateZ(70px) rotate(-4deg);
}

.contact-device::before,
.contact-device::after {
  content: "";
  position: absolute;
}

.contact-device::before {
  top: 22px;
  left: 28px;
  right: 28px;
  height: 8px;
  border-radius: 999px;
  background: rgba(237, 242, 242, 0.2);
}

.contact-device::after {
  left: 34px;
  right: 34px;
  bottom: 34px;
  height: 84px;
  border: 1px solid rgba(74, 163, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(74, 163, 255, 0.18), rgba(244, 225, 183, 0.08)),
    rgba(255, 255, 255, 0.045);
}

.contact-signal {
  position: absolute;
  border: 1px solid rgba(74, 163, 255, 0.34);
  border-radius: 999px;
  opacity: 0.74;
  animation: signalPulse 2.8s var(--ease) infinite;
}

.signal-one {
  inset: 72px;
}

.signal-two {
  inset: 24px;
  animation-delay: -1.2s;
  border-color: rgba(244, 225, 183, 0.28);
}

.premium-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.contact-logo-button,
.popup-arrow,
.popup-close {
  border: 1px solid rgba(244, 225, 183, 0.28);
  border-radius: 999px;
  color: var(--platinum);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.045)),
    rgba(7, 8, 11, 0.72);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    color 220ms var(--ease);
}

.contact-logo-button {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
}

.contact-logo-button svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-logo-button.whatsapp {
  color: #75f3b6;
}

.contact-logo-button.whatsapp svg path {
  fill: rgba(117, 243, 182, 0.08);
}

.contact-logo-button.instagram {
  color: #f8c2ff;
}

.contact-logo-button:hover,
.popup-arrow:hover,
.popup-close:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(244, 225, 183, 0.52);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.36),
    0 0 30px rgba(215, 180, 106, 0.22),
    0 0 34px rgba(74, 163, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-logo-button:active,
.popup-arrow:active,
.popup-close:active {
  transform: translateY(0) scale(0.96);
}

.popup-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.popup-slide-services {
  overflow: hidden;
}

.service-slide-layout {
  grid-template-columns: minmax(280px, 0.74fr) minmax(420px, 1.26fr);
  gap: 36px;
}

.service-hero-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 4.8vw, 3.25rem);
}

.service-price-pill {
  width: min(310px, 100%);
  min-height: 78px;
  margin-top: 26px;
  padding: 14px 18px;
  border: 1px solid rgba(244, 225, 183, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 225, 183, 0.18), rgba(74, 163, 255, 0.08)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.service-price-pill span {
  display: block;
  color: rgba(237, 242, 242, 0.66);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-price-pill strong {
  display: block;
  margin-top: 2px;
  color: var(--champagne);
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 1;
}

.service-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.service-proof-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(74, 163, 255, 0.22);
  border-radius: var(--radius);
  padding: 0 11px;
  color: rgba(237, 242, 242, 0.82);
  background: rgba(74, 163, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 800;
}

.service-showcase {
  position: relative;
  min-height: 500px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(244, 225, 183, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(74, 163, 255, 0.18), transparent 36%),
    radial-gradient(ellipse at 82% 12%, rgba(244, 225, 183, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(6, 9, 14, 0.62);
  box-shadow:
    0 32px 78px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
  transform-style: preserve-3d;
}

.service-showcase::before,
.service-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.service-showcase::before {
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(237, 242, 242, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 242, 242, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black, transparent 76%);
}

.service-showcase::after {
  inset: -42% -70%;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.28) 50%, transparent 58%);
  transform: translateX(-52%) rotate(8deg);
  animation: templateShine 5.2s var(--ease) infinite;
}

.service-orbit {
  position: absolute;
  right: -44px;
  top: -42px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(244, 225, 183, 0.22);
  border-radius: 50%;
  box-shadow:
    inset 0 0 34px rgba(74, 163, 255, 0.1),
    0 0 48px rgba(74, 163, 255, 0.16);
  animation: ringOrbit 14s linear infinite;
}

.developer-service-card,
.service-type-grid,
.service-package-row,
.service-process-strip {
  position: relative;
  z-index: 2;
}

.developer-service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.16);
}

.developer-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(74, 163, 255, 0.34);
  border-radius: var(--radius);
  color: #b8dcff;
  background: rgba(74, 163, 255, 0.1);
  font-weight: 900;
}

.developer-service-card p {
  margin: 0;
  color: rgba(237, 242, 242, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
}

.developer-service-card strong {
  display: block;
  margin-top: 2px;
  color: var(--platinum);
  font-size: 1.18rem;
}

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

.service-type-grid span,
.service-process-strip span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 9px;
  color: rgba(237, 242, 242, 0.84);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.service-package-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.service-package-row article {
  min-height: 104px;
  padding: 13px 10px;
  border: 1px solid rgba(244, 225, 183, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(244, 225, 183, 0.12), rgba(74, 163, 255, 0.06)),
    rgba(0, 0, 0, 0.14);
}

.service-package-row span,
.service-package-row small {
  display: block;
  color: rgba(237, 242, 242, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-package-row strong {
  display: block;
  margin: 8px 0 3px;
  color: var(--champagne);
  font-size: clamp(1.05rem, 2.5vw, 1.42rem);
  line-height: 1;
}

.service-package-row small {
  color: rgba(237, 242, 242, 0.58);
  font-size: 0.68rem;
  text-transform: none;
}

.service-process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.service-process-strip span {
  min-height: 42px;
  color: var(--champagne);
  font-size: 0.74rem;
}

.template-showcase {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.template-showcase::before,
.template-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.template-showcase::before {
  inset: 6% 0 12%;
  border: 1px solid rgba(74, 163, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(74, 163, 255, 0.1), transparent 22%, transparent 78%, rgba(244, 225, 183, 0.12)),
    repeating-linear-gradient(0deg, rgba(237, 242, 242, 0.08) 0 1px, transparent 1px 46px);
  opacity: 0.46;
  transform: translateZ(-46px) rotateY(-8deg);
}

.template-showcase::after {
  left: 19%;
  right: 8%;
  bottom: 7%;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(74, 163, 255, 0.28), rgba(244, 225, 183, 0.11) 42%, transparent 72%);
  filter: blur(16px);
  transform: rotateX(72deg);
  opacity: 0.8;
}

.template-frame {
  position: relative;
  z-index: 2;
  width: min(370px, 42vw);
  aspect-ratio: 941 / 1672;
  padding: 8px;
  border: 1px solid rgba(244, 225, 183, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 225, 183, 0.28), rgba(74, 163, 255, 0.18)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(74, 163, 255, 0.26),
    0 0 34px rgba(215, 180, 106, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  overflow: hidden;
  transform: rotateX(5deg) rotateY(-13deg) translateZ(70px);
  transform-style: preserve-3d;
  transition:
    transform 320ms var(--ease),
    box-shadow 320ms var(--ease);
  animation: portfolioFloat 5.4s var(--ease) infinite;
}

.template-frame:hover {
  transform: rotateX(2deg) rotateY(-7deg) translateZ(84px) scale(1.02);
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.5),
    0 0 58px rgba(74, 163, 255, 0.34),
    0 0 42px rgba(215, 180, 106, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.template-frame::before,
.template-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.template-frame::before {
  inset: -42% -80%;
  z-index: 3;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.42) 50%, transparent 58%);
  transform: translateX(-44%) rotate(8deg);
  animation: templateShine 4.8s var(--ease) infinite;
}

.template-frame::after {
  inset: 8px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  box-shadow:
    inset 0 0 34px rgba(255, 255, 255, 0.1),
    inset 0 -34px 48px rgba(4, 8, 18, 0.18);
}

.template-frame img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: contain;
  background: #f7fbff;
  user-select: none;
}

.tech-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(237, 242, 242, 0.16);
  border-radius: var(--radius);
  color: var(--champagne);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(6, 8, 12, 0.62);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.26),
    0 0 26px rgba(74, 163, 255, 0.16);
  backdrop-filter: blur(12px);
  animation: techFloat 4.8s var(--ease) infinite;
}

.chip-code {
  top: 14%;
  left: 6%;
  width: 64px;
  height: 54px;
  font-weight: 900;
}

.chip-grid {
  right: 8%;
  top: 22%;
  width: 54px;
  height: 54px;
  animation-delay: -1.3s;
}

.chip-grid::before {
  content: "";
  width: 25px;
  height: 25px;
  background:
    linear-gradient(90deg, currentColor 2px, transparent 2px 11px, currentColor 11px 13px, transparent 13px),
    linear-gradient(currentColor 2px, transparent 2px 11px, currentColor 11px 13px, transparent 13px);
  opacity: 0.9;
}

.chip-spark {
  left: 12%;
  bottom: 16%;
  width: 48px;
  height: 48px;
  color: var(--blue);
  animation-delay: -2.5s;
}

.chip-spark::before,
.chip-spark::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 999px;
}

.chip-spark::before {
  width: 24px;
  height: 2px;
}

.chip-spark::after {
  width: 2px;
  height: 24px;
}

.popup-nav {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 30px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

.popup-nav.single {
  justify-content: flex-end;
}

.popup-nav.split {
  justify-content: space-between;
}

.popup-arrow,
.popup-close {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 1.45rem;
  font-weight: 900;
}

.popup-arrow:hover {
  color: var(--champagne);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 9;
  width: 50px;
  height: 50px;
  color: var(--champagne);
  font-size: 1rem;
}

@keyframes popupGridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(74px, 74px, 0); }
}

@keyframes popupBackdropShine {
  0%,
  100% {
    transform: translateX(-10%);
    opacity: 0.12;
  }
  50% {
    transform: translateX(10%);
    opacity: 0.26;
  }
}

@keyframes lightSweep {
  from { transform: translate3d(-4%, 0, 0) rotate(-16deg); }
  to { transform: translate3d(8%, -6%, 0) rotate(-10deg); }
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.42;
  }
  50% {
    transform: translate3d(18px, -34px, 0) scale(1.45);
    opacity: 1;
  }
}

@keyframes cardGlowPulse {
  from { opacity: 0.64; }
  to { opacity: 1; }
}

@keyframes glassStageFloat {
  0%,
  100% {
    transform: perspective(900px) rotateX(8deg) rotateY(-12deg) translateY(0);
  }
  50% {
    transform: perspective(900px) rotateX(5deg) rotateY(-8deg) translateY(-12px);
  }
}

@keyframes lineGlow {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

@keyframes ringOrbit {
  to { rotate: 360deg; }
}

@keyframes keyFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateZ(110px) rotate(-20deg) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateZ(110px) rotate(-14deg) translateY(-12px);
  }
}

@keyframes signalPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

@keyframes portfolioFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes templateShine {
  0%,
  28% {
    transform: translateX(-54%) rotate(8deg);
    opacity: 0;
  }
  44% {
    opacity: 0.72;
  }
  70%,
  100% {
    transform: translateX(54%) rotate(8deg);
    opacity: 0;
  }
}

@keyframes techFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 60px) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -14px, 80px) rotate(5deg);
  }
}

@media (max-width: 980px) {
  .demo-purpose-popup {
    padding: 18px;
  }

  .luxury-popup-card {
    height: min(760px, calc(100vh - 28px));
    min-height: 620px;
  }

  .popup-slide {
    padding: 72px 34px 86px;
    overflow-y: auto;
  }

  .slide-one-layout,
  .slide-two-layout,
  .slide-three-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .demo-purpose-popup h2 {
    font-size: 2.45rem;
  }

  .demo-glass-hero,
  .contact-aura {
    min-height: 250px;
  }

  .demo-glass-hero {
    transform: perspective(900px) rotateX(5deg) rotateY(-7deg);
  }

  .template-showcase {
    min-height: 420px;
  }

  .template-frame {
    width: min(320px, 70vw);
    transform: rotateX(3deg) rotateY(-8deg) translateZ(54px);
  }

  .popup-slide-services {
    align-items: start;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
  }

  .popup-slide-services::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .service-slide-layout {
    gap: 16px;
  }

  .service-hero-copy h2 {
    max-width: 100%;
    font-size: clamp(1.9rem, 6vw, 2.45rem);
  }

  .service-hero-copy p:not(.popup-kicker) {
    margin-top: 12px;
  }

  .service-price-pill {
    min-height: 62px;
    margin-top: 16px;
    padding: 12px 14px;
  }

  .service-showcase {
    min-height: auto;
    gap: 11px;
    padding: 16px;
    transform: none;
  }

  .service-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-package-row article {
    min-height: 92px;
  }
}

@media (max-width: 620px) {
  .demo-purpose-popup {
    padding: 10px;
  }

  .luxury-popup-card {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    min-height: 0;
  }

  .popup-progress {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .popup-count {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .popup-dots {
    gap: 6px;
    padding: 7px;
  }

  .popup-dot.active {
    width: 20px;
  }

  .popup-slide {
    padding: 64px 18px 78px;
  }

  .demo-purpose-popup h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .demo-purpose-popup p {
    font-size: 0.95rem;
  }

  .popup-kicker {
    margin-top: 14px;
  }

  .demo-glass-hero {
    min-height: 214px;
  }

  .glass-cube {
    width: 54px;
    height: 54px;
  }

  .gold-ring {
    width: 80px;
    height: 80px;
  }

  .property-key {
    scale: 0.68;
  }

  .building-block {
    scale: 0.72;
  }

  .contact-aura {
    min-height: 210px;
    order: 2;
  }

  .contact-device {
    width: 120px;
    height: 178px;
  }

  .premium-contact-buttons {
    gap: 14px;
  }

  .contact-logo-button {
    width: 64px;
    height: 64px;
  }

  .template-showcase {
    min-height: 360px;
  }

  .template-frame {
    width: min(250px, 74vw);
    padding: 6px;
  }

  .popup-slide-services {
    padding: 58px 14px 66px;
  }

  .service-slide-layout {
    gap: 12px;
  }

  .service-hero-copy .popup-kicker {
    margin: 10px 0 7px;
  }

  .service-hero-copy h2 {
    font-size: clamp(1.62rem, 8vw, 1.94rem);
    line-height: 1.06;
  }

  .service-hero-copy p:not(.popup-kicker) {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .service-price-pill {
    min-height: 54px;
    margin-top: 12px;
    padding: 10px 12px;
  }

  .service-price-pill strong {
    font-size: 1.55rem;
  }

  .service-proof-row {
    gap: 7px;
    margin-top: 10px;
  }

  .service-proof-row span {
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.7rem;
  }

  .service-showcase {
    gap: 8px;
    padding: 12px;
  }

  .developer-service-card {
    gap: 10px;
    padding: 11px;
  }

  .developer-mark {
    width: 42px;
    height: 42px;
    font-size: 0.8rem;
  }

  .developer-service-card strong {
    font-size: 1rem;
  }

  .service-type-grid {
    gap: 7px;
  }

  .service-type-grid span {
    min-height: 38px;
    padding: 7px;
    font-size: 0.7rem;
  }

  .service-package-row {
    gap: 7px;
  }

  .service-package-row article {
    min-height: 74px;
    padding: 9px 6px;
  }

  .service-package-row span,
  .service-package-row small {
    font-size: 0.58rem;
  }

  .service-package-row strong {
    margin: 5px 0 2px;
    font-size: 0.92rem;
  }

  .service-process-strip {
    gap: 6px;
  }

  .service-process-strip span {
    min-height: 34px;
    padding: 5px;
    font-size: 0.62rem;
  }

  .tech-chip {
    scale: 0.76;
  }

  .chip-code {
    left: 1%;
  }

  .chip-grid {
    right: 0;
  }

  .popup-nav {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .popup-arrow {
    width: 50px;
    height: 50px;
    font-size: 1.28rem;
  }

  .popup-close {
    top: 70px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 380px) {
  .popup-slide {
    padding-inline: 14px;
  }

  .demo-purpose-popup h2 {
    font-size: 1.78rem;
  }

  .template-frame {
    width: min(220px, 72vw);
  }
}

/* Final responsive hardening: keep every section contained from desktop to narrow phones. */
html,
body {
  max-width: 100%;
}

body {
  min-width: 320px;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.hero-shell > *,
.tour-layout > *,
.flagship-layout > *,
.contact-layout > *,
.property-card,
.category-card,
.feature-card,
.service-card,
.amenity-card,
.insight-card,
.timeline-step,
.trust-tile,
.footer-grid > *,
.popup-slide > * {
  min-width: 0;
}

.property-media img,
.insight-card img,
.flagship-media img,
.hero-image-frame img,
.tour-device img,
.template-frame img {
  object-position: center;
  background-repeat: no-repeat;
}

.insight-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.52;
  object-fit: cover;
}

h1 {
  max-width: min(12ch, 100%);
  font-size: clamp(2.45rem, 7vw, 5.2rem);
}

h2 {
  max-width: min(15ch, 100%);
  font-size: clamp(2rem, 5vw, 3.25rem);
}

@media (max-width: 1280px) {
  :root {
    --max: 1120px;
  }

  .hero-shell,
  .tour-layout,
  .flagship-layout,
  .contact-layout {
    gap: clamp(28px, 4vw, 48px);
  }

  .search-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-submit {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(140px, 0.7fr));
  }

  .newsletter {
    grid-column: 1 / -1;
    max-width: 460px;
  }
}

@media (max-width: 1120px) {
  .hero {
    padding-top: 116px;
  }

  .hero-shell,
  .tour-layout,
  .flagship-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section-heading,
  .contact-copy,
  .flagship-copy {
    max-width: 820px;
  }

  .hero-visual {
    min-height: clamp(430px, 58vw, 560px);
  }

  .hero-image-frame {
    inset: 24px 28px 22px;
  }

  .property-grid,
  .category-grid,
  .feature-grid,
  .service-grid,
  .amenity-grid,
  .insight-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .tour-stage {
    min-height: clamp(420px, 56vw, 520px);
  }

  .flagship-media {
    height: clamp(380px, 56vw, 520px);
  }

  .contact-form {
    transform: translate3d(0, var(--reveal-y, 0px), 0);
  }
}

@media (max-width: 860px) {
  body {
    min-width: 0;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    width: 100%;
  }

  .hero {
    padding: 96px 0 28px;
  }

  .hero-shell,
  .tour-layout,
  .flagship-layout,
  .contact-layout {
    gap: 30px;
  }

  .hero-copy,
  .section-heading,
  .contact-copy,
  .flagship-copy {
    max-width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10vw, 3.35rem);
  }

  h2 {
    max-width: 100%;
    font-size: clamp(2rem, 7vw, 2.35rem);
  }

  .hero-subtitle,
  .section-heading p:not(.eyebrow),
  .contact-copy p:not(.eyebrow),
  .flagship-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
  }

  .hero-actions .button,
  .button-row .button {
    flex: 1 1 220px;
  }

  .hero-stats,
  .property-grid,
  .category-grid,
  .feature-grid,
  .service-grid,
  .amenity-grid,
  .insight-grid,
  .trust-grid,
  .search-panel,
  .hero-search,
  .project-details,
  .contact-form,
  .timeline {
    grid-template-columns: 1fr;
  }

  .search-submit {
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: clamp(360px, 74vw, 500px);
  }

  .hero-image-frame {
    inset: 18px;
    transform: rotateY(-3deg) rotateX(1deg);
  }

  .property-stack,
  .glass-key,
  .glass-pin,
  .room-card,
  .scroll-cue {
    display: none;
  }

  .property-media {
    aspect-ratio: 1.35;
  }

  .property-content > div:first-child,
  .property-description,
  .insight-card h3 {
    min-height: 0;
  }

  .tour-device {
    inset: 58px 18px 58px;
    transform: rotateY(-2deg) rotateX(1deg);
  }

  .flagship-media {
    height: clamp(330px, 66vw, 470px);
  }

  .testimonial-carousel {
    min-height: clamp(370px, 78vw, 460px);
  }

  .testimonial-card {
    padding: 30px;
  }

  .carousel-controls {
    left: 30px;
    right: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .container,
  .nav {
    width: calc(100% - 22px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  section:not(.hero) {
    padding: 62px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .hero {
    padding-top: 88px;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 2.75rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.78rem, 9vw, 2.08rem);
    line-height: 1.08;
  }

  .hero-actions,
  .button-row {
    display: grid;
    gap: 10px;
  }

  .button,
  .chip-row span,
  .card-link,
  .insight-card a {
    min-height: 48px;
  }

  .hero-stats {
    gap: 10px;
  }

  .stat-tile,
  .trust-tile {
    min-height: 112px;
    padding: 16px;
  }

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

  .hero-image-frame {
    inset: 10px;
    transform: none;
  }

  .floating-card {
    width: min(132px, 40vw);
    padding: 11px;
  }

  .floating-card-primary {
    top: 22px;
    left: 8px;
  }

  .floating-card-secondary {
    right: 8px;
    bottom: 22px;
  }

  .hero-search,
  .search-panel,
  .contact-form {
    padding: 16px;
  }

  .property-content,
  .insight-card > div,
  .category-card,
  .feature-card,
  .service-card,
  .amenity-card,
  .timeline-step {
    padding: 16px;
  }

  .category-card,
  .feature-card,
  .service-card {
    min-height: 0;
  }

  .object {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .tour-stage {
    min-height: 335px;
  }

  .tour-device {
    inset: 44px 12px 44px;
    transform: none;
  }

  .flagship-media {
    height: 320px;
  }

  .chip-row {
    gap: 8px;
  }

  .chip-row span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .testimonial-carousel {
    min-height: 430px;
  }

  .testimonial-card {
    padding: 24px;
  }

  blockquote {
    font-size: clamp(1.18rem, 6vw, 1.42rem);
  }

  .contact-list p {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .contact-list span {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 420px) {
  .container,
  .nav {
    width: calc(100% - 18px);
  }

  .nav {
    gap: 12px;
  }

  .hero {
    padding-top: 82px;
  }

  h1 {
    font-size: clamp(2rem, 13vw, 2.38rem);
  }

  h2 {
    font-size: clamp(1.66rem, 9vw, 1.92rem);
  }

  .eyebrow {
    font-size: 0.72rem;
  }

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

  .floating-card {
    display: none;
  }

  .property-media {
    aspect-ratio: 1.18;
  }

  .property-meta {
    grid-template-columns: 1fr;
  }

  .tour-stage {
    min-height: 300px;
  }

  .flagship-media {
    height: 280px;
  }

  .testimonial-carousel {
    min-height: 470px;
  }

  .carousel-controls {
    left: 24px;
    bottom: 22px;
  }

  .dot {
    width: 30px;
  }

  .dot.active {
    width: 44px;
  }
}

@media (max-width: 360px) {
  .brand-name {
    display: none;
  }

  .hero-actions .button,
  .button-row .button,
  .button {
    padding-inline: 12px;
    font-size: 0.9rem;
  }

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

  .tour-stage,
  .flagship-media {
    min-height: 260px;
    height: 260px;
  }
}

@media (max-height: 700px) and (max-width: 620px) {
  .demo-glass-hero,
  .contact-aura {
    min-height: 150px;
  }

  .popup-slide {
    padding-top: 58px;
    padding-bottom: 68px;
  }

  .template-showcase {
    min-height: 300px;
  }

  .template-frame {
    width: min(210px, 62vw);
  }

  .popup-slide-services {
    padding-top: 54px;
    padding-bottom: 62px;
  }

  .service-hero-copy h2 {
    font-size: 1.52rem;
  }

  .service-hero-copy p:not(.popup-kicker) {
    font-size: 0.82rem;
    line-height: 1.34;
  }

  .service-price-pill {
    min-height: 48px;
    margin-top: 9px;
  }

  .service-proof-row {
    margin-top: 8px;
  }

  .service-showcase {
    gap: 6px;
    padding: 10px;
  }

  .service-type-grid span {
    min-height: 34px;
  }

  .service-package-row article {
    min-height: 66px;
  }

  .service-process-strip span {
    min-height: 30px;
  }
}
