/* ── Keyframes ───────────────────────────────────────────────── */
@keyframes pt-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pt-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.js-pt .hero nav[aria-label="Breadcrumb"] {
  opacity: 0;
  animation: pt-fade .38s ease forwards .05s;
}
.js-pt .hero h1 {
  opacity: 0;
  animation: pt-rise .55s cubic-bezier(.2,0,0,1) forwards .14s;
}
.js-pt .hero .hero-sub {
  opacity: 0;
  animation: pt-fade .45s ease forwards .3s;
}

/* ── Section heads ────────────────────────────────────────────── */
.js-pt .cyx-head h2 {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,0,0,1);
}
.js-pt .cyx-head h2.pt-in { opacity: 1; transform: translateY(0); }

/* ── Top partner cards ────────────────────────────────────────── */
.js-pt .pt-top-item {
  opacity: 0; transform: translateY(22px) scale(.98);
  transition: opacity .42s ease, transform .42s cubic-bezier(.2,0,0,1);
}
.js-pt .pt-top-item.pt-in { opacity: 1; transform: translateY(0) scale(1); }

/* ── Category blocks ──────────────────────────────────────────── */
.js-pt .pt-cat {
  opacity: 0; transform: translateY(18px);
  transition: opacity .44s ease, transform .44s cubic-bezier(.2,0,0,1);
}
.js-pt .pt-cat.pt-in { opacity: 1; transform: translateY(0); }

/* ── Logo items inside categories ────────────────────────────── */
.js-pt .pt-item {
  opacity: 0; transform: scale(.94);
  transition: opacity .3s ease, transform .3s ease;
}
.js-pt .pt-item.pt-in { opacity: 1; transform: scale(1); }

/* ── CTA block ────────────────────────────────────────────────── */
.js-pt .cyx-cta h2 {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,0,0,1);
}
.js-pt .cyx-cta h2.pt-in { opacity: 1; transform: translateY(0); }

.js-pt .cyx-cta .hero-cta {
  opacity: 0; transform: translateY(12px);
  transition: opacity .42s ease .1s, transform .42s cubic-bezier(.2,0,0,1) .1s;
}
.js-pt .cyx-cta .hero-cta.pt-in { opacity: 1; transform: translateY(0); }

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .js-pt .hero nav[aria-label="Breadcrumb"],
  .js-pt .hero h1,
  .js-pt .hero .hero-sub { opacity: 1 !important; animation: none !important; }

  .js-pt .cyx-head h2,
  .js-pt .pt-top-item,
  .js-pt .pt-cat,
  .js-pt .pt-item,
  .js-pt .cyx-cta h2,
  .js-pt .cyx-cta .hero-cta {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ── Form drawer ─────────────────────────────────────────────── */
.cy-form-btn {
  position: fixed; bottom: 32px; right: 32px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px;
  background: var(--c3-orange, #FC466B);
  color: #fff; border: none; border-radius: 50px;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 700;
  letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 28px rgba(252,70,107,.38);
  z-index: 200;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cy-form-btn:hover { transform: scale(1.04) translateY(-2px); box-shadow: 0 14px 40px rgba(252,70,107,.5); }
.cy-form-btn svg { width:15px; height:15px; flex-shrink:0; }
.cy-overlay {
  position: fixed; inset: 0; background: rgba(4,9,22,.72);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
  z-index: 400; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.cy-overlay.cy-open { opacity:1; pointer-events:all; }
.cy-drawer {
  position: fixed; top: 16px; right: 16px; bottom: 16px;
  width: 440px; max-width: calc(100vw - 32px);
  background: var(--bg-base, #060d1f);
  border: 1px solid rgba(204,231,255,.12); border-radius: 20px;
  display: flex; flex-direction: column;
  transform: translateX(calc(100% + 32px));
  transition: transform .34s cubic-bezier(.2,0,0,1);
  z-index: 401; overflow: hidden;
}
.cy-drawer.cy-open { transform: translateX(0); }
.cy-drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 28px 28px 22px;
  border-bottom: 1px solid rgba(204,231,255,.08); flex-shrink: 0;
}
.cy-drawer-label {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c3-orange, #FC466B); opacity:.9; display: block; margin-bottom: 5px;
}
.cy-drawer-h { font-family: var(--font-sans); font-size: 22px; font-weight: 800; letter-spacing: -.035em; color: #fff; margin: 0; line-height: 1.1; }
.cy-drawer-sub { font-family: var(--font-body); font-size: 13.5px; color: rgba(204,231,255,.55); margin: 6px 0 0; line-height: 1.45; }
.cy-drawer-close {
  width: 36px; height: 36px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07); border: none; border-radius: 10px;
  color: rgba(204,231,255,.65); cursor: pointer; font-size: 16px;
  transition: background .15s, color .15s;
}
.cy-drawer-close:hover { background: rgba(255,255,255,.14); color:#fff; }
.cy-drawer-body { flex: 1; overflow-y: auto; padding: 28px 28px 48px; scrollbar-width: thin; scrollbar-color: rgba(204,231,255,.12) transparent; }
.cy-drawer-body::-webkit-scrollbar { width:4px; }
.cy-drawer-body::-webkit-scrollbar-track { background: transparent; }
.cy-drawer-body::-webkit-scrollbar-thumb { background: rgba(204,231,255,.15); border-radius:4px; }
.cy-drawer-body .hs-form fieldset { max-width: none !important; }
.cy-drawer-body .hs-form .hs-input,
.cy-drawer-body .hs-form input,
.cy-drawer-body .hs-form textarea,
.cy-drawer-body .hs-form select { width: 100% !important; box-sizing: border-box !important; }
@media (max-width: 520px) {
  .cy-drawer { top: 12px; left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; border-radius: 20px; transform: translateY(calc(100% + 24px)); }
  .cy-drawer.cy-open { transform: translateY(0); }
  .cy-form-btn { bottom: 20px; right: 16px; padding: 12px 18px; font-size: 13px; }
  .cy-drawer-head { padding: 22px 20px 18px; }
  .cy-drawer-body { padding: 20px 20px 40px; }
}
