/* ==========================================================================
   ADHIRA PROPERTIES — Global Design System
   Luxury Dubai Real Estate
   ========================================================================== */

@import url("chatbot.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

:root {
  --black: #0a0a0a;
  --gold: #B76E5A;
  --gold-soft: #D4957F;
  --gold-deep: #964E3E;
  --offwhite: #FDEDE1;
  --charcoal: #2b2b2b;
  --charcoal-soft: #5a5a55;
  --line: rgba(10, 10, 10, 0.10);
  --line-light: rgba(253, 237, 225, 0.16);
  --footer-bg: #0A1B2B;

  --font-serif: "Poppins", system-ui, sans-serif;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-sans: "Roboto", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1180px;
  --section-pad: clamp(48px, 5.5vw, 72px);
  --nav-h: 68px;

  --glass-green: rgba(183, 110, 90, 0.14);
  --glass-green-strong: rgba(183, 110, 90, 0.22);
  --glass-green-border: rgba(183, 110, 90, 0.5);
  --glass-green-glow: rgba(183, 110, 90, 0.2);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--offwhite);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--gold); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--section-pad) 0; }
.section-compact { padding: clamp(36px, 4vw, 56px) 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.display {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.12;
}
.headline { font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.18; }

.lead {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--charcoal-soft);
  font-weight: 300;
  max-width: 62ch;
}

.text-gold { color: var(--gold-deep); }
.italic-serif { font-family: var(--font-display); font-style: italic; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  z-index: 0;
}
.btn span { position: relative; z-index: 2; }
.btn .btn-arrow { transition: transform .45s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--black);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn-gold:hover { color: #fff; }
.btn-gold:hover::after { transform: translateY(0); }

.btn-dark { background: var(--black); color: #fff; }
.btn-dark::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn-dark:hover { color: #0a0a0a; }
.btn-dark:hover::after { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border-color: rgba(10,10,10,0.25);
  color: var(--black);
}
.btn-outline.on-dark { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-outline::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.btn-outline:hover { color: #0a0a0a; border-color: var(--gold); }
.btn-outline:hover::after { transform: scaleX(1); }

.link-underline {
  position: relative;
  font-family: var(--font-sans);
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding-bottom: 4px;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

.magnetic { display: inline-flex; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: var(--offwhite);
  border-bottom: 1px solid var(--line);
  transition: padding .45s var(--ease), box-shadow .45s var(--ease);
}
.nav.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(10,10,10,0.06);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; justify-self: start; }
.nav-logo img { height: 88px; width: auto; border-radius: 50%; transition: height .45s var(--ease); }
.nav.scrolled .nav-logo img { height: 72px; }
.nav-logo-text { display: none; }

.nav-links { display: flex; align-items: center; gap: 28px; justify-self: center; }
.nav-link {
  font-family: var(--font-sans);
  font-size: 13px; letter-spacing: 0.03em; font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: var(--black); }

.nav-cta { display: flex; align-items: center; gap: 16px; justify-self: end; }
.nav-cta .btn { padding: 9px 18px; font-size: 11px; }

.nav-burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-burger span {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 1.5px; background: var(--black);
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-burger span:nth-child(1) { transform: translate(-50%, -6px); }
.nav-burger span:nth-child(3) { transform: translate(-50%, 6px); }
body.menu-open .nav-burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile menu overlay — off-screen until body.menu-open */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 24px;
  overflow-y: auto;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
  visibility: hidden;
}
body.menu-open .mobile-menu {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.mobile-menu__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--offwhite);
  color: var(--gold);
}
.mobile-menu__icon svg { display: block; }
.mobile-menu__link:hover {
  color: var(--gold);
  padding-left: 4px;
}
.mobile-menu__link:hover .mobile-menu__icon {
  background: rgba(183, 110, 90, 0.18);
}
.mobile-menu__link.is-active {
  color: var(--gold-deep);
  font-weight: 600;
}
.mobile-menu__link.is-active .mobile-menu__icon {
  background: var(--gold);
  color: #fff;
}
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--charcoal-soft);
  font-size: 13px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(420px, 62svh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--black);
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--black); }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  will-change: transform;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.62) 0%, rgba(10,10,10,0.32) 38%, rgba(10,10,10,0.82) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 24px); padding-bottom: clamp(28px, 4vh, 48px); width: 100%; }
.hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 500;
  white-space: nowrap;
}
.hero .reveal-line { overflow: hidden; display: block; }
.hero .reveal-line > span { display: block; }
.hero-logo {
  width: clamp(96px, 12vw, 132px); height: auto; display: block;
  margin-bottom: 22px; border-radius: 50%;
  box-shadow: 0 14px 44px rgba(0,0,0,0.4);
}
.hero-eyebrow { color: var(--gold-soft); }
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  max-width: 42ch;
  margin-top: 12px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-actions .btn { padding: 10px 20px; }

