/* RentVerified.co - organized static site styles */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter.woff2") format("woff2");
}

:root {
  /* Neutrals - clean light surfaces for content/readability */
  --bg: #eef1f8;
  --bg-deep: #e6eaf4;
  --surface: #ffffff;
  --surface-soft: #eff2f9;
  --surface-warm: #f5f7fc;
  --text: #2a3346;
  --heading: #0a1020;
  --muted: #687389;
  --border: #e3e8f1;
  --border-strong: #d2d9e6;

  /* Dark zones - proptech high-contrast */
  --ink-900: #070a14;
  --ink-850: #0a0e1c;
  --ink-800: #0f1426;
  --ink-700: #161d33;
  --ink-600: #1d2742;
  --ink-line: rgba(255, 255, 255, 0.1);
  --ink-line-strong: rgba(255, 255, 255, 0.18);
  --on-dark: #f3f6ff;
  --on-dark-muted: rgba(214, 222, 240, 0.72);

  /* Brand - Verified Emerald: emerald -> teal -> mint, with a blue secondary */
  --primary: #0a9d6a;
  --primary-hover: #07814f;
  --primary-dark: #0a1020;
  --primary-soft: #e2f6ee;
  --indigo: #0fbf9a;
  --cyan: #34e0b0;
  --accent: #0a9d6a;
  --accent-soft: #e2f6ee;
  --accent-strong: #0a1020;
  --secondary: #2f74ff;
  --secondary-soft: #e7eeff;
  --success: #0fa371;
  --success-strong: #0a7d56;
  --success-soft: #e3f7ef;
  --verified: #1ad98a;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --warning: #b4690e;
  --warning-bg: #fff3e0;
  --gold: #c6922e;
  --gold-soft: #f8ead0;
  --purple: #7c3aed;
  --pink: #e0528d;

  /* Gradients */
  --grad-primary: linear-gradient(125deg, #0a9d6a 0%, #0bb583 52%, #0fbf9a 100%);
  --grad-vivid: linear-gradient(120deg, #0a9d6a 0%, #0fbf9a 56%, #34e0b0 120%);
  --grad-ink: linear-gradient(165deg, #0c1224 0%, #0a0e1c 60%, #070a14 100%);

  /* Typography */
  --font-heading: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation - softer, layered, modern */
  --shadow-xs: 0 1px 2px rgba(10, 16, 32, 0.06);
  --shadow-sm: 0 4px 14px rgba(10, 16, 32, 0.07);
  --shadow: 0 12px 32px rgba(10, 16, 32, 0.1);
  --shadow-strong: 0 26px 60px rgba(10, 16, 32, 0.16);
  --shadow-primary: 0 16px 34px rgba(10, 157, 106, 0.34);
  --glow: 0 0 0 1px rgba(10, 157, 106, 0.18), 0 18px 50px rgba(10, 157, 106, 0.28);
  --ring: 0 0 0 4px rgba(10, 157, 106, 0.18);

  --radius: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --button-radius: 12px;
  --container: 1160px;
  --header-height: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink-900);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 10% -8%, rgba(10, 157, 106, 0.06), transparent 38rem),
    radial-gradient(circle at 94% 2%, rgba(15, 191, 154, 0.05), transparent 36rem),
    linear-gradient(180deg, #ffffff 0%, #f6faf8 52%, #eef4f1 100%);
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
}

/* Listing/property photos: deter drag-to-save and long-press save menus.
   Clicks still pass through to the parent card/button. */
.property-media img,
.home-property-media img,
.detail-media-card img,
.detail-thumbnail-strip img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

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

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

button,
a,
label,
input,
select,
textarea,
.chip,
.custom-select-trigger,
.custom-select-menu button,
.option,
.mobile-app-nav a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:focus,
a:focus,
.chip:focus,
.custom-select-trigger:focus,
.custom-select-menu button:focus,
.option:focus-within {
  outline: none;
}

button:focus-visible,
a:focus-visible,
.chip:focus-visible,
.custom-select-trigger:focus-visible,
.custom-select-menu button:focus-visible {
  outline: 2px solid rgba(10, 157, 106, 0.55);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  font-weight: 700;
}

p {
  margin-bottom: 16px;
}

ul,
ol {
  padding-left: 1.2rem;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.section {
  padding: 72px 0;
}

.compact-section {
  padding: 48px 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.48);
}

.home-section {
  position: relative;
  isolation: isolate;
}

.home-section + .home-section {
  margin-top: -12px;
}

.home-section::before {
  display: none;
}

.home-section-listings,
.home-section-process {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid rgba(226, 233, 245, 0.6);
}

/* Trust section as dark proptech band */
.home-section-trust {
  position: relative;
  margin-top: 0 !important;
  padding-block: 76px;
  overflow: hidden;
  background: var(--grad-ink);
  isolation: isolate;
}

.home-section-trust::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50% 90% at 2% 0%, rgba(10, 157, 106, 0.4) 0%, transparent 60%),
    radial-gradient(46% 90% at 100% 100%, rgba(15, 191, 154, 0.34) 0%, transparent 62%),
    radial-gradient(40% 80% at 70% 0%, rgba(52, 224, 176, 0.16) 0%, transparent 64%);
}

.home-section-trust::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 0%, #000, transparent 76%);
  mask-image: radial-gradient(120% 120% at 50% 0%, #000, transparent 76%);
}

.home-section-trust .why-section-panel {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: none;
}

.home-section-trust h2 {
  color: var(--on-dark);
}

.home-section-trust .section-heading p {
  color: var(--on-dark-muted);
}

.home-section-trust .why-section-panel .eyebrow {
  color: #d7e0ff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.home-section-trust .why-section-panel .eyebrow::before {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(52, 224, 176, 0.2);
}

.home-section-trust .why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.home-section-trust .why-card h3 {
  color: var(--on-dark);
}

.home-section-trust .why-card p {
  color: var(--on-dark-muted);
}

@media (hover: hover) and (pointer: fine) {
  .home-section-trust .why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(10, 157, 106, 0.5);
    box-shadow: var(--glow);
  }
}

.home-section-trust + .home-section {
  margin-top: 0;
  border-top: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
  text-align: left;
}

.section-heading p {
  color: var(--text);
}

.section-heading p.eyebrow {
  color: var(--primary);
}

.compact-heading {
  margin-bottom: 20px;
}

.compact-heading h2 {
  margin-bottom: 10px;
}

.compact-heading p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.muted,
.small-note {
  color: var(--muted);
}

.small-note {
  font-size: 0.88rem;
  line-height: 1.5;
}

.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;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
  vertical-align: -0.14em;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 20, 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(9, 13, 26, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 34px rgba(7, 10, 20, 0.38);
  backdrop-filter: saturate(160%) blur(22px);
}

