/* Navkar Real Estate production stylesheet.
   Structure: design tokens, base layout, reusable components, page sections,
   responsive rules, and accessibility/performance states. */

/* Theme tokens:
   Change these variables to customize colors across the whole website.
   Dark mode below reuses the same HTML and component styles. */
:root {
  --ink: #102022;
  --muted: #607173;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dfe7e4;
  --brand: #0c3b3e;
  --brand-2: #87511f;
  --brand-3: #e7efe9;
  --accent: #246b5f;
  --danger: #9f3d32;
  --shadow: 0 18px 50px rgba(16, 32, 34, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 32px));
  --header-bg: rgba(251, 250, 246, 0.9);
  --footer-bg: #101a1b;
  --hero-soft: linear-gradient(120deg, #eef3ee, #fff8ed);
  --input-bg: #ffffff;
}

html[data-theme="dark"] {
  --ink: #eef7f4;
  --muted: #a7bbb7;
  --paper: #0d1516;
  --surface: #142223;
  --line: #2b4142;
  --brand: #62b7a8;
  --brand-2: #d8a24a;
  --brand-3: #1d3334;
  --accent: #7bd0bd;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(13, 21, 22, 0.9);
  --footer-bg: #081011;
  --hero-soft: linear-gradient(120deg, #132425, #221e16);
  --input-bg: #101c1d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
.ui-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; display: block; }
.whatsapp-icon { fill: currentColor; stroke: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
  z-index: 1000;
}
.skip-link:focus { top: 16px; }

.zero-brokerage-bar {
  position: relative;
  z-index: 110;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: #d8a24a;
  color: #102022;
}
.zero-brokerage-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-block: 7px;
  text-align: center;
}
.zero-brokerage-inner strong {
  font-size: 0.84rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.zero-brokerage-inner span {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}
.zero-brokerage-inner p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}
.zero-brokerage-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(16, 32, 34, 0.3);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}
.zero-brokerage-call:hover { text-decoration: underline; }

/* Header and navigation component.
  To change the menu logo, replace assets/images/logo.png. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 231, 228, 0.8);
}
.nav-shell {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
}
.brand-logo {
  width: auto;
  height: 84px;
  max-width: 220px;
  object-fit: contain;
  border-radius: 6px;
}
.brand strong { display: block; letter-spacing: 0; }
.brand small { display: block; color: var(--muted); font-size: 0.78rem; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.primary-nav a,
.mega-trigger > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  font-weight: 750;
}

/* Footer brand logo sizing */
.footer-brand img { width: auto; height: 104px; max-width: 240px; object-fit: contain; display: inline-block; }
.primary-nav a:hover,
.mega-trigger > button:hover { color: var(--brand-2); }
.nav-cta {
  background: #87511f !important;
  color: #fff !important;
  border-radius: var(--radius);
  border: 1px solid #f2cf82 !important;
  box-shadow: 0 10px 24px rgba(180, 123, 53, 0.32);
  font-weight: 850;
}
.nav-cta:hover {
  background: #f0b84f !important;
  color: #101a1b !important;
  box-shadow: 0 14px 30px rgba(180, 123, 53, 0.42);
}
.mega-trigger { position: relative; }
.mega-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(520px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
}
.mega-trigger:hover .mega-menu,
.mega-trigger:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 14px;
  background: var(--brand-3);
  border-radius: 6px;
  white-space: normal;
}
.mega-menu span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}
.nav-toggle { display: none; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-3);
  color: var(--brand);
  font-weight: 900;
}
.jp-site-header .nav-shell {
  min-height: 82px;
}
.jp-nav-shell {
  align-items: center;
}
.jp-brand {
  display: inline-grid;
  gap: 2px;
}
.jp-brand strong {
  font-size: 1.45rem;
  line-height: 1;
  color: var(--brand);
}
.jp-brand span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}
.jp-anchor-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.jp-anchor-nav a:not(.btn) {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  color: var(--ink);
  font-weight: 800;
}
.jp-anchor-nav a:not(.btn):hover {
  color: var(--brand-2);
}

