/* Motion — elegante, sin recargar */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .btn-row {
    animation: ar-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-copy h1 { animation-delay: 0.1s; }
  .hero-copy .lead { animation-delay: 0.22s; }
  .hero-copy .btn-row { animation-delay: 0.34s; }

  .hero-visual img {
    animation: ar-ken 22s ease-in-out infinite alternate;
  }

  .ar-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ar-reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .ar-reveal-left { transform: translateX(-28px); }
  .ar-reveal-left.is-in { transform: none; }
  .ar-reveal-right { transform: translateX(28px); }
  .ar-reveal-right.is-in { transform: none; }

  .pillar, .card, .t-item, .value, .axis, .treat, .chip, .equip-card, .panel {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.45s;
  }
  .pillar:hover, .treat:hover, .panel:hover, .equip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(26, 22, 18, 0.06);
  }
  .card:hover { transform: translateY(-6px); }

  .media img,
  .card-img img,
  .hero-page img {
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s;
  }
  .media:hover img,
  .card:hover .card-img img {
    transform: scale(1.045);
  }

  .btn {
    position: relative;
    overflow: hidden;
  }
  .btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
  }
  .btn-primary:hover::after { transform: translateX(120%); }

  .site-header {
    transition: height 0.3s ease, background 0.3s, border-color 0.3s, box-shadow 0.3s;
  }
  .site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(26, 22, 18, 0.04);
  }

  .cta-band h2 {
    animation: ar-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes ar-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes ar-ken {
  from { transform: scale(1) translate3d(0,0,0); }
  to { transform: scale(1.07) translate3d(-1.2%, 0, 0); }
}

.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .ar-reveal, .hero-copy * { opacity: 1; transform: none; animation: none; transition: none; }
  .hero-visual img { animation: none; }
}
