/* ---------- Bonus price + savings + offer pricing additions ---------- */

.bonus-price {
  position: relative;
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 0 2px;
  display: inline-block;
}
.bonus-price::before {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  top: 50%;
  height: 2px;
  background: #ff3b3b;
  transform: rotate(-6deg);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 59, 59, 0.6);
}

.savings {
  margin-top: 56px;
  padding: 36px 40px;
  border-radius: 24px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(225, 255, 105, 0.12), transparent 60%),
    linear-gradient(180deg, #0d0d0d 0%, #050505 100%);
  border: 1px solid rgba(225, 255, 105, 0.18);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
@media (max-width: 720px) {
  .savings { grid-template-columns: 1fr; padding: 24px; gap: 18px; text-align: center; }
}
.savings-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.savings-strike {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 28px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}
.savings-strike::before {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  top: 50%;
  height: 2.5px;
  background: #ff3b3b;
  transform: rotate(-4deg);
  border-radius: 2px;
}
.savings-divider {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
  justify-self: center;
}
@media (max-width: 720px) {
  .savings-divider { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); }
}
.savings-headline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.savings-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
.savings-amount {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.savings-foot {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

/* Compare plan (left, danger styling) */
.plan-compare {
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(255, 59, 59, 0.08), transparent 60%),
    var(--surface-1);
  border-color: rgba(255, 59, 59, 0.18);
}
.plan-tag--danger {
  background: rgba(255, 59, 59, 0.18) !important;
  color: #ffb3b3 !important;
  border: 1px solid rgba(255, 59, 59, 0.3);
}
.compare-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.compare-list .ci-price {
  font-family: var(--font-mono);
  color: #ff8a8a;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 59, 59, 0.7);
  text-decoration-thickness: 2px;
  font-size: 13px;
  white-space: nowrap;
}
.compare-total {
  margin-top: 22px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 59, 59, 0.08);
  border: 1px solid rgba(255, 59, 59, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ct-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffb3b3;
}
.ct-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  color: #ff6b6b;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(255, 59, 59, 0.6);
}
.compare-foot {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Offer plan (right) */
.plan-offer { position: relative; }
.offer-strike {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 18px;
}
.offer-strike s {
  color: #ff8a8a;
  text-decoration-color: rgba(255, 59, 59, 0.7);
  text-decoration-thickness: 2px;
}
.plan-price--installment {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px !important;
}
.plan-price--installment .installment-eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 4px;
}
.plan-price--installment .currency {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
}
.plan-price--installment .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(180deg, #fff 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.plan-price--installment .cents {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  color: rgba(255, 255, 255, 0.85);
}
.offer-cash {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
}
.offer-cash strong { color: #fff; font-weight: 600; }
.bi-old {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 138, 138, 0.85);
  text-decoration-color: rgba(255, 59, 59, 0.7);
  text-decoration-thickness: 2px;
}
.offer-guarantee {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Offer plan list — bonus items with right-aligned strikethrough price */
.plan-includes--offer li.li-bonus {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}
.plan-includes--offer li.li-bonus > span {
  display: inline;
}
.plan-includes--offer li.li-bonus .bi-old {
  margin-left: 0;
  white-space: nowrap;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 59, 59, 0.7);
  text-decoration-thickness: 2px;
}

/* Urgent label on final CTA */
.label--urgent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 59, 59, 0.12);
  border: 1px solid rgba(255, 59, 59, 0.3);
  border-radius: 999px;
  padding: 10px 18px;
  color: #ffb3b3 !important;
  font-size: 12px !important;
}
.urgent-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 12px rgba(255, 59, 59, 0.8);
  animation: pulseRed 1.6s ease-in-out infinite;
}
@keyframes pulseRed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.25); }
}

