/* PPS — Partners page
   Loaded in numeric order; later files may refine earlier ones. */

/* Hero: the second paragraph supports the first, so it is lighter */
.page-hero .hero-sub { max-width: 640px; margin-top: 14px; font-size: .98rem; font-weight: 300; color: rgba(255, 255, 255, .72); }

/* ---------- Partner logos as cards ---------- */
.logo-cards { gap: 18px; }
.logo-cards .logo-slot.has-logo { aspect-ratio: 4 / 3; border-color: transparent; border-radius: var(--radius); box-shadow: 0 10px 30px -20px rgba(34, 48, 71, .35); }
.logo-cards .logo-slot.has-logo:hover { border-color: var(--gold); }

/* ---------- Why Partner: eight equal cards ---------- */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bt { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 28px 26px 30px;
      border-radius: var(--radius); background: var(--white); border: 1px solid transparent;
      box-shadow: 0 12px 30px -22px rgba(34, 48, 71, .4); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.bt:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.bt-num { position: absolute; top: 22px; inset-inline-end: 24px; font-size: 1.6rem; font-weight: 300; line-height: 1; color: rgba(170, 137, 59, .35); font-variant-numeric: tabular-nums; transition: color .3s; }
.bt:hover .bt-num { color: var(--gold); }
.bt-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(170, 137, 59, .12); color: var(--gold); transition: background .3s, color .3s; }
.bt-icon .icon { width: 24px; height: 24px; }
.bt:hover .bt-icon { background: var(--gold); color: var(--white); }
.bt-text { font-weight: 500; font-size: 1.05rem; line-height: 1.4; color: var(--ink); }

/* ---------- HMC Group network: PPS inside HMC, partner types around ---------- */
.hmc-net .split { grid-template-columns: .9fr 1.1fr; }
.orbit { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-inline: auto; }
.orb-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: orb-spin 60s linear infinite; }
.orb-ring circle { fill: none; stroke: var(--gold); stroke-width: .35; stroke-dasharray: 1.2 1.6; opacity: .7; }
@keyframes orb-spin { to { rotate: 360deg; } }
.orb-hmc {
  position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 1; margin: -30% 0 0 -30%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%;
  border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line);
  box-shadow: inset 0 0 0 14px rgba(255, 255, 255, .7);
}
.orb-hmc > img { width: 46%; height: auto; margin-top: -4%; }
.orb-pps {
  position: relative; width: 50%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); box-shadow: 0 14px 30px -14px rgba(34, 48, 71, .6);
}
.orb-pps img { width: 78%; height: auto; }
.orb-pps::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; animation: orb-pulse 3.2s ease-out infinite; }
@keyframes orb-pulse { 0% { opacity: .7; scale: .92; } 100% { opacity: 0; scale: 1.25; } }

.orb-node { position: absolute; translate: -50% -50%; z-index: 1; }
.orb-node.n0 { left: 50%; top: 6%; }
.orb-node.n1 { left: 91.8%; top: 36.4%; }
.orb-node.n2 { left: 75.9%; top: 85.6%; }
.orb-node.n3 { left: 24.1%; top: 85.6%; }
.orb-node.n4 { left: 8.2%; top: 36.4%; }
.orb-pill {
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: 190px;
  padding: 10px 16px 10px 10px; border-radius: 40px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 12px 26px -18px rgba(34, 48, 71, .5); font-size: .8rem; font-weight: 500; line-height: 1.25; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.orb-pill .icon { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--bg-soft); color: var(--navy); transition: background .3s, color .3s; }
.orb-pill:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.orb-pill:hover .icon { background: var(--gold); color: var(--white); }

@media (prefers-reduced-motion: reduce) { .orb-ring, .orb-pps::before { animation: none; } }

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hmc-net .split { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .why-grid { gap: 12px; }
  .bt { padding: 20px 18px 22px; gap: 16px; }
  .bt-num { top: 18px; inset-inline-end: 18px; font-size: 1.3rem; }
  .bt-text { font-size: .95rem; }
  /* phones: the circles stay, the partner types become a list below them */
  .orbit { aspect-ratio: auto; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .orb-ring { display: none; }
  .orb-hmc { position: relative; left: auto; top: auto; margin: 0 0 18px; width: 230px; }
  .orb-node { position: static; translate: none; width: 100%; }
  .orb-pill { width: 100%; max-width: none; }
}
