/* ==========================================================================
   Para-Cord — Klub Para-Cord (program lojalnościowy)
   Baner, kroki, poziomy członkostwa, nagrody, tabela punktów, FAQ, CTA.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Baner
   -------------------------------------------------------------------------- */

.pc-klubhero {
    position: relative;
    margin-top: var(--pc-block-gap);
    border-radius: var(--pc-r-lg);
    background: var(--pc-navy-800);
    overflow: hidden;
    isolation: isolate;
}

.pc-klubhero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.pc-klubhero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% center;
}

.pc-klubhero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(2, 20, 62, 0.93) 0%,
        rgba(2, 20, 62, 0.84) 45%,
        rgba(2, 20, 62, 0.92) 100%);
}

.pc-klubhero__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px var(--pc-gutter) 26px;
}

.pc-klubhero__title {
    position: relative;
    font-size: clamp(32px, 8.5vw, 52px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
}

.pc-klubhero__title em {
    display: block;
    font-style: normal;
    color: var(--pc-pink);
}

.pc-klubhero__crown {
    position: absolute;
    top: -0.32em;
    right: 0.04em;
    width: 0.42em;
    height: 0.42em;
    color: var(--pc-pink);
}

.pc-klubhero__tagline {
    font-family: var(--pc-font-display);
    font-size: clamp(15px, 3.8vw, 19px);
    font-weight: 700;
    color: #fff;
}

.pc-klubhero__lead {
    max-width: 46ch;
    font-size: clamp(13.5px, 3.4vw, 15px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.pc-klubhero__perks {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pc-klubhero__perk {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
}

.pc-klubhero__perk svg {
    flex: none;
    width: 24px;
    height: 24px;
    color: var(--pc-pink);
}

.pc-klubhero__perk span {
    font-size: 11.5px;
    line-height: 1.34;
}

.pc-klubhero__sticker {
    display: none;
}

/* --------------------------------------------------------------------------
   2. Jak to działa — 5 kroków
   -------------------------------------------------------------------------- */

.pc-how {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

.pc-how__step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 18px;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-r-md);
    background: #fff;
    box-shadow: var(--pc-shadow-xs);
}

.pc-how__step svg.pc-how__icon {
    width: 40px;
    height: 40px;
    color: var(--pc-pink);
}

.pc-how__step h3 {
    font-family: var(--pc-font-display);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--pc-ink);
}

.pc-how__step p {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--pc-muted);
}

/* Strzałka między krokami — tylko tam, gdzie kroki stoją w rzędzie */
.pc-how__arrow {
    display: none;
    position: absolute;
    right: -17px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--pc-pink);
}

/* --------------------------------------------------------------------------
   3. Poziomy członkostwa
   -------------------------------------------------------------------------- */

.pc-tiers-band {
    margin-top: var(--pc-section-gap);
    padding: 22px 18px;
    border-radius: var(--pc-r-lg);
    background: var(--pc-surface-alt);
}

.pc-tiers {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px;
}

.pc-tier {
    border-radius: var(--pc-r-md);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--pc-shadow-sm);
}

.pc-tier__head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    isolation: isolate;
}

.pc-tier__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.pc-tier__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-tier__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.pc-tier--starter  .pc-tier__veil { background: linear-gradient(90deg, rgba(60, 64, 72, 0.9), rgba(60, 64, 72, 0.55)); }
.pc-tier--odkrywca .pc-tier__veil { background: linear-gradient(90deg, rgba(10, 42, 110, 0.92), rgba(10, 42, 110, 0.5)); }
.pc-tier--ekspert  .pc-tier__veil { background: linear-gradient(90deg, rgba(178, 4, 80, 0.92), rgba(178, 4, 80, 0.5)); }

.pc-tier__badge {
    display: grid;
    place-items: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: var(--pc-r-pill);
    background: #fff;
}

.pc-tier--starter  .pc-tier__badge svg { color: #3c4048; }
.pc-tier--odkrywca .pc-tier__badge svg { color: #0a2a6e; }
.pc-tier--ekspert  .pc-tier__badge svg { color: var(--pc-pink); }

.pc-tier__name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.pc-tier__points {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
}

.pc-tier__list {
    padding: 16px 18px 20px;
}

.pc-tier__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--pc-body);
}

.pc-tier__list svg {
    flex: none;
    margin-top: 1px;
    width: 17px;
    height: 17px;
    color: var(--pc-pink);
}