/* ---- Hero property search ---- */
.hero-search { margin-top: 24px; max-width: 560px; }
.hero-search-toggle {
  display: inline-flex; gap: 4px; padding: 5px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hs-tab {
  appearance: none; border: none; cursor: pointer;
  background: transparent; color: rgba(255,255,255,0.85);
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.02em; padding: 8px 18px; border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.hs-tab:hover { color: #fff; }
.hs-tab.is-active { background: var(--gold); color: #fff; }
.hero-search-bar {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 5px 5px 5px 16px;
  background: #fff; border-radius: 999px;
  box-shadow: 0 10px 32px rgba(10,10,10,0.25);
}
.hs-icon { display: inline-flex; color: var(--gold-deep); flex-shrink: 0; }
.hs-input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-family: var(--font-display); font-size: 0.9rem; color: var(--black);
  padding: 10px 6px;
}
.hs-input::placeholder { color: #8a8a8a; }
.hs-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex-shrink: 0; cursor: pointer; border: none;
  background: var(--gold); color: #fff;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  padding: 10px 22px; border-radius: 999px;
  transition: background .3s var(--ease);
}
.hs-submit:hover { background: var(--gold-deep); color: #fff; }
.hs-submit-icon { display: none; }

.hero-scroll {
  position: absolute; right: 28px; bottom: 40px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  writing-mode: vertical-rl;
}
.hero-scroll .line {
  width: 1px; height: 60px;
  background: linear-gradient(var(--gold), transparent);
  writing-mode: horizontal-tb;
}

.hero-stats {
  position: absolute; z-index: 2; bottom: 0; left: 0; right: 0;
}

/* ==========================================================================
   Section header
   ========================================================================== */
.sec-head { max-width: 620px; margin-bottom: 36px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { margin: 22px 0 18px; }

.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 36px; }
.split-head .sec-head { margin-bottom: 0; }

/* ==========================================================================
   Property / Project Cards
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.prop-card {
  position: relative;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  cursor: pointer;
}
.prop-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}
.prop-card .prop-fav { z-index: 4; }
.prop-card:is(:hover, :active, :focus-within) {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px var(--glass-green-glow);
  border-color: var(--glass-green-border);
}
.prop-card:is(:hover, :active, :focus-within) .prop-media img { transform: scale(1.04); }
.prop-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(10,10,10,0.72); color: #fff;
  backdrop-filter: blur(6px);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  padding: 5px 10px; border-radius: 100px;
}
.prop-fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.85); display: grid; place-items: center;
  color: var(--charcoal); transition: background .3s, color .3s;
}
.prop-fav:hover { background: var(--gold); color: #fff; }
.prop-body { padding: 16px 18px 18px; }
.prop-loc { font-size: 11px; letter-spacing: 0.06em; color: var(--gold-deep); text-transform: uppercase; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.prop-name { font-family: var(--font-serif); font-size: 1.05rem; margin: 8px 0 2px; color: var(--black); line-height: 1.25; }
.prop-price { font-family: var(--font-display); font-size: 1.1rem; color: var(--black); font-weight: 600; }
.prop-price span { font-size: 0.75rem; color: var(--charcoal-soft); font-family: var(--font-sans); font-weight: 400; }
.prop-meta {
  display: flex; gap: 16px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--charcoal-soft);
}
.prop-meta div { display: flex; align-items: center; gap: 8px; }
.prop-meta b { color: var(--black); font-weight: 600; }

/* Card hover / touch effect — no image blur (no backdrop-filter on photos) */
.prop-card,
.service-card,
.value-card,
.blog-card,
.agent-card,
.listing-card,
.loc-card,
.md-card,
.home-feature-card,
.home-insight-card,
.home-hood-card,
.home-building-card {
  -webkit-tap-highlight-color: transparent;
}

.prop-card,
.service-card,
.value-card,
.blog-card,
.agent-card,
.listing-card,
.loc-card,
.md-card {
  isolation: isolate;
}

.service-card::after,
.value-card::after,
.md-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(183, 110, 90, 0.08) 100%
  );
  border: 1px solid transparent;
}

.service-card:is(:hover, :active, :focus-within)::after,
.value-card:is(:hover, :active, :focus-within)::after,
.md-card:is(:hover, :active, :focus-within)::after {
  opacity: 1;
  border-color: var(--glass-green-border);
}

.prop-media,
.blog-media,
.agent-photo,
.listing-card__media { position: relative; overflow: hidden; }

.prop-media { position: relative; overflow: hidden; aspect-ratio: 16/11; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }

/* ==========================================================================
   Service Cards
   ========================================================================== */
.service-card {
  position: relative; padding: 28px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column; min-height: 240px;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.service-card:is(:hover, :active, :focus-within) {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px var(--glass-green-glow);
  border-color: var(--glass-green-border);
}
.service-card:is(:hover, :active, :focus-within)::before { transform: scaleY(1); transform-origin: top; }
.service-num { font-family: var(--font-display); font-size: 0.85rem; color: var(--gold-deep); letter-spacing: 0.18em; }
.service-icon { width: 40px; height: 40px; color: var(--gold-deep); margin: 12px 0 16px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--charcoal-soft); font-size: 14px; line-height: 1.6; }
.service-card .link-underline { margin-top: auto; padding-top: 16px; color: var(--black); }

/* ==========================================================================
   Location Cards
   ========================================================================== */
.loc-card {
  position: relative; border-radius: 4px; overflow: hidden;
  aspect-ratio: 4/3.2; display: flex; align-items: flex-end; color: #fff;
  cursor: pointer;
}
.loc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.loc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,0) 30%, rgba(10,10,10,0.85) 100%);
  transition: opacity 0.3s var(--ease);
}
.loc-card:is(:hover, :active, :focus-within) img { transform: scale(1.05); }
.loc-card:is(:hover, :active, :focus-within)::before {
  background: linear-gradient(180deg, rgba(183,110,90,0.08) 0%, rgba(10,10,10,0.72) 100%);
}
.loc-body { position: relative; z-index: 3; padding: 16px 18px; width: 100%; }
.loc-body .count { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.loc-body h3 { color: #fff; font-size: 1.1rem; margin-top: 4px; transition: transform .45s var(--ease); }
.loc-card:is(:hover, :active, :focus-within) .loc-body h3 { transform: translateX(4px); }
.loc-wide { aspect-ratio: auto; }

/* ==========================================================================
   CTA / Dark sections
   ========================================================================== */
.dark { background: var(--black); color: #f8f7f3; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead { color: rgba(248,247,243,0.7); }
.dark .eyebrow { color: var(--gold-soft); }

.cta-band { position: relative; overflow: hidden; }
.cta-band.section { padding: clamp(48px, 5vw, 64px) 0; }
.cta-band .bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.92), rgba(10,10,10,0.6)); }
.cta-band .container { position: relative; z-index: 2; }

/* ==========================================================================
   About / Image blocks
   ========================================================================== */
.media-frame { position: relative; overflow: hidden; border-radius: 4px; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.media-tall { aspect-ratio: 4/5; max-height: 420px; }
.media-wide { aspect-ratio: 16/10; max-height: 380px; }

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.stat-row { display: flex; gap: 32px; flex-wrap: wrap; }
.stat .num { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--black); line-height: 1; }
.dark .stat .num { color: var(--gold); }
.stat .label { font-size: 12px; color: var(--charcoal-soft); letter-spacing: 0.03em; margin-top: 6px; }
.dark .stat .label { color: rgba(248,247,243,0.65); }

/* ==========================================================================
   Forms
   ========================================================================== */
.field { margin-bottom: 22px; }
.field label {
  display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--charcoal-soft); margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; font-family: var(--font-sans); font-size: 15px;
  border: 1px solid var(--line); background: #fff; border-radius: 3px; color: var(--charcoal);
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183,110,90,0.13);
}
.dark .field label { color: rgba(248,247,243,0.65); }
.dark .field input, .dark .field select, .dark .field textarea {
  background: rgba(255,255,255,0.04); border-color: var(--line-light); color: #fff;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }

/* ---- Contact page ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info__title {
  margin: 20px 0 22px;
}

.contact-info__details {
  margin-top: 40px;
}

.contact-info__list {
  color: var(--charcoal);
}

.contact-info__list div {
  margin-bottom: 22px;
}

.contact-info__list a {
  color: inherit;
  text-decoration: none;
}

.contact-info__list a:hover {
  color: var(--gold-deep);
}

.contact-form-card {
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(10, 10, 10, 0.06);
}

.contact-form-card__title {
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.contact-form-card__sub {
  color: var(--charcoal-soft);
  font-size: 14px;
  margin: 0 0 22px;
}

.contact-form .field {
  margin-bottom: 16px;
}

.contact-form .field label {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-bottom: 6px;
}

.contact-form .field input,
.contact-form .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 6px;
}

.contact-form .field textarea {
  min-height: 96px;
  resize: vertical;
}

.contact-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.contact-form__note {
  display: none;
  color: var(--gold-deep);
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
}

.contact-form__note.is-visible {
  display: block;
}

/* ==========================================================================
   Filter bar
   ========================================================================== */
.filter-bar {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 16px 18px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px;
  align-items: end; box-shadow: 0 12px 32px rgba(10,10,10,0.05);
}
.filter-bar .field { margin-bottom: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--footer-bg); color: rgba(253,237,225,0.7); padding-top: 56px; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--line-light); }
.footer-brand .brand { font-family: var(--font-serif); font-size: 22px; color: #fff; letter-spacing: 0.03em; }
.footer-brand .sub { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.footer-brand p { margin-top: 14px; max-width: 34ch; font-size: 13px; line-height: 1.65; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(248,247,243,0.62); transition: color .3s, padding-left .3s; }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact div { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13.5px; align-items: flex-start; }
.footer-contact svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 20px 0 0; gap: 12px; font-size: 12px; }
.footer-credit { width: 100%; flex-basis: 100%; order: 10; text-align: center; padding: 16px 0 20px; margin-top: 4px; border-top: 1px solid var(--line-light); font-size: 12px; color: rgba(248,247,243,0.55); line-height: 1.6; }
.footer-credit a { color: var(--gold-soft); font-weight: 600; transition: color .3s; }
.footer-credit a:hover { color: var(--gold); }
.footer-credit-flags { display: inline-flex; align-items: center; gap: 4px; margin: 0 2px; vertical-align: middle; }
.footer-credit-flag { font-size: 14px; line-height: 1; }
.footer-brand-logo { height: 48px; width: auto; border-radius: 50%; margin-bottom: 10px; display: block; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .3s, border-color .3s, color .3s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-social .fa-brands { font-size: 15px; line-height: 1; }
.newsletter { display: flex; border: 1px solid var(--line-light); border-radius: 100px; overflow: hidden; margin-top: 20px; }
.newsletter input { flex: 1; background: transparent; border: none; padding: 14px 20px; color: #fff; font-size: 14px; }
.newsletter input:focus { outline: none; }
.newsletter button { background: var(--gold); border: none; color: #fff; padding: 0 22px; font-weight: 600; cursor: pointer; font-size: 18px; }

/* ==========================================================================
   Register Interest modal (site-wide)
   ========================================================================== */
.interest-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.interest-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.interest-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 27, 43, 0.55);
}

.interest-modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.interest-modal.is-open .interest-modal__dialog {
  transform: translateY(0);
}

.interest-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--offwhite);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--charcoal);
  cursor: pointer;
}