/* ─── Savings refactor (dark) ─── */
.savings {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 36px 48px;
  background:
    linear-gradient(180deg, rgba(199,255,82,0.04), rgba(199,255,82,0.01)),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(199,255,82,0.18);
  border-radius: 28px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
.savings-col { display: flex; flex-direction: column; gap: 10px; }
.savings-col--strike { text-align: right; }
.savings-col--save { text-align: left; }
.savings-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}
.savings-eyebrow--lime { color: var(--lime); }
.savings-strike {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.45);
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}
.savings-strike::before {
  content: "";
  position: absolute;
  left: -6px; right: -6px;
  top: 50%;
  height: 3px;
  background: #ff5a4a;
  transform: rotate(-6deg);
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(255, 90, 74, 0.6);
}
.savings-arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lime);
  color: #050505;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(199, 255, 82, 0.35);
}
.savings-arrow svg { width: 24px; height: 24px; stroke-width: 2.5; }
.savings-amount {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.02em;
  display: inline-block;
  text-shadow: 0 0 30px rgba(199, 255, 82, 0.25);
}
.savings-foot {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}
@media (max-width: 800px) {
  .savings { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
  .savings-col--strike, .savings-col--save { text-align: center; }
  .savings-arrow { transform: rotate(90deg); margin: 0 auto; }
  .savings-strike { font-size: 40px; }
  .savings-amount { font-size: 48px; }
}

/* ─── Testi slider (dark) ─── */
.t-slider {
  margin-top: 56px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(199,255,82,0.08), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(124,92,255,0.08), transparent 60%),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.t-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: stretch;
  position: relative;
  min-height: 420px;
}
.t-aside { display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 320px; }
.t-aside-top { display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; }
.t-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: auto; }
.t-pager {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.45);
  display: flex; align-items: baseline; gap: 6px;
}
.t-pager #tIdx { color: #fff; font-size: 40px; font-weight: 500; letter-spacing: -0.02em; }
.t-side-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0;
  font-weight: 500;
}
.t-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.t-thumb {
  width: 42px; height: 56px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: #fff;
  transition: transform 0.25s, border-color 0.25s, opacity 0.25s;
  background-size: cover;
  background-position: center top;
  opacity: 0.55;
  overflow: hidden;
}
.t-thumb:hover { transform: scale(1.08); opacity: 0.85; }
.t-thumb.active {
  border-color: var(--lime);
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 0 18px rgba(199, 255, 82, 0.4);
}

.t-center { display: flex; align-items: center; justify-content: center; }
.t-stage {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.t-stage::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 22px;
  border: 1px dashed rgba(199, 255, 82, 0.18);
  pointer-events: none;
}
.t-avatar-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 96px;
  color: #fff;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  background-size: cover;
  background-position: center top;
}
.t-avatar-card.active { opacity: 1; transform: scale(1); }
.t-avatar-card .ta-initials { z-index: 2; }
.t-avatar-card.has-photo .ta-initials { display: none; }

