/* Consolidated layer for Staging. Existing templates and content remain untouched. */
body.tr-properties-page .trp-hero,
body.page-contacto .trc101-hero,
.trc101-body .trc101-hero,
.trp-body .trp-hero {
  isolation: isolate;
  background-color: #151515 !important;
  background-image: linear-gradient(90deg,rgba(0,0,0,.76) 0%,rgba(0,0,0,.48) 48%,rgba(0,0,0,.24) 100%), var(--tr-consolidated-hero-image, none) !important;
  background-size: cover, cover !important;
  background-position: center, center 48% !important;
  background-repeat: no-repeat !important;
}
.trp-hero:after { z-index: 0; background: linear-gradient(90deg,rgba(0,0,0,.20),transparent 70%); }
.trp-hero-inner, .trc101-hero .hero-inner { position: relative; z-index: 1; }

/* Subtle zoom for the real Home hero and catalog card images. */
.v2-hero-bg, .v2-hero-bg-img { overflow: hidden; }
.v2-hero-bg-img { transform: scale(1.025); transform-origin: center; transition: transform 8s cubic-bezier(.2,.65,.25,1); will-change: transform; }
body.tr-v2-page-ready .v2-hero-bg-img.tr-v2-zoomed { transform: scale(1.10); }
.trp-card .trp-image img, .trp-card .trp-card-top img,
.trnp-image, .trnp-objective-image, .trsp-hero {
  transition: transform 1.1s cubic-bezier(.2,.65,.25,1), background-position 1.1s ease;
}
@media (hover:hover) and (pointer:fine) {
  .trp-card .trp-image, .trp-card .trp-card-top { overflow: hidden; }
  .trp-card:hover .trp-image img, .trp-card:hover .trp-card-top img { transform: scale(1.055); }
}

/* Reveal only after JS initializes, so content remains visible if JS fails. */
body.tr-v2-reveal-ready [data-tr-v2-reveal] {
  opacity: 0; transform: translate3d(0,24px,0);
  transition: opacity .72s ease, transform .72s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--tr-v2-delay, 0ms);
}
body.tr-v2-reveal-ready [data-tr-v2-reveal].tr-v2-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.tr-v2-reveal-ready [data-tr-v2-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .v2-hero-bg-img, .trp-card .trp-image img, .trp-card .trp-card-top img,
  .trnp-image, .trnp-objective-image, .trsp-hero { transition: none !important; transform: none !important; }
}