.interest-modal__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--black);
}

.interest-modal__sub {
  font-size: 13px;
  color: var(--charcoal-soft);
  margin: 0 0 20px;
}

.interest-modal__field {
  margin-bottom: 12px;
}

.interest-modal__field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.interest-modal__field input,
.interest-modal__field textarea,
.interest-modal__field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--charcoal);
  background: #fff;
}

.interest-modal__field input[readonly] {
  background: var(--offwhite);
  color: var(--charcoal-soft);
}

.interest-modal__field textarea {
  resize: vertical;
  min-height: 80px;
}

.interest-modal__phone {
  display: flex;
  gap: 8px;
}

.interest-modal__phone select {
  width: 110px;
  flex-shrink: 0;
  padding-right: 8px;
}

.interest-modal__phone input {
  flex: 1;
  min-width: 0;
}

.interest-modal__submit {
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.interest-modal__submit:hover {
  background: var(--gold-deep);
}

.interest-modal__note {
  display: none;
  margin: 12px 0 0;
  font-size: 13px;
  text-align: center;
  color: var(--gold);
  font-weight: 500;
}

.interest-modal__note.is-visible {
  display: block;
}

.wa-confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.wa-confirm-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--charcoal);
}

.wa-confirm-actions [data-wa-confirm-ok] {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

.wa-confirm-actions [data-wa-confirm-ok]:hover {
  background: #1da851;
  border-color: #1da851;
}

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; color: #fff;
  box-shadow: 0 14px 40px rgba(37,211,102,0.4);
  transition: transform .4s var(--ease);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-2px); }
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}
.whatsapp-float .fa-whatsapp {
  font-size: 30px;
  line-height: 1;
  display: block;
}

/* ==========================================================================
   Page hero (inner)
   ========================================================================== */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + 48px) 0 clamp(40px, 5vh, 64px);
  color: #fff; overflow: hidden;
  min-height: 360px;
}
.page-hero .bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1.02);
}
.page-hero .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.28) 0%, rgba(8, 12, 20, 0.42) 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.page-hero-slider-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.page-hero-slide {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.page-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1.02);
}
.breadcrumb { display: flex; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 22px; letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold-soft); }

/* ==========================================================================
   Misc components
   ========================================================================== */
.pill-tabs { display: inline-flex; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 100px; flex-wrap: wrap; }
.pill-tab { padding: 11px 24px; border-radius: 100px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; transition: background .4s var(--ease), color .4s; color: var(--charcoal-soft); border: none; background: transparent; }
.pill-tab.active { background: var(--gold); color: #fff; }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; color: var(--charcoal); background: #fff; }
.chip svg { color: var(--gold-deep); }

.amenity { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.amenity svg { color: var(--gold-deep); flex-shrink: 0; }

.value-card { padding: 36px 32px; border: 1px solid var(--line); border-radius: 4px; background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.value-card:is(:hover, :active, :focus-within) {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px var(--glass-green-glow);
  border-color: var(--glass-green-border);
}
.value-card .ic { width: 46px; height: 46px; color: var(--gold-deep); margin-bottom: 20px; }
.value-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.value-card p { font-size: 14.5px; color: var(--charcoal-soft); }

.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.blog-card:is(:hover, :active, :focus-within) {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px var(--glass-green-glow);
  border-color: var(--glass-green-border);
}
.blog-media { aspect-ratio: 16/10; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.blog-card:is(:hover, :active, :focus-within) .blog-media img { transform: scale(1.06); }
.blog-body { padding: 28px 28px 30px; }
.blog-cat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.blog-card h3 { font-size: 1.35rem; margin: 14px 0 12px; line-height: 1.25; }
.blog-meta { font-size: 13px; color: var(--charcoal-soft); margin-top: 18px; display: flex; gap: 16px; }

.gallery-main { border-radius: 4px; overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gallery-thumb { border-radius: 4px; overflow: hidden; cursor: pointer; opacity: 0.55; transition: opacity .3s; }
.gallery-thumb.swiper-slide-thumb-active { opacity: 1; }
.gallery-thumb img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }

.map-embed { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); filter: grayscale(0.3) contrast(1.05); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; font-family: var(--font-serif); font-size: 1.3rem; color: var(--black); }
.accordion-head .ico { transition: transform .4s var(--ease); color: var(--gold-deep); flex-shrink: 0; }
.accordion-item.open .accordion-head .ico { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.accordion-body p { padding-bottom: 26px; color: var(--charcoal-soft); max-width: 70ch; }

.marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee-track { display: inline-flex; gap: 60px; align-items: center; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.5vw, 2.6rem); color: var(--black); opacity: 0.85; display: inline-flex; align-items: center; gap: 60px; }
.marquee .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

.legal-content h2 { font-size: 1.7rem; margin: 44px 0 16px; }
.legal-content h3 { font-size: 1.25rem; margin: 30px 0 12px; }
.legal-content p, .legal-content li { color: var(--charcoal-soft); margin-bottom: 14px; }
.legal-content ul { padding-left: 22px; }
.legal-contact-list { list-style: none; padding-left: 0; }
.legal-contact-list li { margin-bottom: 8px; }
.legal-inline-btn {
  display: inline; padding: 0; border: 0; background: none;
  color: var(--gold-deep); font: inherit; text-decoration: underline;
  cursor: pointer; transition: color .25s;
}
.legal-inline-btn:hover { color: var(--gold); }

.page-hero--compact { padding-bottom: 72px; }
.page-hero--compact h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* Cookie consent banner & preferences */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10050;
  background: rgba(10, 27, 43, 0.96); color: rgba(253, 237, 225, 0.92);
  border: 1px solid rgba(201, 164, 92, 0.35); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  transform: translateY(0); opacity: 1;
  transition: transform .4s ease, opacity .4s ease;
}
.cookie-banner.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie-banner__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 24px; flex-wrap: wrap;
}
.cookie-banner__copy { flex: 1 1 320px; max-width: 720px; }
.cookie-banner__copy p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: rgba(253, 237, 225, 0.82); }
.cookie-banner__copy p:last-child { margin-bottom: 0; }
.cookie-banner__copy strong { color: #fff; font-family: var(--font-serif); font-size: 1.05rem; }
.cookie-banner__copy a { color: var(--gold-soft); text-decoration: underline; }
.cookie-banner__copy a:hover { color: var(--gold); }
.cookie-banner__actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.cookie-btn { min-height: 42px; padding: 10px 18px; font-size: 12px; letter-spacing: 0.08em; }
.cookie-banner__actions .btn-outline.on-dark { border-color: rgba(255,255,255,0.35); color: #fff; }
.cookie-banner__actions .btn-outline.on-dark:hover { color: #0a0a0a; }
.cookie-modal {
  position: fixed; inset: 0; z-index: 10060; background: rgba(10, 10, 10, 0.62);
  display: grid; place-items: center; padding: 20px;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal__panel {
  width: min(560px, 100%); max-height: min(88vh, 720px); overflow: auto;
  background: var(--off-white); border-radius: 18px; padding: 28px 28px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28); position: relative;
}
.cookie-modal__panel h2 {
  font-size: clamp(1.6rem, 3vw, 2rem); margin: 0 0 10px; line-height: 1.15;
}
.cookie-modal__lead { color: var(--charcoal-soft); font-size: 14px; line-height: 1.65; margin-bottom: 22px; }
.cookie-modal__close {
  position: absolute; top: 14px; right: 16px; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: rgba(10, 10, 10, 0.06);
  color: var(--charcoal); font-size: 24px; line-height: 1; cursor: pointer;
}
.cookie-modal__close:hover { background: rgba(201, 164, 92, 0.18); }
.cookie-pref-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.cookie-pref-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.cookie-pref-copy strong { display: block; font-size: 14px; margin-bottom: 6px; }
.cookie-pref-copy p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--charcoal-soft); }
.cookie-pref-tag {
  display: inline-block; margin-top: 8px; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-deep); font-weight: 600;
}
.cookie-toggle { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.cookie-toggle input {
  position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden;
}
.cookie-toggle-ui {
  width: 46px; height: 26px; border-radius: 999px; background: #d8d5cf;
  position: relative; transition: background .25s;
}
.cookie-toggle-ui::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: transform .25s;
}
.cookie-toggle input:checked + .cookie-toggle-ui { background: var(--gold); }
.cookie-toggle input:checked + .cookie-toggle-ui::after { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-ui { opacity: 0.72; cursor: not-allowed; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.cookie-modal-open { overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (max-width: 768px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner__inner { padding: 18px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .cookie-btn { flex: 1 1 calc(50% - 5px); justify-content: center; }
  .cookie-banner__actions .cookie-btn:last-child { flex-basis: 100%; }
}

/* ==========================================================================
   Property Detail — extended components
   ========================================================================== */
/* Section title helper (smaller block headings inside detail page) */
.detail-head { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; margin-bottom: 8px; }
.detail-head + .detail-sub { color: var(--charcoal-soft); font-size: 15px; margin: 0 0 30px; max-width: 60ch; }

/* Detail page layout */
.detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}
.detail-enquiry { position: sticky; top: 110px; }
.detail-enquiry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px;
  box-shadow: 0 30px 60px rgba(10,10,10,0.06);
}
.detail-enquiry-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.detail-enquiry-note { color: var(--charcoal-soft); font-size: 13px; margin-bottom: 18px; }
.detail-enquiry-actions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
}

/* Floor plan · video · map carousel */
.detail-visuals { margin-top: 40px; }
.detail-visuals-head { margin: 0 0 18px !important; }
.detail-media-slide {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.detail-media-label {
  display: block;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--line);
  background: rgba(183,110,90,0.06);
}
.detail-media-frame { border: none; border-radius: 0; }
.detail-media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.detail-video { border-radius: 0; aspect-ratio: 16/10; }
.detail-map { height: 280px; border-radius: 0; }
.detail-media-pagination {
  position: static !important;
  margin-top: 14px;
  text-align: center;
}
.detail-media-pagination .swiper-pagination-bullet-active { background: var(--gold); }

@media (min-width: 769px) {
  .detail-media-swiper .swiper-wrapper {
    flex-direction: column;
    gap: 28px;
    transform: none !important;
  }
  .detail-media-swiper .swiper-slide {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }
  .detail-map { height: 340px; }
  .detail-media-pagination { display: none; }
}

/* Schedule-a-tour pill button in title block */
.detail-cta-row { display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; }

/* Key facts strip */
.fact-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  margin-bottom: 50px;
}
.fact { padding: 26px 24px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.fact:last-child { border-right: 0; }
.fact .fact-ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(183,110,90,0.12); display: grid; place-items: center; color: var(--gold-deep); flex-shrink: 0; }
.fact .fact-ic svg { width: 20px; height: 20px; }
.fact .fact-k { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal-soft); font-weight: 600; }
.fact .fact-v { font-family: var(--font-serif); font-size: 1.2rem; color: var(--black); line-height: 1.1; }