/* Buttons and small UI primitives. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(16, 32, 34, 0.14); }
.btn.primary { background: var(--brand-2); color: #fff; }
.btn.secondary { background: var(--brand); color: #fff; }
.btn.call { gap: 8px; background: #102f33; color: #fff; border-color: #102f33; }
.btn.call:hover { background: #17484d; }
.btn.outline { border-color: var(--line); background: var(--surface); color: var(--brand); }
.btn.ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn.ghost.dark { border-color: var(--brand); color: var(--brand); }
.btn.light { background: #fff; color: var(--brand); }
.btn.whatsapp {
  gap: 8px;
  background: #25d366;
  color: #072b16;
  border-color: #1fbd59;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.26);
}
.btn.whatsapp:hover {
  background: #1fbd59;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.34);
}
.btn.whatsapp .ui-icon {
  width: 20px;
  min-width: 20px;
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
}
.btn > .ui-icon { margin-right: 7px; }
.btn.whatsapp > .ui-icon { margin-right: 0; }
.btn.whatsapp.compact {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 0.92rem;
}
.eyebrow {
  display: inline-block;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.section { padding: 76px 0; }
.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-head h2,
.page-hero h1,
.hero h1,
.article h1 {
  margin: 8px 0 10px;
  line-height: 1.05;
  letter-spacing: 0;
}
.section-head h2 { font-size: clamp(2rem, 3vw, 3.15rem); }
.section-head p,
.page-hero p,
.hero p { color: var(--muted); font-size: 1.08rem; }

/* Hero section. */
.hero {
  min-height: 86vh;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 27, 29, 0.94), rgba(27, 24, 55, 0.82), rgba(8, 27, 29, 0.72)),
    var(--footer-bg);
  background-size: cover;
  background-position: center;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.85) contrast(1.08);
  mix-blend-mode: luminosity;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(180, 123, 53, 0.28), transparent 30%),
    radial-gradient(circle at 84% 24%, rgba(98, 183, 168, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(8, 27, 29, 0.74), rgba(8, 27, 29, 0.36), rgba(8, 27, 29, 0.12));
  z-index: -1;
}
.hero-content {
  color: #fff;
  max-width: 800px;
  padding: 88px 0 110px;
}
.hero .eyebrow { color: #f4cf83; }
.hero h1 {
  font-size: clamp(3rem, 7vw, 6.3rem);
  max-width: 900px;
}
.hero-zero-offer {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 5px solid #d8a24a;
  color: #fff4d7;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.hero-zero-offer strong {
  color: #f2b94b;
  font-weight: inherit;
}
.page-zero-offer {
  color: #9a621f;
  text-decoration: underline;
  text-decoration-color: #d8a24a;
  text-decoration-thickness: 4px;
  text-underline-offset: 7px;
}
.hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.trust-strip span {
  padding: 9px 12px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
}
.rera-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 12px;
  padding: 10px;
  border: 1px solid #b8d9c8;
  border-radius: var(--radius);
  background: #f2f8f4;
  color: #0c3b3e;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.35;
}
.rera-badge img {
  width: 86px;
  height: auto;
  flex: 0 0 86px;
  border-radius: 4px;
}
.detail-hero .rera-badge {
  max-width: 620px;
  margin-top: 18px;
}
.site-footer .rera-badge {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.86);
}
.site-footer .rera-badge img {
  background: #fff;
}
.page-hero {
  padding: 94px 0 74px;
  background: var(--hero-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero.compact { padding: 72px 0; }
.page-hero h1 { font-size: clamp(2.55rem, 5vw, 5rem); max-width: 920px; }
.page-hero p { max-width: 760px; }
.luxury-hero {
  background: linear-gradient(120deg, #101a1b, #2c2317);
  color: #fff;
}
.luxury-hero p { color: rgba(255,255,255,0.78); }

/* Breadcrumbs and listings. */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.breadcrumb a { color: var(--brand); }
.property-grid,
.category-grid,
.feature-grid,
.blog-grid,
.team-grid,
.cert-grid,
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.property-card,
.category-card,
.feature-card,
.blog-card,
.team-card,
.article-list article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 32, 34, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.property-card:hover,
.category-card:hover,
.feature-card:hover,
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.property-card.is-hot {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.15fr);
  align-items: stretch;
  border: 2px solid #d8a24a;
  box-shadow: 0 22px 60px rgba(180, 123, 53, 0.18);
}
.property-card.is-hot .property-image img {
  height: 100%;
  min-height: 430px;
  aspect-ratio: auto;
}
.property-card.is-hot .property-body {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 28px;
}
.property-card.is-hot .property-body h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
}
.hot-ribbon {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #b3292d;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(179, 41, 45, 0.28);
}
.property-image,
.category-card {
  position: relative;
}
.property-image img,
.category-card img,
.blog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.property-image span {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(12, 59, 62, 0.92);
  color: #fff;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
}
.property-body,
.blog-card div,
.category-card h3,
.category-card p { padding: 0 18px; }
.property-body { padding: 18px; }
.property-body h3,
.blog-card h3,
.category-card h3 { margin: 10px 0 8px; font-size: 1.25rem; line-height: 1.22; }
.property-body p,
.blog-card p,
.category-card p { color: var(--muted); }
.property-body dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 14px 0 0;
}
.property-body div { display: flex; justify-content: space-between; gap: 10px; }
.card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px !important;
  margin-top: 18px;
}
.card-actions .btn {
  min-height: 42px;
  padding: 10px 12px;
  font-size: 0.92rem;
}
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; text-align: right; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf6f1;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 750;
}
.tag-row .tag:last-child {
  background: #fff4d7;
  color: #7c4d10;
}
.tag.brokerage-tag {
  gap: 6px;
  border: 1px solid #e3b95e;
  background: #fff0bf;
  color: #633c06;
  font-weight: 900;
}
.category-card {
  min-height: 390px;
}
.category-card h3 { padding-top: 18px; }
.category-card p { padding-bottom: 20px; }
.category-card.luxury { background: #111b1c; color: #fff; }
.category-card.luxury p { color: rgba(255,255,255,0.72); }

.legal-consultation-section {
  padding: 76px 0;
  background: #123f3b;
  color: #fff;
}
.legal-consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.legal-consultation-media img,
.online-visit-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.legal-consultation-copy .eyebrow { color: #f2c56c; }
.legal-consultation-copy h2 {
  max-width: 620px;
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}
.legal-consultation-copy > p {
  max-width: 650px;
  color: rgba(255,255,255,0.78);
  font-size: 1.02rem;
}
.legal-support-list {
  display: grid;
  gap: 9px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}
.legal-support-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
}
.legal-support-list .ui-icon {
  width: 22px;
  color: #f2c56c;
  text-align: center;
}
.service-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.service-actions strong { font-size: 0.92rem; }

.online-visit-section {
  padding: 82px 0;
  background: #eef4f3;
  color: #102022;
}
.online-visit-heading { max-width: 760px; }
.online-visit-heading p { color: #516466; }
.online-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}
.online-visit-media {
  display: grid;
  justify-items: start;
  gap: 18px;
}
.online-visit-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: online-visit-step;
}
.online-visit-steps li {
  display: grid;
  grid-template-columns: 34px 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 80px;
  padding: 13px 16px;
  border: 1px solid #d5e1de;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 32, 34, 0.06);
}
.online-visit-steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #123f3b;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}
.online-visit-steps li > .ui-icon {
  color: #b47b35;
  font-size: 1.28rem;
  text-align: center;
}
.online-visit-steps h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  line-height: 1.25;
}
.online-visit-steps p {
  margin: 0;
  color: #607173;
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Filters, search and forms:
   Form behavior is in assets/js/app.js; connect that script to your CRM/API later. */
.filters {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 12px;
  margin-top: -28px;
  position: relative;
  z-index: 5;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 14px;
}
.filters input,
.filters select,
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 12px;
  background: var(--input-bg);
  color: var(--ink);
}
.lead-form {
  display: grid;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}