.nav-cta.button {
  min-height: 40px;
  margin-left: 6px;
  padding: 9px 18px;
  font-size: 0.86rem;
  color: #ffffff;
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.logo img {
  width: clamp(178px, 15vw, 205px);
  height: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  color: rgba(228, 235, 250, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a.nav-cta {
  color: #ffffff;
}

.nav-menu a[aria-current="page"]:not(.nav-cta) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .nav-menu a:not(.nav-cta):hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.32);
  }
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-app-nav {
  display: none;
}

/* Buttons, pills, chips and badges */

.button {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  box-shadow: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-full {
  width: 100%;
}

.button-primary {
  color: #ffffff;
  background: var(--grad-primary);
  box-shadow: var(--shadow-primary);
}

.button-primary:hover {
  box-shadow: 0 20px 44px rgba(10, 157, 106, 0.46);
}

.button-secondary {
  color: var(--heading);
  background: #ffffff;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.button-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button-group,
.badge-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.chip,
.status-badge,
.card-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
  white-space: nowrap;
}

.pill {
  padding: 8px 14px;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--primary-soft);
  border: 1px solid rgba(10, 157, 106, 0.14);
}

.app-hero .pill {
  padding: 9px 15px 9px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 34px rgba(8, 14, 28, 0.22);
  backdrop-filter: blur(12px);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ee27e;
  box-shadow: 0 0 0 4px rgba(46, 226, 126, 0.28);
  animation: pulse-dot 2.2s var(--ease) infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 226, 126, 0.32); }
  50% { box-shadow: 0 0 0 7px rgba(46, 226, 126, 0); }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stat {
  flex: 1 1 0;
  min-width: 130px;
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 11px;
  row-gap: 1px;
  align-items: center;
  padding: 14px 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.hero-stat-icon {
  grid-row: 1 / 3;
  align-self: center;
  width: 30px;
  height: 30px;
  padding: 6px;
  color: #062f1f;
  background: linear-gradient(135deg, #34e0b0, #0fbf9a);
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(15, 191, 154, 0.32);
}

.hero-stat strong {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.35;
}

.chip {
  min-height: 42px;
  padding: 11px 16px;
  color: var(--heading);
  font-size: 0.9rem;
  background: #ffffff;
  border: 1px solid var(--border);
}

button.chip {
  appearance: none;
}

.chip-active {
  color: #ffffff;
  background: var(--heading);
  border-color: var(--heading);
}

@media (hover: hover) {
  .chip:hover {
    color: #ffffff;
    background: var(--heading);
    border-color: var(--heading);
  }
}

.status-badge,
.card-status {
  min-height: 30px;
  padding: 8px 10px;
  font-size: 0.75rem;
}

.badge-checked,
.badge-last,
.card-status {
  color: #07814f;
  background: var(--accent-soft);
}

.badge-photo {
  color: #2b3548;
  background: rgba(255, 255, 255, 0.92);
}

.badge-whatsapp,
.badge-request {
  color: #0f6b51;
  background: var(--success-soft);
}

.badge-payment {
  color: #475569;
  background: #eef1f6;
}

.badge-visit,
.card-status-alt {
  color: #1d4ed8;
  background: var(--secondary-soft);
}

.badge-progress {
  color: #9a4d0c;
  background: var(--warning-bg);
}

/* Home hero and search */

.app-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-height));
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 40px) 0 116px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7, 10, 20, 0.82) 0%, rgba(7, 10, 20, 0.5) 16%, rgba(7, 10, 20, 0.52) 58%, rgba(7, 10, 20, 0.86) 100%),
    url("../assets/images/optimized/hero-city-colombo.webp") center / cover no-repeat,
    var(--ink-900);
}

.app-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 60% at 8% 6%, rgba(10, 157, 106, 0.16) 0%, transparent 58%),
    radial-gradient(60% 55% at 96% 18%, rgba(15, 191, 154, 0.12) 0%, transparent 60%),
    radial-gradient(50% 50% at 78% 92%, rgba(52, 224, 176, 0.08) 0%, transparent 62%),
    linear-gradient(180deg, rgba(7, 10, 20, 0.2) 0%, rgba(7, 10, 20, 0.1) 50%, rgba(238, 241, 248, 0.16) 82%, var(--bg) 100%);
}

.app-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
}

.app-hero > .container {
  position: relative;
  z-index: 1;
}

.hero-aurora {
  position: absolute;
  inset: -25% -15% 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
  mix-blend-mode: screen;
  filter: blur(46px);
  background:
    radial-gradient(32% 38% at 18% 26%, rgba(10, 157, 106, 0.85), transparent 60%),
    radial-gradient(30% 36% at 82% 20%, rgba(15, 191, 154, 0.78), transparent 62%),
    radial-gradient(26% 34% at 62% 72%, rgba(52, 224, 176, 0.5), transparent 64%);
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 58%, transparent 90%);
  animation: heroAurora 20s ease-in-out infinite alternate;
}

@keyframes heroAurora {
  0% {
    transform: translate3d(-4%, -2%, 0) scale(1);
  }
  50% {
    transform: translate3d(4%, 3%, 0) scale(1.1) rotate(2deg);
  }
  100% {
    transform: translate3d(6%, -3%, 0) scale(1.05) rotate(-1.5deg);
  }
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 450px);
  align-items: center;
  gap: clamp(30px, 6vw, 78px);
}

.hero-copy {
  max-width: 760px;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.hero-copy h1,
.hero-copy .hero-text {
  color: #ffffff;
}

.hero-text {
  max-width: 520px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
}

.search-card {
  position: relative;
  z-index: 3;
  width: min(100%, 450px);
  justify-self: end;
  padding: 26px 24px 24px;
  color: var(--heading);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(7, 10, 20, 0.5), 0 0 0 1px rgba(10, 157, 106, 0.16), 0 0 60px rgba(10, 157, 106, 0.22);
  backdrop-filter: blur(16px);
}

.search-card h2 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.app-search-field,
.custom-select {
  display: block;
}

.app-search-field input,
.custom-select-trigger,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--heading);
  background: #ffffff;
  border: 1px solid #d4dbe8;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.app-search-field input,
.custom-select-trigger {
  min-height: 52px;
  padding: 0 15px;
  font-size: 0.95rem;
  font-weight: 800;
}

.app-search-field input::placeholder {
  color: #6d7483;
  opacity: 1;
}

.app-search-field.has-icon {
  position: relative;
}

.app-search-field.has-icon .app-search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
}

.app-search-field.has-icon input {
  padding-left: 44px;
}

.app-search-field input:focus,
.custom-select-trigger:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: var(--ring);
}

.home-select-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 34px;
  text-align: left;
  appearance: none;
}

.home-select-grid .custom-select-trigger {
  background: #ffffff;
}