/* Details key/value table */
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.spec-row { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-row .k { color: var(--charcoal-soft); }
.spec-row .v { color: var(--black); font-weight: 600; text-align: right; }

/* Agent cards */
.agent-card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); text-align: center;
}
.agent-card:is(:hover, :active, :focus-within) {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px var(--glass-green-glow);
  border-color: var(--glass-green-border);
}
.agent-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.agent-card:is(:hover, :active, :focus-within) .agent-photo img { transform: scale(1.06); }
.agent-photo--icon {
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(183,110,90,0.14) 0%, rgba(183,110,90,0.06) 100%);
  color: var(--gold-deep);
}
.agent-photo--icon svg { width: 28%; height: 28%; opacity: 0.85; }
.agent-body { padding: 24px 22px 26px; }
.agent-body h3 { font-size: 1.3rem; }
.agent-role { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-top: 6px; }
.agent-contact { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.agent-contact a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--charcoal); transition: background .3s, color .3s, border-color .3s; }
.agent-contact a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.agent-contact svg { width: 18px; height: 18px; }
.agent-contact .fa-solid,
.agent-contact .fa-brands {
  font-size: 16px;
  line-height: 1;
}
.agent-exp { font-size: 13px; color: var(--charcoal-soft); margin-top: 8px; }
.prop-agent {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--charcoal-soft);
}
.prop-agent img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.prop-agent-icon {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: rgba(183,110,90,0.14); color: var(--gold-deep);
  display: grid; place-items: center;
}
.prop-agent-icon svg { width: 16px; height: 16px; }
.prop-agent b { color: var(--black); font-weight: 600; }

/* MD card */
.md-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(10,10,10,0.06);
  max-width: 820px; margin: 0 auto;
}
.md-card-photo { aspect-ratio: 3/4; overflow: hidden; min-height: 0; max-height: 320px; }
.md-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.md-card-photo--icon {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f3f0ea 0%, #e8e2d8 100%);
  color: var(--gold-deep);
}
.md-card-photo--icon svg { width: 64px; height: 64px; opacity: 0.7; }
.md-card-body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.md-card-body h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 6px; }
.md-card-role { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.md-card-company { font-family: var(--font-serif); font-size: 1.15rem; color: var(--charcoal); margin: 14px 0 24px; }
.md-card-contact { display: grid; gap: 12px; margin-top: 8px; }
.md-card-contact a, .md-card-contact span { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--charcoal); transition: color .3s; }
.md-card-contact a:hover { color: var(--gold-deep); }
.md-card-contact svg { color: var(--gold); flex-shrink: 0; }

/* Agent swiper carousel — compact name cards, auto-scroll row */
.agent-swiper-wrap { position: relative; overflow: hidden; padding: 8px 0 16px; }
.agent-swiper { overflow: hidden; }
.agent-swiper .swiper-slide {
  width: 196px;
  height: auto;
}
.agent-swiper .agent-card {
  height: 100%;
  text-align: left;
  box-shadow: 0 6px 18px rgba(10,10,10,0.05);
}
.agent-swiper .agent-card:is(:hover, :active, :focus-within) {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--glass-green-glow);
  border-color: var(--glass-green-border);
}
.agent-swiper .agent-card--compact .agent-compact-inner {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 12px 12px 10px;
  align-items: center;
}
.agent-swiper .agent-photo-compact {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  grid-row: 1 / span 2;
  flex-shrink: 0;
}
.agent-swiper .agent-photo-compact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agent-swiper .agent-photo-compact--icon {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(183,110,90,0.14) 0%, rgba(183,110,90,0.06) 100%);
  color: var(--gold-deep);
}
.agent-swiper .agent-photo-compact--icon svg { width: 22px; height: 22px; opacity: 0.85; }
.agent-swiper .agent-compact-text h3 {
  font-size: 0.82rem;
  line-height: 1.2;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
}
.agent-swiper .agent-compact-text .agent-role {
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-top: 2px;
  line-height: 1.3;
  text-align: left;
}
.agent-swiper .agent-wa-btn {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
  padding: 8px 10px;
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.agent-swiper-nav { display: none; }

.detail-agent-box {
  display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 16px;
  background: rgba(183,110,90,0.08); border-radius: 6px; border: 1px solid rgba(183,110,90,0.2);
}
.detail-agent-box img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.detail-agent-icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: rgba(183,110,90,0.14); color: var(--gold-deep);
  display: grid; place-items: center;
}
.detail-agent-icon svg { width: 24px; height: 24px; }

