.partners_page { width: 100%; }

.pt_kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #16469c;
}

/* buttons */
.pt_btn {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 8px; font: inherit;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}
.pt_btn--primary { background: #16469c; color: #fff; }
.pt_btn--primary:hover { background: #0f2b5c; transform: translateY(-1px); }
.pt_btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(22,70,156,0.3); }

/* section width */
.pt_head, .pt_showcase, .pt_contact_inner {
  width: 82%; max-width: 1120px; margin-left: auto; margin-right: auto;
}

/* HEADER — number-led */
.pt_head { padding: calc(80px + clamp(2.5rem, 6vw, 5rem)) 0 clamp(1.5rem, 3vw, 2rem); }
.pt_head .pt_kicker { margin-bottom: 1rem; }
.pt_head h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.05; margin: 0; max-width: 20ch; color: #141821;
}
/* the highlighted phrase in the headline */
.pt_head_num { color: #16469c; }
.pt_head_num, .pt_head_line { display: block; }   /* one phrase per line */
.pt_head p {
  margin: 1.5rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #5b6472;
  max-width: 62ch; line-height: 1.65;
}

/* SHOWCASE */
.pt_showcase { padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 3rem); }
.pt_showcase_head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.pt_showcase_head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em;
  margin: 0; color: #141821;
}
.pt_showcase_head p { margin: 1rem 0 0; color: #5b6472; line-height: 1.6; max-width: 60ch; font-size: clamp(1.05rem, 1.4vw, 1.15rem); }

.pt_cat { margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.pt_cat:last-child { margin-bottom: 0; }
.pt_cat_label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #141821; margin: 0 0 1rem;
}

/* ALL SCREENS: each category is ONE horizontal row (never wraps → no empty
   trailing cells from uneven category counts). Shows as many logos as fit, and
   scrolls sideways if there are more. On wide screens a category that fits fully
   just looks like a complete row; narrower screens scroll. A subtle fade + the
   peek of the next logo signals there's more to swipe. */
.pt_grid {
  list-style: none; margin: 0; padding: 0 0 0.5rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 184px;        /* FIXED width — every box identical across all categories */
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.pt_grid .pt_chip { scroll-snap-align: start; }
.pt_chip {
  position: relative; background: #fff; border: 1px solid #eef2f8; border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt_chip a {
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center;
  padding: 0.5rem 0.75rem 1.1rem; aspect-ratio: 4 / 3;
  text-decoration: none;
}
/* full-colour logos (testing colour vs the old grey). To go back to the classy
   grey-until-hover look, restore:  filter: grayscale(1); opacity: 0.72;  here
   and remove them from :hover. */
.pt_chip img {
  width: 100%; height: 100%; object-fit: contain;   /* whole logo canvas fits the box, like the homepage */
  transition: transform 0.2s ease;
}
.pt_chip:hover { border-color: #d6e0f0; box-shadow: 0 6px 18px rgba(10,40,90,0.08); }
.pt_chip:hover img { transform: scale(1.04); }
/* country tag, quiet, appears on hover */
.pt_chip_country {
  position: absolute; bottom: 0.6rem; right: 0.75rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: #b3bbc7; opacity: 0; transition: opacity 0.25s ease;
}
.pt_chip:hover .pt_chip_country { opacity: 1; }

/* Per-screen logo width for the horizontal rows (base rule above handles the
   scroll mechanics; these just size the tiles so a sensible number peeks). */
@media (max-width: 1024px) {
  .pt_grid { grid-auto-columns: 40%; gap: 0.6rem; }   /* tablet: ~2.5 logos + peek */
}
@media (max-width: 600px) {
  .pt_grid { grid-auto-columns: 55%; }                /* phone: larger logos, still a peek */
}

/* PARTNER CONTACT — small, calm */
.pt_contact { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.pt_contact_inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pt_contact_copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0; color: #141821; }
.pt_contact_copy p { margin: 0.85rem 0 0; color: #5b6472; line-height: 1.6; font-size: clamp(1.05rem, 1.4vw, 1.15rem); max-width: 46ch; }
.pt_contact_row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pt_contact_row[hidden] { display: none; }
.pt_contact_row input {
  flex: 1; min-width: 0; border: 1px solid #d6e0f0; border-radius: 8px; padding: 0.85rem 1rem;
  font: inherit; font-size: 1rem; background: #fff; color: #141821;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt_contact_row input:focus { outline: none; border-color: #16469c; box-shadow: 0 0 0 3px rgba(22,70,156,0.12); }
.pt_contact_note { margin: 0.85rem 0 0; font-size: 0.95rem; color: #5b6472; }
.pt_contact_note a { color: #16469c; font-weight: 600; text-decoration: none; }
.pt_contact_note a:hover { text-decoration: underline; }

/* Turnstile: hidden unless Cloudflare needs a click; spacing only then */
.pt_turnstile.is-shown { margin-top: 0.85rem; }
.pt_turnstile.is-done { height: 0; overflow: hidden; }   /* passed: tucked away */

/* Hidden from visitors and from browser autofill */
.pt_extra {
  display: none !important;
}

/* LOGO ROW ARROWS: a plain < or > beside the row, only on the side where more
   logos are, on every screen. Tap or click to move the row along. */
.pt_row { position: relative; }
.pt_arrow {
  display: none; position: absolute; top: calc(50% - 0.25rem); transform: translateY(-50%); z-index: 2;
  width: 28px; height: 44px; place-items: center; padding: 0; border: 0; background: none;
  color: #16469c; cursor: pointer; transition: color 0.2s ease;
}
.pt_arrow--prev { left: -32px; }
.pt_arrow--next { right: -32px; }
.pt_row.can-prev .pt_arrow--prev, .pt_row.can-next .pt_arrow--next { display: grid; }
.pt_arrow:hover { color: #0f2b5c; }
.pt_arrow:focus-visible { outline: 2px solid rgba(22,70,156,0.45); outline-offset: 2px; border-radius: 4px; }
.pt_arrow svg { display: block; width: 22px; height: 22px; }
/* tablets and phones: the margin beside the row is narrower */
@media (max-width: 900px) {
  .pt_arrow--prev { left: -28px; }
  .pt_arrow--next { right: -28px; }
}
@media (max-width: 600px) {
  .pt_arrow { width: 20px; }
  .pt_arrow svg { width: 18px; height: 18px; }
  .pt_arrow--prev { left: -21px; }
  .pt_arrow--next { right: -21px; }
}

/* touch screens: the country tag follows the swipe (the logo at the row's start) */
@media (hover: none) {
  .pt_chip.is-lead .pt_chip_country { opacity: 1; }
}

/* form feedback */
.pt_contact_row input.is-invalid { border-color: #b4232a; }
.pt_form_error { margin: 0.5rem 0 0; font-size: 0.95rem; color: #b4232a; }
.pt_confirm {
  display: flex; flex-direction: column; justify-content: center;
  box-sizing: border-box; padding: 0.15rem 1rem; border: 1px solid #e4ecf7; border-radius: 8px; background: #f6f8fc;
  animation: pt_confirm_in 0.25s ease;
}
.pt_confirm[hidden] { display: none; }
.pt_confirm_title { margin: 0; font-size: 1rem; line-height: 1.25; font-weight: 600; color: #141821; }
.pt_confirm_text { margin: 0; font-size: 0.95rem; line-height: 1.25; color: #5b6472; }
.pt_confirm_text a { color: #16469c; font-weight: 600; text-decoration: none; }
.pt_confirm_text a:hover { text-decoration: underline; }
@keyframes pt_confirm_in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* very narrow phones (folded Galaxy Fold): stack the field and button so
   neither is cramped and the confirmation fits the same space */
@media (max-width: 360px) {
  .pt_contact_row { flex-direction: column; }
  .pt_contact_row input { flex: none; width: 100%; }
  .pt_contact_row .pt_btn { width: 100%; }
}

/* RESPONSIVE (widths + how-we-work stacking if restored) */
@media (max-width: 900px) {
  .pt_head, .pt_showcase, .pt_contact_inner { width: 88%; }
}
@media (max-width: 820px) { .pt_contact_inner { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .pt_btn, .pt_chip, .pt_chip img, .pt_chip_country, .pt_row::before, .pt_row::after, .pt_arrow { transition: none; }
  .pt_confirm { animation: none; }
}