.pf-hero {
    position: relative;
    min-height: 480px;
    border-radius: var(--r-xl);
    border: 1px solid var(--border-mid);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.pf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(to right,
            rgba(5, 5, 20, 0.97) 0%,
            rgba(5, 5, 20, 0.88) 30%,
            rgba(5, 5, 20, 0.40) 64%,
            rgba(5, 5, 20, 0.08) 100%),
        var(--hero-img) center / cover no-repeat;
}

.pf-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 22% 60%, rgba(31, 31, 122, 0.14), transparent 42%);
}

.pf-hero-content {
    position: relative;
    z-index: 1;
    padding: 52px 52px;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pf-hero h1 {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -2px;
    color: var(--pr-800);
    text-shadow: 0 0 20px rgba(120, 186, 123, 0.20), 0 0 48px rgba(69, 135, 72, 0.10);
}

.pf-hero-sub {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.8;
}

.pf-intro {
    padding: 36px 48px;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    text-align: center;
}

.pf-intro h2 {
    font-size: clamp(13px, 1.5vw, 18px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pr-700);
    margin-bottom: 12px;
}

.pf-intro p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.pf-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pf-card {
    padding: 24px 22px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: rgba(10, 10, 41, 0.44);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.pf-card:hover {
    border-color: var(--border-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(52, 101, 54, 0.09);
}

.pf-svc-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--r-md);
    background: rgba(69, 135, 72, 0.11);
    border: 1px solid rgba(120, 186, 123, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.pf-svc-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--pr-600);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--tx-950);
    margin-bottom: 8px;
}

.pf-card p {
    font-size: 14px;
    line-height: 1.72;
    color: var(--text-muted);
}

.pf-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pf-cta {
    padding: 52px 32px 56px;
    border: 1px solid var(--border-mid);
    border-radius: var(--r-xl);
    text-align: center;
    background: radial-gradient(ellipse at top center, rgba(69, 135, 72, 0.09), transparent 50%), var(--card-bg);
    backdrop-filter: blur(10px);
}

.pf-cta h2 {
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--tx-950);
    margin-bottom: 24px;
}

.pf-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pf-center {
    text-align: center;
    margin-top: 16px;
}

@media (max-width: 1024px) {

    .pf-card-grid,
    .pf-work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .pf-hero {
        min-height: 380px;
    }

    .pf-hero-content {
        padding: 36px 24px;
    }

    .pf-hero::before {
        background:
            linear-gradient(to right, rgba(5, 5, 20, 0.97) 0%, rgba(5, 5, 20, 0.88) 44%, rgba(5, 5, 20, 0.56) 100%),
            var(--hero-img) center/cover no-repeat;
    }

    .pf-intro {
        padding: 28px 22px;
    }

    .pf-cta {
        padding: 40px 20px 44px;
    }

    .pf-card-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pf-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px;
    }

    .pf-svc-icon {
        margin-bottom: 0;
        align-self: center;
        flex-shrink: 0;
    }

    .pf-card h3 {
        margin-bottom: 4px;
    }

    .pf-work-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .pf-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .pf-cta-buttons .pf-btn {
        justify-content: center;
    }
}