/* ============================================================================
   AGREMATE · Airbnb-inspired Light Design System
   White canvas, ink typography, hairline borders, soft rounded cards.
   Single brand voltage: AGREMATE blue (#013AD6) in place of Rausch.
   Font: Montserrat everywhere. One shadow tier; flat otherwise.
   ========================================================================= */

:root {
  /* ── Core palette (Airbnb design.md + AGREMATE blue) ── */
  --bg: #FFFFFF;
  --bg-deep: #F7F7F7;
  --surface: #FFFFFF;
  --surface-2: #F7F7F7;
  --accent: #013AD6;
  --accent-2: #3B6DFF;
  --accent-soft: #6E96FF;
  --cyan: #3B6DFF;
  --text: #222222;
  --text-2: #6A6A6A;
  --text-3: #929292;
  --text-muted: #6A6A6A;
  --border: #DDDDDD;
  --border-strong: #C1C1C1;
  --error: #C13515;
  --wa: #25D366;

  /* ── Surfaces (light equivalents of the old glass tokens) ── */
  --glass: rgba(0, 0, 0, 0.03);
  --glass-2: rgba(0, 0, 0, 0.05);
  --glass-border: rgba(0, 0, 0, 0.10);

  /* ── Legacy aliases (used by inline styles in markup) ── */
  --blue-deep: #013AD6;
  --blue-mid: #3B6DFF;
  --blue-brand: #013AD6;
  --blue-light: #6E96FF;
  --blue-pale: rgba(1, 58, 214, 0.08);
  --teal: #3B6DFF;
  --text-dark: #222222;
  --text-mid: #3F3F3F;

  /* ── Type ── */
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* ── Motion ── */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);

  /* ── Button metrics (Airbnb: 48px height, 24px sides) ── */
  --btn-h: 48px;
  --btn-px: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.lenis {
  scroll-behavior: auto;
}

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient background: pure white canvas (Airbnb) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: -2;
}

body::after {
  content: none;
}

::selection {
  background: rgba(1, 58, 214, 0.16);
  color: #222222;
}

/* Thin light scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #FFFFFF;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 99px;
  border: 2px solid #FFFFFF;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(1, 58, 214, 0.45);
}

img {
  max-width: 100%;
  display: inline-block;
}

/* ============================================================================
   TYPOGRAPHY · light, editorial, Montserrat only
   ========================================================================= */

h1 {
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  /* adapted display: confident but modest */
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 16px;
}

h2 {
  font-weight: 600;
  /* Airbnb display-xl: modest, confident */
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  /* 28px */
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 14px;
}

.grad {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  background: none;
  animation: none;
}

.sec-desc {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.sec-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.sec-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ============================================================================
   LIQUID GLASS BUTTONS (Apple-style)
   .btn-primary / .btn-ghost / .btn-white / .nav-cta / .drawer-cta-btn …
   ========================================================================= */

.btn-primary,
.btn-ghost,
.btn-white,
.btn-woutline,
.nav-cta,
.plan-btn,
.btn-outline-plan,
.btn-white-plan,
.drawer-cta-btn,
.modal-submit,
.modal-wa-btn,
.modal-success .wa-link{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  /* Airbnb rounded.sm */
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  background: #FFFFFF;
  color: #222222;
  box-shadow: none;
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.35s ease,
    background 0.35s ease;
  will-change: transform;
}

/* moving specular highlight removed — flat Airbnb surfaces */
.btn-primary::before,
.btn-ghost::before,
.btn-white::before,
.nav-cta::before,
.drawer-cta-btn::before {
  content: none;
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-white:hover,
.btn-woutline:hover,
.nav-cta:hover,
.drawer-cta-btn:hover{
  transform: scale(1.03);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-primary:active,
.btn-ghost:active,
.btn-white:active,
.nav-cta:active {
  transform: translateY(0) scale(0.985);
}

/* Primary: AGREMATE blue fill */
.btn-primary {
  background: #013AD6;
  border-color: #013AD6;
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #012CA6;
  border-color: #012CA6;
}

/* Ghost: white fill, ink text, hairline (Airbnb secondary) */
.btn-ghost {
  color: #222222;
  background: #FFFFFF;
  border-color: #222222;
}

.btn-ghost:hover {
  background: #F7F7F7;
}

/* White button for use on blue surfaces */
.btn-white,
.btn-white-plan {
  background: #FFFFFF;
  color: #013AD6;
  border-color: #FFFFFF;
}

.btn-white:hover,
.btn-white-plan:hover {
  background: #F7F7F7;
}

/* Outline-on-blue (inside the CTA banner) */
.btn-woutline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-woutline:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ============================================================================
   NAVIGATION · floating white bar
   ========================================================================= */

nav[aria-label="Main navigation"] {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(0) translateY(0);
  width: 100%;
  max-width: none;
  background: #FFFFFF;
  border: 0;
  border-bottom: 1px solid #DDDDDD;
  border-radius: 0;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: none;
  transition: transform 0.5s var(--ease-out), background 0.4s ease, box-shadow 0.4s ease;
}

nav[aria-label="Main navigation"].is-hidden {
  transform: translateY(-100%);
}

nav[aria-label="Main navigation"].is-scrolled {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-wordmark {
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.4px;
  color: #67B7F7;
}

.logo-wordmark span {
  color: #67B7F7;
  -webkit-text-fill-color: #67B7F7;
  background: none;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}

.custom-link-pragati {
  color: #ff5733 !important;
  text-decoration: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--text);
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.875rem;
  font-weight: 500;
  background: #013AD6;
  border-color: #013AD6;
  color: #fff !important;
  box-shadow: none;
}

.nav-cta:hover {
  background: #012CA6;
  border-color: #012CA6;
}

/* scroll progress hairline */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--accent);
  z-index: 1200;
  pointer-events: none;
}

/* ============================================================================
   HERO
   ========================================================================= */

section {
  padding: 48px 24px;
}

/* ── Hero sits on a full-bleed photo backdrop ── */
section[aria-label="Hero"] {
  background: url('../img/hero-bg.jpg') center 42% / cover no-repeat;
  padding-bottom: 40px;
  overflow-x: clip;
}

.sec {
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  align-items: start;
  column-gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 0 56px;
}

/* ── Copy sits on a flat white panel over the hero photo ── */
.hero-left {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 34px 20px 30px;
  margin: -34px -20px -30px;
}

.hero-left h1 {
  /* sized so the forced headline lines fit the narrower left column */
  font-size: clamp(1.9rem, 2.9vw, 2.625rem);
}

.badge {
  display: inline-block;
  justify-self: start;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(1, 58, 214, 0.06);
  border: 1px solid rgba(1, 58, 214, 0.18);
  border-radius: 999px;
  padding: 6px 15px;
  margin-bottom: 18px;
  text-transform: none;
  letter-spacing: 0;
}

.hero-desc {
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 450px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 40px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
}

.hero-trust span::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ── Lead card sits in the right column beside the copy ── */
.hero-right {
  display: block;
  position: relative;
  margin-top: 0;
  padding: 0;
}

/* ── Below 1240px: stack copy over form, restore full-size headline ── */
@media(max-width:1240px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-left {
    /* keep the white copy panel intact when the hero stacks */
    margin-bottom: 0;
  }

  .hero-left h1 {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
  }

  .hero-right {
    order: 2;
    margin-top: 28px;
  }
}

/* ============================================================================
   SECTION BANDS
   ========================================================================= */

.voc-section,
.tags-section,
.how-section,
.values-section,
#listings {
  background: #F7F7F7;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ============================================================================
   PROPERTY LISTINGS · grid fed by the live property API
   ========================================================================= */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.prop-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease;
}

