/* Premium motion for C2R public pages. Honours reduced-motion. */

.c2r-page {
  animation: c2rPageIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes c2rPageIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.c2r-reveal {
  opacity: 1;
  transform: none;
}

.c2r-reveal.is-in,
.c2r-reveal.c2r-from-up.is-in,
.c2r-reveal.c2r-from-left.is-in,
.c2r-reveal.c2r-from-right.is-in,
.c2r-reveal.c2r-from-scale.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 100ms);
}

.c2r-reveal.is-in:hover,
.c2r-reveal.c2r-from-up.is-in:hover,
.c2r-reveal.c2r-from-left.is-in:hover,
.c2r-reveal.c2r-from-right.is-in:hover,
.c2r-reveal.c2r-from-scale.is-in:hover {
  transform: translateY(-8px);
}

.acres-slide.is-on .acres-slide-photo {
  animation: c2rHeroKen 7.5s ease-out forwards;
  transform-origin: center 42%;
}

@keyframes c2rHeroKen {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

.acres-slide-copy small,
.acres-slide-copy strong,
.acres-slide-copy span {
  animation: c2rCopyIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.acres-slide-copy strong { animation-delay: 0.12s; }
.acres-slide-copy span { animation-delay: 0.24s; }

.acres-slide-copy.is-swap small,
.acres-slide-copy.is-swap strong,
.acres-slide-copy.is-swap span {
  animation-name: c2rCopySwap;
}

@keyframes c2rCopyIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes c2rCopySwap {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

.acres-search-dock {
  animation: c2rDockIn 0.8s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes c2rDockIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.c2r-ticker {
  overflow: hidden;
  background: #0B1F3A;
  color: #D6E6F5;
  border-top: 1px solid rgba(91, 155, 213, 0.22);
  border-bottom: 1px solid rgba(91, 155, 213, 0.12);
}

.c2r-ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: c2rTicker 42s linear infinite;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 0;
  white-space: nowrap;
}

.c2r-ticker-track span {
  padding: 0 28px;
}

@keyframes c2rTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.acres-city-tile,
.c2r-city-card {
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.acres-city-tile img,
.c2r-city-card img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.acres-city-tile:hover,
.c2r-city-card:hover {
  transform: translateY(-8px);
}

.acres-city-tile:hover img,
.c2r-city-card:hover img {
  transform: scale(1.08);
}

.acres-start-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.acres-start-card img {
  transition: transform 0.7s ease;
}

.acres-start-card:hover {
  transform: translateY(-6px);
}

.acres-start-card:hover img {
  transform: scale(1.08);
}

.acres-card,
.project-card,
.insight-card,
.property-card,
.zone-atlas-card,
.c2r-home-card,
.c2r-project-card,
.c2r-mag-feature,
.c2r-mag-item {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.acres-card:hover,
.project-card:hover,
.insight-card:hover,
.property-card:hover,
.zone-atlas-card:hover,
.c2r-home-card:hover,
.c2r-project-card:hover,
.c2r-mag-feature:hover,
.c2r-mag-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.16);
}

.acres-card img,
.project-card img,
.insight-card img,
.acres-mini-card img,
.c2r-home-card img,
.c2r-project-card img,
.c2r-mag-feature img,
.c2r-mag-item img,
.c2r-intent-card img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.acres-card:hover img,
.project-card:hover img,
.insight-card:hover img,
.acres-mini-card:hover img,
.c2r-home-card:hover img,
.c2r-project-card:hover img,
.c2r-mag-feature:hover img,
.c2r-mag-item:hover img,
.c2r-intent-card:hover img {
  transform: scale(1.07);
}

.acres-mini-card,
.c2r-home-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.acres-mini-card:hover,
.c2r-home-card:hover {
  transform: translateY(-8px);
}

.acres-tab {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.acres-tab:hover {
  transform: translateY(-1px);
}

.acres-search-go,
.btn-post-property-gold,
.portal-search-submit {
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.acres-search-go:hover,
.btn-post-property-gold:hover,
.portal-search-submit:hover {
  transform: translateY(-1px);
}

.floating-whatsapp-btn {
  animation: c2rPulse 2.8s ease-in-out infinite;
}

@keyframes c2rPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28); }
  50% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55); }
}

.js-count {
  font-variant-numeric: tabular-nums;
}

.acres-owner-banner {
  position: relative;
  overflow: hidden;
}

