/* ==========================================================================
   WCM Partner Hub – Partner Single Page (v1.4.0)
   Scoped under .wcm-partner-page – nie wpływa na resztę strony
   Tokeny CSS (:root) i styl mapy Leaflet → map-OpenStreetMap-Leaflet.css
   Tier-aware: .wcm-partner-page[data-tier="standard|premium|gold|authorized"]
   ──────────────────────────────────────────────────────────────────────────
   v1.4.0 – Pełna responsywność dla smartphonów (UX/UI overhaul):
     • 5-stopniowy system breakpointów: 960 / 768 / 640 / 480 / 380
     • Sticky mobile bar z safe-area-inset (iPhone notch/home indicator)
     • iOS Safari fix: inputy 16px w trybie mobile (brak auto-zoom)
     • RGPD text 9px → 11.5px (czytelność)
     • CTA hero stacked na mobile (przyciski w kolumnie zamiast wiersza)
     • Tap-targets ≥44px (WCAG 2.1 AAA)
     • @media (hover: none) — wyłącza sticky-hover na touch
     • @media (hover: none) — :active scale(.97) feedback dla touch
     • Redukcja backdrop-filter na mobile (perf)
     • scroll-margin-top dla anchor #wcm-pp-contact-form
   ========================================================================== */

.wcm-partner-page {
    /* Design Tokens (PrÄ…d w Abonamencie) */
    --wcm-pu1:  #411D76;
    --wcm-pu2:  #7236ba;
    --wcm-pu3:  #9152df;
    --wcm-pu4:  #c084fc;
    --wcm-ye:   #ffca28;
    --wcm-ye2:  #ff9a00;
    --wcm-ye-dim: rgba(255,202,40,.25);
    --wcm-bk:   #070710;
    --wcm-text: #ffffff;
    --wcm-muted: rgba(255,255,255,.55);
    --wcm-dim:   rgba(255,255,255,.3);
    --wcm-card:  rgba(255, 255, 255, 0.02);
    --wcm-card-hi: rgba(255, 255, 255, 0.04);
    --wcm-border: rgba(255, 255, 255, 0.05);
    --wcm-border-hi: rgba(114, 54, 186, 0.3);
    --wcm-border-ye: rgba(255, 202, 40, 0.3);
    --wcm-input-bg: rgba(255, 255, 255, 0.02);
    --wcm-radius: 16px;
    --wcm-radius-sm: 10px;
    --wcm-radius-lg: 24px;
    --wcm-font: 'Montserrat', system-ui, -apple-system, sans-serif;
    --wcm-success: #10B981;
    --wcm-error: #f87171;

    font-family: var(--wcm-font);
    color: var(--wcm-text);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(12px, 4vw, 32px);
    padding-top: 100px;
    padding-bottom: 100px;
}

/* ── Breadcrumb ────────────────────────────────────────── */
.wcm-pp-breadcrumb {
    padding: clamp(14px, 3vw, 24px) 0 0;
}
.wcm-pp-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--wcm-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.wcm-pp-breadcrumb a {
    color: var(--wcm-pu4);
    text-decoration: none;
    transition: color .2s;
}
.wcm-pp-breadcrumb a:hover { color: var(--wcm-ye); }
.wcm-pp-breadcrumb [aria-current="page"] { color: var(--wcm-muted); }

/* ============================================================
   HERO
   ============================================================ */
.wcm-pp-hero {
    position: relative;
    margin-top: 18px;
    padding: clamp(32px, 5vw, 56px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
        rgba(10, 8, 20, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 
        0 24px 64px rgba(0, 0, 0, 0.5), 
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(114, 54, 186, 0.15);
    overflow: hidden;
    transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wcm-pp-hero:hover {
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.6), 
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        0 0 100px rgba(114, 54, 186, 0.25);
    border-color: rgba(114, 54, 186, 0.4);
    transform: translateY(-2px);
}

/* Ozdobny grid i orbita w tle hero */
.wcm-pp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, transparent 80%);
}

/* Animowana poświata */
.wcm-pp-hero::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -10%;
    width: 60%;
    height: 180%;
    background: radial-gradient(ellipse at center, rgba(114,54,186, 0.35) 0%, transparent 65%);
    pointer-events: none;
    animation: hero-glow-left 12s ease-in-out infinite alternate;
    z-index: 1;
}
@keyframes hero-glow-left {
    0%   { transform: translate(0,0) scale(1) rotate(0deg); opacity: 0.6; }
    100% { transform: translate(30px,-20px) scale(1.1) rotate(10deg); opacity: 1; }
}

/* TIER-AWARE STYLING */
.wcm-partner-page[data-tier="premium"] .wcm-pp-hero {
    border-color: rgba(114,54,186,.3);
    box-shadow: 0 0 60px rgba(114,54,186,.2);
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-hero {
    border-color: var(--wcm-ye-dim);
    box-shadow: 0 0 80px rgba(255,202,40,.2);
    background: linear-gradient(135deg,
        rgba(255,202,40,0.05) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.01) 100%);
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-hero::before {
    background: radial-gradient(ellipse, rgba(255,202,40,.35) 0%, transparent 60%);
}
.wcm-partner-page[data-tier="authorized"] .wcm-pp-hero {
    border: 2px solid transparent;
    background:
        linear-gradient(rgba(14,8,38,.95), rgba(14,8,38,.95)) padding-box,
        linear-gradient(135deg, var(--wcm-ye), var(--wcm-pu3), var(--wcm-ye2)) border-box;
    box-shadow: 0 0 100px rgba(255,202,40,.3), inset 0 0 80px rgba(255,202,40,.05);
}
.wcm-partner-page[data-tier="authorized"] .wcm-pp-hero::before {
    background: radial-gradient(ellipse, rgba(255,202,40,.45) 0%, transparent 60%);
    animation-duration: 6s;
}

.wcm-pp-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(20px, 3vw, 36px);
    align-items: center;
}

