/* SLN Real Estate - homepage
   Glass design system. Palette comes from the logo: gold + white on deep slate. */

:root {
  --ink: #0e131c;
  --ink-2: #161d2a;
  --gold: #f5bd00;
  --gold-hi: #ffd84a;
  --gold-lo: #eaa400;
  --paper: #eef1f6;
  --white: #ffffff;
  --text: #182030;
  --muted: #566073;
  --line: #dde2e9;
  --wa: #25d366;
  --wa-hover: #3de07b;
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 80px;

  /* glass recipes */
  --glass-dark-bg: rgba(255, 255, 255, .09);
  --glass-dark-border: rgba(255, 255, 255, .2);
  --glass-light-bg: rgba(255, 255, 255, .66);
  --glass-light-border: rgba(255, 255, 255, .9);
  --blur: blur(18px) saturate(150%);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid #5ea1ff; outline-offset: 3px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Glass surfaces ---------- */
.glass-dark {
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-dark-border);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 24px 60px -28px rgba(0,0,0,.7);
  color: var(--white);
}
.glass-light {
  background: var(--glass-light-bg);
  border: 1px solid var(--glass-light-border);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 #fff, 0 16px 44px -22px rgba(24, 36, 64, .35);
}
.glass-tag {
  background: rgba(14, 19, 28, .42); color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* Fallback when backdrop-filter is not supported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-dark { background: rgba(30, 38, 54, .92); }
  .glass-light { background: rgba(255, 255, 255, .95); }
  .glass-tag { background: rgba(14, 19, 28, .8); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn-wa { background: linear-gradient(180deg, #3be07b, #25d366); color: #06210f; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 24px -10px rgba(37,211,102,.7); }
.btn-wa:hover { background: linear-gradient(180deg, #55ea8e, #30dc70); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: #1b1500; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 26px -10px rgba(245,189,0,.75); }
.btn-gold:hover { background: linear-gradient(180deg, #ffe27a, #ffcb1f 55%, #f2ad00); }
.btn-dark { background: var(--ink); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 12px 28px -12px rgba(14,19,28,.7); }
.btn-dark:hover { background: var(--ink-2); }
.btn-glass {
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-glass:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); }
.btn-outline { background: rgba(255,255,255,.4); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(14,19,28,.8); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.ic { width: 22px; height: 22px; flex: none; }

/* ---------- Header (glass, fixed over hero) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(14, 19, 28, .38);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(14, 19, 28, .78); box-shadow: 0 10px 30px -14px rgba(0,0,0,.7); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: #dbe1ea; text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav a.is-active { color: var(--white); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; }
.header-cta { flex: none; }
.menu-btn {
  display: none; width: 44px; height: 44px; margin-left: auto; padding: 0;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  padding: calc(var(--header-h) + 72px) 0 56px;
  background: #0a0f17 url("../assets/images/hero-wide.webp") center 35% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,12,19,.92) 0%, rgba(8,12,19,.74) 42%, rgba(8,12,19,.28) 100%),
    linear-gradient(180deg, rgba(8,12,19,.5) 0%, rgba(8,12,19,0) 30%, rgba(8,12,19,.7) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border-radius: 999px; font-size: .92rem; font-weight: 500; margin-bottom: 26px;
}
.hero-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,189,0,.25); }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.03; text-wrap: balance; }
.lead { margin-top: 24px; max-width: 54ch; font-size: 1.2rem; color: #ccd3de; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-card { justify-self: end; width: min(100%, 430px); padding: 14px; border-radius: 26px; }
.hero-card-img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 11; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 12px; left: 12px; padding: 6px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; }
.hero-card-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 6px 4px; }
.hero-card h2 { font-size: 1.4rem; font-weight: 700; }
.loc { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .96rem; }
.loc .ic { width: 18px; height: 18px; }
.hero-card .loc { color: #c3cbd8; }
.hero-rent { font: 700 1.5rem/1 var(--head); letter-spacing: -0.02em; text-align: right; white-space: nowrap; }
.hero-rent small { display: block; margin-top: 4px; font: 500 .8rem var(--body); color: #b4bdcb; letter-spacing: 0; }
.hero-card-specs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 6px 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); font-size: .94rem; color: #dbe1ea; }
.hero-card-specs span { display: inline-flex; align-items: center; gap: 7px; }
.hero-card-specs .ic { width: 19px; height: 19px; color: var(--gold); }
.hero-card-cta { width: 100%; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .75s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-card { animation: rise .9s cubic-bezier(.2,.7,.2,1) .2s both; }
  .search { animation: rise .9s cubic-bezier(.2,.7,.2,1) .35s both; }
}

/* ---------- Search (glass over hero) ---------- */
.search {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 16px; align-items: end;
  margin-top: 64px; padding: 22px; border-radius: 22px;
}

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: .84rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 14px;
  font: 500 1rem var(--body); color: var(--text);
  background-color: var(--white); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field select, .sort select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23566073' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245,189,0,.45); }

/* glass fields on dark surfaces */
.on-dark .field label { color: #cfd6e2; }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea {
  color: var(--white); background-color: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24);
}
.on-dark .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.on-dark .field select option { color: #111827; background: #fff; }
.on-dark .field textarea::placeholder, .on-dark .field input::placeholder { color: rgba(255,255,255,.55); }
.on-dark .field input:hover, .on-dark .field select:hover, .on-dark .field textarea:hover { border-color: rgba(255,255,255,.5); }
.on-dark .field input:focus, .on-dark .field select:focus, .on-dark .field textarea:focus { border-color: var(--gold); background-color: rgba(255,255,255,.16); box-shadow: 0 0 0 3px rgba(245,189,0,.35); }

/* ---------- Sections ---------- */
.zone-light {
  background:
    radial-gradient(620px 420px at 92% 4%, rgba(245,189,0,.24), transparent 70%),
    radial-gradient(760px 520px at 0% 42%, rgba(94,140,255,.18), transparent 70%),
    radial-gradient(640px 460px at 100% 88%, rgba(245,189,0,.16), transparent 70%),
    var(--paper);
}
.section { padding: 100px 0; }
.section-dark {
  color: var(--white);
  background:
    radial-gradient(700px 480px at 8% 0%, rgba(245,189,0,.14), transparent 70%),
    radial-gradient(800px 520px at 100% 100%, rgba(94,140,255,.16), transparent 70%),
    var(--ink);
}
.section-head { max-width: 720px; margin-bottom: 36px; }
.section h2, .owner h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); font-weight: 700; text-wrap: balance; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.125rem; }
.section-dark .section-head p { color: #b9c2d0; }

/* ---------- Trust strip ---------- */
.trust { padding: 56px 0 0; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px; }
.trust-item .ic { width: 50px; height: 50px; padding: 12px; color: #1b1500; border-radius: 14px; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.trust-item strong { display: block; font-family: var(--head); font-size: 1.12rem; }
.trust-item span { display: block; margin-top: 3px; color: var(--muted); font-size: .96rem; }

/* ---------- Rentals ---------- */
.zone-light .section { padding-top: 84px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 44px; padding: 0 22px; font: 600 .98rem var(--body); color: var(--text); cursor: pointer;
  background: var(--glass-light-bg); border: 1px solid var(--glass-light-border); border-radius: 999px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(24,36,64,.4);
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.list-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 20px; flex-wrap: wrap; }
.result-count { color: var(--muted); font-size: .98rem; min-height: 1.6em; }
.sort { display: flex; align-items: center; gap: 10px; }
.sort label { font-size: .9rem; font-weight: 600; color: var(--muted); }
.sort select {
  height: 44px; min-width: 200px; padding: 0 40px 0 16px;
  font: 500 .98rem var(--body); color: var(--text);
  background-color: var(--glass-light-bg); border: 1px solid var(--glass-light-border); border-radius: 12px;
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(24,36,64,.4);
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; }
.card {
  display: flex; flex-direction: column; overflow: hidden; padding: 10px; border-radius: 24px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: inset 0 1px 0 #fff, 0 28px 54px -24px rgba(24,36,64,.5); }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--paper); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; padding: 6px 14px; font-size: .84rem; font-weight: 600; border-radius: 999px; }
.furnish-chip { position: absolute; left: 12px; bottom: 12px; padding: 6px 14px; font-size: .84rem; font-weight: 500; border-radius: 999px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 14px 12px; }
.card h3 { font-size: 1.32rem; font-weight: 700; }
.card .loc { color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0; padding: 14px 0; border-block: 1px solid rgba(24,36,64,.1); font-size: .95rem; font-weight: 500; }
.specs span { display: inline-flex; align-items: center; gap: 7px; }
.specs .ic { width: 19px; height: 19px; color: #8a6a00; }
.rent { margin-top: auto; padding-bottom: 16px; font-family: var(--head); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; }
.rent small { font: 500 .95rem var(--body); color: var(--muted); letter-spacing: 0; }
.card-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.card-actions .btn { height: 48px; padding: 0 20px; }
.card-actions .btn-wa { padding: 0 16px; }

.empty { max-width: 480px; margin: 28px 0 0; padding: 32px; border-radius: 22px; }
.empty h3 { font-size: 1.35rem; }
.empty p { margin: 8px 0 20px; color: var(--muted); }
.empty[hidden], .form-error[hidden] { display: none; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 18px; }
.area { position: relative; display: block; overflow: hidden; border-radius: 24px; background: var(--ink-2); color: var(--white); text-decoration: none; }
.area.a-lg { grid-row: span 2; }
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.area:hover img { transform: scale(1.06); }
.area-text { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; padding: 14px 18px; border-radius: 16px; transition: background-color .2s; }
.area:hover .area-text { background: rgba(255,255,255,.16); }
.area-text strong { display: block; font: 700 1.3rem/1.15 var(--head); letter-spacing: -0.01em; }
.area-text small { display: block; margin-top: 3px; font-size: .93rem; color: #dbe1ea; }
.areas-foot { margin-top: 28px; color: #b9c2d0; }
.areas-foot a { color: var(--gold); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Services ---------- */
.zone-light.section { padding: 100px 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.frame-light, .frame-dark { padding: 12px; border-radius: 32px; }
.frame-light { background: var(--glass-light-bg); border: 1px solid var(--glass-light-border); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -28px rgba(24,36,64,.45); }
.frame-dark { background: var(--glass-dark-bg); border: 1px solid var(--glass-dark-border); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 30px 60px -28px rgba(0,0,0,.7); }
.frame-light img, .frame-dark img { width: 100%; object-fit: cover; border-radius: 22px; }
.split-img img { aspect-ratio: 5 / 5.4; }
.services { display: grid; gap: 14px; margin: 28px 0 34px; }
.service { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 20px; }
.service > .ic { width: 50px; height: 50px; padding: 12px; color: #1b1500; border-radius: 14px; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.service h3 { font-size: 1.28rem; }
.service p { margin-top: 5px; color: var(--muted); max-width: 52ch; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.steps { list-style: none; counter-reset: step; margin-top: 34px; display: grid; gap: 14px; }
.steps li { position: relative; counter-increment: step; padding: 22px 24px 22px 86px; border-radius: 20px; }
.steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 22px;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); color: #1b1500;
  font: 700 1.15rem var(--head); border-radius: 50%; box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
.steps h3 { font-size: 1.28rem; color: var(--white); }
.steps p { margin-top: 5px; color: #c0c9d6; max-width: 48ch; }
.process-img img { aspect-ratio: 4 / 4.2; object-position: 60% 50%; }

/* ---------- Owner band ---------- */
.owner { position: relative; overflow: hidden; background: linear-gradient(135deg, #ffd84a 0%, #f5bd00 55%, #eaa400 100%); color: var(--ink); padding: 68px 0; }
.owner-roof { position: absolute; right: 4%; top: 50%; width: 340px; transform: translateY(-50%); color: rgba(14,19,28,.1); }
.owner-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.owner h2 { max-width: 22ch; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.owner p { margin-top: 10px; max-width: 52ch; font-size: 1.125rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; padding: 0 24px; transition: background-color .2s; }
.faq details[open] { background: rgba(255,255,255,.85); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-weight: 600; font-size: 1.125rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; font-size: 1.5rem; font-weight: 500; line-height: 1; background: rgba(24,36,64,.07); border-radius: 50%; transition: background-color .2s; }
.faq details[open] summary::after { content: "\2013"; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.faq details p { padding: 0 52px 24px 0; color: var(--muted); max-width: 64ch; }

/* ---------- Contact (glass over photo) ---------- */
.contact-section {
  position: relative; isolation: isolate; color: var(--white);
  background: #0a0f17 url("../assets/images/hero-wide.webp") center 60% / cover no-repeat;
}
.contact-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,12,19,.86), rgba(8,12,19,.7)); }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact-info p { margin-top: 14px; max-width: 46ch; color: #c3cbd8; font-size: 1.125rem; }
.contact-list { list-style: none; margin-top: 32px; display: grid; gap: 12px; max-width: 420px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px; font-weight: 500; }
.contact-list .ic { width: 24px; height: 24px; color: var(--gold); }
.contact-list a { font-weight: 600; text-underline-offset: 3px; }
.form { display: grid; gap: 18px; padding: 32px; border-radius: 26px; }
.form .btn { justify-self: start; }
.form-error { color: #ffb4ab; font-weight: 500; font-size: .95rem; }

/* ---------- Footer ---------- */
.footer { background: #090d14; color: #c3cad6; padding: 68px 0 24px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; align-items: start; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #8f9aab; max-width: 34ch; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h3 { margin-bottom: 4px; font: 600 1rem var(--body); color: var(--white); letter-spacing: 0; }
.footer-col a { text-decoration: none; width: fit-content; color: #aab3c1; transition: color .15s; }
.footer-col a:hover { color: var(--gold); }
.footer-col span { color: #aab3c1; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; color: #7d889a; }

/* ---------- Quick view dialog ---------- */
.qv {
  width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; margin: auto;
  border: 1px solid rgba(255,255,255,.7); border-radius: 30px; overflow: auto; color: var(--text);
  background: rgba(244, 247, 252, .82);
  -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%);
  box-shadow: inset 0 1px 0 #fff, 0 40px 100px -30px rgba(0,0,0,.7);
}
.qv::backdrop { background: rgba(8,12,19,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.qv[open] { animation: rise .35s cubic-bezier(.2,.7,.2,1); }
.qv-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.qv-img { position: relative; min-height: 100%; }
.qv-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv-body { padding: 36px 34px 32px; }
.qv-body h2 { font-size: 1.9rem; font-weight: 700; }
.qv-body .loc { color: var(--muted); margin-top: 8px; font-size: 1rem; }
.qv-rent { margin: 18px 0 4px; font: 700 2.1rem/1 var(--head); letter-spacing: -0.02em; }
.qv-rent small { font: 500 1rem var(--body); color: var(--muted); letter-spacing: 0; }
.qv-body .specs { margin: 18px 0; }
.qv-body h3 { margin: 22px 0 10px; font-size: 1.1rem; }
.qv-desc { color: var(--muted); }
.amenities { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.amenities li { display: flex; align-items: center; gap: 8px; font-size: .96rem; }
.amenities .ic { width: 20px; height: 20px; padding: 3px; color: #1b1500; background: var(--gold); border-radius: 50%; }
.qv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.qv-note { margin-top: 14px; font-size: .84rem; color: #7a8497; }
.qv-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; cursor: pointer;
  color: var(--white); background: rgba(14,19,28,.5); border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.qv-close:hover { background: rgba(14,19,28,.75); }
.qv-close .ic { width: 20px; height: 20px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 60; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 62px; height: 62px; display: grid; place-items: center;
  background: linear-gradient(180deg, #3be07b, #25d366); color: #06210f; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 14px 34px -8px rgba(37,211,102,.65), 0 0 0 6px rgba(37,211,102,.18);
  transition: transform .18s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }
.wa-tip {
  position: absolute; right: 76px; white-space: nowrap; padding: 9px 15px;
  background: rgba(14,19,28,.8); color: var(--white); font-size: .92rem; font-weight: 600; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transform: translateX(6px); transition: opacity .18s, transform .18s;
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .card, .card-img img, .area img { transition: none; }
  .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav {
    position: absolute; top: var(--header-h); left: 12px; right: 12px; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 20px 16px; border-radius: 20px;
    background: rgba(14,19,28,.82); border: 1px solid rgba(255,255,255,.14);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a:last-child { border-bottom: 0; }
  .nav a.is-active { box-shadow: none; color: var(--gold); }
  .header-cta { margin-left: auto; }
  .menu-btn { display: flex; margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { justify-self: start; }
  .search { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .search .btn { grid-column: 1 / -1; }
  .split, .process, .contact { grid-template-columns: 1fr; gap: 44px; }
  .split-img img, .process-img img { aspect-ratio: 16 / 10; }
  .owner-row { flex-direction: column; align-items: flex-start; }
  .owner-roof { width: 240px; right: -20px; }
  .areas { grid-template-columns: 1fr 1fr; }
  .area.a-lg { grid-row: auto; }
  .trust-row { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .qv-grid { grid-template-columns: 1fr; }
  .qv-img { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .wrap { width: min(1200px, 100% - 36px); }
  .header-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .brand img { height: 50px; }
  .hero { padding: calc(var(--header-h) + 36px) 0 40px; }
  .hero-actions .btn { width: 100%; }
  .hero-card { width: 100%; }
  .search { grid-template-columns: 1fr; padding: 18px; }
  .section { padding: 68px 0; }
  .zone-light .section { padding-top: 56px; }
  .zone-light.section { padding: 68px 0; }
  .trust { padding-top: 40px; }
  .grid { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .form { padding: 22px; }
  .form .btn { justify-self: stretch; }
  .faq details { padding: 0 18px; }
  .faq details p { padding-right: 0; }
  .sort { width: 100%; }
  .sort select { flex: 1; }
  .steps li { padding: 20px 18px 20px 78px; }
  .footer-row { grid-template-columns: 1fr; }
  .qv-body { padding: 26px 22px 24px; }
  .amenities { grid-template-columns: 1fr; }
  .wa-tip { display: none; }
}

/* ---------- Finishing layer: glass sheen, legibility, selection ---------- */
::selection { background: var(--gold); color: var(--ink); }
.glass-dark { background-image: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,0) 42%); }
.glass-light { background-image: linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,0) 48%); }
.card-img::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(8,12,19,.55)); pointer-events: none; }
.badge, .furnish-chip { z-index: 1; }
.hero-card-img::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(8,12,19,.4)); pointer-events: none; }
.tag { z-index: 1; }
.site-header .brand img { filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.section-dark .section-head h2, .section-dark h2 { color: var(--white); }
.services .service { transition: transform .25s, box-shadow .25s; }
.faq details[open] { box-shadow: inset 0 1px 0 #fff, 0 18px 40px -24px rgba(24,36,64,.45); }
.owner .btn-dark:hover { transform: translateY(-2px); }
.footer-col h3 { font-size: .95rem; }
@media (max-width: 680px) { .hero-card-body { flex-direction: column; align-items: flex-start; } .hero-rent { text-align: left; } }

/* ---------- Performance: blur only where a photo sits behind the glass ---------- */
.glass-dark, .glass-light, .glass-tag, .chip, .sort select, .btn-glass, .area-text, .qv-close, .wa-tip, .menu-btn {
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.glass-light { background-color: rgba(255,255,255,.78); }
.glass-tag { background: rgba(14,19,28,.62); }
.area-text { background: rgba(14,19,28,.5); border: 1px solid rgba(255,255,255,.18); }
.chip { background: rgba(255,255,255,.8); }
.hero .glass-dark, .contact-section .glass-dark {
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header, .hero-card, .search, .card, .area { transform: translateZ(0); }
.section, .owner, .footer { content-visibility: auto; contain-intrinsic-size: auto 700px; }
.card, .area img, .card-img img { will-change: auto; }
@media (max-width: 1020px) {
  .site-header { background: rgba(14,19,28,.88); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero .glass-dark, .contact-section .glass-dark { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(20,27,40,.72); }
}