.t-text-col { display: flex; flex-direction: column; gap: 28px; min-height: 420px; padding: 8px 0; }
.t-text-box {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-areas: "stack";
}
.t-quote-card {
  grid-area: stack;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s, transform 0.45s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.t-quote-card.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.t-quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.7;
  color: var(--lime);
  margin-bottom: 8px;
  display: block;
}
.t-quote-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.t-quote-meta { display: flex; flex-direction: column; gap: 4px; }
.t-quote-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: #fff;
}
.t-quote-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}
.t-controls { display: flex; gap: 12px; }
.t-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.25s, color 0.25s, border-color 0.25s;
}
.t-btn svg { width: 20px; height: 20px; }
.t-btn-ghost:hover { background: rgba(255,255,255,0.06); transform: translateX(-3px); }
.t-btn-primary { background: var(--lime); color: #050505; border-color: var(--lime); }
.t-btn-primary:hover { background: #d8ff66; border-color: #d8ff66; transform: translateX(3px); }

@media (max-width: 900px) {
  .t-slider { padding: 32px 24px; }
  .t-grid { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .t-aside, .t-text-col { min-height: 0; height: auto; }
  .t-aside { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .t-aside-top { flex-direction: row; align-items: baseline; gap: 16px; }
  .t-stage { width: 200px; height: auto; }
  .t-avatar-card { font-size: 72px; }
  .t-quote-card { position: relative; }
  .t-quote-text { font-size: 20px; }
}

/* ─── Footer gallery ─── */
.footer-gallery {
  position: relative;
  padding: 120px 0 100px;
  background: var(--paper-2);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.fg-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,18,12,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,18,12,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent);
}
.footer-gallery .container { position: relative; z-index: 2; text-align: center; }
.fg-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0 0 16px;
}
.fg-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 80px;
  color: var(--ink);
}
.fg-rose { color: var(--accent); font-style: italic; }
.fg-photos {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
}
.fg-stack {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 100%;
  perspective: 1200px;
}
.fg-photo {
  position: absolute;
  width: 220px;
  height: 280px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  border: 6px solid #fff;
  box-shadow: 0 24px 50px rgba(34, 18, 12, 0.18);
  top: 50%;
  left: 50%;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
  cursor: pointer;
}
.fg-photo:hover {
  z-index: 10;
  box-shadow: 0 30px 70px rgba(34, 18, 12, 0.3);
}
.fg-cta { display: flex; justify-content: center; }
@media (max-width: 800px) {
  .footer-gallery { padding: 80px 0 60px; }
  .fg-title { margin-bottom: 56px; }
  .fg-photos { height: 280px; }
  .fg-photo { width: 140px; height: 180px; }
}


/* ====================================================================
   COLLAGE — Floating thumbs above pricing (06b · O Pacote)
   Inspired by the modern hero collage layout: 1 hero card + 6 satellite
   cards, each animated with a subtle float-up loop and offset delays.
   ==================================================================== */

.section-collage {
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

/* Soft radial wash so the cards float on a slightly distinct ground */
.section-collage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 800px;
  background:
    radial-gradient(60% 50% at 50% 50%,
      rgba(225, 255, 105, 0.06) 0%,
      rgba(160, 236, 250, 0.04) 35%,
      rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  filter: blur(20px);
}

.collage-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.collage-head .section-num {
  display: inline-flex;
  margin-bottom: 24px;
}
.collage-head h2 {
  margin: 0;
}
.collage-sub {
  margin: 24px auto 0;
  max-width: 640px;
  color: var(--text-2, rgba(255,255,255,0.7));
}

/* Stage that contains the collage */
.collage-stage {
  position: relative;
  margin: clamp(48px, 6vw, 80px) auto 0;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.collage-frame {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: 100%;
}

/* --- Card base --- */
.collage-card {
  position: absolute;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%),
    var(--bg) center / cover no-repeat;
  box-shadow:
    0 24px 48px -16px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08) inset;
  animation: collageFloat 7s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, box-shadow;
}
.collage-card::after {
  /* subtle inner highlight + grain feel */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  border-radius: inherit;
}

.collage-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8,8,12,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
}

/* --- Layout positions (matching React reference, tuned for 1180px frame) --- */

/* Center — hero card, larger, in front */
.collage-card--center {
  left: 50%;
  top: 50%;
  width: 300px;
  height: 400px;
  transform: translate(-50%, -50%);
  z-index: 30;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.12) inset;
}

/* Top-Left */
.collage-card--tl {
  left: 22%;
  top: 8%;
  width: 208px;
  height: 260px;
  z-index: 10;
  transform: rotate(-3deg);
}

/* Top-Right */
.collage-card--tr {
  right: 22%;
  top: 4%;
  width: 192px;
  height: 240px;
  z-index: 10;
  transform: rotate(3deg);
}

/* Bottom-Right — pulled forward, larger */
.collage-card--br {
  right: 18%;
  bottom: 6%;
  width: 240px;
  height: 300px;
  z-index: 25;
  transform: rotate(-2deg);
}