.prop-card:hover {
  border-color: var(--border-strong);
}

.prop-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #F1F1F1;
  overflow: hidden;
}

.prop-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* flat house placeholder behind every photo */
.prop-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #BDBDBD;
}

.prop-ph svg {
  width: 44px;
  height: 44px;
}

.prop-status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #FFFFFF;
  color: #555555;
}

.prop-status.st-ok {
  background: #E9F7EF;
  color: #1E9E5A;
}

.prop-status.st-info {
  background: rgba(1, 58, 214, 0.08);
  color: #013AD6;
}

.prop-status.st-warn {
  background: #FFF4E5;
  color: #B45309;
}

.prop-status.st-mute {
  background: #F1F1F1;
  color: #666666;
}

.prop-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  flex: 1;
}

.prop-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text);
}

.prop-loc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prop-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  background: #F7F7F7;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 9px;
}

.prop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.prop-price {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.prop-go {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.prop-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.prop-more[hidden] {
  display: none;
}

.prop-msg {
  margin: 24px 0 0;
  font-size: 0.9375rem;
  color: var(--text-2);
}

/* ── Loading skeletons · flat pulse, no shimmer gradient ── */
.prop-card.prop-sk {
  pointer-events: none;
  animation: propPulse 1.4s ease-in-out infinite;
}

.prop-sk-media {
  aspect-ratio: 16 / 10;
  background: #F1F1F1;
}

.prop-sk-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
}

.prop-sk-line {
  display: block;
  height: 12px;
  border-radius: 4px;
  background: #ECECEC;
}

.prop-sk-line.w70 { width: 70%; }
.prop-sk-line.w90 { width: 90%; }
.prop-sk-line.w45 { width: 45%; }

@keyframes propPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ── Filters · search by name/place + rent, advance, BHK, type ── */
.prop-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}

.pf-search {
  position: relative;
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 330px;
}

.pf-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}

.pf-search input {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #FFFFFF;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.pf-search input::placeholder {
  color: var(--text-3);
  font-weight: 400;
}

.pf-select {
  height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236A6A6A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.pf-select:hover {
  border-color: var(--border-strong);
}

.pf-select:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 1px var(--text);
}

.pf-clear {
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #FFFFFF;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.pf-clear:hover {
  background: #F7F7F7;
  border-color: var(--border-strong);
}

.pf-clear[hidden] {
  display: none;
}

/* ── Closest matches · shown when filters match nothing ── */
.prop-alt-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 22px 0 16px;
}

.prop-alt[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .prop-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pf-search {
    grid-column: 1 / -1;
    max-width: none;
    min-width: 0;
  }

  .pf-select {
    width: 100%;
  }

  .pf-clear {
    grid-column: 1 / -1;
  }
}

/* ── Solutions ── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px
}

.sol-card,
.val-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 18px;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s var(--ease-out);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sol-card::after,
.val-card::after,
.voc-pill::after {
  content: none;
}

.sol-card:hover,
.val-card:hover,
.voc-pill:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sol-icon {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.sol-title {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.4
}

/* ── VOC ── */
.voc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.voc-quote {
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
  border-left: 2px solid var(--accent-2);
  padding-left: 22px;
  margin-bottom: 22px
}