/* Logo */
.wcm-pp-logo-wrap {
    position: relative;
    flex-shrink: 0;
}
.wcm-pp-logo,
.wcm-pp-logo-ph {
    width: clamp(96px, 16vw, 156px);
    height: clamp(96px, 16vw, 156px);
    border-radius: 14px;
    border: 2px solid #b8860b;
    box-shadow: 
        0 12px 24px rgba(0,0,0,0.2), 
        inset 0 -4px 8px rgba(0,0,0,0.05),
        0 0 0 6px rgba(255,255,255,0.03);
    object-fit: contain;
    display: block;
    transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wcm-pp-logo-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 900;
    color: var(--wcm-pu4);
    background: linear-gradient(135deg, rgba(114,54,186,.45), rgba(65,29,118,.6));
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-logo,
.wcm-partner-page[data-tier="gold"] .wcm-pp-logo-ph {
    border-color: var(--wcm-ye);
    box-shadow: 0 0 30px rgba(255,202,40,.25);
}
.wcm-partner-page[data-tier="authorized"] .wcm-pp-logo,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-logo-ph {
    border-color: var(--wcm-ye);
    box-shadow: 0 0 40px rgba(255,202,40,.4), inset 0 0 20px rgba(255,202,40,.1);
}

/* Tier badge */
.wcm-pp-tier-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    display: none;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    z-index: 3;
    white-space: nowrap;
}
.wcm-pp-tier-badge svg { width: 11px; height: 11px; }

.wcm-partner-page[data-tier="premium"] .wcm-pp-tier-badge {
    display: inline-flex;
    background: linear-gradient(135deg, var(--wcm-pu3), var(--wcm-pu2));
    color: #fff;
    box-shadow: 0 4px 16px rgba(114,54,186,.5);
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-tier-badge {
    display: inline-flex;
    background: linear-gradient(135deg, var(--wcm-ye), var(--wcm-ye2));
    color: #1a0e00;
    box-shadow: 0 4px 20px rgba(255,202,40,.6);
}
.wcm-partner-page[data-tier="authorized"] .wcm-pp-tier-badge {
    display: inline-flex;
    background: linear-gradient(135deg, #fff8d8, var(--wcm-ye));
    color: #1a0e00;
    box-shadow: 0 4px 24px rgba(255,202,40,.7);
    animation: tier-pulse 2s ease-in-out infinite;
}
@keyframes tier-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hero info */
.wcm-pp-hero-info { min-width: 0; }
.wcm-pp-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--wcm-pu4);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}
.wcm-pp-meta-dot {
    width: 4px;
    height: 4px;
    background: var(--wcm-pu4);
    border-radius: 50%;
}
.wcm-pp-name {
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 900;
    margin: 0 0 12px;
    line-height: 1.1;
    letter-spacing: -.5px;
    background: linear-gradient(135deg, #fff 0%, #e6d7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-name,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-name {
    background: linear-gradient(135deg, #fff 0%, #ffe89a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wcm-pp-tagline {
    font-size: clamp(13px, 2vw, 16px);
    color: var(--wcm-muted);
    line-height: 1.55;
    margin: 0 0 20px;
    max-width: 580px;
}

.wcm-pp-location {
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}
.wcm-pp-location svg {
    width: 12px;
    height: 12px;
    color: var(--wcm-pu4);
}

/* ---- Pasek szybkich kontaktów (telefony + WWW) w hero ---------------------
   Pojawia się pod `.wcm-pp-location`, zawiera klikalne chip-pille:
   - `--phone`: linki tel: (otwiera dialer na mobile)
   - `--web`:  link do strony WWW (target="_blank")
   Visual: stonowane fioletowe pille spojnie z `.wcm-pp-location` ale z hover
   effect (klikalność). Dla tier=gold/authorized akcent złoty.
   --------------------------------------------------------------------------- */
.wcm-pp-hero-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}


.wcm-pp-hero-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all .2s ease;
    line-height: 1.4;
    overflow: hidden;
}
.wcm-pp-hero-contact:hover {
    color: var(--wcm-pu4);
}
.wcm-pp-hero-contact svg {
    width: 12px;
    height: 12px;
    color: var(--wcm-pu4);
    flex-shrink: 0;
}
.wcm-pp-hero-contact span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: 220px;   /* zapobiega rozjazdowi paska gdy URL ma 60+ zn */
}

.wcm-pp-hero-contact:hover {
    background: rgba(255,202,40,.15);
    border-color: var(--wcm-ye);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(255,202,40,.25);
}
.wcm-pp-hero-contact:hover svg {
    color: var(--wcm-ye);
}

/* Tier-aware akcenty (pozostawione na wszelki wypadek) */
.wcm-partner-page[data-tier="gold"] .wcm-pp-hero-contact svg,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-hero-contact svg {
    color: var(--wcm-ye);
}

/* ---- Cert badge (żółty akcent + monospace numer) -------------------------
   Wariant `.wcm-pp-hero-contact--cert` reprezentuje link do strony certyfikatu
   autoryzacji partnera (PWA-2026-XXXX). Numer wyświetlany jest w stałym kroju
   monospace (Share Tech Mono) — spójnie z designem strony certyfikatu i badge
   SVG. Kolor ikony i numeru zawsze złoty (var(--wcm-ye)) — wyróżnia ten link
   od innych kontaktów (web/social) niezależnie od tier'u partnera.
   --------------------------------------------------------------------------- */