/* --------------------------------------------------------------------------
   4. Nagrody
   -------------------------------------------------------------------------- */

.pc-rewards {
    position: relative;
}

.pc-reward__points {
    font-family: var(--pc-font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--pc-ink);
}

.pc-reward__cta {
    margin-top: 2px;
    padding-inline: 10px;
    gap: 8px;
    font-size: 12.5px;
}

/* Powód, dla którego nagrody nie da się odebrać — brak punktów, poziomu
   albo sztuk. Bez tego wyłączony przycisk nic nie tłumaczy. */
.pc-reward__note {
    margin-top: 2px;
    font-size: 11.5px;
    line-height: 1.35;
    color: var(--pc-muted);
}

.pc-reward__cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pc-rewards__arrows {
    display: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pc-rewards__arrows button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
}

.pc-rewards__arrows button:first-child { left: -18px; }
.pc-rewards__arrows button:last-child  { right: -18px; }

/* --------------------------------------------------------------------------
   5. Dodatkowe korzyści
   -------------------------------------------------------------------------- */

.pc-benefits-band {
    margin-top: var(--pc-section-gap);
    padding: 20px 18px;
    border-radius: var(--pc-r-lg);
    background: var(--pc-surface-alt);
}

.pc-benefits {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.pc-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-benefit svg {
    flex: none;
    width: 30px;
    height: 30px;
    color: var(--pc-pink);
}

.pc-benefit span {
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--pc-body);
}

/* --------------------------------------------------------------------------
   6. Tabela punktów + panel nagród
   -------------------------------------------------------------------------- */

.pc-points {
    display: grid;
    gap: 18px;
    margin-top: 14px;
    align-items: start;
}

.pc-points__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-size: 13.5px;
}

.pc-points__table td {
    padding: 12px 14px;
    background: var(--pc-surface-alt);
    color: var(--pc-body);
}

.pc-points__table td:first-child {
    border-radius: var(--pc-r-sm) 0 0 var(--pc-r-sm);
}

.pc-points__table td:last-child {
    border-radius: 0 var(--pc-r-sm) var(--pc-r-sm) 0;
    text-align: right;
    font-family: var(--pc-font-display);
    font-weight: 700;
    color: var(--pc-pink);
    white-space: nowrap;
}

.pc-points__eq {
    width: 30px;
    text-align: center;
    color: var(--pc-muted);
}

/* --- Panel po prawej ----------------------------------------------------- */

.pc-points__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 22px;
    border-radius: var(--pc-r-md);
    background: var(--pc-navy-900);
    overflow: hidden;
    isolation: isolate;
}

.pc-points__panel .pc-klubhero__media img {
    object-position: center;
}

.pc-points__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.pc-points__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-points__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(2, 11, 51, 0.9), rgba(2, 11, 51, 0.82));
}

.pc-points__crown {
    width: 40px;
    height: 40px;
    color: #fff;
}

.pc-points__title {
    font-size: clamp(21px, 5vw, 28px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

.pc-points__text {
    max-width: 40ch;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
}

/* --------------------------------------------------------------------------
   7. Opinie + FAQ
   -------------------------------------------------------------------------- */

.pc-klub-bottom {
    display: grid;
    gap: 26px;
    margin-top: var(--pc-section-gap);
    align-items: start;
}

.pc-member-reviews {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

.pc-member {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-r-md);
    background: #fff;
    box-shadow: var(--pc-shadow-xs);
}

.pc-member__text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--pc-body);
}

.pc-member__who {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-member__who img {
    width: 38px;
    height: 38px;
    border-radius: var(--pc-r-pill);
    object-fit: cover;
    background: var(--pc-surface-alt);
}

.pc-member__name {
    font-family: var(--pc-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--pc-ink);
}

.pc-member__since {
    display: block;
    font-family: var(--pc-font-body);
    font-size: 11.5px;
    font-weight: 400;
    color: var(--pc-muted);
}

/* --- FAQ ----------------------------------------------------------------- */

.pc-faq__item {
    border-bottom: 1px solid var(--pc-line);
}

.pc-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 15px 4px;
    font-family: var(--pc-font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--pc-ink);
    text-align: left;
}

.pc-faq__q:hover {
    color: var(--pc-pink);
}

.pc-faq__q svg {
    flex: none;
    color: var(--pc-pink);
    transition: transform var(--pc-dur) var(--pc-ease);
}

.pc-faq__q[aria-expanded='true'] svg {
    transform: rotate(45deg);
}