.voc-desc {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.5
}

.voc-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.voc-pill {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.voc-pill-icon {
  font-size: 1.7rem;
  margin-bottom: 9px;
}

.voc-pill-label {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text)
}

/* ── Features · card grid ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 24px;
  transition: border-color 0.3s ease;
}

.feat-card:hover {
  border-color: var(--border-strong);
}

.feat-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feat-desc {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
}

/* ── Feature icons · small idle loops ── */
.feat-ico {
  display: block;
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-bottom: 14px;
  transition: transform 0.3s var(--ease-out);
}

.feat-card:hover .feat-ico {
  transform: translateY(-2px);
}

/* document lines nudge */
.ico-ln {
  animation: ico-slide 4s ease-in-out infinite;
}

.ico-ln2 {
  animation-delay: 0.35s;
}

/* autopay arrows slow turn */
.ico-spin {
  transform-box: view-box;
  transform-origin: 12px 12px;
  animation: ico-turn 5.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

/* building windows blink */
.ico-win rect {
  animation: ico-blink 4.5s ease-in-out infinite;
}

.ico-win rect:nth-child(2) { animation-delay: 0.5s; }
.ico-win rect:nth-child(3) { animation-delay: 1s; }
.ico-win rect:nth-child(4) { animation-delay: 1.5s; }
.ico-win rect:nth-child(5) { animation-delay: 2s; }

/* bell rings */
.ico-bell {
  transform-box: view-box;
  transform-origin: 12px 3px;
  animation: ico-ring 5s ease-in-out infinite;
}

/* shield check draws itself */
.ico-tick {
  stroke-dasharray: 14;
  animation: ico-tick 5s ease-in-out infinite;
}

/* chart bars grow */
.ico-bar {
  transform-box: view-box;
  transform-origin: 12px 21px;
  animation: ico-grow 4s ease-in-out infinite;
}

.ib2 { animation-delay: 0.3s; }
.ib3 { animation-delay: 0.6s; }

@keyframes ico-slide {
  0%, 100% { transform: translateX(0); }
  45%, 60% { transform: translateX(3px); }
}

@keyframes ico-turn {
  0%, 70% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes ico-blink {
  0%, 100% { opacity: 1; }
  45%, 55% { opacity: 0.2; }
}

@keyframes ico-ring {
  0%, 55% { transform: rotate(0deg); }
  60% { transform: rotate(13deg); }
  67% { transform: rotate(-10deg); }
  74% { transform: rotate(7deg); }
  81% { transform: rotate(-4deg); }
  88%, 100% { transform: rotate(0deg); }
}

@keyframes ico-tick {
  0%, 12% { stroke-dashoffset: 14; }
  42%, 80% { stroke-dashoffset: 0; }
  95%, 100% { stroke-dashoffset: 14; }
}

@keyframes ico-grow {
  0%, 12% { transform: scaleY(0.3); }
  42%, 78% { transform: scaleY(1); }
  100% { transform: scaleY(0.3); }
}

/* ── Feature tags ── */
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.ftag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(1, 58, 214, 0.05);
  border: 1px solid rgba(1, 58, 214, 0.18);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.3s, transform 0.3s var(--ease-out), border-color 0.3s;
}

.ftag:hover {
  background: rgba(1, 58, 214, 0.10);
  border-color: rgba(1, 58, 214, 0.35);
  transform: translateY(-3px)
}

.ftag::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.76rem
}

/* ── Hero capability strip · white card, icon + label cells, hairline dividers ── */
.hero-strip {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 22px 12px;
  border-left: 1px solid var(--border);
  transition: background 0.3s ease;
}

.hs-item:first-child {
  border-left: 0;
}

.hs-item:hover {
  background: #FAFAFA;
}

.hs-item .feat-ico {
  margin-bottom: 0;
}

.hs-item:hover .feat-ico {
  transform: translateY(-2px);
}

.hs-item span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.35;
}

/* ── Audience · three tinted persona cards ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: none;
  margin: 0;
  border: 0;
}

.aud-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: left;
  padding: 0;
  position: static;
  overflow: hidden;
}

.aud-card:hover {
  border-color: var(--border-strong);
}

.aud-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  flex-shrink: 0;
}

.aud-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  width: 100%;
  padding: 24px 26px 26px;
}

.aud-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.aud-ico {
  width: 26px;
  height: 26px;
  color: var(--accent);
  flex-shrink: 0;
}

.aud-title {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0;
  letter-spacing: -0.3px;
}

.aud-desc {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 14px;
}

.aud-points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.aud-points li {
  position: relative;
  padding-left: 20px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.45;
  margin-bottom: 7px;
}

.aud-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
}

/* ── How it works · plain numbers, no connector ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 32px;
  position: static;
}

.step {
  text-align: left;
  padding: 0;
}

.step-num {
  display: block;
  background: none;
  border: 0;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.4px;
  color: var(--accent);
  margin: 0 0 10px;
}

.step-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
  font-weight: 400;
}


.price-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px;
  transition: transform 0.5s var(--ease-out)
}

.price-card:hover {
  transform: translateY(-5px)
}

.price-card.featured {
  background: rgba(1, 58, 214, 0.05);
  border-color: rgba(1, 58, 214, 0.35);
  box-shadow: rgba(0, 0, 0, 0.04) 0 2px 6px, rgba(0, 0, 0, 0.10) 0 4px 8px
}

.plan-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 14px
}

.featured .plan-badge {
  color: var(--accent)
}

.plan-price {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--text);
  line-height: 1
}

.featured .plan-price {
  color: #013AD6
}

.plan-price sub {
  font-size: 1rem;
  font-weight: 500;
  vertical-align: baseline
}

.plan-period {
  font-size: 0.76rem;
  color: var(--text-3);
  margin: 5px 0 14px
}

.featured .plan-period {
  color: var(--text-2)
}

.plan-note {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
  background: rgba(1, 58, 214, 0.08);
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block
}

.featured .plan-note {
  background: #FFFFFF;
  color: var(--accent)
}

.plan-feats {
  list-style: none;
  margin-bottom: 26px
}

.plan-feats li {
  font-size: 0.84rem;
  color: var(--text-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400
}

.featured .plan-feats li {
  color: var(--text);
  border-bottom-color: rgba(1, 58, 214, 0.18)
}

.plan-feats li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.76rem;
  flex-shrink: 0
}

.featured .plan-feats li::before {
  color: var(--accent)
}

.plan-btn {
  width: 100%;
  min-height: 50px;
}

.btn-outline-plan {
  background: #FFFFFF;
  border: 1px solid rgba(1, 58, 214, 0.4);
  color: var(--accent)
}

.btn-outline-plan:hover {
  background: rgba(1, 58, 214, 0.06)
}

/* ── Market bars (commented-out section, styled for dark) ── */
.market-section {
  background: #F7F7F7
}

