/* Intercultural 360 — partner registration journey (partners-register.html)
   Colours: brand #0F6E56, text #0f172a, muted #475569 (7.6:1 on white), borders #cbd5e1. */
:root {
  --pj-brand: #0F6E56; --pj-brand-dark: #0b5643; --pj-brand-soft: #ecfdf5;
  --pj-text: #0f172a; --pj-muted: #475569; --pj-line: #cbd5e1; --pj-line-soft: #e2e8f0;
  --pj-bg: #f1f5f4; --pj-error: #b91c1c;
}
.pj-body { margin: 0; background: var(--pj-bg); color: var(--pj-text); font-family: 'Inter', system-ui, sans-serif; }
.pj-body *, .pj-body *::before, .pj-body *::after { box-sizing: border-box; }
.pj-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pj-skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--pj-brand); padding: 8px 12px; border-radius: 8px; z-index: 100; font-weight: 700; }
.pj-skip:focus { left: 8px; }
.pj-body :focus-visible { outline: 3px solid var(--pj-brand); outline-offset: 2px; }

/* Header */
.pj-top { background: #fff; border-bottom: 1px solid var(--pj-line-soft); }
.pj-top-inner { max-width: 60rem; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pj-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pj-text); min-width: 0; }
.pj-logo img { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.pj-logo span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.pj-logo strong { font-family: 'Lexend', sans-serif; font-size: 1rem; color: var(--pj-brand); }
.pj-logo small { font-size: 0.75rem; color: var(--pj-muted); }
.pj-top-link { font-size: 0.875rem; font-weight: 600; color: var(--pj-brand); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Layout */
.pj-main { max-width: 60rem; margin: 0 auto; padding: 20px 16px 56px; }
.pj-card { background: #fff; border: 1px solid var(--pj-line-soft); border-radius: 20px; padding: 20px 16px; box-shadow: 0 20px 40px -32px rgba(15,23,42,0.35); }
@media (min-width: 640px) { .pj-card { padding: 32px; } .pj-main { padding-top: 32px; } }
.pj-progress { margin-bottom: 14px; }
.pj-progress-text { margin: 0 0 6px; font-size: 0.875rem; font-weight: 700; color: var(--pj-muted); }
.pj-bar { height: 8px; background: #dbe4e1; border-radius: 99px; overflow: hidden; }
.pj-bar-fill { height: 100%; background: var(--pj-brand); border-radius: 99px; transition: width 0.25s; }
@media (prefers-reduced-motion: reduce) { .pj-bar-fill { transition: none; } }

.pj-kicker { margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pj-brand); }
.pj-h { font-family: 'Lexend', sans-serif; font-size: 1.5rem; line-height: 1.25; font-weight: 700; color: var(--pj-text); margin: 0 0 8px; }
.pj-h:focus { outline: none; }
@media (min-width: 640px) { .pj-h { font-size: 1.75rem; } }
.pj-lead { color: var(--pj-muted); font-size: 1rem; line-height: 1.55; margin: 0 0 20px; }
.pj-sub { font-family: 'Lexend', sans-serif; font-size: 1.05rem; font-weight: 700; margin: 20px 0 8px; }
.pj-center { text-align: center; }

/* Fields */
.pj-field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.pj-field > label, .pj-field > legend, .pj-label, .pj-q-label { display: block; font-weight: 600; font-size: 0.95rem; color: var(--pj-text); margin: 0 0 8px; padding: 0; }
.pj-sublabel { display: block; font-weight: 600; font-size: 0.875rem; color: var(--pj-text); margin: 14px 0 6px; }
.pj-req { color: var(--pj-error); }
.pj-opt { font-weight: 400; color: var(--pj-muted); }
.pj-help { font-size: 0.85rem; color: var(--pj-muted); line-height: 1.5; margin: 6px 0 0; }
.pj-body input[type=text], .pj-body input[type=email], .pj-body input[type=url], .pj-body textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--pj-text); background: #fff;
  border: 1.5px solid var(--pj-line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.pj-body textarea { resize: vertical; line-height: 1.5; }
.pj-body input::placeholder, .pj-body textarea::placeholder { color: #64748b; }
.pj-body input:focus, .pj-body textarea:focus { border-color: var(--pj-brand); }
.pj-body [aria-invalid="true"] { border-color: var(--pj-error) !important; }
.pj-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.pj-inline input { flex: 1 1 200px; min-width: 0; }

/* Buttons */
.pj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: 1rem;
  min-height: 48px; padding: 10px 20px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; }
.pj-btn svg { width: 18px; height: 18px; }
.pj-btn-primary { background: var(--pj-brand); color: #fff; }
.pj-btn-primary:hover { background: var(--pj-brand-dark); }
.pj-btn-ghost { background: #fff; color: var(--pj-brand); border-color: var(--pj-brand); }
.pj-btn-ghost:hover { background: var(--pj-brand-soft); }
.pj-btn:disabled { opacity: 0.6; cursor: wait; }
.pj-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--pj-brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pj-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pj-line-soft); }
.pj-nav .pj-btn-primary { margin-left: auto; }

/* Step 1 cards */
.pj-cards { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
@media (min-width: 560px) { .pj-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .pj-cards { grid-template-columns: 1fr 1fr 1fr; } }
.pj-scard { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 64px; border: 1.5px solid var(--pj-line); border-radius: 14px; background: #fff; cursor: pointer; color: var(--pj-text); }
.pj-scard:hover { border-color: var(--pj-brand); }
.pj-scard-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--pj-brand-soft); color: var(--pj-brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pj-scard-icon svg { width: 22px; height: 22px; }
.pj-scard-text { display: flex; flex-direction: column; min-width: 0; }
.pj-scard-label { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.pj-scard-hint { font-size: 0.8rem; color: var(--pj-muted); line-height: 1.35; }
.pj-scard-tick { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--pj-line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.pj-scard-tick svg { width: 14px; height: 14px; visibility: hidden; }
.pj-scard:has(input:checked) { border: 2px solid var(--pj-brand); background: #f0fdf9; padding: 13.5px; }
.pj-scard:has(input:checked) .pj-scard-tick { background: var(--pj-brand); border-color: var(--pj-brand); }
.pj-scard:has(input:checked) .pj-scard-tick svg { visibility: visible; }
.pj-scard:has(input:focus-visible) { outline: 3px solid var(--pj-brand); outline-offset: 2px; }

/* Chips (radio + checkbox) */
.pj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--pj-line); border-radius: 99px; background: #fff; color: var(--pj-text); font-size: 0.925rem; font-weight: 600; cursor: pointer; }
.pj-chip:hover { border-color: var(--pj-brand); }
.pj-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pj-chip:has(input:checked) { background: var(--pj-brand); border-color: var(--pj-brand); color: #fff; }
.pj-chip:has(input:checked)::before { content: "✓"; font-weight: 800; }
.pj-chip:has(input:focus-visible) { outline: 3px solid var(--pj-brand); outline-offset: 2px; }
.pj-chip-x { background: var(--pj-brand); color: #fff; border-color: var(--pj-brand); }
.pj-chip-x button { background: none; border: 0; color: #fff; font: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 0 0 4px; }
.pj-q { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }

/* Combobox */
.pj-combo { position: relative; display: flex; align-items: center; }
.pj-combo input { flex: 1; min-width: 0; }
.pj-combo-flag { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; pointer-events: none; }
.pj-combo-flag img { display: block !important; vertical-align: 0 !important; }
.pj-combo-flag:not(:empty) + input { padding-left: 46px; }
.pj-listbox { position: absolute; z-index: 40; top: calc(100% + 4px); left: 0; right: 0; max-height: 260px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1.5px solid var(--pj-line); border-radius: 12px; box-shadow: 0 16px 32px -16px rgba(15,23,42,0.35); }
.pj-listbox li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--pj-text); }
.pj-listbox li[aria-selected="true"], .pj-listbox li:hover { background: var(--pj-brand-soft); color: var(--pj-brand-dark); font-weight: 600; }
.pj-listbox li.pj-empty { color: var(--pj-muted); cursor: default; background: none; font-weight: 400; }

/* Switch + checkbox */
.pj-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; color: var(--pj-text); position: relative; }
.pj-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pj-switch-track { width: 48px; height: 28px; border-radius: 99px; background: #94a3b8; position: relative; flex-shrink: 0; transition: background 0.15s; }
.pj-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.pj-switch input:checked + .pj-switch-track { background: var(--pj-brand); }
.pj-switch input:checked + .pj-switch-track::after { transform: translateX(20px); }
.pj-switch input:focus-visible + .pj-switch-track { outline: 3px solid var(--pj-brand); outline-offset: 2px; }
.pj-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.95rem; margin: 20px 0 12px; }
.pj-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--pj-brand); flex-shrink: 0; }
.pj-check a { color: var(--pj-brand); font-weight: 700; }

/* Step 5 profile + preview */
.pj-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) { .pj-profile-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } .pj-preview-wrap { position: sticky; top: 16px; } }
.pj-photo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pj-photo-preview { width: 96px; height: 96px; border-radius: 16px; background: #f1f5f9; border: 1.5px dashed var(--pj-line); display: flex; align-items: center; justify-content: center; overflow: hidden; color: #64748b; flex-shrink: 0; }
.pj-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.pj-photo label.pj-btn { min-height: 44px; }
.pj-photo .pj-link { margin-left: 12px; }
.pj-preview-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pj-muted); margin: 0 0 8px; }
.pj-preview { border: 1px solid var(--pj-line-soft); border-radius: 16px; padding: 16px; background: #fff; box-shadow: 0 12px 24px -20px rgba(15,23,42,0.4); }
.pj-preview-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.pj-preview-photo { width: 64px; height: 64px; border-radius: 50%; background: var(--pj-brand-soft); color: var(--pj-brand); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; overflow: hidden; flex-shrink: 0; }
.pj-preview-photo img { width: 100%; height: 100%; object-fit: cover; }
.pj-preview-name { font-weight: 800; margin: 0; overflow-wrap: anywhere; }
.pj-preview-disc { margin: 2px 0 0; font-size: 0.85rem; color: var(--pj-brand); font-weight: 600; }
.pj-preview-verified { margin: 4px 0 0; font-size: 0.75rem; color: #64748b; display: flex; align-items: center; gap: 4px; }
.pj-preview-verified svg { width: 14px; height: 14px; }
.pj-preview-meta { margin: 4px 0 0; font-size: 0.85rem; color: var(--pj-muted); overflow-wrap: anywhere; }
.pj-preview-bio { margin: 10px 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--pj-text); overflow-wrap: anywhere; }

/* Step 6 */
.pj-ok { background: var(--pj-brand-soft); border: 1px solid #a7f3d0; border-radius: 12px; padding: 12px 14px; margin-bottom: 20px; color: #065f46; }
.pj-ok p { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; overflow-wrap: anywhere; }
.pj-ok svg { width: 18px; height: 18px; }

/* Step 7 plans — white cards, dark text */
.pj-plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
@media (min-width: 900px) { .pj-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pj-plan { background: #fff; color: #0f172a; border: 1.5px solid var(--pj-line); border-radius: 16px; display: flex; flex-direction: column; }
.pj-plan:hover { border-color: var(--pj-brand); }
.pj-plan:has(input[name=pj-plan]:checked) { border: 2px solid var(--pj-brand); box-shadow: 0 0 0 3px #ccebe2; }
.pj-plan:has(input[name=pj-plan]:focus-visible) { outline: 3px solid var(--pj-brand); outline-offset: 2px; }
.pj-plan-main { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 12px; cursor: pointer; flex: 1; }
.pj-plan-check { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--pj-line); display: flex; align-items: center; justify-content: center; color: #fff; }
.pj-plan-check svg { width: 16px; height: 16px; visibility: hidden; }
.pj-plan:has(input[name=pj-plan]:checked) .pj-plan-check { background: var(--pj-brand); border-color: var(--pj-brand); }
.pj-plan:has(input[name=pj-plan]:checked) .pj-plan-check svg { visibility: visible; }
.pj-plan-name { font-family: 'Lexend', sans-serif; font-size: 1.1rem; font-weight: 700; color: #0f172a; padding-right: 34px; }
.pj-plan-price { font-size: 1rem; font-weight: 700; color: var(--pj-brand-dark); }
.pj-plan-list { list-style: disc; margin: 8px 0 0; padding-left: 1.1rem; color: #334155; font-size: 0.9rem; line-height: 1.5; }
.pj-plan-list li { margin-bottom: 4px; }
.pj-badge { display: inline-block; vertical-align: middle; font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 8px; border-radius: 99px; background: var(--pj-brand-soft); color: var(--pj-brand-dark); }
.pj-badge-amber { background: #fef3c7; color: #78350f; }
.pj-billing { display: flex; gap: 6px; padding: 0 16px 16px; flex-wrap: wrap; }
.pj-billing label { flex: 1 1 120px; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1.5px solid var(--pj-line); border-radius: 10px; font-size: 0.875rem; font-weight: 600; color: #0f172a; cursor: pointer; }
.pj-billing input { accent-color: var(--pj-brand); }
.pj-billing label:has(input:checked) { border-color: var(--pj-brand); background: #f0fdf9; }
.pj-billing em { font-style: normal; font-size: 0.75rem; color: var(--pj-brand-dark); background: var(--pj-brand-soft); padding: 1px 6px; border-radius: 99px; margin-left: 2px; }

/* Step 8 summary */
.pj-summary { display: grid; gap: 10px; }
.pj-sum { border: 1px solid var(--pj-line-soft); border-radius: 12px; padding: 12px 14px; }
.pj-sum-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.pj-sum-head h3 { margin: 0; font-size: 0.95rem; font-weight: 700; }
.pj-sum dl { margin: 0; display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 4px 12px; font-size: 0.9rem; }
.pj-sum dt { color: var(--pj-muted); }
.pj-sum dd { margin: 0; color: var(--pj-text); overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 480px) { .pj-sum dl { grid-template-columns: minmax(0, 1fr); } .pj-sum dd { margin-bottom: 6px; } }
.pj-note { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; border-radius: 12px; padding: 12px 14px; font-size: 0.9rem; margin: 0; }

/* Errors + success */
.pj-error { margin-top: 16px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 0.95rem; }
.pj-success { text-align: left; }
.pj-success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--pj-brand-soft); color: var(--pj-brand); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.pj-success-icon svg { width: 30px; height: 30px; }
.pj-next-steps { list-style: decimal; padding-left: 1.3rem; line-height: 1.6; color: #334155; margin: 0 0 24px; }
.pj-next-steps li { margin-bottom: 6px; }