.custom-select-trigger span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.custom-select-trigger span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(10, 157, 106, 0.12);
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-60%) rotate(45deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.custom-select.is-open .custom-select-menu {
  display: grid;
  gap: 4px;
}

.custom-select-menu button {
  min-height: 38px;
  padding: 9px 10px;
  color: var(--heading);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.custom-select-menu button:hover {
  background: var(--accent-soft);
}

.search-card .button {
  position: relative;
  z-index: 1;
}

.launch-mini-card,
.listing-status-banner {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  color: #0f6b51;
  background: rgba(224, 245, 237, 0.78);
  border: 1px solid rgba(15, 163, 113, 0.14);
  border-radius: 14px;
}

.launch-mini-card {
  margin-top: 12px;
}

.launch-mini-card strong,
.listing-status-banner strong {
  color: #0b513f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.launch-mini-card span,
.listing-status-banner span {
  color: #355f54;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Home sections */

.post-hero-panel,
.why-section-panel,
.how-panel,
.home-listing-panel,
.launch-notice-card {
  padding: clamp(22px, 3.6vw, 32px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 233, 245, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.post-hero-panel,
.why-section-panel,
.how-panel,
.home-listing-panel {
  display: grid;
  gap: 20px;
}

.post-hero-panel > .section-heading,
.why-section-panel > .section-heading,
.how-panel > .section-heading,
.home-listing-panel > .section-heading {
  margin-bottom: 0;
}

.app-hero + .section {
  position: relative;
  z-index: 2;
  margin-top: -54px;
  padding-top: 0;
}

.why-section-panel .section-heading {
  max-width: 620px;
}

.post-hero-panel .eyebrow,
.why-section-panel .eyebrow,
.how-panel .eyebrow,
.home-listing-panel .eyebrow,
.audience-card .eyebrow,
.launch-notice-card .eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  margin-bottom: 11px;
  color: #07814f;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  background: rgba(224, 245, 237, 0.8);
  border: 1px solid rgba(10, 157, 106, 0.15);
  border-radius: 999px;
}

.post-hero-panel .eyebrow::before,
.why-section-panel .eyebrow::before,
.how-panel .eyebrow::before,
.home-listing-panel .eyebrow::before,
.audience-card .eyebrow::before,
.launch-notice-card .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(10, 157, 106, 0.14);
}

.why-section-panel .eyebrow {
  color: #07814f;
  background: rgba(224, 245, 237, 0.8);
  border-color: rgba(10, 157, 106, 0.15);
}

.why-section-panel .eyebrow::before {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 157, 106, 0.12);
}

.how-panel .eyebrow,
.launch-notice-card .eyebrow {
  color: #0f6b51;
  background: rgba(224, 245, 237, 0.78);
  border-color: rgba(15, 163, 113, 0.14);
}

.how-panel .eyebrow::before,
.launch-notice-card .eyebrow::before {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(15, 163, 113, 0.12);
}

.audience-card .eyebrow {
  color: #07814f;
  background: rgba(224, 245, 237, 0.76);
  border-color: rgba(10, 157, 106, 0.14);
}

.popular-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.popular-areas .chip {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  gap: 10px;
  padding: 12px 14px;
  color: var(--heading);
  font-size: 0.88rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  transform: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.popular-areas .chip:hover {
  color: var(--heading);
  background: #ffffff;
  border-color: rgba(10, 157, 106, 0.6);
  box-shadow: 0 0 0 1px rgba(10, 157, 106, 0.5), 0 0 20px rgba(10, 157, 106, 0.22), 0 10px 24px rgba(16, 24, 40, 0.08);
  transform: translateY(-2px);
}

.popular-areas .chip::after {
  content: "›";
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  background: var(--primary-soft);
  border-radius: 50%;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.popular-areas .chip:hover::after {
  color: #ffffff;
  background: var(--primary);
  transform: translateX(2px);
}

.home-listing-panel {
  background: #ffffff;
}

.why-section-panel {
  background: rgba(255, 255, 255, 0.92);
}

.how-panel {
  background: #ffffff;
}

.home-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-property-card {
  display: block;
  overflow: hidden;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.home-property-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 157, 106, 0.6);
  box-shadow: 0 0 0 1px rgba(10, 157, 106, 0.55), 0 0 26px rgba(10, 157, 106, 0.26), 0 0 44px rgba(52, 224, 176, 0.14), var(--shadow-strong);
}

.home-property-card .home-property-media {
  position: relative;
  overflow: hidden;
}

.home-property-card img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.home-property-card:hover img {
  transform: scale(1.07);
}

.home-property-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.home-property-body .status-badge {
  margin-bottom: 2px;
}

.home-property-body h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.home-property-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-property-body strong {
  color: var(--heading);
  font-size: 1rem;
}

.home-card-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.home-card-link::after {
  content: "›";
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1;
}

.home-listing-link {
  width: fit-content;
}

.swipe-hint {
  display: none;
  width: fit-content;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.app-card-grid,
.how-card-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.check-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.process-grid {
  counter-reset: process-step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.app-card,
.how-card,
.feature-panel,
.info-card,
.process-card,
.content-card,
.warning-box,
.callout {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.app-card,
.how-card,
.info-card,
.process-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .app-card:hover,
  .how-card:hover,
  .info-card:hover,
  .process-card:hover {
    transform: translateY(-5px);
    border-color: rgba(10, 157, 106, 0.2);
    box-shadow: var(--shadow);
  }
}

.app-card,
.how-card,
.feature-panel,
.info-card,
.process-card,
.content-card,
.warning-box,
.callout {
  padding: 22px;
}

.feature-panel,
.content-card,
.warning-box,
.callout {
  display: grid;
  align-content: start;
  gap: 14px;
}

.feature-panel h2,
.content-card h2,
.warning-box h2,
.callout h2 {
  margin-bottom: 0;
}

.app-card p,
.how-card p,
.feature-panel p,
.content-card p,
.callout p {
  color: var(--muted);
}

.feature-panel p,
.content-card p,
.warning-box p,
.callout p {
  margin-bottom: 0;
}

.info-card {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--heading);
  font-weight: 800;
  line-height: 1.45;
}

.info-card h3,
.info-card p {
  margin: 0;
}

.info-card p {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
  line-height: 1.5;
}

.action-card .button,
.action-card .button-group {
  margin-top: auto;
}

.action-card .button-group {
  width: 100%;
  gap: 8px;
  flex-direction: column;
}

.action-card .button {
  min-height: 42px;
}

.action-card .button-group .button {
  width: 100%;
}

.process-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 150px;
}

.process-card span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  background: var(--grad-primary);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(10, 157, 106, 0.3);
}

.process-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.process-note {
  width: fit-content;
  margin: 16px 0 0;
  padding: 10px 12px;
  background: rgba(15, 163, 113, 0.08);
  border: 1px solid rgba(15, 163, 113, 0.14);
  border-radius: 999px;
}

.why-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 14px;
  min-height: 142px;
}

.why-card h3,
.why-card p {
  grid-column: 2;
}

.why-card h3 {
  margin: 2px 0 6px;
}

.why-card p {
  margin-bottom: 0;
  line-height: 1.45;
}

.why-icon-tile,
.how-icon,
.audience-icon,
.launch-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.16);
}

.why-icon-tile {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  align-self: start;
}

.why-svg-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.checked-tile {
  background: linear-gradient(135deg, #0a9d6a, #0fbf9a);
}

.whatsapp-tile,
.whatsapp-icon {
  background: #25d366;
}

.safety-tile {
  background: linear-gradient(135deg, #11b5c9, #34e0b0);
}

.payment-tile {
  background: linear-gradient(135deg, #14b87a, #1ad98a);
}

.info-tile {
  background: linear-gradient(135deg, #2f74ff, #4f8bff);
}

.warn-tile {
  background: linear-gradient(135deg, #e0922e, #f0b34c);
}

/* Proptech tile-card grid (agents & safety) */
.tile-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: #ffffff;
  border-radius: 14px;
}

.tile-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.accept-reject .feature-panel {
  gap: 12px;
}

.check-list.reject-list li::before {
  content: "×";
  top: -2px;
  color: var(--warning);
  font-size: 1.15rem;
}

.check-list-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 10px;
}

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

.how-card,
.audience-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.how-icon,
.audience-icon,
.launch-notice-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  background: var(--grad-primary);
  box-shadow: 0 12px 26px rgba(10, 157, 106, 0.28);
}

.how-icon .icon,
.audience-icon .icon,
.launch-notice-icon .icon {
  width: 21px;
  height: 21px;
}

.whatsapp-icon .icon {
  width: 23px;
  height: 23px;
}

.how-card h3,
.audience-card h2 {
  margin-bottom: 8px;
}

.how-card p {
  margin-bottom: 0;
}

.how-card {
  position: relative;
}

.how-step {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--primary-hover);
  font-size: 0.8rem;
  font-weight: 900;
  background: var(--accent-soft);
  border: 1px solid rgba(10, 157, 106, 0.18);
  border-radius: 50%;
}

.audience-card > p:not(.eyebrow) {
  margin-bottom: 18px;
}

.how-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  color: #0a7d56;
  font-weight: 800;
  background: var(--success-soft);
  border: 1px solid rgba(15, 163, 113, 0.18);
  border-radius: 14px;
}

.audience-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.audience-card {
  min-height: 250px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 12px 14px;
  padding: 26px;
  overflow: hidden;
  position: relative;
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: auto -34px -46px auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(10, 157, 106, 0.1), transparent 68%);
  pointer-events: none;
}