.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center
}

.market-bars {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.mbar-row {
  display: flex;
  align-items: center;
  gap: 14px
}

.mbar-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  min-width: 115px
}

.mbar-track {
  flex: 1;
  height: 10px;
  background: #EBEBEB;
  border-radius: 10px;
  overflow: hidden
}

.mbar-fill {
  height: 100%;
  border-radius: 10px;
  background: var(--accent);
  animation: bar-w 1.2s ease-out forwards;
  transform-origin: left
}

@keyframes bar-w {
  from {
    transform: scaleX(0)
  }

  to {
    transform: scaleX(1)
  }
}

.mbar-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 68px;
  text-align: right
}

/* ── Values ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px
}

.val-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.val-label {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text)
}

/* ============================================================================
   CTA BANNER · deep blue glass panel
   ========================================================================= */

.cta-banner {
  margin: 24px auto 56px;
  max-width: 1152px;
  padding: 0 24px
}

.cta-inner {
  background: #013AD6;
  border: 1px solid #013AD6;
  border-radius: 32px;
  padding: 48px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.cta-inner::before,
.cta-inner::after {
  content: none;
}

.cta-left {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.cta-left h2 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  letter-spacing: -0.3px;
  margin-bottom: 12px
}

.cta-left p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.96rem;
  font-weight: 400;
  max-width: 440px
}

.cta-btns {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: 26px;
}

.cta-photo {
  align-self: stretch;
  width: 36%;
  min-width: 300px;
  margin: -48px -48px -48px 0;
  background: url('../img/cta-building.jpg') center 40% / cover no-repeat;
  flex-shrink: 0;
}

/* ============================================================================
   FOOTER
   ========================================================================= */

footer {
  border-top: 1px solid var(--border);
  padding: 44px 24px 28px;
  max-width: 1248px;
  margin: 0 auto;
  background: transparent;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px
}

.foot-brand-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
  font-weight: 400;
  margin-top: 12px
}

.foot-title {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 16px
}

.foot-links {
  list-style: none
}

.foot-links li {
  margin-bottom: 10px
}

.foot-links a {
  text-decoration: none;
  font-size: 0.875rem;
  color: #3F3F3F;
  font-weight: 400;
  transition: color 0.25s, transform 0.25s;
  display: inline-block;
}

.foot-links a:hover {
  color: var(--accent);
  transform: translateX(4px)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border)
}

.foot-copy {
  font-size: 0.8125rem;
  color: var(--text-3)
}

.foot-legal {
  display: flex;
  gap: 20px
}

.foot-legal a {
  font-size: 0.8125rem;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.25s
}

.foot-legal a:hover {
  color: var(--accent)
}

/* ============================================================================
   REVEAL / MOTION PRIMITIVES
   Content stays visible without JS (html.js gates the hidden state)
   ========================================================================= */

.reveal {
  opacity: 1;
  filter: none;
  transition: opacity 0.9s var(--ease-out), filter 0.9s var(--ease-out)
}

html.js .reveal {
  opacity: 0;
  filter: blur(12px);
  will-change: opacity, filter;
}

html.js .reveal.visible {
  opacity: 1;
  filter: blur(0)
}

.d1 {
  transition-delay: 0.10s
}

.d2 {
  transition-delay: 0.20s
}

.d3 {
  transition-delay: 0.30s
}

.d4 {
  transition-delay: 0.40s
}

/* word-splitting wrappers created by agremate-motion.js
   overflow stays visible so the blur halo of each line is never clipped */
