/* =========================================================
   Solstead — Dark Real Estate UI Template
   ========================================================= */
:root {
  --bg: #0c0e0d;
  --bg-2: #121513;
  --surface: #171a18;
  --surface-2: #1f2321;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ece8e1;
  --muted: #8d928e;
  --gold: #d6b37a;
  --gold-2: #e9cf9f;
  --gold-soft: rgba(214, 179, 122, 0.12);
  --green: #7fc59b;
  --radius: 18px;
  --radius-lg: 28px;
  --display: "Syne", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--bg); }
img { max-width: 100%; display: block; background: var(--surface-2); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--gold); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 130px 0; }
.section-sm { padding: 80px 0; }
.muted { color: var(--muted); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid var(--line-2);
  border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 22px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.head h2 { font-size: clamp(36px, 5vw, 64px); margin: 0; max-width: 760px; }
.head p { color: var(--muted); max-width: 420px; margin: 0; }
.head.center { flex-direction: column; align-items: center; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: all .35s var(--ease);
}
.btn-gold { background: var(--gold); color: #15130f; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(214,179,122,.25); }
.btn-line { border-color: var(--line-2); color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }
.btn .arr { width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.14); display: grid; place-items: center; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: rotate(-45deg); }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent;
  display: grid; place-items: center; font-size: 20px; transition: all .3s var(--ease); flex-shrink: 0;
}
.round-btn:hover { background: var(--gold); color: #15130f; border-color: var(--gold); }
.link { color: var(--gold); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link i { transition: transform .3s var(--ease); }
.link:hover i { transform: translateX(4px); }

/* ---------- Header (floating pill) ---------- */
.site-header { position: fixed; top: 18px; left: 0; right: 0; z-index: 100; transition: top .3s; }
.nav-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; padding: 0 10px 0 22px;
  background: rgba(18, 21, 19, .62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line); border-radius: 999px; transition: background .3s, box-shadow .3s;
}
.site-header.scrolled .nav-shell { background: rgba(18, 21, 19, .9); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo-mark { width: 30px; height: 30px; position: relative; }
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50% 50% 4px 50%; }
.logo-mark::before { left: 0; top: 0; background: var(--gold); }
.logo-mark::after { right: 0; bottom: 0; border: 2px solid var(--text); border-radius: 50% 4px 50% 50%; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: all .25s; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  position: relative; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; font-size: 19px; transition: all .25s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.badge-count {
  position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--gold); color: #15130f; font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.badge-count[data-count="0"] { display: none; }
.menu-toggle { display: none; }
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: var(--bg); padding: 28px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: all .4s var(--ease); }
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav > a { font-family: var(--display); font-size: 38px; font-weight: 700; padding: 8px 0; color: var(--muted); }
.mobile-nav > a.active, .mobile-nav > a:hover { color: var(--text); }
.mobile-nav > a.btn { margin-top: auto; font-family: var(--sans); font-size: 16px; font-weight: 600; padding: 16px 28px; color: #15130f; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 80px; min-height: 100vh; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; left: -20%; top: -10%; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(214,179,122,.12), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(50px, 7.4vw, 108px); line-height: .95; margin-bottom: 28px; }
.hero h1 .serif { font-size: 1.08em; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 500px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats strong { font-family: var(--display); font-size: 38px; display: block; line-height: 1; }
.hero-stats strong span { color: var(--gold); }
.hero-stats small { color: var(--muted); font-size: 14px; }
.hero-visual { position: relative; height: min(720px, 78vh); min-height: 520px; }
.hero-frame { position: absolute; inset: 0; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 6s ease; }
.hero-frame img.active { opacity: 1; transform: scale(1); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(12,14,13,.75)); }
.hero-card {
  position: absolute; left: -40px; bottom: 40px; z-index: 3; width: 300px; padding: 18px; border-radius: 22px;
  background: rgba(23,26,24,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2);
  display: flex; gap: 14px; align-items: center; transition: transform .35s var(--ease);
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.hero-card small { color: var(--muted); font-size: 12.5px; display: block; }
.hero-card strong { display: block; font-family: var(--display); font-size: 15px; }
.hero-card .price { color: var(--gold); font-weight: 600; font-size: 15px; }
.spin-badge { position: absolute; top: 40px; left: -50px; z-index: 3; width: 120px; height: 120px; border-radius: 50%; background: var(--gold); color: #15130f; display: grid; place-items: center; }
.spin-badge svg { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.spin-badge i { font-size: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-progress { position: absolute; right: 24px; bottom: 26px; z-index: 3; display: flex; gap: 6px; }
.hero-progress button { width: 28px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); transition: all .3s; }
.hero-progress button.active { background: var(--gold); width: 46px; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 50px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(30px, 4vw, 54px); font-weight: 800; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-2); display: inline-flex; align-items: center; gap: 50px; }
.marquee span:nth-child(odd) { color: var(--text); -webkit-text-stroke: 0; }
.marquee span::after { content: "✦"; color: var(--gold); -webkit-text-stroke: 0; font-size: .5em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento intro ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; }
.tile.img { padding: 0; }
.tile.img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile.img:hover img { transform: scale(1.06); }
.tile.span2 { grid-column: span 2; }
.tile.row2 { grid-row: span 2; }
.tile h3 { font-size: clamp(28px, 3vw, 42px); }
.tile.gold { background: var(--gold); color: #15130f; border: 0; display: flex; flex-direction: column; justify-content: space-between; }
.tile.gold .big { font-family: var(--display); font-size: 84px; font-weight: 800; line-height: .9; }
.tile .tile-label { position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(12,14,13,.7); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; }
.tile-list li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.tile-list li:last-child { border: 0; }
.tile-list i { color: var(--gold); font-size: 18px; }

/* ---------- Pills ---------- */
.pills { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); flex-wrap: wrap; }
.pill { padding: 10px 20px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 14px; color: var(--muted); transition: all .25s; }
.pill:hover { color: var(--text); }
.pill.active { background: var(--gold); color: #15130f; }

/* ---------- Property card ---------- */
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4/4.4; border-radius: var(--radius-lg); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.card:hover .card-media img { transform: scale(1.06); filter: saturate(1.05); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,14,13,.45), transparent 30%, transparent 60%, rgba(12,14,13,.85)); }
.card-top { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(12,14,13,.6); backdrop-filter: blur(10px); border: 1px solid var(--line-2); }
.badge.gold { background: var(--gold); color: #15130f; border-color: var(--gold); }
.fav-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(12,14,13,.5); backdrop-filter: blur(10px);
  display: grid; place-items: center; font-size: 18px; transition: all .25s; position: relative; z-index: 3;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.active { background: var(--gold); color: #15130f; border-color: var(--gold); }
.card-bottom { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.spec { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.spec i { color: var(--gold); }
.card-info { padding: 20px 4px 0; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.card-info h3 { font-size: 22px; margin: 0 0 6px; letter-spacing: -0.02em; }
.card-info h3 a:hover { color: var(--gold); }
.card-loc { color: var(--muted); font-size: 14px; display: flex; gap: 6px; margin: 0; }
.card-price { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--gold); white-space: nowrap; text-align: right; }
.card-price small { display: block; font-family: var(--sans); color: var(--muted); font-size: 12px; font-weight: 500; }
.card-desc { display: none; color: var(--muted); font-size: 15px; margin: 14px 0 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.grid-3.list { grid-template-columns: 1fr; gap: 26px; }
.grid-3.list .card { flex-direction: row; gap: 34px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; }
.grid-3.list .card-media { width: 42%; aspect-ratio: 16/11; flex-shrink: 0; border-radius: 20px; }
.grid-3.list .card-info { flex-direction: column; padding: 0 20px 0 0; flex: 1; }
.grid-3.list .card-price { text-align: left; }
.grid-3.list .card-desc { display: block; }

/* Carousel */
.carousel { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .card { flex: 0 0 calc((100% - 52px) / 3); scroll-snap-align: start; }
.carousel-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; }
.carousel-bar { flex: 1; height: 2px; background: var(--line); position: relative; border-radius: 2px; max-width: 520px; }
.carousel-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); border-radius: 2px; transition: width .2s, left .2s; }
.carousel-nav { display: flex; gap: 10px; }

/* ---------- Category rows ---------- */
.cat-rows { border-top: 1px solid var(--line); }
.cat-row { display: grid; grid-template-columns: 70px 1fr auto 60px; gap: 24px; align-items: center; padding: 30px 10px; border-bottom: 1px solid var(--line); transition: all .4s var(--ease); position: relative; }
.cat-row .num { font-family: var(--display); color: var(--muted); font-size: 15px; }
.cat-row h3 { font-size: clamp(32px, 4.6vw, 64px); margin: 0; transition: all .4s var(--ease); }
.cat-row .count { color: var(--muted); font-size: 15px; }
.cat-row .round-btn { pointer-events: none; }
.cat-row:hover { padding-left: 30px; }
.cat-row:hover h3 { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.cat-row:hover .round-btn { background: var(--gold); color: #15130f; border-color: var(--gold); transform: rotate(-45deg); }
.cat-preview { position: fixed; z-index: 50; width: 300px; height: 210px; border-radius: 20px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-4deg); transition: opacity .3s, transform .4s var(--ease); }
.cat-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.cat-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.proc { padding: 46px 38px; border-right: 1px solid var(--line); position: relative; transition: background .4s; }
.proc:last-child { border-right: 0; }
.proc:hover { background: var(--surface); }
.proc .n { font-family: var(--display); font-size: 92px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin-bottom: 40px; transition: all .4s; }
.proc:hover .n { -webkit-text-stroke-color: var(--gold); }
.proc i { position: absolute; top: 46px; right: 38px; font-size: 28px; color: var(--gold); }
.proc h3 { font-size: 26px; }
.proc p { color: var(--muted); margin: 0; }

/* ---------- Agents ---------- */
.agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.agent { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; }
.agent img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: all .8s var(--ease); }
.agent:hover img { filter: none; transform: scale(1.04); }
.agent::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(12,14,13,.9)); }
.agent-info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.agent-info h4 { font-size: 21px; margin: 0 0 2px; }
.agent-info span { color: var(--muted); font-size: 13.5px; }
.agent-links { display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(10px); transition: all .35s var(--ease); }
.agent:hover .agent-links { opacity: 1; transform: none; }
.agent-links a { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #15130f; display: grid; place-items: center; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; transition: border-color .3s; }
.quote:hover { border-color: var(--gold); }
.quote:first-child { background: var(--gold); color: #15130f; border: 0; }
.quote:first-child .who span { color: rgba(21,19,15,.65); }
.quote .mark { font-family: var(--serif); font-size: 80px; line-height: .6; color: var(--gold); }
.quote:first-child .mark { color: #15130f; }
.quote p { font-size: 17px; margin: 0; }
.quote:first-child p { font-family: var(--serif); font-size: 28px; line-height: 1.25; }
.who { display: flex; gap: 12px; align-items: center; }
.who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.who strong { display: block; font-size: 15px; }
.who span { color: var(--muted); font-size: 13.5px; }

/* ---------- Journal ---------- */
.journal { border-top: 1px solid var(--line); }
.post { display: grid; grid-template-columns: 140px 1fr 200px 60px; gap: 30px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.post .date { color: var(--muted); font-size: 14px; }
.post h3 { font-size: clamp(20px, 2.2vw, 28px); margin: 0; transition: color .3s; }
.post .thumb { width: 200px; height: 120px; border-radius: 16px; overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post:hover h3 { color: var(--gold); }
.post:hover .thumb img { transform: scale(1.08); }
.post:hover .round-btn { background: var(--gold); color: #15130f; border-color: var(--gold); }
.post .cat { display: block; color: var(--gold); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: 40px; overflow: hidden; padding: 110px 40px; text-align: center; border: 1px solid var(--line); }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(12,14,13,.2), rgba(12,14,13,.9)); z-index: 1; }
.cta > * { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(40px, 6vw, 84px); max-width: 900px; margin: 0 auto 24px; }
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 36px; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 90px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 50px; }
.site-footer p { color: var(--muted); max-width: 340px; }
.site-footer h5 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 600; margin-bottom: 22px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { transition: color .25s; }
.footer-links a:hover { color: var(--gold); }
.news { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px; margin-top: 10px; }
.news input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 16px; }
.news button { border: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #15130f; font-size: 18px; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .25s; }
.socials a:hover { background: var(--gold); color: #15130f; border-color: var(--gold); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 16.5vw; line-height: .8; white-space: nowrap; letter-spacing: -0.05em; text-align: center; margin-top: 70px; color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; transform: translateY(12%); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; font-size: 14px; color: var(--muted); position: relative; background: var(--bg); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 180px 0 70px; position: relative; overflow-x: clip; }
.hero { overflow-x: clip; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(214,179,122,.1), transparent 60%); pointer-events: none; }
.page-hero h1 { font-size: clamp(48px, 8vw, 120px); line-height: .92; margin: 0; }
.crumbs { display: flex; gap: 10px; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.crumbs a:hover { color: var(--gold); }
.page-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.page-hero-row p { color: var(--muted); max-width: 400px; margin: 0; }

/* Listings toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }
.toolbar-left { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.view-toggle { display: flex; gap: 6px; align-items: center; }
.view-toggle span { color: var(--muted); font-size: 14px; margin-right: 10px; }
.view-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 18px; color: var(--muted); transition: all .25s; }
.view-btn.active { background: var(--surface-2); color: var(--text); border-color: var(--line-2); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 70px; }
.pagination button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-weight: 600; transition: all .25s; }
.pagination button:hover:not(:disabled) { border-color: var(--gold); }
.pagination button.active { background: var(--gold); color: #15130f; border-color: var(--gold); }
.pagination button:disabled { opacity: .3; cursor: not-allowed; }
.empty { grid-column: 1/-1; text-align: center; padding: 80px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty i { font-size: 46px; color: var(--gold); }

/* ---------- Property detail ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 270px 270px; gap: 14px; margin-bottom: 70px; }
.gallery button { padding: 0; border: 0; border-radius: 22px; overflow: hidden; position: relative; background: var(--surface); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery .more { position: absolute; inset: 0; background: rgba(12,14,13,.6); display: grid; place-items: center; font-weight: 600; }
.d-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.d-head h1 { font-size: clamp(40px, 6vw, 84px); line-height: .95; margin: 16px 0 14px; }
.d-head > div:first-child { flex: 1 1 640px; }
.d-price { text-align: right; margin-left: auto; }
.d-price strong { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); color: var(--gold); display: block; line-height: 1; }
.d-price small { color: var(--muted); }
.d-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.d-layout { display: grid; grid-template-columns: 1fr 390px; gap: 50px; align-items: start; }
.block { padding: 40px 0; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; padding-top: 0; }
.block h3 { font-size: 30px; margin-bottom: 24px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--bg); padding: 22px; }
.fact i { color: var(--gold); font-size: 22px; }
.fact small { display: block; color: var(--muted); font-size: 13px; margin-top: 10px; }
.fact strong { font-family: var(--display); font-size: 22px; }
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amenities li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; }
.amenities i { color: var(--gold); }
.acc { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: var(--bg-2); }
.acc-btn { width: 100%; text-align: left; background: transparent; border: 0; padding: 20px 24px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.acc-btn i { color: var(--gold); transition: transform .3s; font-size: 20px; }
.acc.open .acc-btn i { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc-inner { padding: 0 24px 24px; color: var(--muted); }
.floor-plan { background: var(--surface); border-radius: 14px; padding: 22px; display: grid; place-items: center; }
.map-frame { width: 100%; height: 380px; border: 0; border-radius: var(--radius); filter: invert(.9) hue-rotate(180deg) saturate(.4) brightness(.95); background: var(--surface); }
.side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.side-card h4 { font-size: 22px; margin-bottom: 18px; }
.agent-mini { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.agent-mini img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.agent-mini strong { display: block; font-family: var(--display); font-size: 18px; }
.agent-mini span { color: var(--muted); font-size: 14px; }
.tour-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.tour-day { border: 1px solid var(--line-2); border-radius: 14px; background: transparent; padding: 10px 4px; text-align: center; line-height: 1.25; transition: all .25s; }
.tour-day small { display: block; color: var(--muted); font-size: 11.5px; text-transform: uppercase; }
.tour-day strong { font-family: var(--display); font-size: 22px; }
.tour-day.active { background: var(--gold); color: #15130f; border-color: var(--gold); }
.tour-day.active small { color: rgba(21,19,15,.7); }
.calc-result { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; margin-top: 8px; }
.calc-result strong { font-family: var(--display); font-size: 38px; color: var(--gold); display: block; line-height: 1.2; }
.calc-result small { color: var(--muted); }
.range { width: 100%; accent-color: var(--gold); }
.range-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.range-label span:last-child { color: var(--gold); }

/* Forms */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.input, .select, .textarea {
  width: 100%; height: 54px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2);
  outline: 0; transition: border-color .25s, box-shadow .25s; font-size: 15px;
}
.input::placeholder, .textarea::placeholder { color: #6a6f6b; }
.textarea { height: auto; min-height: 130px; padding: 15px 18px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d6b37a' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.select option { background: var(--surface); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.field .err { color: #ef8a7a; font-size: 13px; margin-top: 6px; display: none; }
.field.error .input, .field.error .textarea { border-color: #ef8a7a; }
.field.error .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: stretch; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; }
.info-list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list i { width: 50px; height: 50px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
.info-list small { color: var(--muted); display: block; font-size: 13px; }
.info-list strong { font-weight: 600; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,9,9,.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 86vw; max-height: 80vh; border-radius: var(--radius); background: transparent; }
.lb-btn { position: absolute; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 24px; top: 24px; }
.lb-count { position: absolute; bottom: 26px; color: var(--muted); font-weight: 600; letter-spacing: .1em; }

/* Toast */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 10px; align-items: center; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--surface-2); border: 1px solid var(--line-2); padding: 14px 22px; border-radius: 999px; box-shadow: 0 20px 50px rgba(0,0,0,.5); display: flex; gap: 10px; align-items: center; font-weight: 500; animation: toastIn .4s var(--ease); }
.toast i { color: var(--gold); font-size: 20px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--gold); color: #15130f; font-size: 22px; opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; min-height: 0; }
  .hero-card { left: 20px; }
  .spin-badge { left: auto; right: 20px; top: 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .carousel .card { flex-basis: calc((100% - 26px) / 2); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .agents { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote:first-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .d-layout, .contact-grid, .faq-wrap { grid-template-columns: 1fr; }
  .side { position: static; }
  .post { grid-template-columns: 110px 1fr 160px; }
  .post .round-btn { display: none; }
  .post .thumb { width: 160px; height: 100px; }
}
@media (max-width: 760px) {
  .section { padding: 90px 0; }
  .container { padding: 0 16px; }
  .site-header { top: 10px; }
  .nav-shell { height: 62px; padding: 0 6px 0 18px; }
  .icon-btn { width: 46px; height: 46px; }
  .hero { padding-top: 120px; min-height: 0; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 28px; }
  .hero-visual { height: 460px; }
  .hero-frame { border-radius: 140px 140px var(--radius-lg) var(--radius-lg); }
  .hero-card { left: 12px; right: 12px; width: auto; bottom: 14px; }
  .hero-progress { display: none; }
  .spin-badge { width: 92px; height: 92px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile.span2 { grid-column: auto; }
  .tile.row2 { grid-row: auto; }
  .tile.img { height: 260px; }
  .tile.gold .big { font-size: 64px; }
  .carousel .card { flex-basis: 86%; }
  .grid-3, .agents, .quotes, .footer-grid { grid-template-columns: 1fr; }
  .quote:first-child { grid-column: auto; }
  .grid-3.list .card { flex-direction: column; align-items: stretch; gap: 18px; }
  .grid-3.list .card-media { width: 100%; }
  .grid-3.list .card-info { padding: 0 6px 8px; }
  .cat-row { grid-template-columns: 40px 1fr 46px; padding: 22px 4px; gap: 14px; }
  .cat-row .count { display: none; }
  .cat-row .round-btn { width: 44px; height: 44px; }
  .cat-row:hover { padding-left: 4px; }
  .process { grid-template-columns: 1fr; }
  .proc { border-right: 0; border-bottom: 1px solid var(--line); padding: 34px 26px; }
  .proc:last-child { border-bottom: 0; }
  .proc .n { font-size: 70px; margin-bottom: 20px; }
  .post { grid-template-columns: 1fr 110px; gap: 16px; }
  .post .date { grid-column: 1 / -1; order: -1; margin-bottom: -10px; }
  .post .thumb { width: 110px; height: 80px; }
  .cta { padding: 70px 22px; border-radius: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 140px 140px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+6) { display: none; }
  .d-price { text-align: left; margin-left: 0; }
  .d-actions { justify-content: flex-start; }
  .facts, .amenities, .form-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .panel { padding: 28px 22px; }
  .page-hero { padding-top: 140px; }
  .toolbar { flex-direction: column; align-items: flex-start; }
  .view-toggle span { display: none; }
}