.form-note { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Content sections. */
.why-section,
.values {
  padding: 76px 0;
  background: var(--brand-3);
}
.feature-card { padding: 24px; }
.feature-card span { color: var(--brand-2); font-weight: 900; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stats div {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
.stats strong { display: block; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; }
.stats span { color: rgba(255,255,255,0.78); }
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.google-review-section {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 12px 34px rgba(60, 64, 67, 0.12);
}
.google-review-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.google-review-head h2 {
  margin-bottom: 8px;
}
.google-review-head p {
  margin: 0;
  color: #5f6368;
}
.google-rating-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 20px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(60, 64, 67, 0.12);
}
.google-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
}
.google-letter.blue { color: #4285f4; }
.google-letter.red { color: #ea4335; }
.google-letter.yellow { color: #fbbc04; }
.google-letter.green { color: #34a853; }
.google-rating-card strong {
  color: #202124;
  font-size: 3rem;
  line-height: 1;
}
.review-stars {
  color: #fbbc04;
  letter-spacing: 0.5px;
  font-weight: 900;
}
.google-rating-card small {
  color: #5f6368;
  font-weight: 800;
}
.google-review-grid {
  margin-top: 6px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #dadce0 transparent;
}
.google-review-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 clamp(300px, 31vw, 370px);
  min-width: 280px;
  scroll-snap-align: start;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-color: #dadce0;
  color: #202124;
}
.google-review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc04 50% 75%, #34a853 75% 100%);
}
.google-review-card.is-active {
  border-color: #aecbfa;
  box-shadow: 0 12px 28px rgba(60, 64, 67, 0.16);
  transform: translateY(-3px);
}
.review-card-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1a73e8;
  color: #fff;
  font-weight: 900;
  font-size: 0.86rem;
}
.review-card-top cite {
  display: block;
  color: #202124;
  font-weight: 800;
  line-height: 1.25;
}
.review-card-top small {
  display: block;
  color: #5f6368;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}
.review-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5f6368;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.google-review-card p {
  color: #3c4043;
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 0;
}
.review-disclaimer {
  margin: 6px 0 0;
  color: #5f6368;
  font-size: 0.86rem;
}
.google-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.google-review-actions .btn.primary {
  background: #1a73e8;
  color: #fff;
}
.google-review-actions .btn.outline {
  border-color: #dadce0;
  color: #1a73e8;
  background: #fff;
}
.google-review-actions .btn.primary:hover,
.google-review-actions .btn.outline:hover {
  box-shadow: 0 8px 18px rgba(26, 115, 232, 0.16);
}
blockquote {
  margin: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
blockquote p { font-size: 1.1rem; }
cite { color: var(--brand-2); font-style: normal; font-weight: 800; }
.split,
.contact-grid,
.detail-grid,
.blog-layout,
.article-layout,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: start;
}
.info-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16, 32, 34, 0.07);
}
.team-card { padding: 22px; }
.avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.timeline .section-head { grid-column: 1 / -1; }
.timeline article,
.cert-grid div,
.floor-grid div,
.video-box {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}
.cert-grid { grid-template-columns: repeat(5, 1fr); }
.certificate-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 260px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(16, 32, 34, 0.06);
}
.certificate-card > span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
}
.certificate-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}
.certificate-card p {
  margin: 0;
  color: var(--muted);
}
.certificate-card strong {
  color: var(--brand-2);
}
.certificate-card .btn {
  align-self: end;
  width: fit-content;
  margin-top: auto;
}