/* Far-Right */
.collage-card--fr {
  right: 2%;
  top: 38%;
  width: 208px;
  height: 260px;
  z-index: 8;
  transform: rotate(4deg);
}

/* Bottom-Left — pulled forward */
.collage-card--bl {
  left: 16%;
  bottom: 2%;
  width: 224px;
  height: 280px;
  z-index: 25;
  transform: rotate(2deg);
}

/* Far-Left */
.collage-card--fl {
  left: 2%;
  top: 26%;
  width: 192px;
  height: 240px;
  z-index: 8;
  transform: rotate(-4deg);
}

/* --- Float animation. We compose with the static rotate of each tile so
   tilts are preserved while the card lifts. --- */
@keyframes collageFloat {
  0%, 100% {
    transform: translateY(0) var(--rot, rotate(0deg));
  }
  50% {
    transform: translateY(-15px) var(--rot, rotate(0deg));
  }
}
/* Bind --rot per tile so the keyframes can layer it back in */
.collage-card--center { --rot: translate(-50%, -50%); }
.collage-card--tl     { --rot: rotate(-3deg); }
.collage-card--tr     { --rot: rotate(3deg); }
.collage-card--br     { --rot: rotate(-2deg); }
.collage-card--fr     { --rot: rotate(4deg); }
.collage-card--bl     { --rot: rotate(2deg); }
.collage-card--fl     { --rot: rotate(-4deg); }

/* Override the keyframes since the center card needs a different translate baseline */
@keyframes collageFloatCenter {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, calc(-50% - 15px)); }
}
.collage-card--center {
  animation-name: collageFloatCenter;
  animation-duration: 6.5s;
}

@keyframes collageFloatTilted {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50%      { transform: translateY(-15px) rotate(var(--tilt, 0deg)); }
}
.collage-card--tl { animation-name: collageFloatTilted; --tilt: -3deg; }
.collage-card--tr { animation-name: collageFloatTilted; --tilt: 3deg; animation-duration: 6.8s; }
.collage-card--br { animation-name: collageFloatTilted; --tilt: -2deg; animation-duration: 7.2s; }
.collage-card--fr { animation-name: collageFloatTilted; --tilt: 4deg; animation-duration: 6.4s; }
.collage-card--bl { animation-name: collageFloatTilted; --tilt: 2deg; animation-duration: 7.0s; }
.collage-card--fl { animation-name: collageFloatTilted; --tilt: -4deg; animation-duration: 6.6s; }

/* --- Stats below collage --- */
.collage-stats {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 32px 64px;
  position: relative;
  z-index: 5;
}
.collage-stat {
  text-align: center;
  min-width: 180px;
}
.collage-stat__value {
  margin: 0;
  font-family: var(--font-display, "Bricolage Grotesque", system-ui);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent, #e1ff69);
  font-variant-numeric: tabular-nums;
}
.collage-stat__label {
  margin: 12px 0 0;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2, rgba(255,255,255,0.65));
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .collage-stage { height: 540px; }
  .collage-card--center { width: 240px; height: 320px; }
  .collage-card--tl, .collage-card--tr,
  .collage-card--fr, .collage-card--fl { width: 168px; height: 210px; }
  .collage-card--bl, .collage-card--br { width: 192px; height: 240px; }
}

@media (max-width: 768px) {
  .collage-stage { height: 420px; }
  .collage-card--center { width: 180px; height: 240px; }
  .collage-card--tl { left: 6%;  top: 10%; width: 124px; height: 156px; }
  .collage-card--tr { right: 6%; top: 6%;  width: 116px; height: 146px; }
  .collage-card--br { right: 4%; bottom: 8%; width: 144px; height: 180px; }
  .collage-card--bl { left: 4%;  bottom: 4%; width: 136px; height: 170px; }
  .collage-card--fr,
  .collage-card--fl { display: none; }
  .collage-tag { font-size: 9px; padding: 4px 8px; }
  .collage-stats { gap: 24px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .collage-card { animation: none; }
}
