/* ════════════════════════════════════════════════════
   PROBLEMS WE FIX — page styles
   Scoped with .pwf2- prefix so nothing collides with the
   existing theme or the older .pwf- template.
   ════════════════════════════════════════════════════ */

:root {
    --pwf2-blue:     #0D6DA8;
    --pwf2-deep:     #1a3a4f;
    --pwf2-green:    #22A822;
    --pwf2-green-hv: #1a8a1a;
    --pwf2-text:     #232323;
    --pwf2-muted:    #666666;
    --pwf2-border:   #e0e0e0;
    --pwf2-grey-bg:  #F2F2F2;
    --pwf2-light:    #F5F5F5;
}

/* Generic helpers used inside the template (won't override theme) */
.pwf2-section { padding: 80px 0; background: #fff; }
.pwf2-section.pwf2-grey { background: var(--pwf2-grey-bg); }

/* ── Page banner ─────────────────────────── */
.pwf2-banner {
    background: var(--pwf2-blue);
    color: #fff;
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}
.pwf2-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(255,255,255,0.08), transparent 60%);
    pointer-events: none;
}
.pwf2-banner__inner { position: relative; z-index: 1; }
.pwf2-banner__crumb {
    font-size: 13px;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.75);
    margin-bottom: 22px;
}
.pwf2-banner__crumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.pwf2-banner__crumb a:hover { color: #fff; text-decoration: underline; }
.pwf2-banner__crumb .sep { color: rgba(255,255,255,0.4); padding: 0 8px; }
.pwf2-banner h1 {
    color: #fff;
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    max-width: 880px;
    margin: 0 0 18px;
    text-wrap: balance;
}
.pwf2-banner__sub {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    line-height: 1.6;
    max-width: 720px;
    margin: 0;
}
.pwf2-banner__bar {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Button variants used here. The existing theme already defines `.btn`
   and `.btn.green`. We only need a transparent ghost variant. */
.pwf2-btn-ghost {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.55) !important;
    padding: 12px 28px !important;
    margin-top: 0 !important;
}
.pwf2-btn-ghost:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: #fff !important;
    opacity: 1 !important;
}
.pwf2-banner .btn,
.pwf2-cta-strip__row .btn { margin-top: 0; }
.pwf2-banner .btn i,
.pwf2-cta-strip__row .btn i { margin-left: 10px; }
.pwf2-banner .pwf2-btn-ghost i { margin-left: 0; margin-right: 6px; }

/* ── Section head ────────────────────────── */
.pwf2-head {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 60px;
}
.pwf2-head .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pwf2-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.pwf2-head .kicker::before,
.pwf2-head .kicker::after {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--pwf2-green);
}
.pwf2-head h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.2;
    color: var(--pwf2-text);
    margin: 0 0 24px;
    text-wrap: balance;
}
.pwf2-head h2 em { color: var(--pwf2-blue); font-style: normal; font-weight: 700; }
.pwf2-head p {
    color: var(--pwf2-muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}
.pwf2-head p + p { margin-top: 8px; }

/* ── Cards grid ──────────────────────────── */
.pwf2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pwf2-card {
    background: #fff;
    border: 1px solid var(--pwf2-border);
    border-top: 4px solid var(--pwf2-blue);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s, border-top-color .25s;
}
.pwf2-card:hover {
    box-shadow: 0 12px 32px rgba(13,109,168,0.12);
    transform: translateY(-4px);
    border-top-color: var(--pwf2-green);
}
.pwf2-card__num {
    font-size: 12px;
    font-weight: 700;
    color: var(--pwf2-green);
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}
.pwf2-card__icon {
    width: 56px;
    height: 56px;
    background: var(--pwf2-light);
    color: var(--pwf2-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    margin-bottom: 22px;
    font-size: 22px;
    transition: background .25s, color .25s;
}
.pwf2-card:hover .pwf2-card__icon {
    background: var(--pwf2-blue);
    color: #fff;
}
.pwf2-card__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--pwf2-text);
    margin: 0 0 12px;
    line-height: 1.3;
}
.pwf2-card__body {
    font-size: 15px;
    line-height: 1.65;
    color: var(--pwf2-muted);
    margin: 0 0 24px;
    flex: 1;
}
.pwf2-card__link {
    font-size: 13px;
    font-weight: 700;
    color: var(--pwf2-blue);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-top: 18px;
    border-top: 1px solid var(--pwf2-border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color .2s, gap .2s;
}
.pwf2-card__link i { font-size: 11px; transition: transform .2s; }
.pwf2-card:hover .pwf2-card__link { color: var(--pwf2-green); gap: 12px; }
.pwf2-card:hover .pwf2-card__link i { transform: translateX(4px); }

/* ── CTA strip ───────────────────────────── */
.pwf2-cta-strip {
    background: var(--pwf2-deep);
    color: #fff;
    padding: 56px 0;
}
.pwf2-cta-strip__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.pwf2-cta-strip h3 {
    color: #fff;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    max-width: 760px;
    margin: 0;
}
.pwf2-cta-strip h3 em { color: var(--pwf2-green); font-style: normal; font-weight: 700; }
.pwf2-cta-strip__sub {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 8px 0 0;
}

/* Entry animation */
@keyframes pwf2-rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.pwf2-card { animation: pwf2-rise 0.5s ease both; }
.pwf2-card:nth-child(1) { animation-delay: 0.05s; }
.pwf2-card:nth-child(2) { animation-delay: 0.10s; }
.pwf2-card:nth-child(3) { animation-delay: 0.15s; }
.pwf2-card:nth-child(4) { animation-delay: 0.20s; }
.pwf2-card:nth-child(5) { animation-delay: 0.25s; }
.pwf2-card:nth-child(6) { animation-delay: 0.30s; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
    .pwf2-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .pwf2-banner   { padding: 56px 0 50px; }
    .pwf2-section  { padding: 56px 0; }
    .pwf2-grid     { grid-template-columns: 1fr; }
    .pwf2-cta-strip__row { flex-direction: column; align-items: flex-start; text-align: left; }
}
