/**
 * GoRentora Landing Page Redesign — scoped styling.
 *
 * Everything here lives under `.landing-redesign` (applied to <body> only
 * on public/home.php, see layouts/header-public.php). Its --gr-* colors
 * derive from the same theme-switchable master RGB variables app.css's
 * :root defines (--theme-navy-rgb / --theme-indigo-rgb / --theme-teal-rgb
 * / --theme-emerald-rgb) — see app.css's :root comment — so a Theme
 * Management preset recolors this file's palette too, not just the
 * portal chrome.
 */

.landing-redesign {
  --gr-indigo: rgb(var(--theme-indigo-rgb));
  --gr-indigo-dark: rgb(var(--theme-navy-rgb));
  --gr-teal: rgb(var(--theme-teal-rgb));
  --gr-slate-50: #F8FAFC;
  --gr-ink: rgb(var(--theme-navy-rgb));
}

/* Full-bleed section — breaks the hero out of .public-main's max-width +
   side padding so its navy background spans the actual viewport
   edge-to-edge instead of sitting in a boxed-in strip. */
.gr-hero-bleed {
  /* No explicit width: a block element auto-fills between these margins,
     which (unlike `width: 100vw`) doesn't count the scrollbar's own width
     and so never causes a stray horizontal scrollbar. */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */
.gr-hero {
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
  padding: 24px 0 32px;
  margin: -24px -16px 0;
  padding-left: 16px;
  padding-right: 16px;
}
.gr-hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.08; pointer-events: none;
}
.gr-hero-blob-teal { width: 380px; height: 380px; background: var(--gr-teal); top: -100px; right: -80px; }
.gr-hero-blob-indigo { width: 320px; height: 320px; background: var(--gr-indigo); bottom: -80px; left: -60px; }

.gr-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 28px;
}
@media (min-width: 992px) {
  .gr-hero-grid { grid-template-columns: 55fr 45fr; align-items: center; gap: 40px; }
}

.gr-trust-pill {
  position: relative; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--gr-slate-50); border: 1px solid #E2E8F0; border-radius: 999px;
  padding: 8px 16px; font-size: 12.5px; font-weight: 600; color: var(--gr-ink); margin-bottom: 18px;
}
.gr-trust-pill-ring {
  position: absolute; left: -3px; top: -3px; right: -3px; bottom: -3px; border-radius: 999px;
  border: 1.5px solid var(--gr-teal); opacity: 0; animation: gr-pulse-ring 2.4s ease-out infinite;
}
@keyframes gr-pulse-ring {
  0% { opacity: 0.5; transform: scale(0.98); }
  70% { opacity: 0; transform: scale(1.03); }
  100% { opacity: 0; transform: scale(1.03); }
}
.gr-trust-dot { opacity: 0.4; }