.wcm-pp-hero-contact--cert svg {
    color: var(--wcm-ye);
}
.wcm-pp-hero-contact--cert span {
    font-family: 'Share Tech Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: rgba(255, 202, 40, 0.92);
}
.wcm-pp-hero-contact--cert:hover span {
    color: #fff;
}

/* ---- Anti-scraping: chronione telefony (button → link po kliku) ----------
   Telefon w hero jest świadomie renderowany jako `<button>` zamiast `<a>`,
   z numerem zakodowanym base64 w `data-p`. JS dekoduje i zamienia element
   na `<a href="tel:">` po kliknięciu — patrz `partner-single.js` /
   `initPhoneReveal`. Style poniżej ujednolicają wygląd `<button>` z chip-pillem
   (środowisko niektórych theme'ów narzuca natywne style przyciskom).
   --------------------------------------------------------------------------- */
button.wcm-pp-hero-contact {
    /* Reset natywnych stylów przeglądarki */
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    cursor: pointer;
    /* Zachowuje takie same paddingi/marginesy co `<a>` (w łasciwościach .wcm-pp-hero-contact). */
    margin: 0;
}

/* Subtelny kropko-pulsujący wskaźnik że numer jest ukryty.
   Po reveal (klasa `--phone-protected` znika) kropka znika. */
.wcm-pp-phone-protected {
    position: relative;
}
.wcm-pp-phone-protected::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--wcm-pu4);
    margin-left: 2px;
    opacity: .7;
    animation: wcm-pp-phone-blink 1.6s ease-in-out infinite;
}
@keyframes wcm-pp-phone-blink {
    0%, 100% { opacity: .25; }
    50%      { opacity: .9; }
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-phone-protected::after,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-phone-protected::after {
    background: var(--wcm-ye);
}

/* Stan po reveal — delikatne, jednorazowe mignięcie tła aby zaznaczyć
   użytkownikowi że coś się zmieniło (numer się pojawił). */
.wcm-pp-phone-revealed {
    animation: wcm-pp-phone-flash .55s ease-out;
}
@keyframes wcm-pp-phone-flash {
    0%   { background: rgba(255,202,40,.35); border-color: var(--wcm-ye); }
    100% { /* powrót do normalnego stanu .wcm-pp-hero-contact */ }
}

/* Hero CTA cluster */
.wcm-pp-hero-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    min-width: 200px;
}
.wcm-pp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: var(--wcm-font);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all .25s ease;
    border: 1px solid;
    white-space: nowrap;
    cursor: pointer;
}
.wcm-pp-cta svg { width: 18px; height: 18px; flex-shrink: 0; }

.wcm-pp-cta--primary {
    background: linear-gradient(135deg, var(--wcm-ye), var(--wcm-ye2));
    border-color: var(--wcm-ye);
    color: #1a0e00;
    box-shadow: 0 4px 20px rgba(255,202,40,.4);
}
.wcm-pp-cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,202,40,.6);
}

.wcm-pp-cta--secondary {
    background: rgba(255,255,255,.06);
    border-color: var(--wcm-border);
    color: #fff;
    backdrop-filter: blur(10px);
}
.wcm-pp-cta--secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--wcm-pu3);
    transform: translateY(-2px);
}

/* ============================================================
   SEKCJE
   ============================================================ */
.wcm-pp-section {
    margin-top: clamp(24px, 4vw, 40px);
}
.wcm-pp-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.wcm-pp-section-header h2 {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 800;
    margin: 0;
    color: #fff;
    letter-spacing: -.3px;
}
.wcm-pp-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 202, 40, 0.1);
    border: 1px solid rgba(255, 202, 40, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wcm-ye);
    flex-shrink: 0;
}
.wcm-pp-section-icon svg { width: 16px; height: 16px; }

.wcm-pp-card {
    background: var(--wcm-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--wcm-border);
    border-radius: var(--wcm-radius-lg);
    padding: clamp(20px, 3vw, 32px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.wcm-pp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 202, 40, 0.3);
    background: rgba(255, 202, 40, 0.02);
    box-shadow: 0 10px 30px rgba(255, 202, 40, 0.05);
}

/* About + Services grid */
.wcm-pp-grid-2 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(14px, 2.5vw, 22px);
}
.wcm-pp-desc-text {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.75;
    color: var(--wcm-muted);
    margin: 0 0 20px;
}
.wcm-pp-desc-text:last-child { margin-bottom: 0; }

.wcm-pp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.wcm-pp-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--wcm-muted);
    font-size: 10px;
    font-weight: 700;
    transition: all .2s;
    text-transform: lowercase;
}
.wcm-pp-tag:hover {
    border-color: var(--wcm-ye);
    background: rgba(255, 202, 40, 0.1);
    color: var(--wcm-ye);
    transform: translateY(-1px);
}
.wcm-pp-tag::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--wcm-dim);
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-tag::before,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-tag::before {
    background: var(--wcm-ye);
}

/* ============================================================
   MAPA + ADRES
   ============================================================ */
