/* Partner page (3 Nov 2026). Vibrant and soft, flat (no shadows), 4px rhythm, pill buttons, rounded cards.
   Brand colours from the logo: navy #062D4E and green #FFC800. Delete this file and restore partner.php to roll back. */
.pp { --navy: #062D4E; --green: #FFC800; --green-ink: #2F7D12; --green-tint: #EAF6E2; --navy-tint: #EEF3F8; --line: #D5E1EB; --ink: #2A3A4B; --muted: #5B6B7B;
  color: var(--ink); font-family: var(--font, "Inter", system-ui, sans-serif); font-size: 16px; line-height: 1.63; background: #fff; overflow-x: clip; }
.pp * { box-sizing: border-box; }
.pp-wrap { max-width: 1270px; margin: 0 auto; padding: 0 16px; position: relative; }
.pp a { color: var(--green-ink); text-underline-offset: 3px; }
.pp h1, .pp h2, .pp h3, .pp p, .pp ul, .pp ol { margin: 0; padding: 0; }
.pp ul, .pp ol { list-style: none; }

.pp-kicker, .pp-h4 { font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--green-ink); margin: 0 0 12px; }
.pp-h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; font-weight: 800; letter-spacing: -1px; color: var(--navy); margin: 0 0 32px; }
.pp-lead { font-size: 18px; line-height: 1.6; color: var(--ink); }
.pp-lead strong { color: var(--navy); }
.pp-note { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 16px; }

