/* =====================================================
   CASAS CONTENEDOR LATAM — SHARED MODULES VISUAL
   SVG Illustrations & decorative imagery
   ===================================================== */

/* Houses / modules SVG colors */
.module-house-svg { color: var(--color-primary); }

/* ─── Animated gradient text ─── */
.gradient-text {
  background: linear-gradient(90deg, var(--color-primary) 0%, #F5874E 50%, var(--color-primary) 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: 0%; }
  50%      { background-position: 100%; }
}

/* ─── Scroll animations ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: .7s ease; }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: .7s ease; }
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: none; }

/* ─── Number counter animation ─── */
.counter-num { transition: all .1s; }

/* ─── Sticky sidebar CTA ─── */
.sticky-cta {
  position: sticky; top: 96px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 28px;
  box-shadow: var(--shadow-md);
}
.sticky-cta h4 { margin-bottom: 8px; }
.sticky-cta p  { color: var(--color-gray); font-size: .9rem; margin-bottom: 20px; }
.sticky-cta .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

/* ─── Notification toast ─── */
.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--color-dark); color: #fff;
  padding: 14px 24px; border-radius: var(--radius-md);
  font-size: .9375rem; font-weight: 600;
  box-shadow: var(--shadow-xl);
  opacity: 0; transition: .4s ease; pointer-events: none; z-index: 99999;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Color accent line ─── */
.accent-line {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.accent-line::before {
  content: ''; display: block;
  width: 40px; height: 3px; background: var(--color-primary); border-radius: 2px;
}

/* ─── Split section (image + text) ─── */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-section.reverse .split-visual { order: 2; }
.split-section.reverse .split-content { order: 1; }
.split-visual {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg,#1d2540,#2a3560);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; box-shadow: var(--shadow-xl);
}
.split-visual.light { background: linear-gradient(135deg,#EEF2FF,#dbe8f8); }

@media (max-width: 768px) {
  .split-section { grid-template-columns: 1fr; gap: 36px; }
  .split-section.reverse .split-visual { order: 0; }
}