.wcm-pp-location-section {
    position: relative;
    border-radius: var(--wcm-radius-lg);
    overflow: hidden;
    border: 1px solid var(--wcm-border);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 60px rgba(114, 54, 186, 0.1);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.wcm-pp-location-section:hover {
    transform: translateY(-4px);
    border-color: var(--wcm-border-hi);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 80px rgba(114, 54, 186, 0.2);
}
.wcm-pp-map {
    height: clamp(320px, 50vw, 440px);
    width: 100%;
    background: #0a0a0e;
}
.wcm-pp-location-card {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: 380px;
    background: rgba(10, 10, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--wcm-border-hi);
    border-radius: var(--wcm-radius);
    padding: 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
    z-index: 500;
}
.wcm-pp-location-card-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--wcm-pu4);
    margin: 0 0 6px;
}
.wcm-pp-location-card-addr {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    margin: 0 0 14px;
}
.wcm-pp-location-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.wcm-pp-loc-btn {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--wcm-border);
    color: var(--wcm-muted);
    font-family: var(--wcm-font);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
}
.wcm-pp-loc-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.wcm-pp-loc-btn:hover {
    background: rgba(255, 202, 40, 0.15);
    border-color: var(--wcm-ye);
    color: #fff;
}

/* ============================================================
   FAQ
   ============================================================ */
.wcm-pp-faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wcm-pp-faq-item {
    background: var(--wcm-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--wcm-border);
    border-radius: var(--wcm-radius);
    overflow: hidden;
    transition: all .25s, border-color .25s, background .25s;
}
.wcm-pp-faq-item:hover {
    border-color: rgba(114, 54, 186, 0.2);
}
.wcm-pp-faq-item[open] {
    border-color: var(--wcm-border-hi);
    background: var(--wcm-card-hi);
}
.wcm-pp-faq-q {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    user-select: none;
}
.wcm-pp-faq-q::-webkit-details-marker { display: none; }
.wcm-pp-faq-q:hover { color: var(--wcm-pu4); }
.wcm-pp-faq-toggle {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(114,54,186,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .25s;
    color: var(--wcm-pu4);
}
.wcm-pp-faq-item[open] .wcm-pp-faq-toggle {
    background: var(--wcm-ye);
    color: #1a0e00;
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(255,202,40,.4);
}
.wcm-pp-faq-toggle svg { width: 12px; height: 12px; }
.wcm-pp-faq-a {
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--wcm-muted);
}
.wcm-pp-faq-a a {
    color: var(--wcm-pu4);
    text-decoration: none;
    border-bottom: 1px dashed rgba(192,132,252,.4);
}
.wcm-pp-faq-a a:hover {
    color: var(--wcm-ye);
    border-bottom-color: var(--wcm-ye);
}

/* ============================================================
   SOCIAL GRID
   ============================================================ */
.wcm-pp-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}
.wcm-pp-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--wcm-radius);
    background: var(--wcm-card);
    border: 1px solid var(--wcm-border);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all .25s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.wcm-pp-social-link:hover {
    transform: translateY(-2px);
    border-color: var(--wcm-ye);
    background: rgba(255, 202, 40, 0.05);
    box-shadow: 0 4px 15px rgba(255,202,40,.1);
}
.wcm-pp-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wcm-pp-social-icon svg { width: 16px; height: 16px; }

