/* Start custom CSS *//* Platform cards: each plays once when about 40% of it is on screen (the site script adds .gg-pc-wait, then .gg-pc-in).
   Without the script, or with reduced motion, the cards just show as they are. */
@media (prefers-reduced-motion: no-preference) {
  .gg-pc-wait .gg-mp-pill, .gg-pc-wait .gg-mp-pin, .gg-pc-wait .gg-mp-card, .gg-pc-wait .gg-mp-area,
  .gg-pc-wait [data-id="15f44e31"], .gg-pc-wait [data-id="2142d5b1"],
  .gg-pc-wait [data-id="5e104cdb"], .gg-pc-wait [data-id="2ab84f2e"], .gg-pc-wait [data-id="5ddde2de"] { opacity: 0; }
  .gg-pc-wait .gg-mp-draw { stroke-dashoffset: 1; }

  /* IDX map: search pill, the search area draws itself, price pins pop, then the property card */
  .gg-pc-in .gg-mp-pill { animation: gg-pc-drop 0.6s cubic-bezier(.2,.8,.2,1) both; }
  .gg-pc-in .gg-mp-draw { animation: gg-pc-draw 1.1s 0.3s ease-in-out both; }
  .gg-pc-in .gg-mp-area { animation: gg-pc-fade 0.5s 1.2s ease-out both; }
  .gg-pc-in .gg-mp-pin { animation: gg-pc-pop 0.5s var(--gg-d, 1s) cubic-bezier(.34,1.56,.64,1) both; }
  .gg-pc-in .gg-mp-card { animation: gg-pc-card 0.7s 1.9s cubic-bezier(.34,1.4,.64,1) both; }

  /* Google ad, then the lead alert */
  .gg-pc-in [data-id="15f44e31"] { animation: gg-pc-rise 0.7s 0.1s cubic-bezier(.2,.8,.2,1) both; }
  .gg-pc-in [data-id="2142d5b1"] { animation: gg-pc-alert 0.7s 1.1s cubic-bezier(.34,1.4,.64,1) both; }

  /* Call these first: rows slide in, then the badges pop */
  .gg-pc-in [data-id="5e104cdb"], .gg-pc-in [data-id="2ab84f2e"], .gg-pc-in [data-id="5ddde2de"] { animation: gg-pc-slide 0.6s cubic-bezier(.2,.8,.2,1) both; }
  .gg-pc-in [data-id="2ab84f2e"] { animation-delay: 0.3s; }
  .gg-pc-in [data-id="5ddde2de"] { animation-delay: 0.6s; }
  .gg-pc-in [data-id="5e104cdb"] em, .gg-pc-in [data-id="2ab84f2e"] em, .gg-pc-in [data-id="5ddde2de"] b { animation: gg-pc-pop 0.5s 1.05s cubic-bezier(.34,1.56,.64,1) both; }
  .gg-pc-in [data-id="2ab84f2e"] em { animation-delay: 1.25s; }
  .gg-pc-in [data-id="5ddde2de"] b { animation-delay: 1.45s; }
}
@keyframes gg-pc-drop { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: 0 0; } }
@keyframes gg-pc-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 75% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes gg-pc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gg-pc-pop { from { opacity: 0; scale: 0.3; } 70% { opacity: 1; scale: 1.12; } to { opacity: 1; scale: 1; } }
@keyframes gg-pc-card { from { opacity: 0; translate: 0 14px; scale: 0.85; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes gg-pc-rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes gg-pc-alert { from { opacity: 0; translate: 0 26px; scale: 0.94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes gg-pc-slide { from { opacity: 0; translate: 28px 0; } to { opacity: 1; translate: 0 0; } }

/* Hero (desktop and phone): the site script swaps each flat image for layers, then types the search and reveals the results
   once the mockup is in view. Until then the flat images stay hidden; if the script can't finish, they fade in at 4.7s. */
@media (prefers-reduced-motion: no-preference) {
  [data-id="5122fd62"], [data-id="1786e51e"] { animation: gg-hl-fallback 0.5s 4.7s both; }
}
@keyframes gg-hl-fallback { from { opacity: 0; } to { opacity: 1; } }/* End custom CSS */