/* JTCS Property homepage CTA — smooth rotating copy, no blink. */

.property-cta {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: visible;
  padding: 1.5rem 0 1.75rem;
  scroll-margin-top: calc(var(--nav-height, 80px) + var(--hiring-bar-height, 0px) + 8px);
  background:
    radial-gradient(circle at 12% 20%, rgba(16, 185, 129, 0.18), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(249, 115, 22, 0.16), transparent 40%),
    linear-gradient(135deg, #0A3560 0%, #0F4C81 48%, #0F766E 100%);
  color: #fff;
}
.property-cta-inner {
  display: grid;
  gap: 1rem;
}
.property-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FDE68A;
}
.property-cta-copy {
  display: grid;
  width: 100%;
}
.property-cta-line {
  grid-area: 1 / 1;
  position: relative;
  margin: 0;
  font-family: var(--font-heading, Poppins, sans-serif);
  font-size: clamp(1.05rem, 2.1vw, 1.4rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: opacity 0.55s ease;
}
.property-cta-line.is-active {
  opacity: 1;
  visibility: visible;
}
.property-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: stretch;
}
.property-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-heading, Poppins, sans-serif);
  font-weight: 800;
  text-decoration: none;
  border: 0;
}
.property-cta-btn-primary {
  background: linear-gradient(135deg, #F97316, #FBBF24);
  color: #0F172A !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.22);
  position: relative;
  z-index: 1;
}
.property-cta-btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.property-cta-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 980;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(10, 53, 96, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(15, 76, 129, 0.18);
  gap: 0.45rem;
}
.property-cta-sticky a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #F97316, #FBBF24);
  color: #0F172A !important;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.45rem 0.6rem;
  text-align: center;
}
.property-cta-sticky a:first-child {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.35);
}
body.has-property-cta .float-buttons { bottom: 92px; }
body.has-property-cta .back-to-top { bottom: 92px; }

@media (max-width: 768px) {
  .property-cta-sticky { display: grid; grid-template-columns: 1fr 1fr; }
  body.has-property-cta { padding-bottom: 6.2rem; }
}
@media (max-width: 1024px) {
  .property-cta { padding: 1.35rem 0 1.55rem; }
  .property-cta-line { font-size: clamp(1rem, 4.2vw, 1.25rem); }
  .property-cta-actions { flex-direction: column; align-items: stretch; }
  .property-cta-btn { width: 100%; }
}
@media (min-width: 1025px) {
  .property-cta { padding: 2rem 0; }
  .property-cta-inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, auto);
    align-items: start;
  }
  .property-cta-actions {
    justify-content: flex-end;
    max-width: 22rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .property-cta-line { transition: none; }
}