.split-line {
  display: block;
  overflow: visible;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.split-word {
  display: inline-block;
  will-change: filter;
}

/* ============================================================================
   CONTACT MODAL · dark liquid glass
   ========================================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  width: 100%;
  max-width: 820px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: 260px 1fr;
  max-height: 92vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  position: relative;
  filter: blur(10px);
  opacity: 0;
  transition: filter 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}

.modal-overlay.open .modal-box {
  filter: blur(0);
  opacity: 1;
}

/* ── Left panel ── */
.modal-left {
  background: #013AD6;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-right: 0;
}

.modal-left::before,
.modal-left::after {
  content: none;
}

.modal-left-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.modal-left-logo .logo-wordmark {
  color: #fff;
  font-size: 1.0rem;
}

.modal-left-logo .logo-wordmark span {
  color: rgba(255, 255, 255, 0.75);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.modal-left-heading {
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.modal-left-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.modal-left-contacts {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.modal-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-contact-text {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.modal-contact-text strong {
  display: block;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
}

.modal-contact-text a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-contact-text a:hover {
  color: #fff;
}

.modal-left-bottom {
  position: relative;
  z-index: 1;
}

.modal-wa-btn {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff;
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 20px;
  box-shadow: none;
}

.modal-wa-btn:hover {
  transform: scale(1.03);
  background: #1EBE5B;
  border-color: #1EBE5B;
  box-shadow: rgba(0, 0, 0, 0.10) 0 4px 8px;
}

/* ── Right panel ── */
.modal-right {
  padding: 30px 32px 26px;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #F7F7F7;
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.3s;
  z-index: 2;
}

.modal-close:hover {
  background: #EBEBEB;
  color: #222;
  transform: rotate(90deg);
}

.modal-right-title {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: -0.3px;
}

.modal-right-sub {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 20px;
  font-weight: 400;
}

/* ── Property context inside the Get in Touch modal ── */
.modal-prop {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #F7F7F7;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin: 0 0 18px;
}

.modal-prop[hidden] {
  display: none;
}

.modal-prop-img {
  width: 64px;
  height: 48px;
  flex: 0 0 64px;
  object-fit: cover;
  border-radius: 6px;
  background: #FFFFFF;
}

.modal-prop-img[hidden] {
  display: none;
}

.modal-prop-body {
  min-width: 0;
}

.modal-prop-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.modal-prop-loc {
  font-size: 0.8125rem;
  color: var(--text-2);
  margin-top: 2px;
}

.modal-prop-meta {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-top: 6px;
  line-height: 1.45;
}

.modal-prop-link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  text-decoration: none;
}

.modal-prop-link:hover {
  text-decoration: underline;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 16px;
}

.form-grid .span-2 {
  grid-column: span 2;
}

.form-group {
  margin: 0;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  color: #222222;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #222222;
  box-shadow: 0 0 0 1px #222222;
  background: #FFFFFF;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
  font-weight: 400;
}

.form-group textarea {
  resize: none;
  height: 74px;
  line-height: 1.55;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6A6A6A;
  font-size: 0.8rem;
  pointer-events: none;
}

.form-group select option {
  background: #FFFFFF;
  color: #222222;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service-tag {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(1, 58, 214, 0.22);
  background: #FFFFFF;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
  line-height: 1.4;
}

.service-tag:hover {
  border-color: rgba(1, 58, 214, 0.5);
  background: rgba(1, 58, 214, 0.06);
  color: var(--accent);
}

.service-tag.active {
  background: #013AD6;
  border-color: #013AD6;
  color: #fff;
  box-shadow: none;
}

.modal-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  background: #013AD6;
  border-color: #013AD6;
  color: #fff;
  font-weight: 500;
  box-shadow: none;
}

.modal-submit:hover {
  transform: scale(1.03);
  background: #012CA6;
  border-color: #012CA6;
  box-shadow: rgba(0, 0, 0, 0.10) 0 4px 8px;
}

.modal-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.modal-note {
  text-align: center;
  font-size: 0.66rem;
  color: var(--text-3);
  margin-top: 9px;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 24px 10px;
}

.modal-success .success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: #013AD6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.modal-success h3 {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 7px;
}

.modal-success p {
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.65;
  font-weight: 400;
}

.modal-success .wa-link {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff;
  min-height: 46px;
  margin-top: 18px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: none;
}

/* ── App promo inside the success state (onelink → Play / App Store) ── */
.app-promo {
  display: flex;
  gap: 16px;
  align-items: center;
  text-align: left;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.app-promo-text {
  flex: 1;
  min-width: 0;
}

.app-promo-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.app-promo-text p {
  font-size: 0.8125rem;
  color: var(--text-3);
  line-height: 1.55;
  margin: 5px 0 12px;
}

.app-promo-btn {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s;
}

.app-promo-btn:hover {
  transform: scale(1.03);
}

.app-promo-qr {
  flex: 0 0 auto;
  text-align: center;
}

.app-promo-qr svg {
  display: block;
  width: 104px;
  height: 104px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.app-promo-qr span {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-3);
  margin-top: 6px;
}

@media (max-width: 640px) {
  .app-promo {
    text-align: center;
  }

  /* phones are already on the right device - the button opens the store */
  .app-promo-qr {
    display: none;
  }
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 7px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes carPopIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================================================
   HAMBURGER + MOBILE DRAWER
   ========================================================================= */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: #F7F7F7;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .25s;
  padding: 0;
}

.nav-hamburger:hover {
  background: #EBEBEB;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #222222;
  border-radius: 2px;
  transition: transform .3s ease, opacity .25s ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(80vw, 300px);
  height: 100dvh;
  background: #FFFFFF;
  border-left: 1px solid var(--border);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.12);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .38s var(--ease-out);
  overflow: hidden;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer-brand {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.3px;
}

.drawer-brand span {
  color: var(--accent);
}

.drawer-x {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F7F7;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: background .22s, color .22s, transform .3s;
}

.drawer-x:hover {
  background: #EBEBEB;
  color: #222;
  transform: rotate(90deg);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 8px 0;
  overflow-y: auto;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 22px;
  font-size: 0.93rem;
  font-weight: 500;
  color: #3F3F3F;
  text-decoration: none;
  border-bottom: 1px solid #EEEEEE;
  transition: background .22s, color .22s, padding-left .25s;
}

.drawer-link svg {
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity .22s;
}

.drawer-link:hover,
.drawer-link.active {
  background: rgba(1, 58, 214, 0.06);
  color: var(--accent);
  padding-left: 28px;
}

.drawer-link:hover svg,
.drawer-link.active svg {
  opacity: 1;
}

.drawer-link.active {
  font-weight: 600;
  color: var(--accent);
}

.drawer-bottom {
  padding: 18px 20px 30px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer-cta-btn {
  display: block;
  text-align: center;
  width: 100%;
  background: #013AD6;
  color: #fff;
  font-weight: 500;
  font-size: 0.92rem;
  border-color: #013AD6;
  box-shadow: none;
}

.drawer-cta-btn:hover {
  background: #012CA6;
  border-color: #012CA6;
}

/* ============================================================================
   RESPONSIVE
   ========================================================================= */

@media(max-width:960px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr)
  }

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

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

  .voc-grid,
  .market-grid {
    grid-template-columns: 1fr
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-photo {
    display: none;
  }

  .hs-item:nth-child(3n+1) {
    border-left: 0;
  }

  .hs-item:nth-child(n+4) {
    border-top: 1px solid var(--border);
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px
  }

  .cta-left p {
    margin: 0 auto
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:768px) {
  .nav-links {
    display: none !important;
  }

  .nav-hamburger {
    display: flex;
  }

  nav[aria-label="Main navigation"] {
    padding: 0 20px;
  }
}

@media(max-width:640px) {
  .modal-box {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .modal-left {
    display: none;
  }

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

  .form-grid .span-2 {
    grid-column: span 1;
  }

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

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

@media(max-width:600px) {
  section {
    padding: 36px 20px;
  }

  .hero {
    padding: 92px 0 44px;
  }

  .solutions-grid {
    grid-template-columns: 1fr 1fr
  }

  .audience-grid {
    grid-template-columns: 1fr
  }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  /* photo band above the copy panel stays visible on small screens */
  .hero-left {
    margin-top: -24px;
    padding-top: 24px;
  }

  .hs-item:nth-child(2n+1) {
    border-left: 0;
  }

  .hs-item:nth-child(2n) {
    border-left: 1px solid var(--border);
  }

  .hs-item:nth-child(n+3) {
    border-top: 1px solid var(--border);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .cta-btns {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    width: 100%
  }

  .cta-btns a {
    justify-content: center;
  }

  .foot-grid {
    grid-template-columns: 1fr
  }

  footer {
    padding: 44px 20px 28px;
  }

  .responsive {
    width: auto;
    max-width: 50px;
    height: 100%;
  }

  .foot-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================================================================
   ACCESSIBILITY · respect reduced motion
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html.js .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
/* ============================================================================
   TESTIMONIALS · glass quote cards
   ══════════════════════════════════════════════════════════════════════════ */
.tst-section {
  padding: 48px 24px 24px;
}
.tst-section .sec { padding: 0; }

.tst-viewport {
  overflow: hidden;
}

.tst-track {
  display: flex;
  width: max-content;
}

.tst-track.tst-live {
  animation: tst-scroll 70s linear infinite;
}

.tst-viewport:hover .tst-track.tst-live {
  animation-play-state: paused;
}

.tst-half {
  display: flex;
}

.tst-track .tst-card {
  width: min(370px, 82vw);
  flex-shrink: 0;
  margin-right: 22px;
}

@keyframes tst-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
.tst-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.45s;
}
.tst-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.tst-stars {
  color: #222222;
  font-size: 0.95rem;
  letter-spacing: 3px;
}
.tst-quote {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
}
.tst-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tst-ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #013AD6;
  border: 1px solid rgba(1, 58, 214, 0.35);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.tst-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.tst-author span {
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-2);
  margin-top: 2px;
}

/* ============================================================================
   TRUST BAND · reassurance strip
   ══════════════════════════════════════════════════════════════════════════ */
.trust-band {
  padding: 80px 24px 20px;
}
.trust-band .sec { padding: 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px 28px;
}
.trust-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 6px;
}
.trust-icon {
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.trust-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}
.trust-item span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.55;
}

/* ── New sections: responsive ── */
@media (max-width: 960px) {
  .trust-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
}
@media (max-width: 600px) {
  .tst-section { padding-top: 40px; }
}

/* ============================================================================
   HERO LEAD CARD · Landlord / Tenant quick forms (replaces old phone mockup)
   ══════════════════════════════════════════════════════════════════════════ */
.lead-card {
  width: 100%;
  max-width: none;
  text-align: left;
  position: relative;
  z-index: 2;
  padding: 24px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── Segmented tabs ── */
.lead-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #F7F7F7;
  border: 1px solid var(--border);
}
.lead-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.35s var(--ease-out),
    color 0.3s,
    box-shadow 0.35s var(--ease-out);
}
.lead-tab:hover { color: var(--text); }
.lead-tab.active {
  background: #013AD6;
  color: #fff;
  box-shadow: none;
}

/* ── Panel head ── */
.lead-head { margin-bottom: 12px; }
.lead-head h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
}
.lead-head p {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.5;
}

/* ── Panels ── */
.lead-panel { display: none; }
.lead-panel.active { display: block; animation: leadFade 0.45s var(--ease-out); }
@keyframes leadFade {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}

/* ── Fields ── */
.lf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lf-full { grid-column: 1 / -1; }
.lf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.lf-field > span {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-2);
}
.lf-field input,
.lf-field select,
.lf-field textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: #222222;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.lf-field textarea {
  resize: vertical;
  min-height: 58px;
  line-height: 1.5;
}
.lf-field input::placeholder,
.lf-field textarea::placeholder { color: #929292; }
.lf-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236A6A6A' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 32px;
}
.lf-field select:invalid { color: #929292; }
.lf-field select option { background: #FFFFFF; color: #222222; }
.lf-field input:focus,
.lf-field select:focus,
.lf-field textarea:focus {
  outline: none;
  border-color: #222222;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px #222222;
}

/* ── Section label inside forms ── */
.lf-sect {
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-3);
}

/* ── Submit + note ── */
.lf-submit {
  width: auto;
  min-width: 260px;
  min-height: 50px;
  margin-top: 18px;
  justify-content: center;
}
.lf-submit[disabled] { opacity: 0.7; pointer-events: none; }
.lf-note {
  margin-top: 8px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted, #7E8798);
}

/* ── Success state ── */
.lead-success {
  text-align: center;
  padding: 34px 14px 28px;
  animation: leadFade 0.5s var(--ease-out);
}
.lead-success[hidden] { display: none; }
.ls-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: #013AD6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}
.lead-success h4 {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
}
.lead-success p {
  margin: 10px auto 22px;
  max-width: 380px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.6;
}
.lead-success p strong { color: var(--text); font-weight: 600; }
.lf-mail { min-height: 46px; padding: 0 26px; }
.lead-success .lf-mail + .lf-mail { margin-left: 10px; }

/* ── Lead card: responsive ── */
@media (max-width: 960px) {
  .lf-grid { grid-template-columns: 1fr 1fr; }
  .lf-grid > .lf-field:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lead-card { padding: 16px; border-radius: 16px; }
  .lf-grid { grid-template-columns: 1fr; }
  .lf-submit { width: 100%; min-width: 0; }
  .lead-tab { font-size: 0.76rem; padding: 10px 6px; gap: 5px; }
  .lead-head h3 { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .grad { animation: none; }
}

/* ============================================================================
   PROPERTY DETAIL PAGE (property.html)
   Blur-in entrances, scroll-snap photo gallery, details grid, map embed.
   ========================================================================= */

@keyframes pdBlurIn {
  from {
    opacity: 0;
    filter: blur(12px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

.pd-anim {
  animation: pdBlurIn 0.8s var(--ease-out) both;
  animation-delay: var(--pd-d, 0s);
}

.pd-main {
  padding: 128px 24px 48px;
  min-height: 55vh;
}

/* ── Back link ── */
.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  margin-bottom: 22px;
  transition: color 0.25s ease;
}

.pd-back:hover {
  color: var(--text);
}

/* ── Title block ── */
.pd-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}

.pd-title h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 8px;
}

.pd-addr {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 560px;
}

.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.pd-pricebox {
  text-align: right;
}

.pd-price {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text);
}

.pd-price-sub {
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--text-2);
}