/* Buttons: pill, 14px 32px, 700 */
.pp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pp-btn-green { background: var(--green); color: var(--navy) !important; }
.pp-btn-green:hover { background: #42A014; }
.pp-btn-line { background: #fff; color: var(--navy) !important; border-color: var(--navy); }
.pp-btn-line:hover { background: var(--navy); color: #fff !important; }
.pp-btn:focus-visible, .pp-form :is(input, select, textarea, button, a):focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--green); }

/* Hero */
.pp-hero { position: relative; background: linear-gradient(180deg, var(--green-tint) 0%, #fff 100%); padding: 64px 0 48px; overflow: hidden; }
.pp-deco { position: absolute; right: -80px; top: -60px; width: 560px; max-width: 70vw; height: auto; pointer-events: none; }
.pp-hero-grid { display: grid; gap: 40px; align-items: center; }
.pp-hero h1 { font-size: clamp(34px, 6vw, 48px); line-height: 1.25; font-weight: 800; letter-spacing: -1.2px; color: var(--navy); margin-bottom: 24px; }
.pp-hero h1 span { color: var(--green-ink); }
.pp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pp-fit { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.pp-fit-title { font-size: 24px; line-height: 1.33; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.pp-ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.pp-ticks svg, .pp-ic svg { flex: none; color: var(--green-ink); }
.pp-ticks svg { margin-top: 4px; }
.pp-fit-no { margin-top: 24px; padding: 16px; background: var(--navy-tint); border-radius: 16px; display: grid; gap: 4px; font-size: 15px; line-height: 1.5; }
.pp-fit-no strong { color: var(--navy); }

/* Sections and cards */
.pp-section { padding: 64px 0; }
.pp-soft { background: var(--navy-tint); }
.pp-cards { display: grid; gap: 16px; }
.pp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.pp-card h3 { font-size: 24px; line-height: 1.33; font-weight: 700; color: var(--navy); margin: 16px 0 8px; }
.pp-card p { color: var(--ink); }
.pp-card-tint { display: flex; gap: 16px; align-items: flex-start; border-color: transparent; }
.pp-card-tint p { color: var(--navy); font-weight: 600; line-height: 1.5; }
.pp-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--green); color: var(--navy); font-weight: 800; font-size: 18px; flex: none; }
.pp-num-navy { background: var(--navy); color: #fff; width: 32px; height: 32px; font-size: 15px; }
.pp-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--green-tint); flex: none; }
.pp-notfor { margin-top: 24px; background: #fff; border: 1px dashed #9db3c7; border-radius: 16px; padding: 24px; }
.pp-notfor h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pp-notfor li { padding: 4px 0 4px 24px; position: relative; }
.pp-notfor li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: #9db3c7; }

/* Apply */
.pp-apply { background: var(--navy); color: #dbe6f1; }
.pp-apply .pp-kicker { color: var(--green); }
.pp-apply .pp-h2 { color: #fff; margin-bottom: 16px; }
.pp-apply .pp-lead { color: #dbe6f1; }
.pp-apply .pp-note { color: #b9c9da; }
.pp-apply .pp-note a { color: #9be36d; }
.pp-apply-grid { display: grid; gap: 40px; align-items: start; }
.pp-flow { display: grid; gap: 16px; margin-top: 32px; }
.pp-flow li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, .07); border-radius: 16px; padding: 16px; }
.pp-flow .pp-num-navy { background: var(--green); color: var(--navy); }
.pp-flow strong { display: block; color: #fff; font-size: 16px; }
.pp-flow span:not(.pp-num) { font-size: 15px; line-height: 1.5; color: #c9d7e6; }

/* The form card: the form partial is unchanged; this only restyles it */
.pp-form { background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; }
.pp-form h2 { font-size: 24px; line-height: 1.33; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.pp-form-sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.pp-form .partner-who { display: none; }
.pp-form label, .pp-form legend { font-weight: 600; color: var(--navy); font-size: 14px; }
.pp-form .opt { font-weight: 400; color: var(--muted); font-size: 12px; }
.pp-form :is(input[type=text], input[type=tel], input[type=email], select, textarea) { width: 100%; background: #fff; border: 1px solid #A9BBCC; border-radius: 12px; padding: 12px 16px; font: inherit; color: var(--ink); min-height: 48px; transition: border-color .15s; }
.pp-form textarea { min-height: 112px; }
.pp-form :is(input, select, textarea):focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.pp-form .phone-input { display: flex; border: 1px solid #A9BBCC; border-radius: 12px; overflow: hidden; background: #fff; }
.pp-form .phone-input span { display: grid; place-items: center; padding: 0 14px; background: var(--navy-tint); font-weight: 700; color: var(--navy); }
.pp-form .phone-input input { border: 0; border-radius: 0; min-height: 46px; }
.pp-form .phone-input:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.pp-form .phone-input input:focus { box-shadow: none; }
.pp-form .checks label { display: flex; gap: 12px; align-items: center; padding: 8px 12px; margin: 4px 0; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; color: var(--ink); background: #fff; }
.pp-form input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.pp-form .btn, .pp-form button[type=submit] { width: 100%; border: 0; border-radius: 999px; padding: 14px 32px; background: var(--green); color: var(--navy); font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: background .2s; }
.pp-form .btn:hover, .pp-form button[type=submit]:hover { background: #42A014; }
.pp-form .form-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
.pp-form .form-alert { background: #FFF1F0; border-radius: 12px; padding: 12px 16px; color: #8A1C14; }

@media (min-width: 768px) {
  .pp-cards-3 { grid-template-columns: repeat(3, 1fr); }
  .pp-cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pp-hero { padding: 96px 0 80px; }
  .pp-hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; }
  .pp-cards-4 { grid-template-columns: repeat(4, 1fr); }
  .pp-section { padding: 80px 0; }
  .pp-apply-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .pp-apply-copy { position: sticky; top: 96px; }
}
@media (max-width: 599px) {
  .pp-hero { padding: 48px 0 40px; }
  .pp-section { padding: 48px 0; }
  .pp-btn { width: 100%; }
  .pp-fit, .pp-form { padding: 24px 16px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .pp * { transition: none !important; } }

/* Form scroll box (3 Nov 2026): the title stays put and only the fields scroll. Delete from here to roll back. */
.pp-form { display: flex; flex-direction: column; max-height: min(640px, calc(100vh - 120px)); max-height: min(640px, calc(100dvh - 120px)); }
.pp-form h2, .pp-form-sub { flex: none; }
.pp-form-sub { margin-bottom: 16px; }
.pp-form > form { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px 12px 8px 4px; margin-right: -8px; border-top: 1px solid var(--line); padding-top: 16px; scrollbar-width: thin; scrollbar-color: var(--navy) #e7eef6; scroll-padding-bottom: 24px; }
.pp-form > form::-webkit-scrollbar { width: 8px; }
.pp-form > form::-webkit-scrollbar-track { background: #e7eef6; border-radius: 8px; }
.pp-form > form::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 8px; }
@media (max-width: 599px) {
  .pp-form { max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); min-height: 420px; }
  .pp-form > form { padding-right: 8px; margin-right: -4px; }
}

/* ESG hint under partner type (3 Nov 2026) */
.type-hint{margin:8px 0 0;padding:10px 14px;background:var(--green-tint);color:var(--navy);border-radius:12px;font-weight:600;font-size:.9rem}
.type-hint[hidden]{display:none}

/* Dark call-out strip and band, partner types (3 Nov 2026) */
.pp-strip { position: relative; overflow: hidden; background: linear-gradient(135deg, #041f38 0%, #062D4E 55%, #0b4a2a 140%); color: #fff; padding: 56px 0 52px; text-align: center; }
.pp-strip-deco { position: absolute; right: -80px; top: -60px; width: 420px; height: 420px; pointer-events: none; }
.pp-strip-in { position: relative; }
.pp-crumb { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #b9c9da; margin-bottom: 20px; }
.pp-crumb a { color: #dbe6f1; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pp-crumb strong { color: #fff; }
.pp-strip h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.2; font-weight: 800; letter-spacing: -1px; color: #fff; margin: 0 auto 16px; max-width: 760px; }
.pp-strip p { color: #dbe6f1; font-size: 17px; line-height: 1.6; max-width: 720px; margin: 0 auto; }
.pp-hero h2.pp-h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.25; font-weight: 800; letter-spacing: -1px; color: var(--navy); margin-bottom: 24px; }
.pp-hero h2.pp-h1 span { color: var(--green-ink); }
.pp-hero { padding-top: 48px; }
.pp-bandwrap { padding: 8px 0 56px; }
.pp-band { background: linear-gradient(135deg, #041f38 0%, #062D4E 60%, #0a3b2a 130%); border-radius: 24px; padding: 56px 24px; text-align: center; color: #fff; }
.pp-band h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -1px; color: #fff; margin-bottom: 14px; }
.pp-band p { color: #dbe6f1; font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0 auto 28px; }
.pp-btn-white { background: #fff; color: var(--navy) !important; border: 2px solid #fff; text-decoration: none; }
.pp-btn-white:hover { background: var(--green); border-color: var(--green); }
@media (max-width: 599px) { .pp-strip { padding: 40px 0 36px; } .pp-band { padding: 40px 20px; border-radius: 20px; } .pp-strip-deco { width: 280px; height: 280px; right: -90px; } }