.prop-dev {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-top: 6px;
}
.prop-card--project .prop-body { text-align: left; }
.prop-card--project .prop-meta { justify-content: flex-start; }
.detail-agent-box .da-name { font-weight: 600; color: var(--black); font-size: 15px; }
.detail-agent-box .da-role { font-size: 12px; color: var(--gold-deep); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-top: 2px; }

/* ==========================================================================
   Projects listing page — Property Finder style
   ========================================================================== */
.projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}
.projects-main { min-width: 0; }
.projects-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.projects-toolbar p {
  margin: 0;
  font-size: 14px;
  color: var(--charcoal-soft);
}
.projects-toolbar b { color: var(--black); }
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.projects-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 20px;
}
.sidebar-card h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.sidebar-card > p {
  font-size: 13px;
  color: var(--charcoal-soft);
  line-height: 1.55;
  margin: 0 0 16px;
}
.sidebar-form {
  display: grid;
  gap: 10px;
}
.sidebar-form input,
.sidebar-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--offwhite);
}
.sidebar-card--dark {
  background: var(--black);
  border-color: rgba(255,255,255,0.08);
  color: #f8f7f3;
}
.sidebar-card--dark .md-card {
  box-shadow: none;
  border: none;
  background: transparent;
  max-width: none;
  grid-template-columns: 72px 1fr;
  gap: 14px;
}
.sidebar-card--dark .md-card-photo {
  aspect-ratio: 1;
  max-height: 72px;
  border-radius: 50%;
}
.sidebar-card--dark .md-card-photo img { border-radius: 50%; }
.sidebar-card--dark .md-card-body {
  padding: 0;
  justify-content: flex-start;
}
.sidebar-card--dark .md-card-body .eyebrow,
.sidebar-card--dark .md-card-company,
.sidebar-card--dark .md-card-body .lead,
.sidebar-card--dark .md-card-contact { display: none; }
.sidebar-card--dark .md-card-body h3 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}
.sidebar-card--dark .md-card-role {
  font-size: 10px;
  color: var(--gold-soft);
}
.sidebar-card--promo {
  padding: 0;
  overflow: hidden;
}
.sidebar-card--promo img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.sidebar-promo-body {
  padding: 18px 20px 20px;
}
.sidebar-promo-body h4 {
  font-size: 0.95rem;
  margin: 0 0 6px;
}
.sidebar-promo-body p {
  font-size: 12px;
  color: var(--charcoal-soft);
  line-height: 1.5;
  margin: 0 0 14px;
}