.audience-card .button {
  width: fit-content;
  min-width: 150px;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.audience-card .audience-icon {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}

.audience-card .eyebrow {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin-bottom: 0;
}

.audience-card h2,
.audience-card > p:not(.eyebrow),
.audience-card .button {
  grid-column: 1 / -1;
}

.audience-card h2 {
  grid-row: 2;
  max-width: 480px;
  margin-top: 4px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.audience-card > p:not(.eyebrow) {
  grid-row: 3;
  max-width: 520px;
  align-self: start;
  line-height: 1.5;
}

.audience-card .button {
  grid-row: 4;
  align-self: end;
}

@media (hover: hover) and (pointer: fine) {
  .audience-card {
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  }

  .renter-card:hover {
    transform: translateY(-5px);
    border-color: rgba(10, 157, 106, 0.6);
    box-shadow: 0 0 0 1px rgba(10, 157, 106, 0.5), 0 0 28px rgba(10, 157, 106, 0.24), var(--shadow-strong);
  }

  .agent-card:hover {
    transform: translateY(-5px);
    border-color: rgba(47, 116, 255, 0.5);
    box-shadow: 0 0 0 1px rgba(47, 116, 255, 0.42), 0 0 28px rgba(47, 116, 255, 0.2), var(--shadow-strong);
  }
}

.renter-card .audience-icon {
  background: var(--primary);
}

.agent-card .audience-icon {
  background: var(--success);
}

.launch-notice-card {
  max-width: 780px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 14px;
  padding: clamp(24px, 3.4vw, 30px);
}

.launch-notice-header {
  display: contents;
}

.launch-notice-header .launch-notice-icon {
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--success), #0a6c53);
}

.launch-notice-header .eyebrow,
.launch-notice-header h2 {
  margin-bottom: 0;
}

.launch-notice-header h2 {
  line-height: 1.08;
}

.launch-chip-grid {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  gap: 8px;
  margin: 0;
}

.launch-chip-grid span {
  padding: 8px 11px;
  color: #07814f;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(224, 245, 237, 0.72);
  border: 1px solid rgba(10, 157, 106, 0.12);
  border-radius: 999px;
}

.launch-notice-card > p {
  grid-column: 2;
  max-width: 640px;
  margin-bottom: 0;
}

/* Page heroes and content layouts */

.page-hero {
  position: relative;
  padding: 48px 0 36px;
  text-align: left;
  isolation: isolate;
}

.app-page-hero {
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(var(--header-height) + 26px);
  overflow: hidden;
  background: var(--grad-ink);
  border-bottom: 1px solid var(--ink-line);
}

.app-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 120% at 4% 0%, rgba(10, 157, 106, 0.42) 0%, transparent 60%),
    radial-gradient(50% 120% at 98% 8%, rgba(15, 191, 154, 0.32) 0%, transparent 62%);
}

.app-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 70%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 70%);
}

.app-page-hero .pill {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.page-hero .pill {
  margin-bottom: 12px;
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 10px;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.app-page-hero h1 {
  color: var(--on-dark);
}

.page-hero p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.app-page-hero p {
  color: var(--on-dark-muted);
}

.confirmation-hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding: 54px 0;
}

.confirmation-hero .narrow {
  max-width: 680px;
  padding: clamp(22px, 4vw, 34px);
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.confirmation-hero .pill,
.confirmation-hero p {
  margin-inline: auto;
}

.confirmation-hero .button-group {
  justify-content: center;
  margin-top: 22px;
}

.confirmation-hero .narrow h1 {
  color: var(--heading);
}

.confirmation-hero .narrow p {
  color: var(--muted);
}

.confirmation-hero .narrow .pill {
  color: #07814f;
  background: var(--primary-soft);
  border: 1px solid rgba(10, 157, 106, 0.18);
}

.section:not(.home-section) .eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 7px 11px;
  color: #07814f;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(224, 245, 237, 0.78);
  border: 1px solid rgba(10, 157, 106, 0.12);
  border-radius: 999px;
}

.section:not(.home-section) .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(10, 157, 106, 0.12);
}

.two-column,
.form-layout,
.contact-grid,
.status-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4.4vw, 44px);
  align-items: start;
}

.section:not(.home-section) > .container {
  position: relative;
}

.two-column > div:first-child,
.form-layout > .section-heading,
.contact-grid > aside:first-child {
  max-width: 520px;
}

.two-column > div:first-child,
.form-layout > .section-heading,
.contact-grid > aside:first-child:not(.content-card) {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(212, 219, 232, 0.68);
  border-radius: 18px;
}

.submit-support-panel {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 16px;
}

.support-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 8px 10px;
  color: #0f6b51;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(224, 245, 237, 0.72);
  border: 1px solid rgba(15, 163, 113, 0.14);
  border-radius: 999px;
}

.support-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(15, 163, 113, 0.12);
}

.submit-support-intro p:last-child {
  margin-bottom: 0;
}

.submit-support-cards {
  display: grid;
  gap: 10px;
}