/* Detail, blog, FAQ and legal pages. */
.detail-hero {
  padding: 48px 0;
  background: var(--brand-3);
}
.jp-hero {
  padding: 54px 0 64px;
  background: linear-gradient(120deg, #112f31 0%, #184e4a 48%, #f6efe2 48%, #f6efe2 100%);
  color: #fff;
}
.jp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 34px;
  align-items: center;
}
.jp-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 0.95;
}
.jp-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}
.jp-hero .tag {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.jp-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.jp-quick-facts span {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}
.jp-quick-facts strong {
  color: #fff;
  font-size: 1rem;
}
.jp-hero-media {
  margin: 0;
  color: var(--ink);
}
.jp-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(16, 32, 34, 0.24);
}
.jp-hero-media figcaption {
  margin-top: 10px;
  color: #314243;
  font-weight: 750;
}
.detail-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.detail-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.detail-main h2,
.article-body h2 { margin-top: 34px; }
.project-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0 8px;
}
.project-facts div,
.detail-card-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.project-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 6px;
}
.project-facts strong {
  display: block;
  line-height: 1.25;
}
.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.detail-card-grid h3 {
  margin-top: 0;
}
.detail-card-grid p {
  color: var(--muted);
  margin-bottom: 0;
}
.jp-floor-stack {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: 16px;
}
.jp-floor-stack article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(16, 32, 34, 0.06);
}
.jp-floor-stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  min-height: 42px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}
.jp-floor-stack h3 {
  margin: 0 0 8px;
}
.jp-floor-stack p {
  margin: 0;
  color: var(--muted);
}
.jp-main-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(216, 162, 74, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--surface), #fff7e8);
  box-shadow: 0 18px 46px rgba(16, 32, 34, 0.08);
}
.jp-main-bridge h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.05;
}
.jp-main-bridge p {
  max-width: 680px;
  color: var(--muted);
}
.jp-main-bridge img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.jp-subdomain-links {
  padding-top: 18px;
}
.jp-footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}
.jp-footer .footer-brand {
  margin: 8px 0 10px;
}
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0;
  list-style: none;
}
.check-list li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
.floor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.media-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 30px;
}
.media-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.media-gallery img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
}
.property-video {
  width: 100%;
  max-height: 680px;
  margin: 10px 0 18px;
  border-radius: var(--radius);
  background: #050909;
  box-shadow: var(--shadow);
}
.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.map {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  margin-top: 18px;
}
.sticky-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}
.blog-card span,
.article-head .eyebrow { color: var(--brand-2); font-weight: 800; }
.blog-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.sidebar {
  display: grid;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: var(--radius);
}
.sidebar h2 { margin: 14px 0 0; font-size: 1rem; }
.article {
  padding: 58px 0;
}
.article-head img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 24px;
}
.article-layout { grid-template-columns: 260px minmax(0, 1fr); margin-top: 28px; }
.toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.toc h2 { font-size: 1rem; margin: 0; }
.article-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.author-box,
.share-box,
.comments {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 10px;
}
.share-box { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.accordion {
  display: grid;
  gap: 10px;
}
.accordion details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.accordion summary {
  cursor: pointer;
  font-weight: 800;
}
.article-list {
  display: grid;
  gap: 16px;
}
.article-list article { padding: 22px; }
.sitemap-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.sitemap-list a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

/* CTA, footer, cookie, floating actions. */
.cta-band {
  background: var(--brand);
  color: #fff;
  padding: 52px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-inner p { color: rgba(255,255,255,0.78); max-width: 680px; }
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 58px 0 22px;
  background:
    linear-gradient(180deg, rgba(8, 16, 17, 0.82), rgba(6, 10, 11, 0.96)),
    var(--footer-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(180, 123, 53, 0.09), transparent 24%, transparent 76%, rgba(180, 123, 53, 0.08)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.026) 0 1px, transparent 1px 120px);
}
.site-footer > .container {
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 28px;
}
.site-footer p,
.footer-bottom { color: rgba(255,255,255,0.7); }
.site-footer section {
  display: grid;
  align-content: start;
  gap: 8px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 850;
}
.footer-brand img {
  width: auto;
  height: 104px;
  max-width: 240px;
  object-fit: contain;
  border-radius: 8px;
}
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  overflow: hidden;
}
.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
}
.social-links span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.social-facebook { background: #1877f2 !important; }
.social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important; }
.social-linkedin { background: #0a66c2 !important; }
.social-youtube { background: #ff0000 !important; }
.social-instagram svg {
  fill: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 34px;
  padding-top: 18px;
  font-size: 0.92rem;
}
.scroll-top,
.whatsapp-float {
  position: fixed;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 90;
  box-shadow: var(--shadow);
}
.scroll-top {
  bottom: 84px;
  background: var(--brand);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.whatsapp-float {
  bottom: 22px;
  background: #25d366;
  font-weight: 900;
  color: #072b16;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #1fbd59;
  color: #fff;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.34);
}
.whatsapp-float .ui-icon {
  font-size: 1.75rem;
  line-height: 1;
}
.cookie-consent {
  position: fixed;
  left: 18px;
  bottom: 18px;
  max-width: 390px;
  display: none;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  z-index: 120;
}
.cookie-consent.is-visible { display: flex; }
.cookie-consent p { margin: 0; font-size: 0.9rem; }
.cookie-consent button {
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  padding: 9px 12px;
}

.popup-lead {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8, 27, 29, 0.62);
  z-index: 150;
}
.popup-lead.is-visible { display: flex; }
.popup-lead-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.popup-lead-panel h2 {
  margin: 8px 0 10px;
  font-size: 1.8rem;
  line-height: 1.12;
}
.popup-lead-panel p { color: var(--muted); }
.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.popup-lead-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.popup-lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 750;
}
.popup-lead-form input,
.popup-lead-form select,
.popup-lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--ink);
  padding: 10px 12px;
}
.popup-lead-form textarea {
  resize: vertical;
}
.popup-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.contact-action-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Reveal and loading animations. */
.reveal,
.property-card,
.feature-card,
.blog-card,
.category-card { animation: rise 0.55s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 82px;
  }
  .brand-logo {
    height: 66px;
    max-width: 172px;
  }
  .nav-toggle {
    display: inline-grid;
    gap: 4px;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    padding: 10px;
    cursor: pointer;
  }
  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
  }
  .primary-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 16px;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: grid; }
  .jp-site-header .nav-shell {
    min-height: 96px;
    align-items: flex-start;
    padding: 14px 0;
  }
  .jp-anchor-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
  }
  .jp-anchor-nav a:not(.btn),
  .jp-anchor-nav .btn {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  .primary-nav a,
  .mega-trigger > button,
  .nav-cta,
  .theme-toggle {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
  }
  .mega-menu {
    position: static;
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
    padding: 0;
    border: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }
  .filters,
  .property-grid,
  .category-grid,
  .feature-grid,
  .blog-grid,
  .team-grid,
  .certificate-grid,
  .footer-grid,
  .jp-footer-grid,
  .split,
  .contact-grid,
  .detail-grid,
  .blog-layout,
  .article-layout,
  .detail-layout,
  .jp-hero-grid,
  .jp-floor-stack,
  .jp-main-bridge,
  .google-review-head,
  .testimonial-slider {
    grid-template-columns: 1fr;
  }
  .google-review-section {
    padding: 22px;
  }
  .google-review-card {
    flex-basis: 88%;
  }
  .legal-consultation-grid,
  .online-visit-grid {
    grid-template-columns: 1fr;
  }
  .jp-hero {
    background: #123638;
  }
  .jp-quick-facts {
    grid-template-columns: 1fr;
  }
  .property-card.is-hot {
    grid-template-columns: 1fr;
  }
  .property-card.is-hot .property-image img {
    min-height: 280px;
  }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cert-grid,
  .certificate-grid,
  .project-facts,
  .media-gallery,
  .detail-card-grid,
  .sitemap-list { grid-template-columns: repeat(2, 1fr); }
  .toc,
  .sticky-aside { position: static; }
}