.listing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), border-color 0.35s var(--ease);
}
.listing-card:is(:hover, :active, :focus-within) {
  box-shadow: 0 14px 36px var(--glass-green-glow);
  border-color: var(--glass-green-border);
}
.listing-card.is-open {
  box-shadow: 0 16px 40px var(--glass-green-glow);
  border-color: var(--glass-green-border);
}
.listing-card__main {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: 0;
  align-items: stretch;
}
.listing-card__media {
  position: relative;
  overflow: hidden;
  min-height: 180px;
}
.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.listing-card:is(:hover, :active, :focus-within) .listing-card__media img { transform: scale(1.03); }
.listing-card__media .prop-tag {
  top: 10px;
  left: 10px;
  font-size: 9px;
}
.listing-card__content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.listing-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.listing-card__content .prop-name {
  font-size: 1.08rem;
  margin: 6px 0 2px;
}
.listing-card__content .prop-meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.listing-card__price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}
.listing-card__desc {
  font-size: 13px;
  color: var(--charcoal-soft);
  line-height: 1.55;
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-card__aside {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 148px;
}
.listing-card__agent {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.listing-card__agent img,
.listing-card__agent-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.listing-card__agent-icon {
  display: grid;
  place-items: center;
  background: rgba(183,110,90,0.14);
  color: var(--gold-deep);
}
.listing-card__agent-icon svg { width: 20px; height: 20px; }
.listing-card__agent-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.25;
}
.listing-card__agent-role {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.listing-card__logo {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: contain;
  border: 1px solid var(--line);
  padding: 4px;
}
.listing-card__actions {
  display: flex;
  gap: 6px;
}
.listing-act {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--charcoal);
  transition: background .25s, color .25s, border-color .25s;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
button.listing-act {
  appearance: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
}
button.listing-act.listing-act--wa {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
button.listing-act.listing-act--wa:hover,
button.listing-act.listing-act--wa:focus-visible {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}
.listing-act:hover {
  background: var(--offwhite);
  border-color: var(--gold);
  color: var(--gold-deep);
}
.listing-act--wa:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}
.listing-act svg { width: 16px; height: 16px; }
.listing-act .fa-solid,
.listing-act .fa-brands {
  font-size: 15px;
  line-height: 1;
  display: block;
  color: currentColor;
}
.listing-act .fa-brands::before,
.listing-act .fa-solid::before {
  color: currentColor;
}
.listing-act--wa .fa-whatsapp,
.listing-act--wa .fa-brands::before {
  color: #fff;
}
.listing-card__toggle {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--font-sans);
  transition: color .25s;
}
.listing-card__toggle:hover { color: var(--black); }
.listing-card__expand {
  border-top: 1px solid var(--line);
  background: var(--offwhite);
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.listing-card.is-open .listing-card__expand {
  max-height: 2000px;
}
.listing-expand-inner {
  padding: 24px 20px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.listing-expand-inner h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0 0 12px;
}
.listing-expand-inner p {
  font-size: 14px;
  color: var(--charcoal-soft);
  line-height: 1.65;
  margin: 0 0 12px;
}
.listing-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin-top: 4px;
}
.listing-spec {
  font-size: 13px;
  color: var(--charcoal-soft);
}
.listing-spec b {
  display: block;
  color: var(--black);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 2px;
}
.listing-amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.listing-amenities .amenity {
  font-size: 12px;
  padding: 0;
}
.listing-map {
  grid-column: 1 / -1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/6;
}
.listing-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.listing-expand-inner .nearby-list .nearby-item {
  padding: 10px 0;
}
.listing-expand-inner .nearby-item .ni-ic {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.listing-expand-inner .nearby-item .ni-name {
  font-size: 13px;
  font-weight: 500;
}
.listing-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.sidebar-filters {
  display: grid;
  gap: 10px;
}
.sidebar-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--charcoal);
  cursor: pointer;
}
.sidebar-check input {
  accent-color: var(--gold-deep);
}
.sidebar-card--contact {
  border-color: rgba(183,110,90,0.35);
  background: linear-gradient(180deg, rgba(183,110,90,0.06) 0%, #fff 100%);
}
.listing-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--charcoal-soft);
  font-size: 14px;
}
.listing-empty p { margin: 0; }
.listing-pagination {
  text-align: center;
  margin-top: 28px;
}
.listing-seo .lead {
  max-width: 820px;
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .projects-layout { grid-template-columns: 1fr; }
  .projects-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .sidebar-card--promo { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .listing-card__main {
    grid-template-columns: 1fr;
  }
  .listing-card__media {
    aspect-ratio: 16/10;
    min-height: 0;
  }
  .listing-card__content {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .listing-card__aside {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 14px 16px;
    min-width: 0;
  }
  .listing-card__agent {
    flex-direction: row;
    text-align: left;
  }
  .listing-expand-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .listing-amenities { grid-template-columns: 1fr; }
  .projects-sidebar { grid-template-columns: 1fr; }
}

/* Listing cards — always visible once rendered (avoid GSAP opacity stuck) */
[data-properties-list] .listing-card,
[data-projects-list] .listing-card {
  opacity: 1;
  transform: none;
}

/* Projects page — hero with slideshow (same home images) */
.page-hero--simple {
  padding: 120px 0 40px;
  background: #0a0a0a;
  border-bottom: none;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}
.page-hero--simple .bg { display: block; }
.page-hero--simple .eyebrow,
.page-hero--simple .breadcrumb,
.page-hero--simple .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}
.page-hero--simple h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 10px 0 12px;
  line-height: 1.2;
  color: #fff;
}
.projects-tabs-wrap {
  padding: 24px 0 0;
}
.projects-tabs-wrap .pill-tabs {
  justify-content: flex-start;
}
.projects-section {
  padding-top: 28px;
  padding-bottom: 64px;
}
.prop-tag--inline {
  position: static;
  display: inline-block;
  margin-bottom: 8px;
  font-size: 10px;
}
[data-projects-list] .listing-card--simple {
  border-radius: 8px;
  transition: border-color 0.2s ease;
}
[data-projects-list] .listing-card--simple:is(:hover, :focus-within) {
  box-shadow: none;
  border-color: #cbd5e1;
}
[data-projects-list] .listing-card--simple.is-open {
  box-shadow: none;
  border-color: var(--black);
}
[data-projects-list] .listing-card--simple .listing-card__main {
  display: block;
  grid-template-columns: 1fr;
}
[data-projects-list] .listing-card--simple .listing-card__main--stack {
  display: grid;
  grid-template-columns: minmax(160px, 42%) minmax(0, 1fr);
  grid-template-areas:
    "media content"
    "media footer";
  align-items: stretch;
}
[data-projects-list] .listing-card--simple .listing-card__main--stack:not(:has(.listing-card__media)) {
  grid-template-columns: 1fr;
  grid-template-areas:
    "content"
    "footer";
}
[data-projects-list] .listing-card--simple .listing-card__media {
  grid-area: media;
  min-height: 0;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 8px 0 0 8px;
}
[data-projects-list] .listing-card--simple .listing-card__media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
}
[data-projects-list] .listing-card--simple .listing-card__content {
  grid-area: content;
  padding: 16px 18px 10px;
  border-right: none;
}
[data-projects-list] .listing-card--simple .listing-card__footer-actions {
  grid-area: footer;
}
[data-projects-list] .listing-card--simple .prop-name a {
  color: inherit;
  text-decoration: none;
}
[data-projects-list] .listing-card--simple .prop-name a:hover {
  color: #1a49c1;
}
[data-projects-list] .listing-card--simple a.listing-card__media {
  display: block;
  color: inherit;
}
[data-projects-list] .listing-card--simple .prop-loc {
  font-size: 12px;
  color: var(--charcoal-soft);
}
[data-projects-list] .listing-card--simple .listing-card__desc {
  -webkit-line-clamp: 2;
  margin-top: 8px;
  font-size: 12px;
}
[data-projects-list] .listing-card--simple .listing-card__price {
  font-size: 0.95rem;
}
[data-projects-list] .listing-card--simple .listing-card__agent-line {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--charcoal-soft);
}
[data-projects-list] .listing-card--simple .listing-card__agent-line strong {
  color: var(--black);
  font-weight: 600;
}
[data-projects-list] .listing-card--simple .listing-card__toggle {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1a49c1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
[data-projects-list] .listing-card--simple .listing-card__toggle:hover {
  text-decoration: underline;
}
[data-projects-list] .listing-card--simple .listing-card__footer-actions {
  display: flex;
  align-items: center;
  align-self: end;
  gap: 10px;
  padding: 0 18px 16px;
}
[data-projects-list] .listing-card--simple .listing-card__wa,
[data-projects-list] .listing-card--simple .listing-card__enquire {
  flex: 1;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
[data-projects-list] .listing-card--simple .listing-card__wa {
  background: #fff;
  border: 1.5px solid #25d366;
  color: #25d366;
}
[data-projects-list] .listing-card--simple .listing-card__wa:hover {
  background: #25d366;
  color: #fff;
}
[data-projects-list] .listing-card--simple .listing-card__enquire {
  background: #1a49c1;
  border: 1.5px solid #1a49c1;
  color: #fff;
}
[data-projects-list] .listing-card--simple .listing-card__enquire:hover {
  background: #153aa0;
  border-color: #153aa0;
}
[data-projects-list] .listing-card--simple .listing-card__expand {
  border-top: 1px solid var(--line);
}
@media (max-width: 768px) {
  [data-projects-list] .listing-card--simple .listing-card__main--stack {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "content"
      "footer";
  }
  [data-projects-list] .listing-card--simple .listing-card__media {
    border-radius: 8px 8px 0 0;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 200px;
    max-height: 260px;
  }
  [data-projects-list] .listing-card--simple .listing-card__media img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-height: none;
    object-fit: cover;
  }
  [data-projects-list] .listing-card--simple .listing-card__content {
    padding: 14px 14px 8px;
    border-bottom: none;
  }
  [data-projects-list] .listing-card--simple .listing-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  [data-projects-list] .listing-card--simple .listing-card__agent-line {
    display: none;
  }
  [data-projects-list] .listing-card--simple .listing-card__footer-actions {
    flex-direction: row;
    padding: 0 14px 14px;
    gap: 8px;
    align-self: stretch;
  }
  [data-projects-list] .listing-card--simple .listing-card__wa,
  [data-projects-list] .listing-card--simple .listing-card__enquire {
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }
}

.projects-list:empty::before {
  content: "Loading properties…";
  display: block;
  padding: 40px 20px;
  text-align: center;
  color: var(--charcoal-soft);
  font-size: 14px;
}

[data-projects-grid]:empty::before {
  content: "Loading projects…";
  display: block;
  padding: 40px 20px;
  text-align: center;
  color: var(--charcoal-soft);
  font-size: 14px;
  grid-column: 1 / -1;
}

.similar-swiper-wrap { overflow: hidden; padding: 4px 0 8px; }
.similar-swiper { overflow: hidden; }
.similar-swiper .swiper-slide {
  width: min(320px, 78vw);
  height: auto;
}
.similar-swiper .prop-card { height: 100%; }

/* Schedule CTA — compact 2-line title */
.cta-band .cta-schedule-title {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.28;
  margin: 18px auto 14px;
  max-width: 28ch;
}
.cta-band .cta-schedule-lead {
  margin: 0 auto 28px;
  color: rgba(248,247,243,0.75);
  font-size: clamp(0.88rem, 1.2vw, 0.98rem);
  max-width: 42ch;
}
.cta-schedule-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Newsletter CTA — compact centered block */
.newsletter-cta.section {
  padding: clamp(32px, 4vw, 44px) 0;
}

.newsletter-cta__inner {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.32;
  font-weight: 500;
  color: #fff;
  margin: 0 auto 8px;
}

.newsletter-cta__lead {
  margin: 0 auto 16px;
  color: rgba(248, 247, 243, 0.72);
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 34ch;
}

.newsletter-cta__form {
  max-width: 100%;
  margin: 0 auto;
  border-color: rgba(255, 255, 255, 0.22);
}

.newsletter-cta__form input {
  padding: 10px 16px;
  font-size: 13px;
}

.newsletter-cta__form button {
  padding: 0 16px;
  font-size: 15px;
}

.newsletter-cta__note {
  display: none;
  color: var(--gold-soft);
  margin-top: 10px;
  font-size: 13px;
}

.newsletter-cta__note.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .md-card { grid-template-columns: 1fr; }
  .md-card-photo { aspect-ratio: 4/5; min-height: 320px; }
  .md-card-body { padding: 32px 24px; }
  .nav-logo img { height: 64px; }
  .nav.scrolled .nav-logo img { height: 54px; }
}