.acres-owner-banner::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(244, 247, 251, 0.16), transparent);
  animation: c2rSheen 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes c2rSheen {
  from { transform: translateX(0); }
  to { transform: translateX(420%); }
}

/* ---- Site-wide staged motion ---- */
.c2r-stage {
  position: relative;
  isolation: isolate;
}

.c2r-intents,
.c2r-owner,
.c2r-pdp-hero,
.acres-hero,
.c2r-page-sec:nth-of-type(3n) {
  position: relative;
  overflow: hidden;
}

.c2r-intents::before,
.c2r-owner::before,
.c2r-pdp-hero::after,
.c2r-page-sec:nth-of-type(3n)::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(91, 155, 213, 0.32), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(168, 208, 240, 0.18), transparent 46%);
  animation: c2rAurora 16s ease-in-out infinite alternate;
}

.c2r-intents > *,
.c2r-owner > *,
.c2r-pdp-hero > *,
.c2r-page-sec:nth-of-type(3n) > * {
  position: relative;
  z-index: 1;
}

@keyframes c2rAurora {
  from { transform: translate3d(-5%, -3%, 0) scale(1); }
  to { transform: translate3d(6%, 4%, 0) scale(1.1); }
}

.c2r-pdp-hero {
  background-size: 180% 180%;
  animation: c2rHeroWash 18s ease-in-out infinite alternate;
}

@keyframes c2rHeroWash {
  from { background-position: 12% 20%; }
  to { background-position: 88% 70%; }
}

.c2r-sec-kicker::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, #5B9BD5, transparent);
  transform: scaleX(0);
  transform-origin: left;
}

.c2r-reveal.is-in .c2r-sec-kicker::after,
.c2r-sec-head.is-in .c2r-sec-kicker::after,
.c2r-stage.is-in .c2r-sec-kicker::after {
  animation: c2rDraw 0.7s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.c2r-intents .c2r-sec-kicker::after {
  margin-left: auto;
  margin-right: auto;
}

@keyframes c2rDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.c2r-reveal.c2r-from-up { transform: none; }
.c2r-reveal.c2r-from-left { transform: none; }
.c2r-reveal.c2r-from-right { transform: none; }
.c2r-reveal.c2r-from-scale { transform: none; }

.c2r-intent-card.c2r-reveal.is-in {
  animation: none;
}

@keyframes c2rFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.c2r-illust img,
.c2r-illust-mark {
  animation: none;
}

.c2r-ken,
.skin-overlay img,
.skin-feature img,
.c2r-project-card img,
.skin-city-band img,
.c2r-pdp-gallery img {
  animation: c2rKenSlow 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes c2rKenSlow {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.12) translateY(-3%); }
}

.skin-overlay:hover img,
.skin-feature:hover img,
.c2r-project-card:hover img,
.c2r-home-card:hover img,
.c2r-pdp-gallery img:hover,
.acres-city-tile:hover img {
  animation: none;
}

.skin-overlay,
.c2r-project-card,
.c2r-intent-card,
.c2r-pdp-sim,
.skin-split,
.skin-rera {
  position: relative;
  overflow: hidden;
}

.c2r-pdp-sim::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -55%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: c2rSheen 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

.c2r-pdp-chip,
.c2r-pdp-spec,
.c2r-pdp-feat,
.c2r-pdp-pin,
.c2r-pdp-jump,
.c2r-pdp-slots button {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease, box-shadow 0.28s ease;
}

.menu-section-bar a {
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.menu-section-bar a:hover {
  transform: translateY(-2px);
}

.c2r-pdp-panel,
.c2r-page-sec,
.skin-city-band {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.skin-stats div {
  animation: c2rFloat 5.5s ease-in-out infinite;
}

.skin-stats div:nth-child(2) { animation-delay: 0.4s; }
.skin-stats div:nth-child(3) { animation-delay: 0.8s; }

.c2r-ticker-track span {
  position: relative;
}

.c2r-ticker-track span::before {
  content: "·";
  margin-right: 28px;
  color: #5B9BD5;
}

.portal-search-submit,
.c2r-pdp-jump,
.acres-search-go,
.c2r-pdp-save {
  position: relative;
  overflow: hidden;
}

.portal-search-submit::after,
.c2r-pdp-jump::after,
.acres-search-go::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: c2rSheen 3.8s ease-in-out infinite;
  pointer-events: none;
}

.acres-hero::after {
  content: "";
  position: absolute;
  width: 48%;
  height: 70%;
  left: 8%;
  top: 8%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(91, 155, 213, 0.28), transparent 68%);
  animation: c2rSpot 14s ease-in-out infinite alternate;
}

