/* itad.html — page-only pieces on top of v3-kit.css (2026-09-28)
   · hero photo reel (two columns of real ITAD photos scrolling opposite ways)
   · industry link tiles · "pays you / recycles free" cards with coin stack */

/* ─── Hero photo reel ─────────────────────────────────────────────────── */
.it-reel-wrap { aspect-ratio: auto; height: min(560px, 62vh); width: min(100%, 460px); }
.it-reel { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; overflow: hidden; border-radius: 30px;
  transform: perspective(1200px) rotateY(-14deg) rotateX(6deg) rotateZ(2deg); transform-origin: 50% 50%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  box-shadow: 0 60px 90px -40px rgba(0, 0, 0, .7); }
.it-reel-col { overflow: hidden; }
.it-reel-track { display: flex; flex-direction: column; gap: 14px; }
.it-reel-track img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; border: 1px solid rgba(185, 242, 74, .22); }
html.sv-js .it-reel-track { animation: itReel 30s linear infinite; }
html.sv-js .it-reel-col--rev .it-reel-track { animation-direction: reverse; animation-duration: 36s; }
.it-reel:hover .it-reel-track { animation-play-state: paused; }
@keyframes itReel { to { transform: translateY(calc(-50% - 7px)); } }
.it-reel-wrap .sv-chip--1 { left: -8%; top: 12%; }
.it-reel-wrap .sv-chip--2 { right: -6%; top: 46%; }
.it-reel-wrap .sv-chip--3 { left: -4%; bottom: 12%; }

/* ─── Industries ──────────────────────────────────────────────────────── */
.it-inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.it-ind { display: flex; flex-direction: column; text-decoration: none !important; color: var(--fg) !important; min-height: 280px; }
.it-ind p { flex: 1; }
.it-ind-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font: 700 15px/1 var(--body); color: var(--green-dk); transition: gap .3s var(--ease); }
.it-ind:hover .it-ind-go { gap: 14px; }
[data-theme="dark"] .it-ind-go { color: var(--lime); }
.it-ind .sv-tile-ic svg { width: 26px; height: 26px; }

/* ─── Value cards ─────────────────────────────────────────────────────── */
.it-val { position: relative; overflow: hidden; padding: clamp(28px, 3.6vw, 48px); padding-bottom: 150px; border-radius: 32px; min-height: 460px; }
.it-val--pay { background: var(--lime); color: var(--forest); }
.it-val--free { background: var(--forest); color: #fff; background-image: radial-gradient(70% 60% at 100% 0%, rgba(15, 162, 74, .45), transparent 70%); }
[data-theme="dark"] .it-val--free { border: 1px solid rgba(185, 242, 74, .16); }
.it-val-ic { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 18px; background: var(--forest); color: var(--lime); }
.it-val--free .it-val-ic { background: var(--lime); color: var(--forest); }
.it-val-ic svg { width: 28px; height: 28px; }
.it-val p { margin-top: 16px !important; font-size: 17px; line-height: 1.66; max-width: 52ch; }
.it-val--pay p { color: rgba(5, 32, 13, .82); }
.it-val--free p { color: rgba(255, 255, 255, .8); }

/* coin stack: five coins drop onto the pile, then the pile resets */
.it-coins { position: absolute; right: 36px; bottom: 30px; width: 96px; height: 120px; }
.it-coins i { position: absolute; left: 0; width: 96px; height: 22px; border-radius: 50%; background: linear-gradient(180deg, #fff3b0, #e0b43a); border: 2px solid var(--forest); box-shadow: 0 4px 0 #b88a1d; }
.it-coins i:nth-child(1) { bottom: 0; } .it-coins i:nth-child(2) { bottom: 16px; } .it-coins i:nth-child(3) { bottom: 32px; } .it-coins i:nth-child(4) { bottom: 48px; } .it-coins i:nth-child(5) { bottom: 64px; }
.it-coins b { position: absolute; left: 50%; bottom: 86px; transform: translateX(-50%); font: 900 30px/1 var(--display); color: var(--forest); }
html.sv-js .it-coins i { animation: itCoin 4.8s cubic-bezier(.4, 0, .2, 1) infinite; }
html.sv-js .it-coins i:nth-child(2) { animation-delay: .35s; } html.sv-js .it-coins i:nth-child(3) { animation-delay: .7s; }
html.sv-js .it-coins i:nth-child(4) { animation-delay: 1.05s; } html.sv-js .it-coins i:nth-child(5) { animation-delay: 1.4s; }
html.sv-js .it-coins b { animation: itDollar 4.8s ease-in-out infinite; }
@keyframes itCoin { 0% { transform: translateY(-160px); opacity: 0; } 12% { opacity: 1; } 22% { transform: translateY(0); } 26% { transform: translateY(-6px); } 30%, 88% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes itDollar { 0%, 30% { opacity: 0; transform: translate(-50%, 10px) scale(.6); } 42%, 86% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; } }

/* spinning recycle glyph on the "free" card */
.it-loop { position: absolute; right: 30px; bottom: 24px; width: 120px; height: 120px; fill: none; stroke: var(--lime); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .9; filter: drop-shadow(0 0 10px rgba(185, 242, 74, .45)); }
html.sv-js .it-loop { animation: svSpin 14s linear infinite; }

.sv-related-sec { padding: clamp(56px, 7vw, 90px) 0; }

@media (max-width: 1080px) { .it-inds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) {
  .it-reel-wrap { height: 420px; width: min(100%, 420px); }
  .it-reel { transform: perspective(1200px) rotateX(8deg); }
}
@media (max-width: 640px) {
  .it-inds { grid-template-columns: 1fr; }
  .it-ind { min-height: 0; }
  .it-reel-wrap { height: 340px; }
  .it-val { padding-bottom: 140px; min-height: 0; }
}