/* Video tour */
.video-tour { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16/9; cursor: pointer; }
.video-tour img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.video-tour:hover img { transform: scale(1.05); }
.video-tour::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.15), rgba(10,10,10,0.5)); }
.video-play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%; background: rgba(255,255,255,0.92);
  display: grid; place-items: center; color: var(--black);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.video-tour:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--gold); color: #fff; }
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* Mortgage calculator */
.mortgage { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 40px; display: grid; grid-template-columns: 1fr 0.9fr; gap: 44px; align-items: center; }
.mortgage .result { background: var(--black); color: #fff; border-radius: 6px; padding: 38px 34px; text-align: center; }
.mortgage .result .label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.mortgage .result .amount { font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 3rem); color: #fff; margin: 10px 0 4px; line-height: 1; }
.mortgage .result .per { font-size: 13px; color: rgba(248,247,243,0.6); }
.mortgage .result .breakdown { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-light); display: grid; gap: 12px; }
.mortgage .result .breakdown div { display: flex; justify-content: space-between; font-size: 13px; color: rgba(248,247,243,0.7); }
.mortgage .result .breakdown b { color: var(--gold-soft); font-weight: 600; }
.range-field { margin-bottom: 22px; }
.range-field .rl { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; }
.range-field .rl span:first-child { color: var(--charcoal-soft); letter-spacing: 0.04em; }
.range-field .rl b { color: var(--black); font-weight: 600; }
.range-field input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: var(--line); outline: none; }
.range-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(10,10,10,0.2); }
.range-field input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid #fff; }

/* Nearby / walkscore */
.nearby-list { display: grid; gap: 0; }
.nearby-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.nearby-item .ni-ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(183,110,90,0.12); display: grid; place-items: center; color: var(--gold-deep); flex-shrink: 0; }
.nearby-item .ni-name { font-weight: 600; color: var(--black); }
.nearby-item .ni-dist { margin-left: auto; font-size: 13px; color: var(--charcoal-soft); }
.score-ring { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.score-ring .sr-num { font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold-deep); line-height: 1; min-width: 56px; }
.score-ring .sr-label b { display: block; color: var(--black); }
.score-ring .sr-label span { font-size: 13px; color: var(--charcoal-soft); }