@media (max-width: 640px) {
  :root { --container: min(100vw - 24px, 1180px); }
  .zero-brokerage-inner { gap: 7px; padding-block: 7px; }
  .zero-brokerage-inner strong { font-size: 0.72rem; white-space: nowrap; }
  .zero-brokerage-inner p { font-size: 0.7rem; text-align: left; }
  .zero-brokerage-call { margin-left: 0; padding-left: 8px; font-size: 0.7rem; }
  .zero-brokerage-call .ui-icon { display: none; }
  .hero { min-height: 78vh; }
  .legal-consultation-section,
  .online-visit-section { padding: 54px 0; }
  .legal-consultation-grid,
  .online-visit-grid { gap: 28px; }
  .legal-consultation-copy h2 { font-size: 2.25rem; }
  .online-visit-steps li {
    grid-template-columns: 30px 34px minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
    padding: 12px 10px;
  }
  .online-visit-steps li > .ui-icon { width: 1.05rem; height: 1.05rem; }
  .online-visit-steps h3 { font-size: 0.94rem; }
  .online-visit-steps p { font-size: 0.8rem; }
  .hero-content { padding: 70px 0 86px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-zero-offer { border-bottom-width: 3px; }
  .section { padding: 54px 0; }
  .stats,
  .floor-grid,
  .check-list,
  .project-facts,
  .detail-card-grid,
  .media-gallery,
  .cert-grid,
  .sitemap-list { grid-template-columns: 1fr; }
  .media-gallery img:first-child {
    grid-column: auto;
    grid-row: auto;
  }
  .jp-hero h1 { font-size: 2.7rem; }
  .card-actions { grid-template-columns: 1fr; }
  .cta-inner,
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-consent {
    right: 12px;
    left: 12px;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .popup-lead-panel { padding: 22px; }
  .popup-actions { grid-template-columns: 1fr; }
}

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