/* ─── Portfolio page ─────────────────────────────────────────── */
.portfolio-page {
    background: #f5f4f9;
}

.pf-hero {
    background: linear-gradient(135deg, #07050d 0%, #1a0a2e 50%, #2a0a3e 100%);
    padding: 140px 6% 72px;
    text-align: center;
}

.pf-hero-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin: 12px 0 16px;
    line-height: 1.15;
}

.brand-sky {
    color: #29b4ff;
}

.pf-hero-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.pf-body {
    padding: 64px 6% 80px;
}

.pf-body-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pf-section-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.6rem;
    color: #1a0a2e;
    margin-bottom: 28px;
}

.pf-category {
    margin-bottom: 56px;
}

.pf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.pf-grid--featured {
    margin-bottom: 56px;
}

/* Card */
.pf-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(118, 28, 130, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(118, 28, 130, 0.12);
}

.pf-card--featured {
    border-color: rgba(41, 180, 255, 0.25);
}

.pf-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a0a2e;
}

.pf-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.pf-card:hover .pf-card-media img {
    transform: scale(1.04);
}

.pf-card-media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(41, 180, 255, 0.5);
    background: linear-gradient(135deg, #1a0a2e, #2a1040);
}

.pf-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pf-card-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #761c82;
}

.pf-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a0a2e;
    line-height: 1.35;
}

.pf-card-desc {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
}

.pf-card-stats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pf-card-stats li {
    display: flex;
    flex-direction: column;
    min-width: 72px;
}

.pf-stat-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a6ef5;
}

.pf-stat-lbl {
    font-size: 0.72rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pf-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #761c82;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
}

.pf-card-link:hover {
    gap: 10px;
    color: #29b4ff;
}

.pf-empty {
    text-align: center;
    padding: 80px 24px;
    color: #6b7280;
}

.pf-empty i {
    font-size: 3rem;
    color: #c45fd4;
    margin-bottom: 16px;
    display: block;
}

.pf-cta {
    background: linear-gradient(135deg, #1a0a2e, #2a0a3e);
    padding: 64px 6%;
    text-align: center;
}

.pf-cta-inner h2 {
    font-family: 'Josefin Sans', sans-serif;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.pf-cta-inner p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 24px;
}

.pf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #761c82, #1a6ef5);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pf-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(118, 28, 130, 0.4);
}

/* Service page strip */
.pf-strip {
    padding: 56px 6%;
    background: #f8f7fc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pf-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pf-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pf-strip-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    color: #1a0a2e;
}

.pf-strip-all {
    font-size: 0.88rem;
    font-weight: 600;
    color: #761c82;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pf-strip-all:hover {
    color: #29b4ff;
}

.pf-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .pf-hero { padding: 120px 5% 56px; }
    .pf-body { padding: 48px 5%; }
    .pf-grid { grid-template-columns: 1fr; }
    .pf-strip-grid { grid-template-columns: 1fr; }
}