.gr-h1 { font-size: 42px; font-weight: 800; line-height: 1.15; color: var(--gr-ink); margin-bottom: 12px; }
@media (max-width: 576px) { .gr-h1 { font-size: 30px; } }
.gr-text-gradient {
  background: linear-gradient(90deg, var(--gr-indigo), var(--gr-teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gr-subtitle { font-size: 16px; color: #475569; margin-bottom: 22px; max-width: 520px; }

/* Search Capsule Card — exact spec values */
.gr-search-card {
  background: #ffffff; border-radius: 24px; padding: 12px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.gr-search-card:focus-within { box-shadow: 0 24px 48px -15px rgba(15, 23, 42, 0.14); }

.gr-capsule-row { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .gr-capsule-row { flex-direction: column; }
  .gr-capsule-input-wrap, .gr-filter-dropdown, .gr-search-cta { flex: 1 1 100%; width: 100%; }
  .gr-filter-pill-btn { width: 100%; justify-content: center; }
  .gr-search-cta { justify-content: center; }
}
.gr-capsule-input-wrap { position: relative; flex: 1 1 200px; min-width: 0; }
.gr-search-input {
  border: none !important; background: transparent !important; box-shadow: none !important;
  padding: 12px 14px 12px 34px !important; font-size: 14.5px; height: 100%;
}
.gr-search-input:focus { outline: none; }
.gr-search-icon { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); color: var(--gr-indigo); z-index: 2; }

.gr-filter-dropdown { position: relative; flex: 0 0 auto; }
.gr-filter-pill-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 100%; background: var(--gr-slate-50);
  border: 1px solid #E2E8F0; border-radius: 16px; padding: 10px 16px; font-size: 13px; font-weight: 600;
  color: var(--gr-ink); cursor: pointer; white-space: nowrap;
}
.gr-filter-pill-btn:hover { background: #F1F5F9; }
.gr-filter-dropdown-panel {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; min-width: 260px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 10px;
  box-shadow: 0 16px 40px rgba(15,23,42,.12); flex-wrap: wrap; gap: 8px;
}
.gr-filter-dropdown-panel.is-open { display: flex; }

/* Search Action Button — exact spec gradient */
.gr-search-cta {
  flex: 0 0 auto; border: none !important; border-radius: 18px !important; padding: 12px 28px !important;
  font-weight: 600; color: #fff !important;
  background: linear-gradient(135deg, var(--color-accent-2) 0%, var(--color-accent) 100%) !important;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gr-search-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.5); }

/* Stay-Type vibe chips — colorful icon avatars, compact & funky, dark
   active fill + animated checkmark. Each chip gets its own accent color
   (set inline per-chip via --gr-chip-tint, see _search-bar.php) instead of
   one flat gray pill for every option — this is what makes the row read
   as playful/GenZ rather than a plain filter list. */
.gr-vibe-section { margin-top: 14px; }
.gr-vibe-label { display: block; font-size: 12.5px; font-weight: 600; color: #64748B; margin-bottom: 8px; }
.gr-vibe-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.gr-vibe-chip {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 50px;
  background: #fff; border: 1.5px solid #E2E8F0; padding: 5px 14px 5px 6px;
  font-size: 12px; font-weight: 700; color: #334155; cursor: pointer;
  transition: transform .15s cubic-bezier(0.34, 1.56, 0.64, 1), border-color .2s ease, background .2s ease, color .2s ease;
}
.gr-vibe-chip:hover { border-color: var(--gr-chip-tint, var(--gr-teal)); transform: translateY(-1px); }
.gr-vibe-chip:active { transform: scale(0.94); }
.gr-vibe-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
  background: var(--gr-chip-tint, var(--gr-indigo)); color: #fff; opacity: 0.85;
  transition: transform .2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gr-vibe-chip.active { background: var(--color-primary); color: #FFFFFF; border-color: var(--color-primary); }
.gr-vibe-chip.active .gr-vibe-icon { opacity: 1; transform: scale(1.12) rotate(-6deg); }
.gr-vibe-chip .gr-chip-check { display: none; transform: scale(0); transition: transform .2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.gr-vibe-chip.active .gr-chip-check { display: inline-block; transform: scale(1); color: var(--gr-teal); }

/* Hero illustration — floating animation + real glassmorphism badges */
.gr-hero-right { position: relative; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.gr-illustration {
  width: 100%; max-width: 380px; aspect-ratio: 1/1; border-radius: 32px;
  background: linear-gradient(135deg, rgba(79,70,229,.10), rgba(34,199,181,.14));
  display: flex; align-items: center; justify-content: center;
  animation: gr-float 4.5s ease-in-out infinite;
}
@keyframes gr-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.gr-illustration i { font-size: 140px; background: linear-gradient(135deg, var(--gr-indigo), var(--gr-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gr-float-badge {
  position: absolute; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 14px; padding: 8px 14px;
  font-size: 12.5px; font-weight: 700; color: var(--gr-ink); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.06);
  animation: gr-float 4.5s ease-in-out infinite;
}
.gr-float-badge-top { top: 6%; right: 4%; animation-delay: -1.5s; }
.gr-float-badge-bottom { bottom: 8%; left: 2%; animation-delay: -3s; }
.gr-float-badge i { color: #F5A623; margin-right: 4px; }
.gr-float-badge-bottom i { color: var(--gr-teal); }
@media (max-width: 991px) { .gr-float-badge { display: none; } }

.gr-stats { margin-top: 28px; }

/* ------------------------------------------------------------------ */
/* Locality carousel — 3:4 full-photo cards with bottom scrim           */
/* ------------------------------------------------------------------ */
.gr-locality-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.gr-locality-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 12px; flex: 1; -ms-overflow-style: none; scrollbar-width: thin;
}
.gr-locality-card {
  scroll-snap-align: start; flex: 0 0 78%; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  position: relative; text-decoration: none; color: inherit; transition: transform .2s ease;
  background-color: var(--gr-slate-50); background-image: linear-gradient(135deg, rgba(79,70,229,.35), rgba(34,199,181,.35));
  background-size: cover; background-position: center; display: block;
}
.gr-locality-card:hover { transform: translateY(-4px); }
@media (min-width: 640px) { .gr-locality-card { flex-basis: 46%; } }
@media (min-width: 992px) { .gr-locality-card { flex-basis: 31%; } }
/* Flat 60% black mask across the whole card (photo OR gradient fallback)
   so text always stays legible regardless of what's underneath, plus an
   extra bottom-weighted layer for the name/tag/CTA zone. */
.gr-locality-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(15,23,42,.6), rgba(15,23,42,.6)),
    linear-gradient(to top, rgba(15,23,42,.55) 0%, transparent 60%);
}
.gr-locality-units-badge {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92); border-radius: 999px; padding: 5px 11px; font-size: 11px; font-weight: 700; color: var(--gr-ink);
}
.gr-pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22C55E; position: relative; flex-shrink: 0;
}
.gr-pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22C55E; opacity: .6;
  animation: gr-pulse-dot 1.6s ease-out infinite;
}
@keyframes gr-pulse-dot { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
.gr-locality-content { position: absolute; left: 16px; right: 16px; bottom: 16px; color: #fff; }
.gr-locality-name { font-size: 20px; font-weight: 800; margin-bottom: 4px; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.gr-locality-tag { font-size: 12px; opacity: .8; margin-bottom: 10px; }
.gr-locality-cta {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: #fff;
  transition: gap .2s ease;
}
.gr-locality-card:hover .gr-locality-cta { gap: 8px; }
.gr-carousel-arrow {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #E2E8F0; background: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gr-ink);
}
.gr-carousel-arrow:hover { background: var(--gr-slate-50); }
@media (max-width: 576px) { .gr-carousel-arrow { display: none; } }

/* ------------------------------------------------------------------ */
/* Property card additions (redesign of the shared _card.php)          */
/* ------------------------------------------------------------------ */
.landing-redesign .property-card { border-radius: 20px; overflow: hidden; }
.landing-redesign .property-card-media { aspect-ratio: 16/10; position: relative; }

.gr-card-topleft { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.gr-config-pill {
  background: rgba(15,23,42,.75); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 10px;
  backdrop-filter: blur(4px);
}
.gr-availability-badge { background: var(--gr-teal); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 10px; }

/* Premium/Boosted — small pills stacked in .gr-card-topleft alongside
   "Available Now", not a separately absolute-positioned element. (The old
   version set both `left` from .property-card-badge-corner AND an inline
   `right` override with no explicit width — per the CSS2.1 abs-position
   spec, left+right both set with width:auto forces the element to stretch
   to fill the gap, which is what turned it into a full-width bar.) */
.gr-premium-badge, .gr-boost-badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 4px 10px;
}
.gr-premium-badge { background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)); color: #FCD34D; }
.gr-boost-badge { background: rgba(245, 158, 11, .95); color: #fff; }

.gr-card-topright { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.gr-quick-action-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: #475569; font-size: 14px; transition: color .15s ease, transform .15s ease;
}
.gr-quick-action-btn:hover { transform: scale(1.1); color: var(--gr-indigo); }
.gr-quick-action-btn.js-wishlist-heart.is-saved { color: #E5484D; }
.gr-quick-action-btn.js-wishlist-heart.is-saved i::before { content: "\F415"; } /* bi-heart-fill glyph */

/* Card media auto cross-fade slideshow (PropertyRepository::paginate()'s
   gallery_images, up to 4 per property) — pure CSS opacity transition,
   cycled by a tiny interval in landing-redesign.js; falls back to a single
   static image with no JS cost when a property has only one photo. */
.gr-card-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease;
}
.gr-card-slide.is-active { opacity: 1; }

.gr-stay-pill {
  display: inline-flex; align-items: center; background: #EEF2FF; color: var(--gr-indigo);
  font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; margin: 2px 4px 2px 0;
}

.gr-verified-check { color: var(--gr-teal); font-size: 13px; vertical-align: middle; }

/* Locality name on its own line, truncated with an ellipsis rather than
   wrapped — a long landmark name can never push the actions row below it
   around or grow the card's height. */
.gr-card-locality-line {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px !important;
}
.gr-card-actions-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }

/* Small tappable buttons (not bare text links crammed into the meta
   line) — Get Direction and Share Property each get their own pill with
   a distinct tint so they read as actions, not inline text. */
.gr-action-btn {
  display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 11.5px;
  border-radius: 999px; padding: 5px 12px; border: none; cursor: pointer; text-decoration: none;
  background: #EEF2FF; color: var(--gr-indigo); transition: background .15s ease, transform .15s ease;
}
.gr-action-btn:hover { background: #E0E7FF; color: var(--gr-indigo); transform: translateY(-1px); text-decoration: none; }
.gr-action-btn-share { background: #ECFDF5; color: #047857; }
.gr-action-btn-share:hover { background: #D1FAE5; color: #047857; }

.gr-card-divider { border: none; border-top: 1px solid #F1F5F9; margin: 10px 0; }

/* Schedule a Visit / Request Callback tab pills (property detail page) —
   dark gradient fill on the active tab instead of a thin underline, so it
   reads as a real tab/button, not a text link. */
.gr-tab-pill {
  padding: 12px 0; border-radius: 12px; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: #475569; background: transparent;
  transition: background .2s ease, color .2s ease;
}
.gr-tab-pill.gr-tab-active {
  color: #fff; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  box-shadow: 0 6px 16px rgba(15,23,42,.25);
}

/* "Why Rent with GoRentora" pillar cards — gradient icon badge, a colored
   top accent bar, and a subtle always-on tinted wash (not just on hover)
   so the section reads as colorful at rest, not just plain-white-until-
   touched. Hover adds lift + icon spin/pop + a stronger glow on top of
   that. AOS handles the on-scroll reveal (zoom-in-up). */
.gr-pillar-card {
  position: relative; border-radius: 20px; padding: 28px 22px 26px; overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--gr-pillar-a, var(--gr-indigo)) 7%, white) 0%, #fff 130px),
    #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease;
}
.gr-pillar-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gr-pillar-a, var(--gr-indigo)), var(--gr-pillar-b, var(--gr-teal)));
}
.gr-pillar-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(15,23,42,.18); }
.gr-pillar-icon {
  position: relative; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, var(--gr-pillar-a), var(--gr-pillar-b));
  box-shadow: 0 10px 20px -6px color-mix(in srgb, var(--gr-pillar-a) 60%, transparent);
  transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gr-pillar-card:hover .gr-pillar-icon { transform: rotate(-8deg) scale(1.12); }
.gr-pillar-card::after {
  content: ""; position: absolute; top: -30px; right: -30px; width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gr-pillar-a, var(--gr-indigo)), var(--gr-pillar-b, var(--gr-teal)));
  opacity: .1; transition: opacity .3s ease; pointer-events: none;
}
.gr-pillar-card:hover::after { opacity: .18; }

/* Step numbers (1/2/3 on the "Own a Rental Property" onboarding cards) —
   tinted with the same per-card color instead of plain flat gray. */
.gr-pillar-stepnum { color: color-mix(in srgb, var(--gr-pillar-a, var(--gr-indigo)) 30%, white); }

/* Rating — a small filled chip for the number (not bare bold orange text
   floating in the meta line) with the review count muted alongside it. */
.gr-rating-row { display: flex; align-items: center; gap: 6px; margin: 1px 0 7px; }
.gr-rating-chip {
  display: inline-flex; align-items: center; gap: 3px; background: #FFFBEB; color: #B45309;
  font-weight: 800; font-size: 12px; border-radius: 8px; padding: 2px 7px;
}
.gr-rating-chip i { color: #F59E0B; font-size: 10.5px; }
.gr-review-count { font-size: 11.5px; color: #64748B; font-weight: 600; }

/* Amenity tags — one consistent indigo accent, not a rotating rainbow of
   5 unrelated colors per tag (that read as visual noise, not polish). */
.gr-amenity-tag {
  display: inline-flex; align-items: center; gap: 5px; background: #F1F5F9; border-radius: 999px;
  padding: 5px 11px; font-size: 11.5px; font-weight: 600; color: #475569;
}
.gr-amenity-tag i { color: var(--gr-indigo); }

.gr-card-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.gr-cta-callback, .gr-cta-tour {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 14px; padding: 12px; font-weight: 600; font-size: 13px; cursor: pointer;
  transition: all 0.2s ease;
}
.gr-cta-callback { background: #EFF6FF; color: var(--color-accent); }
.gr-cta-callback:hover { background: #DBEAFE; }
.gr-cta-tour {
  background: var(--color-primary); color: #FFFFFF; box-shadow: 0 6px 15px -3px rgba(15,23,42,0.3);
}
.gr-cta-tour:hover { background: var(--color-accent); box-shadow: 0 8px 20px -3px rgba(37,99,235,0.4); }

/* Value pillar grid: superseded by the richer .gr-pillar-card/.gr-pillar-icon
   definitions above (gradient icon + hover animation) once home.php moved
   to Tailwind utility grids for layout — no view references .gr-pillar-grid
   or .gr-pillar-icon-a/b/c/d anymore, so that old flat version is removed
   rather than left to silently shadow the new one via cascade order. */

/* ------------------------------------------------------------------ */
/* App promo banner                                                     */
/* ------------------------------------------------------------------ */
.gr-app-banner {
  position: relative; margin-top: 56px; border-radius: 28px; padding: 40px 32px;
  background: var(--gr-ink);
  background-image: linear-gradient(135deg, rgba(79,70,229,.35), rgba(34,199,181,.25));
  display: flex; align-items: center; gap: 32px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 768px) { .gr-app-banner { flex-direction: column; text-align: center; padding: 28px 20px; } }
.gr-app-banner-content { flex: 1; color: #fff; }
.gr-app-banner-content h2 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.gr-app-feature-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.gr-app-feature-list li { font-size: 14px; opacity: .9; }
.gr-app-feature-list i { color: var(--gr-teal); margin-right: 8px; }
.gr-app-store-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-start; }
@media (max-width: 768px) { .gr-app-store-badges { justify-content: center; } }
.gr-store-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 10px 18px; font-size: 13.5px; font-weight: 600;
  text-decoration: none;
}
.gr-store-badge:hover { background: rgba(255,255,255,.2); color: #fff; }
.gr-app-banner-art { flex-shrink: 0; }
.gr-app-banner-art i { font-size: 96px; color: rgba(255,255,255,.85); }

/* ------------------------------------------------------------------ */
/* Lead modal pill/chip controls (schedule-visit modal)                 */
/* ------------------------------------------------------------------ */
.gr-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.gr-date-pill, .gr-slot-chip {
  border: 1.5px solid #E2E8F0; background: #fff; border-radius: 12px; padding: 8px 12px;
  font-size: 12.5px; font-weight: 600; color: #475569; cursor: pointer; transition: all .15s ease;
}
.gr-date-pill.active, .gr-slot-chip.active {
  background: linear-gradient(90deg, var(--gr-indigo), var(--gr-teal)); border-color: transparent; color: #fff;
}

/* ------------------------------------------------------------------ */
/* "How It Works" — interactive 50/50 split-screen journey             */
/* ------------------------------------------------------------------ */
.gr-journey { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 992px) { .gr-journey { grid-template-columns: 1fr 1fr; gap: 48px; } }

.gr-journey-visual {
  position: relative; aspect-ratio: 4/3; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, rgba(79,70,229,.08), rgba(34,199,181,.10));
  border: 1px solid #EEF0FA;
}
@media (min-width: 992px) { .gr-journey-visual { position: sticky; top: 84px; } }
.gr-journey-mockup {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.96); transition: opacity .35s ease, transform .35s ease; padding: 24px;
}
.gr-journey-mockup.is-active { opacity: 1; transform: scale(1); }
.gr-journey-img { width: 100%; height: 100%; object-fit: contain; }
.gr-mockup-frame {
  width: 100%; max-width: 320px; background: #fff; border-radius: 18px; padding: 24px;
  box-shadow: 0 20px 40px -10px rgba(15,23,42,.15); text-align: center;
}
.gr-mockup-frame > i { font-size: 48px; background: linear-gradient(135deg, var(--gr-indigo), var(--gr-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; display: block; }
.gr-mockup-search-bar {
  margin-top: 12px; background: var(--gr-slate-50); border-radius: 12px; padding: 10px 14px; font-size: 13px;
  color: #64748B; text-align: left; display: flex; align-items: center; gap: 8px;
}
.gr-mockup-pill-row { display: flex; gap: 6px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }
.gr-mockup-pill { border-radius: 999px; padding: 5px 12px; font-size: 11.5px; font-weight: 600; background: var(--gr-slate-50); color: #64748B; }
.gr-mockup-pill.active { background: var(--gr-indigo); color: #fff; }
.gr-mockup-phone { background: var(--gr-ink); color: #fff; }
.gr-mockup-phone-text { font-size: 15px; font-weight: 700; margin-top: 8px; }
.gr-mockup-phone-text small { font-weight: 400; opacity: .7; font-size: 12px; }

.gr-journey-timeline { position: relative; padding-left: 28px; }
.gr-journey-timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--gr-indigo), var(--gr-teal)); opacity: .25;
}
.gr-journey-step {
  position: relative; padding: 18px 20px; border-radius: 16px; border-left: 4px solid transparent;
  cursor: pointer; transition: all .2s ease; margin-bottom: 8px;
}
.gr-journey-step::before {
  content: ""; position: absolute; left: -24px; top: 22px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid #CBD5E1; transition: all .2s ease;
}
.gr-journey-step.is-active { background: var(--gr-slate-50); border-left-color: var(--color-accent); }
.gr-journey-step.is-active::before { border-color: var(--gr-indigo); background: var(--gr-indigo); }
.gr-journey-step-num { font-size: 12px; font-weight: 700; color: var(--gr-indigo); margin-bottom: 4px; }
.gr-journey-step h3 { font-size: 16px; font-weight: 700; color: var(--gr-ink); margin-bottom: 4px; }
.gr-journey-step p { font-size: 13.5px; color: #64748B; margin: 0; }

/* Neighborhood cards without a showcase photo: distinct brand-gradient tiles + map-pin glyph. */
.gr-locality-card.is-plain.gr-hue-0 { background-image: linear-gradient(135deg, #1E3A8A, var(--color-accent)); }
.gr-locality-card.is-plain.gr-hue-1 { background-image: linear-gradient(135deg, #0F766E, var(--color-accent-2)); }
.gr-locality-card.is-plain.gr-hue-2 { background-image: linear-gradient(135deg, #4338CA, #7C3AED); }
.gr-locality-card.is-plain.gr-hue-3 { background-image: linear-gradient(135deg, var(--color-primary), #334155); }
.gr-locality-card.is-plain .gr-locality-scrim {
  background: linear-gradient(to top, rgba(15,23,42,.45) 0%, transparent 65%);
}
.gr-locality-glyph {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -62%); font-size: 64px; color: rgba(255,255,255,.22);
  pointer-events: none;
}