.wcm-pp-social-link--web .wcm-pp-social-icon { background: rgba(114,54,186,.25); color: var(--wcm-pu4); }
.wcm-pp-social-link--fb  .wcm-pp-social-icon { background: rgba(24,119,242,.2); color: #1877f2; }
.wcm-pp-social-link--ig  .wcm-pp-social-icon { background: rgba(225,48,108,.2); color: #e1306c; }
.wcm-pp-social-link--tt  .wcm-pp-social-icon { background: rgba(255,255,255,.1); color: #fff; }
.wcm-pp-social-link--g   .wcm-pp-social-icon { background: rgba(255,255,255,.1); }
.wcm-pp-social-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.wcm-pp-social-platform {
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wcm-pp-social-handle {
    font-size: 11px;
    color: var(--wcm-dim);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   FORMULARZ KONTAKTOWY
   ============================================================ */
.wcm-pp-form-section {
    position: relative;
    border-radius: var(--wcm-radius-lg);
    overflow: hidden;
    border: 1px solid var(--wcm-border);
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(114,54,186,.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 100% 100%, rgba(114,54,186,.1) 0%, transparent 50%),
        var(--wcm-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: clamp(24px, 4vw, 40px);
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-form-section,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-form-section {
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255,202,40,.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 100% 100%, rgba(114,54,186,.2) 0%, transparent 50%),
        var(--wcm-card);
    border-color: var(--wcm-border-ye, rgba(255,202,40,.35));
}

.wcm-pp-form-intro {
    margin-bottom: 24px;
}
.wcm-pp-form-intro h3 {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -.3px;
}
.wcm-pp-form-intro p {
    font-size: 13px;
    color: var(--wcm-muted);
    margin: 0;
    line-height: 1.6;
}
.wcm-pp-form-intro strong {
    color: var(--wcm-pu4);
    font-weight: 700;
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-form-intro strong,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-form-intro strong { color: var(--wcm-ye); }

.wcm-pp-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.wcm-pp-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wcm-pp-form-row--full { grid-column: 1 / -1; }

.wcm-pp-form label {
    font-size: 11px;
    font-weight: 700;
    color: var(--wcm-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.wcm-pp-form label .req {
    color: var(--wcm-pu4);
    font-size: 14px;
    line-height: 1;
}
.wcm-pp-form label .opt {
    color: var(--wcm-dim);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
    font-size: 10px;
}

.wcm-pp-form input[type="text"],
.wcm-pp-form input[type="email"],
.wcm-pp-form input[type="tel"],
.wcm-pp-form select,
.wcm-pp-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--wcm-border);
    border-radius: var(--wcm-radius-sm);
    color: #fff;
    font-family: var(--wcm-font);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
    -webkit-appearance: none;
    appearance: none;
}
.wcm-pp-form input:hover,
.wcm-pp-form select:hover,
.wcm-pp-form textarea:hover {
    background: rgba(255,255,255,.06);
    border-color: var(--wcm-border-hi);
}
.wcm-pp-form input:focus,
.wcm-pp-form select:focus,
.wcm-pp-form textarea:focus {
    outline: none;
    background: rgba(255,255,255,.07);
    border-color: var(--wcm-pu3);
    box-shadow: 0 0 0 3px rgba(114,54,186,.18);
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-form input:focus,
.wcm-partner-page[data-tier="gold"] .wcm-pp-form select:focus,
.wcm-partner-page[data-tier="gold"] .wcm-pp-form textarea:focus,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-form input:focus,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-form select:focus,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-form textarea:focus {
    border-color: var(--wcm-ye);
    box-shadow: 0 0 0 3px rgba(255,202,40,.18);
}
.wcm-pp-form input::placeholder,
.wcm-pp-form textarea::placeholder { color: rgba(255,255,255,.3); }

.wcm-pp-form select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c084fc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.wcm-pp-form select option {
    background: var(--wcm-bk);
    color: #fff;
}

.wcm-pp-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: var(--wcm-font);
    line-height: 1.5;
}

/* Honeypot — hidden anti-spam field */
.wcm-pp-form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* RGPD checkbox */
.wcm-pp-form-rgpd {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--wcm-border);
    border-radius: var(--wcm-radius-sm);
    cursor: pointer;
    transition: all .2s;
}
.wcm-pp-form-rgpd:hover {
    background: rgba(255,255,255,.05);
    border-color: var(--wcm-border-hi);
}
.wcm-pp-form-rgpd input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--wcm-pu3);
    background: rgba(255,255,255,.06);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all .2s;
    position: relative;
}
.wcm-pp-form-rgpd input:checked {
    background: var(--wcm-pu2);
    border-color: var(--wcm-pu2);
}
.wcm-pp-form-rgpd input:checked::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-form-rgpd input:checked,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-form-rgpd input:checked {
    background: var(--wcm-ye2);
    border-color: var(--wcm-ye);
}
.wcm-pp-form-rgpd-text {
    font-size: 9px;
    line-height: 1.55;
    color: var(--wcm-muted);
    user-select: none;
    text-transform: none;
}
.wcm-pp-form-rgpd-text a {
    color: var(--wcm-pu4);
    text-decoration: none;
    border-bottom: 1px dashed rgba(192,132,252,.35);
}

/* Submit */
.wcm-pp-form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.wcm-pp-form-submit {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    background: linear-gradient(135deg, var(--wcm-pu3), var(--wcm-pu2));
    border: 1px solid var(--wcm-pu3);
    border-radius: var(--wcm-radius-sm);
    color: #fff;
    font-family: var(--wcm-font);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 4px 20px rgba(114,54,186,.4);
    position: relative;
    overflow: hidden;
}
.wcm-pp-form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(114,54,186,.6);
}
.wcm-pp-form-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.wcm-pp-form-submit svg { width: 16px; height: 16px; }
.wcm-partner-page[data-tier="gold"] .wcm-pp-form-submit,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-form-submit {
    background: linear-gradient(135deg, var(--wcm-ye), var(--wcm-ye2));
    border-color: var(--wcm-ye);
    color: #1a0e00;
    box-shadow: 0 4px 20px rgba(255,202,40,.4);
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-form-submit:hover:not(:disabled),
.wcm-partner-page[data-tier="authorized"] .wcm-pp-form-submit:hover:not(:disabled) {
    box-shadow: 0 8px 28px rgba(255,202,40,.6);
}

/* Loading state */
.wcm-pp-form-submit.is-loading {
    color: transparent;
    pointer-events: none;
}
.wcm-pp-form-submit.is-loading::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 18px; height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-form-submit.is-loading::after,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-form-submit.is-loading::after {
    border-color: rgba(26,14,0,.3);
    border-top-color: #1a0e00;
}
@keyframes spin { to { transform: rotate(360deg); } }

.wcm-pp-form-meta {
    font-size: 11px;
    color: var(--wcm-dim);
    line-height: 1.5;
    flex-shrink: 0;
}
.wcm-pp-form-meta svg {
    width: 11px; height: 11px;
    color: var(--wcm-success);
    vertical-align: -1px;
    margin-right: 3px;
}

/* Form responses */
.wcm-pp-form-response {
    grid-column: 1 / -1;
    padding: 14px 18px;
    border-radius: var(--wcm-radius-sm);
    font-size: 13px;
    line-height: 1.5;
    display: none;
    align-items: flex-start;
    gap: 12px;
}
.wcm-pp-form-response.is-active {
    display: flex;
    animation: wcm-slide-up .4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes wcm-slide-up {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.wcm-pp-form-response svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: -1px; }

.wcm-pp-form-response--success {
    background: rgba(16,185,129,.12);
    border: 1px solid rgba(16,185,129,.4);
    color: #a7f3d0;
}
.wcm-pp-form-response--success svg { color: var(--wcm-success); }

.wcm-pp-form-response--error {
    background: rgba(248,113,113,.12);
    border: 1px solid rgba(248,113,113,.4);
    color: #fecaca;
}
.wcm-pp-form-response--error svg { color: var(--wcm-error); }

.wcm-pp-form-response--info {
    background: rgba(114,54,186,.12);
    border: 1px solid rgba(114,54,186,.4);
    color: #e6d7ff;
}
.wcm-pp-form-response--info svg { color: var(--wcm-pu4); }

/* (legacy: .wcm-pp-form 1-col na mobile — zastąpione przez sekcję RESPONSIVE poniżej v1.4.0) */

/* ============================================================
   BACK BUTTON
   ============================================================ */
.wcm-pp-back {
    margin-top: clamp(28px, 4vw, 44px);
    text-align: center;
}
.wcm-pp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid var(--wcm-border);
    background: rgba(255,255,255,.04);
    color: var(--wcm-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all .25s;
}
.wcm-pp-back-btn:hover {
    background: rgba(114,54,186,.2);
    border-color: var(--wcm-pu3);
    color: #fff;
    transform: translateX(-4px);
}
.wcm-pp-back-btn svg { width: 14px; height: 14px; }

/* ============================================================
   STICKY MOBILE BAR
   ============================================================ */
.wcm-pp-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(7,7,16,.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--wcm-border);
    padding: 12px;
    display: none;
    gap: 8px;
    z-index: 100;
    box-shadow: 0 -8px 32px rgba(0,0,0,.4);
}
.wcm-pp-mobile-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(114,54,186,.2);
    border: 1px solid var(--wcm-border);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.wcm-pp-mobile-bar a.is-primary {
    background: linear-gradient(135deg, var(--wcm-pu3), var(--wcm-pu2));
    border-color: var(--wcm-pu3);
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-mobile-bar a.is-primary,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-mobile-bar a.is-primary {
    background: linear-gradient(135deg, var(--wcm-ye), var(--wcm-ye2));
    border-color: var(--wcm-ye);
    color: #1a0e00;
}
.wcm-pp-mobile-bar svg { width: 14px; height: 14px; }

/* ============================================================
   RESPONSIVE — MOBILE-FIRST UX (v1.4.0)
   ─────────────────────────────────────────────────────────────
   Breakpointy:
     ≤960px  tablet/laptop
     ≤768px  duży smartphone landscape / mały tablet
     ≤640px  smartphone (pojawia się sticky mobile bar)
     ≤480px  mały smartphone (iPhone 13 mini, Pixel 4a)
     ≤380px  iPhone SE i bardzo wąskie Androidy
   Touch-aware:
     @media (hover: none) — wyłącza sticky-hover, dodaje :active feedback
     @media (prefers-reduced-motion: reduce) — wyłącza animacje
   ============================================================ */

/* ── Tablet ≤960px ──────────────────────────────────────── */
@media (max-width: 960px) {
    .wcm-pp-hero-inner {
        grid-template-columns: auto 1fr;
        gap: 20px;
    }
    .wcm-pp-hero-cta {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 12px;
        min-width: 0;
    }
    .wcm-pp-cta {
        flex: 1 1 200px;
        min-width: 0;
    }
    .wcm-pp-grid-2 { grid-template-columns: 1fr; }
}

/* ── Duży smartphone ≤768px ─────────────────────────────── */
@media (max-width: 768px) {
    .wcm-partner-page {
        padding-top: 60px;
        padding-bottom: 80px;
    }
    .wcm-pp-hero {
        padding: clamp(20px, 4vw, 32px);
        border-radius: 24px;
    }
    .wcm-pp-section-header h2 {
        font-size: clamp(17px, 2.5vw, 22px);
    }
    .wcm-pp-card {
        padding: clamp(18px, 3vw, 24px);
        border-radius: 20px;
    }
    .wcm-pp-form {
        grid-template-columns: 1fr;
    }
    .wcm-pp-social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

/* ── Smartphone ≤640px (KLUCZOWY MOBILE LAYOUT) ─────────── */
@media (max-width: 640px) {
    /* Page-level padding — uwzględnia sticky mobile bar + safe-area */
    .wcm-partner-page {
        padding: 0 14px;
        padding-top: 50px;
        /* mobile bar ~70px + safe-area-inset dla iPhone home indicator */
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    /* Pokaż sticky mobile bar */
    .wcm-pp-mobile-bar { display: flex; }

    /* ── Breadcrumb — horizontalny scroll przy overflow ──── */
    .wcm-pp-breadcrumb {
        margin: 0 -14px;
        padding: 14px 14px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .wcm-pp-breadcrumb::-webkit-scrollbar { display: none; }
    .wcm-pp-breadcrumb ol {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    /* ── Hero ─────────────────────────────────────────── */
    .wcm-pp-hero {
        padding: 22px 18px 24px;
        border-radius: 22px;
        margin-top: 14px;
        /* Redukcja kosztownego blur dla wydajności */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .wcm-pp-hero-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }
    .wcm-pp-logo-wrap { margin: 0 auto; }
    .wcm-pp-logo,
    .wcm-pp-logo-ph {
        width: 100%;
        height: 100%;
        border-radius: 22px;
    }
    .wcm-pp-tier-badge {
        top: -8px;
        right: -8px;
        padding: 3px 8px;
        font-size: 8.5px;
    }
    .wcm-pp-tier-badge svg { width: 10px; height: 10px; }

    .wcm-pp-meta {
        justify-content: center;
        flex-wrap: wrap;
        font-size: 10px;
        margin-bottom: 6px;
    }
    .wcm-pp-name {
        text-align: left;
        font-size: clamp(22px, 6.5vw, 28px);
        margin-bottom: 10px;
    }
    .wcm-pp-location {
        /* Block-level flex: element zajmuje pełną szerokość rodzica
           (zamiast inline-flex z desktopu), dzięki czemu `justify-content`
           steruje pozycją zawartości (ikona + tekst) wewnątrz tej szerokości.
           Bez tego `text-align: center` z `.wcm-pp-hero-inner` (mobile)
           centrowało cały span jako element inline. */
        display: flex;
        justify-content: flex-start;
        font-size: 12.5px;
    }
    .wcm-pp-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    /* Hero contacts — wycentrowane, większy tap-target */
    .wcm-pp-hero-contacts {
        justify-content: center;
        gap: 8px 12px;
    }
    .wcm-pp-hero-contact {
        font-size: 12.5px;
        min-height: 32px;
    }
    .wcm-pp-hero-contact span {
        max-width: 220px;
    }

    /* CTA cluster — kolumna, kompaktowe przyciski (sticky bar już oferuje główne CTA) */
    .wcm-pp-hero-cta {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 6px;
        margin-top: 12px;
        min-width: 0;
        width: 100%;
    }
    .wcm-pp-cta {
        flex: 0 0 auto;
        width: 100%;
        min-height: 42px;
        padding: 9px 14px;
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: 0.2px;
        gap: 8px;
    }
    .wcm-pp-cta svg { width: 14px; height: 14px; }
    /* Pulsująca kropka anti-scrape — mniejsza, mniej rozprasza */
    .wcm-pp-phone-protected::after {
        width: 4px;
        height: 4px;
        margin-left: 1px;
    }

    /* ── Sekcje ───────────────────────────────────────── */
    .wcm-pp-section {
        margin-top: 24px;
        scroll-margin-top: 60px;
    }
    .wcm-pp-section-header {
        gap: 8px;
        margin-bottom: 14px;
    }
    .wcm-pp-section-header h2 {
        font-size: 17px;
    }
    .wcm-pp-section-icon {
        width: 30px;
        height: 30px;
    }
    .wcm-pp-card {
        padding: 18px 16px;
        border-radius: 18px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .wcm-pp-desc-text {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Tags */
    .wcm-pp-tags {
        justify-content: start;
        gap: 6px;
    }
    .wcm-pp-tag {
        padding: 7px 12px;
        font-size: 9.5px;
    }

    /* ── Social grid — 1 kolumna na mobile (czytelniej) ── */
    .wcm-pp-social-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .wcm-pp-social-link {
        padding: 13px 14px;
        min-height: 56px;
    }
    .wcm-pp-social-icon {
        width: 36px;
        height: 36px;
    }

    /* ── Lokalizacja ──────────────────────────────────── */
    .wcm-pp-location-section {
        display: flex;
        flex-direction: column;
        border-radius: 18px;
    }
    .wcm-pp-map {
        height: 280px;
    }
    .wcm-pp-location-card {
        position: relative;
        bottom: 0; left: 0; right: 0;
        max-width: none;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        padding: 16px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .wcm-pp-location-card-addr {
        font-size: 13.5px;
    }
    .wcm-pp-location-actions {
        gap: 6px;
    }
    .wcm-pp-loc-btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 44px;
        padding: 10px 6px;
        font-size: 11px;
        gap: 5px;
    }
    .wcm-pp-loc-btn svg { width: 13px; height: 13px; }

    /* ── Formularz ────────────────────────────────────── */
    .wcm-pp-form-section {
        padding: 22px 16px;
        border-radius: 18px;
    }
    .wcm-pp-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .wcm-pp-form-intro {
        margin-bottom: 18px;
    }
    .wcm-pp-form-intro h3 {
        font-size: 18px;
    }
    .wcm-pp-form-intro p {
        font-size: 12.5px;
    }

    /* iOS Safari nie zoomuje na focus przy font-size ≥16px */
    .wcm-pp-form input[type="text"],
    .wcm-pp-form input[type="email"],
    .wcm-pp-form input[type="tel"],
    .wcm-pp-form select,
    .wcm-pp-form textarea {
        font-size: 16px;
        padding: 13px 14px;
    }
    .wcm-pp-form select {
        padding-right: 36px;
    }
    .wcm-pp-form textarea {
        min-height: 130px;
    }

    /* RGPD — czytelny rozmiar (było 9px, teraz 11.5px) */
    .wcm-pp-form-rgpd {
        padding: 12px;
        gap: 10px;
    }
    .wcm-pp-form-rgpd input {
        width: 20px;
        height: 20px;
    }
    .wcm-pp-form-rgpd-text {
        font-size: 11.5px;
        line-height: 1.55;
    }

    /* Submit — większy tap-target */
    .wcm-pp-form-actions {
        gap: 10px;
    }
    .wcm-pp-form-submit {
        min-width: 0;
        min-height: 52px;
        padding: 14px 22px;
        font-size: 14px;
    }

    /* ── FAQ ──────────────────────────────────────────── */
    .wcm-pp-faq-q {
        padding: 14px 16px;
        font-size: 13.5px;
        gap: 12px;
    }
    .wcm-pp-faq-toggle {
        width: 28px;
        height: 28px;
    }
    .wcm-pp-faq-a {
        padding: 0 16px 16px;
        font-size: 13px;
        line-height: 1.65;
    }

    /* ── Powrót ──────────────────────────────────────── */
    .wcm-pp-back {
        margin-top: 28px;
    }
    .wcm-pp-back-btn {
        font-size: 12.5px;
        padding: 12px 22px;
        min-height: 44px;
    }

    /* ── Sticky mobile bar — ulepszony ──────────────── */
    .wcm-pp-mobile-bar {
        padding: 10px 12px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
        background: rgba(7,7,16,.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    .wcm-pp-mobile-bar a {
        min-height: 50px;
        padding: 12px 14px;
        font-size: 13px;
        gap: 8px;
        border-radius: 12px;
    }
    .wcm-pp-mobile-bar svg {
        width: 17px;
        height: 17px;
    }

    /* Anchor-scroll offset — formularz nie chowa się pod headerem */
    #wcm-pp-contact-form {
        scroll-margin-top: 20px;
    }
}

/* ── Mały smartphone ≤480px ─────────────────────────────── */
@media (max-width: 480px) {
    .wcm-partner-page {
        padding: 0 12px;
        padding-top: 40px;
        padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    }
    .wcm-pp-hero {
        padding: 20px 16px 22px;
        border-radius: 20px;
    }
    .wcm-pp-logo,
    .wcm-pp-logo-ph {
        width: 92px;
        height: 92px;
        border-radius: 20px;
    }
    .wcm-pp-name {
        font-size: clamp(20px, 7vw, 25px);
    }
    .wcm-pp-hero-contact span {
        max-width: 180px;
        font-size: 12px;
    }
    .wcm-pp-cta {
        font-size: 12px;
        padding: 8px 12px;
        min-height: 40px;
        gap: 6px;
    }
    .wcm-pp-cta svg { width: 13px; height: 13px; }
    .wcm-pp-card {
        padding: 16px 14px;
    }
    .wcm-pp-form-section {
        padding: 18px 14px;
    }
    .wcm-pp-loc-btn {
        font-size: 10.5px;
        gap: 4px;
        padding: 9px 4px;
    }
    .wcm-pp-loc-btn svg { width: 12px; height: 12px; }
    .wcm-pp-mobile-bar a {
        font-size: 12px;
        padding: 11px 10px;
    }
}

/* ── Bardzo wąskie ekrany ≤380px (iPhone SE, narrow Android) ── */
@media (max-width: 380px) {
    .wcm-pp-hero {
        padding: 18px 14px 20px;
    }
    .wcm-pp-logo,
    .wcm-pp-logo-ph {
        width: 84px;
        height: 84px;
    }
    .wcm-pp-cta {
        font-size: 11.5px;
        padding: 7px 10px;
        min-height: 38px;
        gap: 5px;
    }
    .wcm-pp-cta svg { width: 12px; height: 12px; }
    .wcm-pp-name {
        font-size: clamp(19px, 7.5vw, 23px);
    }
    .wcm-pp-mobile-bar {
        padding: 8px 10px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        gap: 6px;
    }
    .wcm-pp-mobile-bar a {
        font-size: 11px;
        padding: 10px 8px;
        gap: 5px;
        letter-spacing: 0;
    }
    .wcm-pp-loc-btn {
        font-size: 10px;
    }
    .wcm-pp-loc-btn svg { width: 11px; height: 11px; }
}

/* ── Touch devices: wyłącz hover-only transformacje ───── */
@media (hover: none) {
    .wcm-pp-hero:hover,
    .wcm-pp-card:hover,
    .wcm-pp-social-link:hover,
    .wcm-pp-cta--primary:hover,
    .wcm-pp-cta--secondary:hover,
    .wcm-pp-form-submit:hover:not(:disabled),
    .wcm-pp-back-btn:hover,
    .wcm-pp-location-section:hover,
    .wcm-pp-tag:hover,
    .wcm-pp-loc-btn:hover,
    .wcm-pp-faq-item:hover,
    .wcm-pp-hero-contact:hover {
        transform: none;
    }
    /* :active = feedback dla touch (zamiast hover) */
    .wcm-pp-cta:active,
    .wcm-pp-form-submit:active,
    .wcm-pp-loc-btn:active,
    .wcm-pp-mobile-bar a:active,
    .wcm-pp-back-btn:active,
    .wcm-pp-social-link:active,
    .wcm-pp-hero-contact:active {
        transform: scale(0.97);
        transition: transform .12s ease;
    }
}

/* Marker mapy — pulsujący punkt (zawsze widoczny, działa w Leaflet i Google Maps) */
.wcm-pp-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wcm-pu3), var(--wcm-pu1));
    border: 3px solid #fff;
    box-shadow: 0 0 16px rgba(114,54,186,.7), 0 2px 8px rgba(0,0,0,.4);
    position: relative;
    z-index: 9999;
    transform: none; /* override poprzedniej rotacji teardrop */
}

/* Pulsująca aura wokół punktu */
.wcm-pp-marker::before {
    content: "";
    position: absolute;
    inset: -3px; /* oba krawiędzie marginesu — wyrównane do białej obwódki */
    border-radius: 50%;
    background: rgba(114,54,186,.55);
    z-index: -1;
    animation: wcm-pp-marker-pulse 2.2s infinite ease-out;
    pointer-events: none;
}

/* Druga, lekko opóźniona fala dla bardziej dynamicznego efektu */
.wcm-pp-marker::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(114,54,186,.4);
    z-index: -1;
    animation: wcm-pp-marker-pulse 2.2s infinite ease-out 1.1s;
    pointer-events: none;
}

@keyframes wcm-pp-marker-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* Tier-aware: gold / authorized */
.wcm-partner-page[data-tier="gold"] .wcm-pp-marker,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-marker {
    background: linear-gradient(135deg, var(--wcm-ye), var(--wcm-ye2));
    box-shadow: 0 0 16px rgba(255,202,40,.7), 0 2px 8px rgba(0,0,0,.4);
}
.wcm-partner-page[data-tier="gold"] .wcm-pp-marker::before,
.wcm-partner-page[data-tier="gold"] .wcm-pp-marker::after,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-marker::before,
.wcm-partner-page[data-tier="authorized"] .wcm-pp-marker::after {
    background: rgba(255,202,40,.5);
}

/* Reduced motion — wyłącz pulsowanie */
@media (prefers-reduced-motion: reduce) {
    .wcm-pp-marker::before,
    .wcm-pp-marker::after {
        animation: none;
        opacity: 0.5;
        transform: scale(2);
    }
}

