/* =========================
   Services zig-zag tiers
   (page-specific)
========================= */

.services-wrap { padding-top: 22px; }
.services-head { max-width: 820px; }

.zigzag {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

/* Card layout */
.tier-card {
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: var(--card);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(10px);
  overflow: hidden;

  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 260px;

  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
  animation: fadeUp 520ms ease both;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,0.18);
  background: var(--card2);
}

/* Zig-zag: card 2 flips columns */
.tier-card:nth-child(2) {
  grid-template-columns: 1.15fr 1fr;
}
.tier-card:nth-child(2) .tier-media { order: 2; }
.tier-card:nth-child(2) .tier-body  { order: 1; }

/* Media area (image slot) */
.tier-media {
  position: relative;
  background: rgba(0,0,0,0.18);
  border-right: 1px solid rgba(255,255,255,0.08);
  min-height: 220px;
  display: grid;
  place-items: center;
}

.tier-card:nth-child(2) .tier-media {
  border-right: none;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.tier-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tier-media-placeholder {
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.65);
  display: grid;
  place-items: center;
  font-weight: 650;
  text-align: center;
  padding: 14px;
}

/* Body */
.tier-body {
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: center;
}

.tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tier-top h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.3px;
}

.tier-pill {
  font-size: 0.82rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}

.tier-blurb {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.tier-list {
  margin: 6px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.82);
}
.tier-list li { margin: 6px 0; }

.tier-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Tiny “tier identity” accents (subtle) */
.tier-basic   { border-top: 1px solid rgba(78,161,255,0.45); }
.tier-plus    { border-top: 1px solid rgba(255,140,26,0.55); }
.tier-premium { border-top: 1px solid rgba(78,161,255,0.30); }

/* Mobile: stack */
@media (max-width: 860px) {
  .tier-card,
  .tier-card:nth-child(2) {
    grid-template-columns: 1fr;
  }
  .tier-card:nth-child(2) .tier-media,
  .tier-card:nth-child(2) .tier-body {
    order: unset;
  }
  .tier-media {
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    min-height: 220px;
  }
}