/* flat status pill (same palette as the listing cards) */
.pd-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #F1F1F1;
  color: #666666;
  margin-bottom: 12px;
}

.pd-badge.st-ok {
  background: #E9F7EF;
  color: #1E9E5A;
}

.pd-badge.st-info {
  background: rgba(1, 58, 214, 0.08);
  color: #013AD6;
}

.pd-badge.st-warn {
  background: #FFF4E5;
  color: #B45309;
}

/* ── Gallery · native scroll-snap carousel ── */
.pd-gallery {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #F1F1F1;
  margin-bottom: 24px;
}

.pd-gallery:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pd-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pd-track::-webkit-scrollbar {
  display: none;
}

.pd-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 16 / 9;
}

.pd-slide img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-slide .prop-ph svg {
  width: 64px;
  height: 64px;
}

.pd-count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #222222;
  font-size: 0.75rem;
  font-weight: 600;
}

.pd-nav {
  position: absolute;
  top: 50%;
  margin-top: -20px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: #222222;
  padding: 0;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.pd-nav:hover {
  transform: scale(1.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pd-nav:active {
  transform: scale(0.985);
}

.pd-prev {
  left: 12px;
}

.pd-next {
  right: 12px;
}

.pd-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pd-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease;
}

.pd-dot.on {
  background: #FFFFFF;
}

/* ── Details + map columns ── */
.pd-cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  margin-bottom: 24px;
  align-items: start;
}

.pd-panel {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
}

.pd-panel h2 {
  font-size: 1.0625rem;
  margin-bottom: 16px;
}

.pd-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin: 0;
}

