/* ===== Партнёры: прямоугольные карточки по орбите ===== */
#partners > .wrap {
  padding-top: 28px;
  padding-bottom: 24px;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}
#partners > .wrap::before { display: none; }
.partner-orbit { display: block; }
.orbit-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1100 / 420;
}
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbit-items { position: absolute; inset: 0; perspective: 1100px; }
.orbit-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 176px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.orbit-tilt {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 18px 36px -18px rgba(14, 21, 37, .5),
    inset 0 0 0 1px rgba(18, 25, 41, .08);
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
  will-change: transform;
}
.orbit-card.is-front .orbit-tilt {
  box-shadow:
    0 26px 44px -16px rgba(14, 21, 37, .55),
    inset 0 0 0 1px rgba(18, 25, 41, .14);
}
.orbit-photo {
  aspect-ratio: 16 / 10;
  background: #F4F6F8;
  overflow: hidden;
}
.orbit-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}
.orbit-copy { padding: 10px 12px 12px; text-align: center; }
.orbit-copy b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #121929;
}
.orbit-copy p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: #5F6370;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.orbit-glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
}
@media (max-width: 860px) {
  .orbit-card { width: 132px; }
  .orbit-copy { padding: 8px 8px 10px; }
  .orbit-copy b { font-size: 12px; }
  .orbit-copy p { font-size: 11px; }
}
@media (max-width: 700px) {
  #partners > .wrap { padding-left: 18px; padding-right: 18px; }
  #partners .sec-head {
    margin-bottom: 12px;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }
  #partners .sec-head .eyebrow { justify-content: flex-start; }
  .orbit-stage.is-phone .orbit-svg { display: none; }
  .orbit-card { width: 118px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-tilt { transition: none; }
}

/* Старая карусель, если где-то останется разметка */
/* ===== Партнёры: карусель карточек с галереей фото ===== */
.pc-nav { display: flex; gap: 8px; }
.pc-arrow {
  width: 44px; height: 44px; border: 0; border-radius: 10px; cursor: pointer;
  background: #fff; box-shadow: inset 0 0 0 1px var(--hair-light); position: relative; transition: box-shadow .25s, background .25s;
}
.pc-arrow::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; background: var(--text, #151821);
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");
          mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");
}
.pc-arrow-next::before { transform: scaleX(-1); }
.pc-arrow:hover { box-shadow: inset 0 0 0 1px var(--a-2); }
.pc-arrow:disabled { opacity: .35; cursor: default; }

.pc-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 8px;
  scrollbar-width: none;
}
.pc-track::-webkit-scrollbar { display: none; }
.pc {
  scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--hair-light); box-shadow: 0 1px 2px rgba(14, 21, 37, .04);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.pc:hover { border-color: var(--hair-strong); transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(14, 21, 37, .35); }

.pc-gal { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1B2233; }
.pc-slides { display: flex; height: 100%; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.pc-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-gal::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(9, 13, 23, .45)); }
.pc-btn {
  position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(9, 13, 23, .6); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  opacity: 0; transition: opacity .25s, background .25s;
}
.pc-btn::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: #fff;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");
          mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");
}
.pc-btn.next::before { transform: scaleX(-1); }
.pc-btn.prev { left: 10px; } .pc-btn.next { right: 10px; }
.pc-btn:hover { background: rgba(9, 13, 23, .85); }
.pc:hover .pc-btn, .pc-btn:focus-visible { opacity: 1; }
@media (hover: none) { .pc-btn { opacity: 1; } }
.pc-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.pc-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.pc-dots i.on { width: 18px; background: #fff; }
.pc-count { position: absolute; z-index: 2; top: 10px; right: 10px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(9, 13, 23, .6); backdrop-filter: blur(6px); }
.pc-body { padding: 16px 18px 18px; }
.pc-body b { display: block; font-family: "Unbounded", sans-serif; font-weight: 500; font-size: 15px; color: var(--dark); margin-bottom: 6px; }
.pc-body p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }

@media (max-width: 1100px) { .pc-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 800px)  { .pc-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 520px)  { .pc-track { grid-auto-columns: 82%; } .pc-nav { display: none; } }