.pc-faq__a {
    padding: 0 4px 16px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--pc-muted);
}

/* --------------------------------------------------------------------------
   8. Wezwanie na dole
   -------------------------------------------------------------------------- */

.pc-joincta {
    position: relative;
    margin-top: var(--pc-section-gap);
    border-radius: var(--pc-r-lg);
    background: var(--pc-navy-900);
    overflow: hidden;
    isolation: isolate;
}

.pc-joincta__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.pc-joincta__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-joincta__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(2, 11, 51, 0.93), rgba(2, 11, 51, 0.86));
}

.pc-joincta__inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px var(--pc-gutter);
}

.pc-joincta__title {
    font-size: clamp(22px, 5.4vw, 32px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: var(--pc-pink);
}

.pc-joincta__title em {
    display: block;
    font-style: normal;
    color: #fff;
}

.pc-joincta__list li {
    position: relative;
    display: block;
    padding: 5px 0 5px 28px;
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
}

.pc-joincta__list svg {
    position: absolute;
    left: 0;
    top: 7px;
    width: 17px;
    height: 17px;
    color: var(--pc-pink);
}

.pc-joincta__sticker {
    display: none;
}

/* --------------------------------------------------------------------------
   9. Punkty łamania
   -------------------------------------------------------------------------- */

@media (min-width: 480px) {
    .pc-how {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .pc-tiers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-member-reviews {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-klubhero__perks {
        gap: 14px 26px;
    }
}

@media (min-width: 768px) {
    .pc-klubhero__media img {
        object-position: center;
    }

    .pc-klubhero__veil {
        background: linear-gradient(90deg,
            rgba(2, 20, 62, 0.96) 0%,
            rgba(2, 20, 62, 0.72) 40%,
            rgba(2, 20, 62, 0.18) 66%);
    }

    .pc-klubhero__body {
        padding: 34px 34px 26px;
    }

    .pc-klubhero__cols {
        display: grid;
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
        gap: 26px;
        align-items: center;
        max-width: 72%;
    }

    /* Pasek korzyści biegnie przez całą szerokość banera — własne przyciemnienie,
       żeby tekst po prawej nie ginął na zdjęciu. */
    .pc-klubhero__perks {
        flex-wrap: nowrap;
        margin: 6px -34px -26px;
        padding: 16px 34px;
        background: rgba(2, 16, 57, 0.74);
        border-top-color: rgba(255, 255, 255, 0.12);
    }

    .pc-klubhero__perk {
        flex: 1 1 0;
    }

    .pc-klubhero__sticker {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        z-index: 2;
        width: 176px;
        font-size: 12.5px;
    }

    .pc-how {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 22px;
    }

    .pc-how__arrow {
        display: block;
    }

    .pc-how__step:last-child .pc-how__arrow {
        display: none;
    }

    .pc-benefits {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .pc-points {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        gap: 24px;
    }

    .pc-klub-bottom {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 32px;
    }

    .pc-member-reviews {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-joincta__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) auto;
        align-items: center;
        gap: 28px;
        padding: 30px 34px;
        max-width: 74%;
    }

    .pc-joincta__media {
        left: auto;
        width: 44%;
        clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
    }

    .pc-joincta__veil {
        background: linear-gradient(90deg,
            rgba(2, 11, 51, 1) 0%,
            rgba(2, 11, 51, 1) 50%,
            rgba(2, 11, 51, 0) 76%);
    }

    .pc-joincta__sticker {
        display: block;
        position: absolute;
        top: 50%;
        right: 34px;
        z-index: 2;
        width: 150px;
        font-size: 12px;
        transform: translateY(-50%) rotate(-6deg);
    }

    .pc-tiers-band,
    .pc-benefits-band {
        padding: 26px 24px;
    }
}

@media (min-width: 1024px) {
    .pc-klubhero__body {
        padding: 42px 44px 30px;
    }

    .pc-klubhero__perks {
        margin: 6px -44px -30px;
        padding: 16px 44px;
    }

    .pc-klubhero__cols {
        max-width: 66%;
    }

    .pc-klubhero__sticker {
        top: 34px;
        right: 48px;
        width: 200px;
        font-size: 13.5px;
    }

    .pc-rewards__arrows {
        display: block;
    }

    .pc-joincta__inner {
        max-width: 70%;
        padding: 34px 44px;
    }

    .pc-joincta__sticker {
        right: 48px;
        width: 168px;
        font-size: 13px;
    }
}