.pd-fact dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 4px;
}

.pd-fact dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  word-break: break-word;
}

.pd-fact.full {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.pd-fact.full dd {
  font-weight: 500;
}

/* ── Location (city only, no map) ── */
.pd-cols.single {
  grid-template-columns: 1fr;
}

.pd-map-fallback {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-2);
}

.pd-map-canvas,
.pd-map-canvas.leaflet-container {
  height: 260px;
  margin-top: 12px;
  border: 1px solid #DDDDDD;
  border-radius: 10px;
  overflow: hidden;
}

.leaflet-container {
  font-size: 0.8em;
  height: 100%;
}

.leaflet-control-zoom a,
.leaflet-control-attribution {
  border-radius: 8px;
}

.leaflet-control-attribution {
  font-size: 0.65rem;
  color: #8A8A8A;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #DDDDDD;
}

/* ── What's nearby · distances to nearby places (Nominatim) ── */
.pd-nearby {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pd-nearby[hidden] {
  display: none;
}

.pd-nb-head {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 10px;
}

.pd-nb-status {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.pd-nb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-nb-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.875rem;
}

.pd-nb-dist {
  flex: 0 0 56px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.pd-nb-name {
  color: var(--text-2);
  line-height: 1.4;
  word-break: break-word;
}

/* ── Description (only when the API sends real copy) ── */
.pd-desc {
  margin-bottom: 24px;
}

.pd-desc h2 {
  font-size: 1.0625rem;
}

.pd-desc p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 760px;
}

/* ── Enquiry CTA ── */
.pd-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #F7F7F7;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
}