@media (max-width: 900px) {
  .mortgage { grid-template-columns: 1fr; gap: 32px; padding: 30px; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--line); }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .detail-enquiry {
    position: static;
    order: -1;
  }
  .detail-enquiry-card { padding: 18px 16px; }
  .detail-enquiry-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .detail-enquiry-note { font-size: 12px; margin-bottom: 12px; }
  .detail-enquiry-card .field { margin-bottom: 10px; }
  .detail-enquiry-card .field label { font-size: 11px; margin-bottom: 4px; }
  .detail-enquiry-card .field input,
  .detail-enquiry-card .field textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
  .detail-enquiry-card .field textarea { min-height: 64px; }
  .detail-enquiry-card .field--optional { display: none; }
  .detail-enquiry-actions { margin-top: 12px; padding-top: 12px; }
  .detail-enquiry-card .btn { padding: 11px 16px; font-size: 11px; }

  .detail-hero { padding-top: 96px; }
  .gallery-prev, .gallery-next { padding: 10px 12px !important; font-size: 12px; }
  .detail-layout .container { width: 100%; max-width: 100%; }
  .detail-visuals { margin-top: 24px; }
  .detail-main .detail-head { margin: 24px 0 12px !important; }
  .detail-main .detail-head:first-child { margin-top: 0 !important; }
  [data-pd="amenities"],
  [data-pd="highlights"] { grid-template-columns: 1fr !important; }
  .split-head { flex-direction: column; align-items: flex-start !important; gap: 16px; }
  .split-head > div:last-child { text-align: left !important; width: 100%; }
  .split-head .prop-price { font-size: 1.35rem !important; }
  .detail-visuals-head { font-size: 1.15rem !important; margin-bottom: 12px !important; }
  .detail-map { height: 200px; }
  .detail-media-frame img,
  .detail-video { aspect-ratio: 16/11; }

  .mortgage--compact { padding: 18px 16px; gap: 18px; }
  .mortgage--compact .range-field { margin-bottom: 14px; }
  .mortgage--compact .range-field--compact { margin-bottom: 10px; }
  .mortgage--compact .rl { font-size: 12px; margin-bottom: 6px; }
  .mortgage--compact .result { padding: 20px 16px; }
  .mortgage--compact .result .amount { font-size: 1.65rem; margin: 6px 0 2px; }
  .mortgage--compact .result .label { font-size: 10px; }
  .mortgage--compact .result .per { font-size: 11px; }
  .mortgage--compact .result .breakdown { margin-top: 14px; padding-top: 14px; gap: 8px; }
  .mortgage--compact .result .breakdown div { font-size: 11px; }
}
@media (max-width: 600px) {
  .spec-list { grid-template-columns: 1fr; gap: 0; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Reveal animation base (GSAP toggles handled in JS; fallback below)
   ========================================================================== */
[data-reveal] { opacity: 0; }
[data-reveal].in-view { opacity: 1; }
.no-js [data-reveal] { opacity: 1; }

.detail-hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 0; }

/* ==========================================================================
   Location horizontal menu
   ========================================================================== */
.loc-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.loc-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.loc-nav-inner::-webkit-scrollbar { display: none; }
.loc-nav-link {
  flex: 1;
  min-width: 0;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  border-right: 1px solid var(--line);
  transition: color .35s var(--ease), background .35s var(--ease);
  white-space: nowrap;
}
.loc-nav-link:last-child { border-right: none; }
.loc-nav-link::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.loc-nav-link:hover,
.loc-nav-link.is-active {
  color: var(--black);
  background: rgba(183,110,90,0.06);
}
.loc-nav-link:hover::before,
.loc-nav-link.is-active::before {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   Trust section — two-column with media
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.trust-media .video-tour { aspect-ratio: 16/10; border-radius: 4px; }
.trust-media .video-play { width: 64px; height: 64px; }
.trust-media .video-play svg { width: 22px; height: 22px; }
.trust-quote {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 28px 24px;
}
.trust-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--black);
  margin: 0;
}
.trust-quote cite {
  display: block;
  margin-top: 18px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-style: normal;
}
.trust-amenities { margin-top: 24px; }
.trust-amenities .amenity { padding: 12px 0; font-size: 14px; }
.trust-amenities .amenity svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .about-grid, .trust-grid { grid-template-columns: 1fr; gap: 32px; }
  .loc-nav-link { flex: 0 0 auto; min-width: 140px; max-width: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .filter-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-links { gap: 16px; }
  .nav-link { font-size: 12px; }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 640px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: block; }
  .nav-cta { gap: 0; justify-self: end; }

  .contact-form-card {
    padding: 22px 18px;
    box-shadow: 0 8px 24px rgba(10, 10, 10, 0.05);
  }

  .contact-info__details {
    margin-top: 28px;
  }

  .contact-form .field input,
  .contact-form .field textarea {
    font-size: 16px;
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer h4 { font-size: 11px; margin-bottom: 14px; }
  .footer-links { gap: 10px; }
  .footer-links a { font-size: 13px; }
  .filter-bar { grid-template-columns: 1fr; }
  .split-head { align-items: flex-start; }
  .hero-scroll { display: none; }
  .stat-row { gap: 32px; }

  /* Hero — smaller type, no clipping on mobile */
  .hero-content {
    padding-top: clamp(88px, 14vw, 108px);
    padding-bottom: 28px;
  }
  .hero .container { max-width: 100%; overflow: hidden; }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    gap: 10px;
  }
  .hero-eyebrow::before { width: 24px; }
  .hero h1 {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
    white-space: normal;
    line-height: 1.12;
    margin-top: 10px;
  }
  .hero .reveal-line { overflow: visible; }
  .hero-sub {
    font-size: clamp(0.92rem, 3.6vw, 1.08rem);
    line-height: 1.45;
    max-width: 100%;
    margin-top: 14px;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }
  .hero-actions .btn {
    padding: 13px 20px;
    font-size: 11px;
    letter-spacing: 0.12em;
    gap: 8px;
  }

  /* Hero search → full width, stacked-friendly on mobile */
  .hero-search { max-width: 100%; margin-top: 22px; }
  .hero-search-toggle { display: flex; width: 100%; }
  .hs-tab { flex: 1; padding: 11px 0; text-align: center; font-size: 0.88rem; }
  .hero-search-bar { padding: 6px 6px 6px 16px; }
  .hs-input { font-size: 0.9rem; padding: 13px 4px; }
  .hs-submit { padding: 13px 18px; }

  /* Site-wide — smaller, mobile-friendly type */
  .section { padding: clamp(44px, 7vw, 72px) 0; }
  .headline { font-size: clamp(1.25rem, 4.6vw, 1.62rem); line-height: 1.18; }
  .display { font-size: clamp(1.35rem, 4.8vw, 1.75rem); line-height: 1.14; }
  .page-hero { padding: 108px 0 44px; }
  .page-hero h1 { font-size: clamp(1.55rem, 5.2vw, 2rem); }
  .detail-head { font-size: clamp(1.2rem, 4.2vw, 1.55rem); line-height: 1.2; }
  .lead { font-size: 0.86rem; line-height: 1.55; }
  .eyebrow { font-size: 10px; letter-spacing: 0.22em; gap: 10px; }
  .eyebrow::before { width: 22px; }
  .sec-head.center .headline,
  .sec-head .headline { margin-top: 14px !important; }
  .split-head { margin-bottom: 28px; gap: 20px; }
  .stat .num { font-size: clamp(1.6rem, 5vw, 2rem); }
  .stat .label { font-size: 11px; }
  .prop-name { font-size: 1.02rem; margin: 8px 0 2px; }
  .prop-price { font-size: 1.05rem; }
  .prop-body { padding: 14px 14px 16px; }
  .prop-meta { margin-top: 12px; padding-top: 12px; gap: 14px; font-size: 11px; }
  .prop-loc { font-size: 10px; }
  .prop-dev { font-size: 10px; margin-top: 4px; }
  .pill-tab { font-size: 12px; padding: 8px 14px; }
  .btn { padding: 12px 20px; font-size: 11px; }

  /* Projects — horizontal scroll row (not homepage Swiper) */
  [data-projects-grid]:not(.swiper-wrapper) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    gap: 14px;
    padding-bottom: 8px;
    margin-inline: -20px;
    padding-inline: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  [data-projects-grid]:not(.swiper-wrapper)::-webkit-scrollbar { display: none; }
  [data-projects-grid]:not(.swiper-wrapper) .prop-card {
    flex: 0 0 min(74vw, 268px);
    scroll-snap-align: center;
  }
  [data-similar-projects] {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    gap: 14px;
    padding-bottom: 8px;
    margin-inline: -20px;
    padding-inline: 20px;
    scrollbar-width: none;
  }
  [data-similar-projects]::-webkit-scrollbar { display: none; }
  [data-similar-projects] .prop-card,
  .similar-swiper .prop-card {
    flex: 0 0 min(74vw, 268px);
    scroll-snap-align: center;
  }
  .similar-swiper .swiper-slide { width: min(74vw, 268px); }

  /* Agent — tiny name cards, swipe to scroll */
  [data-md-card] { margin-top: 24px !important; }
  .md-card {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
    box-shadow: 0 8px 24px rgba(10,10,10,0.06);
  }
  .md-card-photo {
    aspect-ratio: 1;
    min-height: 0;
    height: 64px;
    border-radius: 50%;
  }
  .md-card-photo img { border-radius: 50%; object-position: center top; }
  .md-card-body { padding: 14px 14px 14px 0; }
  .md-card-body .eyebrow,
  .md-card-company,
  .md-card-body .lead,
  .md-card-contact { display: none; }
  .md-card-body h3 { font-size: 0.9rem; margin-bottom: 3px; line-height: 1.2; }
  .md-card-role { font-size: 9px; letter-spacing: 0.1em; }

  .agent-swiper-wrap { padding: 0 0 8px; overflow: hidden; }
  .agent-swiper .swiper-slide { width: 168px; }
  .agent-swiper .agent-card--compact .agent-compact-inner {
    grid-template-columns: 44px 1fr;
    padding: 10px 10px 8px;
    gap: 2px 8px;
  }
  .agent-swiper .agent-photo-compact { width: 44px; height: 44px; }
  .agent-swiper .agent-compact-text h3 { font-size: 0.76rem; }
  .agent-swiper .agent-compact-text .agent-role { font-size: 8px; }
  .agent-swiper .agent-wa-btn { font-size: 8px; padding: 7px 8px; margin-top: 4px; }

  .cta-band .cta-schedule-title { font-size: 1.12rem; margin: 14px auto 10px; }
  .cta-band .cta-schedule-lead { font-size: 0.84rem; margin-bottom: 22px; }

  .detail-agent-box { padding: 10px 12px; gap: 10px; margin-top: 12px; }
  .detail-agent-box img,
  .detail-agent-icon { width: 40px; height: 40px; }
  .detail-agent-icon svg { width: 18px; height: 18px; }
  .detail-agent-box .da-name { font-size: 13px; }
  .detail-agent-box .da-role { font-size: 10px; }
}
@media (max-width: 420px) {
  .container { padding: 0 20px; }
  .headline { font-size: 1.18rem; }
  .display { font-size: 1.22rem; }
  .page-hero h1 { font-size: 1.45rem; }
  .hero h1 { font-size: 1.55rem; }
  .hero-sub { font-size: 0.88rem; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 0.18em; }
  .hero-actions .btn {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
    min-width: 0;
    padding: 12px 14px;
  }
  [data-projects-grid]:not(.swiper-wrapper) .prop-card,
  [data-similar-projects] .prop-card { flex-basis: min(80vw, 240px); }
  .agent-body h3 { font-size: 0.72rem; }
  .md-card-body h3 { font-size: 0.84rem; }
  .hs-submit-text { display: none; }
  .hs-submit-icon { display: inline-flex; }
  .hs-submit { padding: 13px; border-radius: 50%; }
}

/* ==========================================================================
   Form success ticket popup
   ========================================================================== */
.form-ticket-popup {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.form-ticket-popup.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.form-ticket-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 47, 0.45);
  backdrop-filter: blur(4px);
}

.form-ticket-popup__ticket {
  position: relative;
  width: min(100%, 380px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(13, 27, 47, 0.22);
  transform: translateY(24px) scale(0.94) rotate(-1deg);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  overflow: hidden;
}

.form-ticket-popup.is-visible .form-ticket-popup__ticket {
  transform: translateY(0) scale(1) rotate(0deg);
  opacity: 1;
}

.form-ticket-popup__stub {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    #C07157 0 8px,
    #FDF8F4 8px 16px
  );
}

.form-ticket-popup__body {
  padding: 28px 28px 24px;
  text-align: center;
  position: relative;
}

.form-ticket-popup__body::before,
.form-ticket-popup__body::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background: rgba(13, 27, 47, 0.08);
  border-radius: 50%;
}

.form-ticket-popup__body::before { left: -7px; }
.form-ticket-popup__body::after { right: -7px; }

.form-ticket-popup__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C07157, #D4957F);
  color: #fff;
  display: grid;
  place-items: center;
  animation: ticket-pop-icon 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes ticket-pop-icon {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.form-ticket-popup__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy, #0D1B2F);
  margin: 0 0 8px;
}

.form-ticket-popup__msg {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(13, 27, 47, 0.72);
  margin: 0 0 20px;
}

.form-ticket-popup__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 24px;
  border: none;
  border-radius: 100px;
  background: var(--navy, #0D1B2F);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}

.form-ticket-popup__btn:hover {
  background: #C07157;
  transform: translateY(-1px);
}
