/* Approved marketing refinements: retain the original typefaces and composition. */
.pfo-marketing .header-title .pfa-free-note{font-size:14px;line-height:1.65;letter-spacing:normal;margin:20px 0 0;max-width:100%;color:#d9d3eb}
.pfa-section-nav{display:none}
#poznaj-parafeo,#motywy-parafeo,#cennik-parafeo{scroll-margin-top:32px}
.pfc-card .pfa-theme-style{font-size:14px;line-height:1.6;min-height:3.2em;margin:0 auto 18px;max-width:29ch;color:#d9d3eb;text-align:center}
.pfc-card{display:flex;flex-direction:column}
.pfc-card .pfc-card-body{height:auto;min-height:0;flex:1;display:flex;flex-direction:column;align-items:center}
.pfc-card .pfc-card-body h3 {
    width: 100%;
    min-height: 0;
    align-items: flex-start;
    margin-block: 8px 6px;
}
.pfc-card .pfa-theme-style { margin-block-end: 14px; }
.pfc-pricing { max-width: 960px; margin-inline: auto; }
.pfc-pricing > .col-lg-6 { display: flex; }
@media (max-width: 991.98px) {
    .pfc-pricing { max-width: 640px; }
}
.pfc-card .pfc-card-body fieldset{margin-top:auto}
.pfc-pricing .verybg-card>p:first-of-type{min-height:5.4em}
@media(min-width:992px){.pfc-pricing .verybg-card>p:first-of-type{font-size:16px;line-height:1.8}}
@media(min-width:992px) and (max-width:1199px){.pfc-pricing .verybg-card>p:first-of-type{min-height:7.2em}body.pfo-marketing .pfc-pricing .btn-block{min-height:78px;display:flex;align-items:center;justify-content:center}}
@media(max-width:767px){.pfa-section-nav{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:28px}.pfa-section-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:1px solid #7bffef55;border-radius:24px;color:#f6f3ff;font-size:15px;text-decoration:none}.pfa-section-nav a:hover{background:#7bffef12}.pfa-section-nav a:focus-visible{outline:2px solid #7bffef;outline-offset:4px}.pfc-pricing .verybg-card>p:first-of-type{min-height:0}.pfo-marketing .header-title .pfa-free-note{font-size:14px;line-height:1.65;max-width:none}.pfc-card .pfa-theme-style{min-height:0}}


/* Public pricing, catalogue and module presentation. */
.pfc-payment-info .pfa-faq {
    margin-block-start: clamp(2rem, 5vw, 4rem);
    padding: clamp(1rem, 4vw, 2.25rem);
    border: 1px solid #9483e965;
    border-radius: 20px;
    background: linear-gradient(145deg, #2d2756, #222143 78%);
}
.pfa-faq #pfa-faq-title { margin: 0 0 1.25rem; }
.pfc-payment-info .pfa-faq details { background: #19173355; }
.pfc-payment-info .pfa-faq details:last-child { margin-bottom: 0; }
body.pfo-marketing .pfc-card .pfa-theme-cta.btn-glow { font-size: .875rem; }
body.pfo-marketing .pfc-card .pfa-theme-cta.btn-glow > span { padding: .45rem .9rem; }
.pfa-module-parts { display: grid; gap: .75rem; }
.pfa-module-part {
    border-inline-start: 2px solid #9483e980;
    padding: .7rem .85rem;
    background: #ffffff07;
    border-radius: 0 10px 10px 0;
}
.pfa-module-part > strong { display: block; margin-bottom: .35rem; }
.pfo-marketing .pfa-module-part > p,
.pfo-marketing .pfa-module-part > ul { margin: 0; }
.pfo-marketing .pfa-module-part li:last-child { margin-bottom: 0; }
.pfa-module-example { border-inline-start-color: #7bffef; background: #7bffef0c; }


.pfa-module-teasers {
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(.75rem, 2vw, 1.5rem);
}
.pfo-marketing .pfa-module-teaser {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: .65rem;
    padding: clamp(.9rem, 2.2vw, 1.6rem);
    border-radius: 16px;
    border: 1px solid #c2b4ff40;
    background: #28254b;
    color: #fff;
    text-decoration: none;
}
.pfo-marketing .pfa-module-teaser:is(:hover, :focus-visible) {
    border-color: #7bffef;
    background: #302957;
}
.pfa-module-teaser .parafeo-icon { margin: 0; }
.pfo-marketing .pfa-module-teaser h3 { font-size: clamp(1rem, 2vw, 1.3rem); margin: 0; }
.pfo-marketing .pfa-module-teaser p { font-size: .95rem; line-height: 1.6; margin: 0; color: #e0d9f3; }
.pfc-module-panel { scroll-margin-top: 2rem; }
.pfa-example-preview { padding: .8rem; border: 1px solid #ffffff38; border-radius: 8px; }
.pfo-marketing .pfa-example-preview p { margin: .3rem 0 0; }
.pfa-example-obituary { background: #f6f0e9; color: #302934; text-align: center; border: 3px double #544959; }
.pfa-example-obituary span { display: block; font-size: 1.3rem; }
.pfo-marketing .pfa-example-obituary p { color: inherit; }
@media(max-width: 767px) { .pfa-module-teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width: 359px) { .pfa-module-teasers { grid-template-columns: minmax(0, 1fr); } }


.pfa-module-catalogue .modules-listing {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 12px;
    margin: 0;
}
.pfa-module-catalogue .modules-listing > .module-listing { width: 100%; min-width: 0; margin: 0; }
.pfr-module-layout.pfa-module-catalogue .pfc-module-panel {
    position: relative;
    top: auto;
    margin-block-start: clamp(1.4rem, 4vw, 2.4rem);
}
.pfa-module-catalogue .pfa-module-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pfa-module-catalogue .pfa-module-part { min-width: 0; }
.pfa-module-teaser .parafeo-icon { position: relative; }
@media(max-width: 767px) {
    .pfa-module-catalogue .modules-listing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pfa-module-catalogue .pfa-module-parts { grid-template-columns: minmax(0, 1fr); }
}


.pfa-module-catalogue .pfa-module-back {
    display: inline-flex;
    align-items: center;
    margin: 12px 0 0 12px;
}
.pfa-module-catalogue .pfc-module-panel[hidden] { display: none; }
@media(max-width: 767px) {
    .pfa-module-catalogue .modules-listing:has(.pfc-module-trigger) { grid-auto-rows: auto; }
    .pfa-module-catalogue .modules-listing > .pfc-module-panel {
        grid-column: 1 / -1;
        min-width: 0;
        margin-block: 0;
    }
}
.pfa-module-catalogue [data-pfc-panel-title]:focus-visible {
    outline: 2px solid #7bffef;
    outline-offset: 5px;
    border-radius: 3px;
}
@media(max-width: 575px) {
    .pfa-module-catalogue .pfa-module-back { display: flex; width: fit-content; max-width: 100%; margin: .75rem 0 0; }
}


.pfo-marketing .pfa-catalogue-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-width: 0;
    min-height: 160px;
    padding: clamp(1rem, 3vw, 2rem);
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 1px solid #ad9afa8c;
    border-radius: 16px;
    background: radial-gradient(ellipse at 85% 18%, #5941ab88, transparent 63%),
                linear-gradient(140deg, #302653, #242445);
}
.pfo-marketing .pfa-catalogue-link:is(:hover, :focus-visible) {
    border-color: #7bffef;
}
.pfo-marketing .pfa-catalogue-link:focus-visible { outline: 2px solid #7bffef; outline-offset: 4px; }
.pfo-marketing .pfa-catalogue-link h3 { font-size: clamp(1.3rem, 3.2vw, 2rem); line-height: 1.2; margin: 0; }
.pfo-marketing .pfa-catalogue-link > span { color: #a6fff3; font-size: .95rem; font-weight: 700; }
.pfa-featured-themes .pfc-card .pfa-theme-cta { margin-block-start: 14px; }
.pfa-featured-themes .pfc-swatches button[data-pfa-color]:is(:hover, :focus-visible)::after {
    content: attr(data-pfa-color);
    position: absolute;
    z-index: 3;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: .35rem .55rem;
    max-width: 9rem;
    width: max-content;
    font-size: .75rem;
    line-height: 1.3;
    color: #fff;
    background: #1b1736;
    border: 1px solid #a995e6;
    border-radius: 6px;
    pointer-events: none;
}
.pfa-featured-themes .pfc-swatches button[data-pfa-color] { position: relative; }


.pfo-marketing .header-title .pfa-hero-actions {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: .45rem .8rem;
    align-items: stretch;
    justify-content: start;
}
.pfo-marketing .pfa-hero-actions > .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    text-align: center;
}
.pfo-marketing .pfa-hero-actions > .btn > span { white-space: normal; }
.pfo-marketing .pfa-hero-demo-note {
    grid-column: 2;
    color: #dfd7f3;
    font-size: .875rem;
    line-height: 1.4;
    text-align: center;
}
@media(max-width: 1199px) {
    .pfo-marketing .header-title .pfa-hero-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 460px;
    }
}
@media(max-width: 575px) {
    .pfo-marketing .pfa-hero-actions > .btn > span { padding-inline: .4rem; }
}

/* Keep the home hero readable between phone and desktop breakpoints. */
@media (max-width: 991.98px) {
    .pfo-marketing.home .banner .top-menu {
        justify-content: space-between;
        padding-block: .75rem 1rem;
    }
    .pfo-marketing.home .banner .top-menu > .btn { display: none; }

    .pfo-marketing.home .banner > .container > .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(.5rem, 2vw, 1.25rem);
    }
    .pfo-marketing.home .banner > .container > .row > .col {
        width: 100%;
        max-width: none;
        min-width: 0;
    }
    .pfo-marketing.home .banner > .container > .row > .order-lg-2 { order: 2; }
    .pfo-marketing.home .banner .header-title {
        max-width: 36rem;
        margin-inline: auto;
        text-align: left;
    }
    .pfo-marketing.home .banner .header-title .page-title {
        font-size: clamp(1.75rem, .65rem + 4.5vw, 2.625rem);
        line-height: 1.14;
        text-wrap: balance;
    }
    .pfo-marketing.home .banner .header-title > p:not(.pfa-free-note) {
        font-size: clamp(1rem, .9rem + .5vw, 1.125rem);
        line-height: 1.5;
    }
    .pfo-marketing.home .banner .header-title .pfa-hero-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .4rem .65rem;
        max-width: 29rem;
    }
    .pfo-marketing.home .banner .pfa-hero-actions > .btn { min-height: 44px; }
    .pfo-marketing.home .banner .header-title .pfa-free-note {
        margin-top: .875rem;
        line-height: 1.5;
    }
    .pfo-marketing.home .banner .parafeo-header-animation-wrap {
        width: clamp(8rem, 38vw, 12rem);
        max-width: 100%;
        margin: 0 auto;
    }
    .pfo-marketing.home .banner .parafeo-header-animation-wrap > svg {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .pfo-marketing.home .banner .top-menu .logo {
        width: 168px;
        height: auto;
    }
}

@media (max-width: 767px) {
    .pfo-marketing.home :is(#poznaj-parafeo, #motywy-parafeo, #cennik-parafeo) {
        scroll-margin-top: 1rem;
    }
}