.pd-cta h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.pd-cta p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 520px;
}

.pd-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── States (missing id / not found / error) ── */
.pd-state {
  background: #F7F7F7;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 44px 32px;
  text-align: center;
}

.pd-state p {
  margin: 0 0 20px;
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--text-2);
}

.pd-state a {
  color: var(--accent);
  font-weight: 600;
}

.pd-state-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Loading skeleton ── */
.pd-sk-line {
  display: block;
  height: 14px;
  border-radius: 4px;
  background: #ECECEC;
  margin-bottom: 12px;
}

.pd-sk-line.w30 {
  width: 30%;
}

.pd-sk-line.w45 {
  width: 45%;
}

.pd-sk-line.w60 {
  width: 60%;
}

.pd-sk-line.big {
  height: 30px;
  margin-bottom: 14px;
}

.pd-sk-gallery {
  aspect-ratio: 16 / 9;
  background: #F1F1F1;
  border-radius: 14px;
  margin: 20px 0 24px;
}

.pd-sk-cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.pd-sk-panel {
  height: 300px;
  background: #F1F1F1;
  border-radius: 14px;
}

.pd-sk> *,
.pd-sk-panel {
  animation: propPulse 1.4s ease-in-out infinite;
}

/* ── Responsive ── */
@media (max-width: 960px) {

  .pd-cols,
  .pd-sk-cols {
    grid-template-columns: 1fr;
  }

  .pd-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .pd-main {
    padding: 116px 20px 36px;
  }

  .pd-head {
    flex-direction: column;
  }

  .pd-pricebox {
    text-align: left;
  }

  .pd-price {
    font-size: 1.3rem;
  }

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

  .pd-slide {
    aspect-ratio: 4 / 3;
  }

  .pd-nav {
    display: none;
  }

  .pd-panel {
    padding: 18px 16px;
  }

  .pd-cta {
    padding: 22px 18px;
  }

  .pd-cta-btns {
    width: 100%;
  }

  .pd-cta-btns .btn-primary,
  .pd-cta-btns .btn-ghost {
    flex: 1;
    min-width: 0;
  }

  .pd-state {
    padding: 32px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-anim {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .tst-track.tst-live {
    animation: none !important;
  }

  .tst-viewport {
    overflow-x: auto;
  }
}

/* ============================================================================
   RENT RATES · Bengaluru area medians, data via bengaluru.rent
   ========================================================================= */

.rates-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 680px;
}

.rates-city {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.rc {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 16px 18px;
}

.rc-bhk {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.rc-med {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.rc-med small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 5px;
}

.rc-rng {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.rates-insight {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ri {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-deep);
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.ri b {
  font-weight: 600;
  color: var(--text);
}

.rates-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.rates-search {
  position: relative;
  display: block;
  width: min(340px, 100%);
}

.rates-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.rates-search input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-family: inherit;
  font-size: 0.9375rem;
  color: inherit;
}

.rates-search input:focus {
  outline: none;
  border-color: var(--accent);
}

.rates-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.rates-table {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

.rates-head,
.rates-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
}

.rates-head {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

.rh {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 4px 0;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  text-align: right;
}

.rh.rh-name {
  justify-content: flex-start;
  text-align: left;
}

.rh:hover,
.rh.on {
  color: var(--accent);
}

.rh .arr {
  font-size: 0.625rem;
  line-height: 1;
}

.rates-row {
  border-top: 1px solid #F1F1F1;
  font-size: 0.9375rem;
}

.rates-row:first-child {
  border-top: 0;
}

.rates-row:hover {
  background: #FAFAFB;
}

.rr-name {
  font-weight: 600;
  color: inherit;
}

.rr-name a:hover {
  color: var(--accent);
}

.rr-cell {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.rr-k {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.rates-empty {
  padding: 34px 20px;
  text-align: center;
}

.rates-empty p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.rates-clear {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
}

.rates-clear:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 760px) {
  .rates-city {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .rates-head {
    display: none;
  }

  .rates-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
    padding: 14px 16px;
  }

  .rr-name {
    grid-column: 1 / -1;
    font-size: 0.975rem;
  }

  .rr-cell {
    text-align: left;
    background: var(--bg-deep);
    border-radius: 10px;
    padding: 8px 10px;
  }

  .rr-k {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2px;
  }

  .rates-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .rates-search {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .rc-med {
    font-size: 1.25rem;
  }
}