.support-card {
  position: relative;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(212, 219, 232, 0.72);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.support-card::before {
  content: "";
  position: absolute;
  inset: 12px auto auto 12px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(10, 157, 106, 0.12);
}

.support-card h3 {
  padding-left: 18px;
  margin-bottom: 5px;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.support-card p {
  padding-left: 18px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.two-column > div:first-child .eyebrow,
.form-layout .section-heading .eyebrow,
.contact-grid .eyebrow {
  margin-bottom: 10px;
}

.two-column > div:first-child h2,
.form-layout .section-heading h2,
.contact-grid h2 {
  margin-bottom: 10px;
}

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

.check-grid .info-card {
  position: relative;
  padding-left: 48px;
}

.check-grid .info-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 16px;
  height: 16px;
  background:
    radial-gradient(circle at center, #ffffff 0 28%, transparent 31%),
    linear-gradient(135deg, var(--success), #0a6c53);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(15, 163, 113, 0.1);
}

.status-grid .feature-panel {
  min-height: 100%;
  gap: 12px;
}

.status-grid .panel-illustration,
.warning-box .panel-illustration,
.callout .panel-illustration {
  width: 58px;
  height: 58px;
  padding: 10px;
  background: #f3f6fc;
  border: 1px solid rgba(212, 219, 232, 0.74);
  border-radius: 18px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.content-card .check-list + .button,
.content-card .button + .small-note {
  margin-top: 18px;
}

.content-card .button {
  width: fit-content;
}

.content-card .check-list {
  gap: 9px;
}

.content-card .small-note + .small-note {
  margin-top: -2px;
}

.prep-checklist {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(212, 219, 232, 0.72);
  border-radius: 16px;
}

.prep-checklist h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.prep-checklist .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.prep-checklist .check-list li {
  min-height: 34px;
  padding: 8px 10px 8px 30px;
  background: #ffffff;
  border: 1px solid rgba(212, 219, 232, 0.68);
  border-radius: 12px;
}

.prep-checklist .check-list li::before {
  top: 8px;
  left: 10px;
}

.content-card > :last-child,
.feature-panel > :last-child,
.warning-box > :last-child,
.callout > :last-child {
  margin-bottom: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}

.prose p {
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.panel-illustration {
  width: 78px;
  height: 78px;
  object-fit: contain;
  margin-bottom: 2px;
}

.warning-box {
  margin-top: 18px;
  background: linear-gradient(180deg, #f3f7ff, #eef3ff);
  border: 1px solid rgba(10, 157, 106, 0.16);
  box-shadow: inset 4px 0 0 var(--primary), var(--shadow-sm);
}

.safety-callout {
  margin-top: 14px;
}

.safety-list {
  counter-reset: safety-step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.safety-list li {
  counter-increment: safety-step;
  position: relative;
  min-height: 100%;
  padding: 16px 16px 16px 54px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.safety-list li::before {
  content: counter(safety-step);
  position: absolute;
  top: 14px;
  left: 14px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #07814f;
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--accent-soft);
  border-radius: 10px;
}

/* Listings */

.listings-screen {
  padding-top: 24px;
}

.filter-chips {
  position: static;
  top: auto;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(212, 219, 232, 0.74);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.sort-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px 18px;
  margin: 0 0 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(212, 219, 232, 0.74);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.filter-select {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.budget-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filter-select > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-select select {
  min-height: 48px;
  width: 100%;
  padding: 0 36px 0 13px;
  color: var(--heading);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--button-radius);
  outline: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.filter-select .native-filter-select {
  display: none;
}

.listing-custom-select {
  width: 100%;
}

.listing-custom-select .custom-select-trigger {
  min-height: 48px;
  padding-inline: 13px 34px;
  background: #ffffff;
  border-color: var(--border);
  border-radius: var(--button-radius);
}

.listing-custom-select .custom-select-trigger span {
  min-width: 0;
  overflow: hidden;
  color: var(--heading);
  font-size: 0.86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-custom-select .custom-select-menu {
  z-index: 60;
}

/* Keep listing filter dropdown options as clean rows (match homepage hero),
   not bordered boxes. The .sort-filter-bar button rule must not leak in. */
.listing-custom-select .custom-select-menu button {
  min-height: 38px;
  padding: 9px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.listing-custom-select .custom-select-menu button:hover {
  background: var(--accent-soft);
}

.listing-custom-select.is-open {
  z-index: 70;
}

.filter-select select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 157, 106, 0.12);
}

.sort-filter-bar button {
  min-height: 44px;
  color: var(--heading);
  font-weight: 800;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--button-radius);
}

.listings-screen .section-heading {
  max-width: 760px;
  margin-top: 0;
  margin-bottom: 10px;
}

.listings-screen .section-heading h2 {
  margin-bottom: 6px;
}

.listings-screen .section-heading p:last-child {
  margin-bottom: 0;
}

.listings-screen .result-toolbar {
  margin-top: 0;
  margin-bottom: 12px;
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.result-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.result-meta span {
  min-width: 0;
}

.result-meta button {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--accent-soft);
  border: 1px solid rgba(10, 157, 106, 0.12);
  border-radius: 999px;
}

.listing-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.property-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .property-card:hover {
    transform: translateY(-6px);
    border-color: rgba(10, 157, 106, 0.6);
    box-shadow: 0 0 0 1px rgba(10, 157, 106, 0.55), 0 0 26px rgba(10, 157, 106, 0.26), 0 0 44px rgba(52, 224, 176, 0.14), var(--shadow-strong);
  }
}

.property-media {
  position: relative;
  min-height: 214px;
  overflow: hidden;
  background: var(--surface-soft);
}

.property-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 36, 0) 38%, rgba(12, 20, 36, 0.18) 64%, rgba(12, 20, 36, 0.62) 100%);
  pointer-events: none;
}

.property-media img {
  width: 100%;
  height: 232px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.property-card:hover .property-media img {
  transform: scale(1.07);
}

.media-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rent-badge {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  background: rgba(12, 20, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.property-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.property-title-row {
  display: block;
  align-items: flex-start;
}

.property-title-row p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.property-title-row h2 {
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.18;
}

.listing-reference {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.property-body > .button {
  width: 100%;
  min-height: 44px;
  margin-top: 0;
}

.property-body > .button-primary[href*="contact.html#contact-form"] {
  color: #ffffff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 14px 28px rgba(18, 140, 126, 0.24);
}

.property-body > .button-primary[href*="contact.html#contact-form"]:hover {
  background: linear-gradient(135deg, #1fbd5d, #0f776c);
  box-shadow: 0 18px 34px rgba(18, 140, 126, 0.3);
}

.inline-detail-panel .button-primary[href*="contact.html#contact-form"],
.detail-summary-card .detail-enquiry {
  color: #ffffff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 14px 28px rgba(18, 140, 126, 0.22);
}

.detail-summary-card .detail-enquiry.button-full {
  width: 100%;
  margin-top: 2px;
}

.property-body > .details-toggle,
.property-body > .details-link {
  margin-top: auto;
}

.property-body > .button + .button {
  margin-top: -2px;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: auto;
}

.card-actions .button {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  white-space: normal;
  line-height: 1.2;
}

.property-body .small-note {
  margin: 2px 0 0;
  line-height: 1.4;
}

.listing-update-link {
  width: fit-content;
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.listing-update-link:hover {
  color: var(--primary);
}

.inline-detail-panel {
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.inline-detail-header {
  display: grid;
  gap: 3px;
}

.inline-detail-header strong {
  color: var(--heading);
  font-size: 0.98rem;
}

.inline-detail-header span,
.inline-detail-note {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.inline-detail-note {
  margin: -2px 0 0;
  padding: 10px 11px;
  background: rgba(224, 245, 237, 0.64);
  border: 1px solid rgba(15, 163, 113, 0.12);
  border-radius: 12px;
}

.inline-detail-panel[hidden],
.property-card[hidden] {
  display: none;
}

.inline-detail-grid {
  display: grid;
  gap: 10px;
}

.inline-detail-grid article {
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(212, 219, 232, 0.7);
  border-radius: 12px;
}

.inline-detail-grid strong,
.inline-detail-grid span {
  display: block;
}

.inline-detail-grid strong {
  margin-bottom: 5px;
  color: var(--heading);
  font-size: 0.84rem;
}

.inline-detail-grid span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

/* Listing detail page */

.listing-detail-hero {
  padding-bottom: 16px;
}

.listing-detail-hero + .section.compact-section {
  padding-top: 16px;
}

.listing-detail-header {
  display: grid;
  gap: 10px;
}

.listing-detail-header h1 {
  max-width: 820px;
}

.back-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
  transition: color 0.2s var(--ease);
}

.back-link:hover {
  color: #ffffff;
}

.back-link::before {
  content: "←";
  color: var(--cyan);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
}

.detail-media-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-media-frame {
  position: relative;
  overflow: hidden;
}

.detail-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0) 55%, rgba(16, 24, 40, 0.58));
  pointer-events: none;
}

.detail-media-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.detail-media-overlay {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.detail-media-overlay strong {
  padding: 12px 14px;
  color: #ffffff;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 900;
  background: rgba(16, 24, 40, 0.82);
  border-radius: 16px;
}

.detail-thumbnail-strip {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.detail-thumbnail-strip::-webkit-scrollbar {
  display: none;
}

.detail-thumbnail-strip button {
  width: 84px;
  height: 60px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  background: var(--surface-soft);
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.18);
}

.detail-thumbnail-strip button.is-active {
  border-color: var(--primary);
}

.detail-thumbnail-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-summary-card {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.detail-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-facts-grid span {
  display: grid;
  gap: 3px;
  padding: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--surface-soft);
  border: 1px solid rgba(212, 219, 232, 0.72);
  border-radius: 14px;
}

.detail-facts-grid strong {
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 900;
}

.detail-badges {
  margin-top: 2px;
}

.fact-row,
.property-meta,
.badge-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 7px;
}

.fact-row span,
.property-meta span,
.badge-row .status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 32px;
  padding: 8px 10px;
  text-align: left;
}

.fact-row span,
.property-meta span {
  color: var(--heading);
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.property-meta span {
  color: var(--heading);
  background: transparent;
  border: 1px solid var(--border);
}

/* Add brand colour to the listing fact/meta labels so they are not all grey. */
.fact-row span .icon {
  color: var(--primary);
}

.property-meta span .icon {
  color: var(--secondary);
}

.property-meta span:first-child {
  color: #1f4fb0;
  background: rgba(47, 116, 255, 0.08);
  border-color: rgba(47, 116, 255, 0.18);
}

.property-meta span:first-child .icon {
  color: var(--secondary);
}

.detail-preview,
.empty-state {
  margin-top: 26px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.preview-grid article {
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.preview-grid strong,
.preview-grid span {
  display: block;
}

.preview-grid strong {
  margin-bottom: 6px;
  color: var(--heading);
}

.preview-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.empty-state[hidden] {
  display: none;
}

.mobile-sticky-cta {
  display: none;
}

/* Forms */

.contact-form {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.large-form {
  gap: 22px;
}

.contact-form .form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}

.contact-form label,
.contact-form fieldset {
  position: relative;
  display: grid;
  gap: 9px;
  color: var(--heading);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 48px;
  padding: 12px 14px;
  color: var(--heading);
  font-weight: 600;
}

.contact-form select {
  padding: 0 38px 0 34px;
  font-size: 0.9rem;
  font-weight: 800;
  appearance: none;
  background:
    radial-gradient(circle at 16px 50%, var(--primary) 0 3px, transparent 4px),
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 13px) 50% / 6px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
  border-color: var(--border);
  border-radius: var(--button-radius);
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.04);
}

.contact-form select:focus {
  background:
    radial-gradient(circle at 16px 50%, var(--primary) 0 3px, transparent 4px),
    linear-gradient(45deg, transparent 50%, var(--heading) 50%) calc(100% - 18px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--heading) 50%, transparent 50%) calc(100% - 13px) 50% / 6px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
}

.contact-form .native-form-select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-custom-select {
  width: 100%;
}

.form-custom-select .custom-select-trigger {
  width: 100%;
  min-height: 48px;
  padding-inline: 34px;
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 800;
  background: #ffffff;
  border-color: var(--border);
  border-radius: var(--button-radius);
  box-shadow: var(--shadow-xs);
}

.form-custom-select .custom-select-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-custom-select .custom-select-menu {
  z-index: 80;
  max-height: 260px;
  overflow-y: auto;
}

.form-custom-select.is-open {
  z-index: 90;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

.contact-form .form-section {
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 244, 250, 0.85) 100%);
  border: 1px solid rgba(212, 219, 232, 0.68);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.045);
}

.contact-form .form-section > legend {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #07814f;
  font-size: 0.76rem;
  background: var(--accent-soft);
  border: 1px solid rgba(10, 157, 106, 0.12);
  border-radius: 999px;
}

.contact-form .form-section > legend::before {
  content: attr(data-step);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  background: var(--primary);
  border-radius: 8px;
}

.contact-form .form-section-intro {
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.nested-options {
  gap: 10px;
}

.stacked-fields {
  display: grid;
  gap: 16px;
}

.contact-form legend {
  padding: 0;
  margin-bottom: 9px;
  color: var(--heading);
  font-weight: 900;
}

.form-progress {
  width: fit-content;
  padding: 8px 11px;
  color: #07814f;
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--accent-soft);
  border-radius: 999px;
}

.form-progress + .form-grid,
.form-progress + fieldset {
  margin-top: -4px;
}

.contact-form .small-note {
  margin: -2px 0 0;
}

.contact-form .form-alert-note {
  margin: 0;
  padding: 11px 12px;
  color: #0b513f;
  background: rgba(224, 245, 237, 0.62);
  border: 1px solid rgba(15, 163, 113, 0.13);
  border-radius: 13px;
}

.contact-form .form-alert-note-strong {
  box-shadow: 0 10px 24px rgba(15, 163, 113, 0.08);
}

.contact-form .form-alert-note-subtle {
  color: var(--muted);
  background: rgba(241, 244, 250, 0.8);
  border-color: rgba(212, 219, 232, 0.68);
}

.contact-form .button {
  justify-self: start;
  min-width: 180px;
}

.next-step-card {
  min-height: 100%;
}

.next-step-card .button {
  margin-top: auto;
}

.update-card .button-group {
  margin-top: 6px;
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-group.amenity-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.option {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  width: fit-content;
  padding: 10px 12px;
  color: var(--text) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.amenity-options .option {
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
  border-radius: 14px;
}

.option input {
  width: auto;
  min-height: auto;
  padding: 0;
  box-shadow: none;
}

/* Brand the native radios/checkboxes and remove the square focus glow that the
   generic .contact-form input:focus rule added to small controls. */
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--primary);
}

.option input:focus,
.contact-form input[type="radio"]:focus,
.contact-form input[type="checkbox"]:focus {
  box-shadow: none;
}

.option input:focus-visible {
  outline: 2px solid rgba(10, 157, 106, 0.55);
  outline-offset: 2px;
}

/* Date fields: match the other inputs and brand the picker control. */
.contact-form input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  color: var(--heading);
  font-weight: 700;
}

.contact-form input[type="date"]::-webkit-datetime-edit {
  color: var(--heading);
}

.contact-form input[type="date"]:required:invalid::-webkit-datetime-edit {
  color: var(--muted);
}

.contact-form input[type="date"]::-webkit-calendar-picker-indicator {
  width: 17px;
  height: 17px;
  padding: 2px;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}

.contact-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 0.9;
}

.consent {
  width: auto;
  max-width: 760px;
  border-radius: 14px;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.contact-grid .content-card {
  gap: 10px;
}

.contact-grid .content-card a {
  color: var(--primary);
  font-weight: 900;
}

.form-layout > .section-heading p:last-child,
.contact-grid > aside p:last-child {
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  position: relative;
  padding: 50px 0 26px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--grad-ink);
  border-top: 1px solid var(--ink-line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--grad-vivid);
  opacity: 0.9;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.footer-brand img {
  width: clamp(210px, 22vw, 260px);
  display: block;
  margin-bottom: 18px;
}

.footer-brand p,
.footer-bottom p {
  margin-bottom: 8px;
}

.footer-brand > p:first-of-type {
  display: none;
}

.footer-note {
  max-width: 390px;
  margin-left: clamp(43px, 4.5vw, 54px);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-link-groups h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.footer-link-groups a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-link-groups a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

/* Responsive */

@media (min-width: 860px) {
  .popular-areas {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    gap: 8px;
    background: rgba(11, 15, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(7, 10, 20, 0.5);
    backdrop-filter: saturate(160%) blur(22px);
  }

  .nav-menu.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu a {
    justify-content: center;
    color: rgba(228, 235, 250, 0.85);
    border-radius: 14px;
  }

  .nav-menu a:active,
  .nav-menu a[aria-current="page"]:not(.nav-cta) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-menu a.nav-cta {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .app-shell,
  .two-column,
  .form-layout,
  .contact-grid,
  .status-grid,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .listing-detail-hero + .section.compact-section {
    padding-top: 8px;
  }

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

  .submit-support-panel {
    position: static;
  }

  .detail-summary-card {
    position: static;
    z-index: 2;
    margin-top: -8px;
  }

  .search-card {
    justify-self: start;
  }

  .app-card-grid,
  .home-listing-grid,
  .listing-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Enquiry / agent tiles: one column on mobile — two-up cards are too narrow */
  .tile-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tile-card-grid .info-card,
  .tile-card-grid .why-card {
    min-width: 0;
  }

  .tile-card-grid .info-card h3,
  .tile-card-grid .why-card h3 {
    overflow-wrap: anywhere;
  }

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

  .app-page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 5.4vw, 2.65rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .listings-screen {
    padding-top: 22px;
  }

  .filter-chips {
    position: static;
    top: auto;
    z-index: 1;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    background:
      linear-gradient(180deg, #ffffff 0%, #f7faf9 55%, #eef4f1 100%);
  }

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

  .section {
    padding: 52px 0;
  }

  .compact-section {
    padding: 34px 0;
  }

  .site-header {
    position: sticky;
    background: transparent;
  }

  .page-hero {
    padding: 26px 0 16px;
  }

  .app-page-hero {
    padding-top: calc(var(--header-height) + 8px);
  }

  .page-hero h1 {
    max-width: 100%;
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 7vw, 2.25rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .page-hero p {
    max-width: 30rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .detail-media-overlay {
    inset: auto 12px 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-thumbnail-strip {
    padding: 6px 8px 8px;
    gap: 6px;
  }

  .detail-thumbnail-strip button {
    width: 66px;
    height: 46px;
    border-radius: 10px;
  }

  .detail-media-card img {
    height: 286px;
  }

  .detail-facts-grid {
    grid-template-columns: 1fr;
  }

  .app-page-hero .narrow {
    max-width: 100%;
  }

  .nav {
    min-height: 62px;
  }

  .logo img {
    width: min(190px, 54vw);
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .app-hero {
    min-height: auto;
    align-items: end;
    padding: calc(var(--header-height) + 18px) 0 48px;
    background-position: 48% center;
  }

  .app-hero + .section {
    margin-top: -36px;
  }

  .home-section + .home-section {
    margin-top: -4px;
  }

  .app-shell {
    gap: 18px;
  }

  .hero-copy h1 {
    max-width: 320px;
    margin-bottom: 10px;
    font-size: clamp(1.85rem, 9.4vw, 2.75rem);
    line-height: 1.04;
  }

  .hero-text {
    margin-bottom: 0;
    font-size: 0.95rem;
  }

  .hero-stats {
    gap: 8px;
    margin-top: 16px;
  }

  .hero-stat {
    min-width: calc(50% - 4px);
    padding: 10px 12px;
  }

  .hero-stat strong {
    font-size: 1rem;
  }

  .hero-stat span {
    font-size: 0.74rem;
  }

  .search-card {
    width: 100%;
    padding: 14px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(12, 20, 36, 0.2);
  }

  .search-card h2 {
    margin-bottom: 12px;
    font-size: 1.08rem;
  }

  .app-search-field input,
  .custom-select-trigger {
    min-height: 46px;
    padding-inline: 13px;
    font-size: 0.88rem;
  }

  .home-select-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .launch-mini-card {
    padding: 9px 10px;
    border-radius: 12px;
  }

  .launch-mini-card span {
    font-size: 0.76rem;
  }

  .post-hero-panel,
  .why-section-panel,
  .how-panel,
  .home-listing-panel,
  .feature-panel,
  .content-card,
  .warning-box,
  .callout,
  .contact-form,
  .launch-notice-card {
    padding: 15px;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  }

  .home-section {
    padding-block: 26px;
  }

  .home-section-areas {
    padding-top: 0;
  }

  .compact-heading h2 {
    margin-bottom: 8px;
    font-size: 1.35rem;
    line-height: 1.12;
  }

  .compact-heading p:last-child {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
  }

  .swipe-hint::after {
    content: "→";
    color: var(--primary);
  }

  .app-card-grid,
  .listing-card-grid,
  .audience-cta-grid,
  .process-grid,
  .footer-grid,
  .footer-link-groups,
  .form-grid,
  .safety-list,
  .check-list-2col,
  .sort-filter-bar {
    grid-template-columns: 1fr;
  }

  .prep-checklist .check-list {
    grid-template-columns: 1fr;
  }

  .listings-screen {
    padding-top: 18px;
  }

  .listings-screen > .container {
    overflow: visible;
  }

  .filter-chips {
    position: static;
    z-index: 1;
    gap: 6px;
    margin: 0 0 10px;
    padding: 7px 0;
    max-width: 100%;
    background: transparent;
    border-inline: 0;
    border-radius: 0;
    box-shadow: none;
    scroll-padding-inline: 0;
  }

  .filter-chips .chip {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 12px;
    color: #4b5565;
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(212, 219, 232, 0.78);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.05);
  }

  .filter-chips .chip-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #07814f);
    border-color: rgba(10, 157, 106, 0.12);
    box-shadow: 0 10px 20px rgba(10, 157, 106, 0.2);
  }

  .why-section-panel .app-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .why-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .why-card h3,
  .why-card p {
    grid-column: auto;
  }

  .why-icon-tile {
    grid-row: auto;
  }

  .how-card-grid {
    display: flex;
    gap: 12px;
    margin-inline: -15px;
    padding: 0 15px 4px;
    overflow-x: auto;
    scroll-padding-inline: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .how-card-grid::-webkit-scrollbar {
    display: none;
  }

  .how-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .home-listing-grid {
    display: flex;
    gap: 12px;
    margin-inline: -15px;
    padding: 0 15px 4px;
    overflow-x: auto;
    scroll-padding-inline: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-listing-grid::-webkit-scrollbar {
    display: none;
  }

  .home-property-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
    border-radius: 20px;
  }

  .home-property-card img {
    height: 166px;
  }

  .home-listing-link {
    width: 100%;
  }

  .audience-card {
    min-height: auto;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px 12px;
    padding: 16px;
  }

  .audience-card h2 {
    margin-top: 0;
    font-size: 1.42rem;
  }

  .audience-card > p:not(.eyebrow) {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }

  .audience-card .button {
    width: 100%;
  }

  .footer-note {
    margin-left: 0;
  }

  .why-card {
    min-height: auto;
    padding: 13px;
    border-radius: 18px;
  }

  .why-icon-tile {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .why-svg-icon {
    width: 21px;
    height: 21px;
  }

  .why-card h3 {
    margin-top: 0;
    font-size: 0.92rem;
    line-height: 1.18;
  }

  .why-card p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .how-icon,
  .audience-icon,
  .launch-notice-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .how-card {
    padding: 16px;
    border-radius: 18px;
  }

  .how-note {
    padding: 12px;
    font-size: 0.84rem;
    border-radius: 14px;
  }

  .launch-notice-card {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .launch-notice-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .listing-status-banner {
    grid-template-columns: 1fr;
    align-items: start;
    margin: 0 0 18px;
    padding: 10px 11px;
  }

  .launch-chip-grid,
  .launch-notice-card > p {
    grid-column: 1;
    margin-left: 0;
  }

  .sort-filter-bar {
    position: relative;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 18px;
    padding: 10px;
    overflow: visible;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(212, 219, 232, 0.74);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  }

  .sort-filter-bar button {
    flex: 0 0 auto;
    min-width: 108px;
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.8rem;
  }

  .filter-select {
    gap: 5px;
  }

  .filter-select:last-child {
    grid-column: 1 / -1;
  }

  .filter-budget {
    grid-column: 1 / -1;
  }

  .filter-select select {
    min-height: 42px;
    padding-left: 11px;
    font-size: 0.8rem;
    border-radius: 12px;
  }

  .listing-custom-select .custom-select-trigger {
    min-height: 42px;
    padding-left: 11px;
    border-radius: 12px;
  }

  .listing-custom-select .custom-select-trigger span {
    font-size: 0.8rem;
  }

  .listing-custom-select .custom-select-menu {
    max-height: 240px;
    overflow-y: auto;
  }

  .result-toolbar {
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 14px;
  }

  .result-count {
    margin: 0;
    font-size: 0.84rem;
  }

  .result-meta {
    margin: 0;
    font-size: 0.8rem;
  }

  .listing-card-grid {
    gap: 16px;
  }

  .property-card {
    border-radius: 20px;
  }

  .property-media {
    min-height: 188px;
  }

  .property-media img {
    height: 190px;
  }

  .media-badges {
    top: 10px;
    left: 10px;
    gap: 6px;
  }

  .rent-badge {
    left: 12px;
    bottom: 12px;
    padding: 9px 11px;
    font-size: 0.98rem;
    border-radius: 12px;
  }

  .property-body {
    gap: 8px;
    padding: 14px;
  }

  .property-title-row {
    display: grid;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .property-title-row p {
    margin-bottom: 3px;
    font-size: 0.8rem;
  }

  .property-title-row h2 {
    font-size: 1.02rem;
    line-height: 1.2;
  }

  .listing-reference {
    min-height: 22px;
    padding: 4px 7px;
    font-size: 0.68rem;
  }

  .fact-row,
  .property-meta,
  .badge-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .fact-row span,
  .property-meta span,
  .badge-row .status-badge {
    min-height: 28px;
    width: auto;
    padding: 6px 8px;
    font-size: 0.74rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    border-radius: 9px;
  }

  .property-body > .button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .card-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
  }

  .card-actions .button {
    min-height: 42px;
    padding: 9px 7px;
    font-size: 0.76rem;
    justify-content: center;
  }

  .card-actions .button .icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  /* Similar listings: stack vertically — horizontal scroll caused page overflow */
  [data-similar-section] .home-listing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-inline: 0;
    padding: 0;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  [data-similar-section] .home-property-card {
    flex: none;
    width: 100%;
  }

  .property-body .small-note {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .listing-update-link {
    margin-top: -3px;
    font-size: 0.75rem;
  }

  .inline-detail-panel {
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .inline-detail-header strong {
    font-size: 0.92rem;
  }

  .inline-detail-grid article {
    padding: 10px;
  }

  .inline-detail-grid strong,
  .inline-detail-grid span {
    font-size: 0.8rem;
  }

  .detail-preview,
  .empty-state {
    margin-top: 20px;
    padding: 16px;
    border-radius: 20px;
  }

  .detail-preview h2,
  .empty-state h2 {
    font-size: 1.25rem;
    line-height: 1.18;
  }

  .detail-preview p,
  .empty-state p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .preview-grid {
    gap: 10px;
    margin: 14px 0;
  }

  .preview-grid article {
    padding: 12px;
    border-radius: 14px;
  }

  .preview-grid span {
    font-size: 0.84rem;
  }

  .form-layout,
  .contact-grid,
  .two-column,
  .status-grid {
    gap: 20px;
  }

  .two-column > div:first-child,
  .form-layout > .section-heading,
  .contact-grid > aside:first-child:not(.content-card) {
    padding: 14px;
    border-radius: 18px;
  }

  .safety-list {
    gap: 10px;
  }

  .safety-list li {
    padding: 14px 14px 14px 50px;
  }

  .safety-list li::before {
    top: 13px;
    left: 13px;
  }

  .form-progress {
    font-size: 0.72rem;
  }

  .contact-form .form-section {
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .contact-form .form-section > legend {
    padding: 6px 9px;
    font-size: 0.7rem;
  }

  .contact-form select {
    min-height: 44px;
    padding-left: 30px;
    font-size: 0.82rem;
    background:
      radial-gradient(circle at 14px 50%, var(--primary) 0 3px, transparent 4px),
      linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 50% / 6px 6px no-repeat,
      linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 13px) 50% / 6px 6px no-repeat,
      linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
  }

  .form-custom-select .custom-select-trigger {
    min-height: 44px;
    padding-inline: 30px;
    font-size: 0.82rem;
  }

  .form-custom-select .custom-select-menu {
    max-height: 240px;
  }

  .contact-form .form-alert-note {
    padding: 10px 11px;
    border-radius: 12px;
  }

  .option-group {
    display: grid;
    grid-template-columns: 1fr;
  }

  .option {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
  }

  .option-group.amenity-options {
    display: grid;
    grid-template-columns: 1fr;
  }

  .amenity-options .option {
    width: 100%;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(58px + env(safe-area-inset-bottom));
    z-index: 900;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky-cta .button {
    min-height: 42px;
    padding: 10px;
    font-size: 0.82rem;
  }

  .mobile-app-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -12px 28px rgba(16, 24, 40, 0.12);
  }

  .site-footer {
    padding: 30px 0 calc(72px + env(safe-area-inset-bottom));
  }

  .footer-brand img {
    width: 190px;
    margin-bottom: 12px;
  }

  .footer-note {
    max-width: 320px;
    padding-top: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .footer-link-groups {
    gap: 14px;
  }

  .footer-link-groups h3 {
    margin-bottom: 8px;
    font-size: 0.82rem;
  }

  .footer-link-groups a {
    margin-bottom: 6px;
    font-size: 0.84rem;
  }

  .mobile-app-nav a {
    min-height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 900;
    border-radius: 13px;
  }

  .mobile-app-nav a[aria-current="page"] {
    color: var(--primary);
    background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
    box-shadow: inset 0 0 0 1px rgba(10, 157, 106, 0.12), 0 8px 18px rgba(10, 157, 106, 0.12);
  }

  .mobile-app-nav .icon {
    width: 18px;
    height: 18px;
  }

  .footer-bottom {
    display: grid;
    gap: 4px;
    margin-top: 20px;
    padding-top: 14px;
  }
}

@media (max-width: 520px) {
  h2 {
    font-size: 1.45rem;
  }

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

  .hero-copy h1 {
    max-width: 300px;
    font-size: clamp(1.78rem, 8.8vw, 2.45rem);
  }

  .app-page-hero h1 {
    font-size: clamp(1.55rem, 6.4vw, 2rem);
  }

  .filter-chips .chip {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.72rem;
    border-radius: 11px;
  }

  .app-hero .pill {
    padding: 8px 11px;
    font-size: 0.68rem;
  }

  .search-card {
    padding: 13px;
  }

  .popular-areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .popular-areas .chip {
    min-height: 46px;
    padding: 10px 11px;
    font-size: 0.8rem;
  }

  .popular-areas .chip::after {
    width: 18px;
    height: 18px;
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .button-group .button {
    width: auto;
  }

  .media-badges {
    right: 56px;
  }

  .property-media {
    min-height: 186px;
  }

  .property-media img {
    height: 188px;
  }

  .fact-row span,
  .property-meta span,
  .status-badge {
    font-size: 0.75rem;
  }

  .fact-row,
  .property-meta,
  .badge-row {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  }

  .card-actions .button {
    font-size: 0.72rem;
    padding: 8px 6px;
  }

  .home-property-card {
    flex-basis: 82%;
  }

  .how-card {
    flex-basis: 80%;
  }

  .app-card-grid {
    gap: 10px;
  }

  .why-section-panel .app-card-grid {
    gap: 8px;
  }

  .why-card {
    padding: 12px;
  }

  .why-icon-tile {
    width: 36px;
    height: 36px;
  }

  .audience-card {
    border-radius: 20px;
  }

  .mobile-app-nav a {
    min-height: 44px;
    font-size: 0.6rem;
  }

  .mobile-app-nav .icon {
    width: 17px;
    height: 17px;
  }
}

/* Scroll-reveal motion */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.32s; }

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Phase 2.5 additive: amenity filters, load-more, detail amenities */
[hidden] {
  display: none !important;
}

.amenity-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.amenity-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--muted);
  margin-right: 2px;
}

/* Search page amenity filters — match filter bar panel style */
.listings-screen .amenity-chips {
  gap: 8px;
  margin: 0 0 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(212, 219, 232, 0.74);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.listings-screen .amenity-label {
  flex: 0 0 100%;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listings-screen .amenity-chip {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--heading);
  font-size: 0.8rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  gap: 6px;
}

.listings-screen .amenity-chip:focus,
.listings-screen .amenity-chip:active {
  color: var(--heading);
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  outline: none;
}

.listings-screen .amenity-chip:focus-visible {
  outline: 2px solid rgba(10, 157, 106, 0.55);
  outline-offset: 3px;
}

.listings-screen .amenity-chip .icon {
  width: 15px;
  height: 15px;
  color: var(--secondary);
}

.listings-screen .amenity-chip.chip-active .icon {
  color: #ffffff;
}

.listings-screen .amenity-chip.chip-active {
  color: #ffffff;
  background: var(--heading);
  border-color: var(--heading);
  box-shadow: none;
}

.listings-screen .amenity-chip.chip-active:focus,
.listings-screen .amenity-chip.chip-active:active {
  color: #ffffff;
  background: var(--heading);
  border-color: var(--heading);
  box-shadow: none;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.detail-amenities {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.detail-amenities .amenity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #3f4a5a;
  background: #eef1f6;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.amenity-tag .icon {
  width: 15px;
  height: 15px;
  color: var(--secondary);
}

.amenity-chip .icon {
  width: 16px;
  height: 16px;
}

/* Toggle filter chips: hover must look different from the selected state so
   that clicking an active amenity off doesn't keep it looking selected.
   Hover effects are limited to hover-capable devices so taps never "stick". */
.amenity-chip.chip-active {
  color: #ffffff;
  background: var(--heading);
  border-color: var(--heading);
}

@media (hover: hover) {
  .amenity-chip:hover {
    color: var(--heading);
    background: #ffffff;
    border-color: rgba(10, 157, 106, 0.55);
  }

  .amenity-chip.chip-active:hover {
    color: #ffffff;
    background: var(--heading);
    border-color: var(--heading);
  }
}

.amenity-groups {
  display: grid;
  gap: 14px;
}

.amenity-group {
  display: grid;
  gap: 8px;
}

.amenity-group-label,
.amenity-field-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.amenity-field-group {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.detail-size span {
  white-space: nowrap;
}

.listing-missing {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 560px;
}