@keyframes c2rSpot {
  from { transform: translate3d(0, 8%, 0) scale(0.92); opacity: 0.65; }
  to { transform: translate3d(42%, -6%, 0) scale(1.18); opacity: 1; }
}

.c2r-page-sec:nth-of-type(even) {
  position: relative;
  overflow: hidden;
}

.c2r-page-sec:nth-of-type(even)::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(91, 155, 213, 0.2), transparent 62%);
  animation: c2rAurora 18s ease-in-out infinite alternate-reverse;
}

.c2r-page-sec.c2r-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #5B9BD5, transparent);
  transform: scaleX(0);
  transform-origin: left;
}

.c2r-page-sec.c2r-stage.is-in::after {
  animation: c2rDraw 0.9s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.c2r-glow {
  position: relative;
}

.c2r-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 30%), rgba(91, 155, 213, 0.22), transparent 58%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.c2r-glow:hover::before {
  opacity: 1;
}

.c2r-cities .acres-city-tile,
.c2r-home-card,
.c2r-pdp-ask,
.skin-lease,
.skin-service {
  position: relative;
  overflow: hidden;
}

.c2r-home-card img {
  animation: none;
}

.navbar-nav-links > .nav-item > .nav-link {
  position: relative;
}

.navbar-nav-links > .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 10px;
  height: 2px;
  background: #5B9BD5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar-nav-links > .nav-item > .nav-link:hover::after,
.navbar-nav-links > .nav-item > .nav-link.is-on::after,
.navbar-nav-links > .nav-item > .nav-link.active::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .c2r-page,
  .acres-slide.is-on .acres-slide-photo,
  .acres-slide-copy small,
  .acres-slide-copy strong,
  .acres-slide-copy span,
  .acres-search-dock,
  .c2r-ticker-track,
  .floating-whatsapp-btn,
  .acres-owner-banner::after,
  .c2r-intents::before,
  .c2r-owner::before,
  .c2r-pdp-hero::after,
  .c2r-page-sec:nth-of-type(3n)::before,
  .c2r-page-sec:nth-of-type(even)::before,
  .c2r-page-sec.c2r-stage::after,
  .acres-hero::after,
  .c2r-home-card img,
  .c2r-pdp-hero,
  .c2r-intent-card,
  .c2r-intent-card.c2r-reveal.is-in,
  .c2r-ken,
  .skin-overlay img,
  .skin-feature img,
  .c2r-project-card img,
  .skin-city-band img,
  .c2r-pdp-gallery img,
  .skin-overlay::before,
  .c2r-project-card::before,
  .c2r-intent-card::before,
  .c2r-pdp-sim::before,
  .portal-search-submit::after,
  .c2r-pdp-jump::after,
  .acres-search-go::after,
  .skin-stats div,
  .c2r-illust img,
  .c2r-illust-mark {
    animation: none !important;
  }

  .c2r-page,
  .c2r-reveal,
  .c2r-reveal.is-in,
  .c2r-from-left,
  .c2r-from-right,
  .c2r-from-scale,
  .c2r-from-up,
  .c2r-reveal.c2r-from-left,
  .c2r-reveal.c2r-from-right,
  .c2r-reveal.c2r-from-scale,
  .c2r-reveal.c2r-from-up {
    opacity: 1;
    transform: none;
  }

  .acres-card:hover,
  .project-card:hover,
  .insight-card:hover,
  .property-card:hover,
  .acres-city-tile:hover,
  .acres-start-card:hover {
    transform: none;
  }

  .acres-stage,
  .skin-contact-card,
  .c2r-search-pulse {
    animation: none !important;
    transform: none !important;
  }
}

.c2r-intent-card,
.acres-start-card,
.c2r-city-card,
.c2r-project-card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.c2r-intent-card:hover,
.acres-start-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
}

.c2r-search-pulse {
  position: relative;
}

.acres-search-go {
  box-shadow: 0 0 0 0 rgba(91, 155, 213, 0.45);
  animation: c2rBtnPulse 2.8s ease-out infinite;
}

@keyframes c2rBtnPulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 155, 213, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(91, 155, 213, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 155, 213, 0); }
}

.c2r-home-card b,
.acres-mini-card b {
  color: #061526;
}

.c2r-ticker {
  color: #FFFFFF;
}

.menu-section-bar a.is-current {
  color: #061526;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.12);
}
