/* ===================================================
   PORTFOLIO PAGE — Premium UI/UX Stylesheet (Redesigned)
   =================================================== */

/* ===== PORTFOLIO HERO ===== */
.pf-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(165deg, #05060a 0%, #0a0e1a 35%, #0d1228 60%, #080c18 100%);
}

/* Hero background effects */
.pf-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.pf-hero__grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.pf-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
}

.pf-hero__orb--1 {
    width: 600px;
    height: 600px;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(99,102,241,0.3), transparent 70%);
    animation: orbFloat1 14s ease-in-out infinite;
}

.pf-hero__orb--2 {
    width: 400px;
    height: 400px;
    bottom: 5%;
    left: 10%;
    background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
    animation: orbFloat2 16s ease-in-out infinite;
}

.pf-hero__orb--3 {
    width: 350px;
    height: 350px;
    top: 40%;
    right: 5%;
    background: radial-gradient(circle, rgba(6,182,212,0.12), transparent 70%);
    animation: orbFloat3 12s ease-in-out infinite;
}

.pf-hero__line-top {
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), rgba(139,92,246,0.4), transparent);
    box-shadow: 0 0 60px 20px rgba(99,102,241,0.06);
}

@keyframes orbFloat1 {
    0%, 100% { transform: translateX(-50%) scale(1); }
    33% { transform: translateX(-45%) scale(1.1); }
    66% { transform: translateX(-55%) scale(1.05); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.08); }
    66% { transform: translate(-15px, 10px) scale(1.04); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(-20px, 10px) scale(1.15); opacity: 0.7; }
}

/* Hero container — centered layout */
.pf-hero__container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Badge */
.pf-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    margin-bottom: 32px;
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
    color: #a5b4fc;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.pf-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #818cf8;
    box-shadow: 0 0 12px rgba(129,140,248,0.6);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(129,140,248,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(129,140,248,0); }
}

/* Title */
.pf-hero__title {
    margin: 0 0 24px;
    font-family: var(--font-display, 'Inter', sans-serif);
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.pf-hero__title-line {
    display: block;
}

.pf-hero__title-gradient {
    background: linear-gradient(135deg, #818CF8 0%, #A78BFA 35%, #C084FC 65%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Description */
.pf-hero__desc {
    max-width: 620px;
    margin: 0 auto 48px;
    color: #94a3b8;
    font-size: 1.12rem;
    line-height: 1.8;
}

.pf-hero__desc strong {
    color: #e2e8f0;
    font-weight: 600;
}

/* Stats row */
.pf-hero__stats {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.pf-hero__stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
}

.pf-hero__stat:hover {
    border-color: rgba(99,102,241,0.35);
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.05));
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(99,102,241,0.12);
}

.pf-hero__stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.1));
    color: #818cf8;
}

.pf-hero__stat-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pf-hero__stat-number {
    font-family: var(--font-display, 'Inter', sans-serif);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pf-counter {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    background-clip: inherit;
}

.pf-hero__stat-label {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

/* Scroll CTA */
.pf-hero__scroll {
    display: flex;
    justify-content: center;
}

.pf-hero__scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
    animation: gentleBounce 3s ease-in-out infinite;
}

.pf-hero__scroll-btn:hover {
    border-color: rgba(99,102,241,0.4);
    color: #c7d2fe;
    background: rgba(99,102,241,0.08);
    transform: translateY(-2px);
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}


/* ===== PORTFOLIO GALLERY ===== */
.pf-gallery {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #080c18 0%, #05060a 40%, #0a0e1a 100%);
}

.pf-gallery__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Gallery header */
.pf-gallery__header {
    text-align: center;
    margin-bottom: 56px;
}

.pf-gallery__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    color: #a5b4fc;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.pf-gallery__title {
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--font-display, 'Inter', sans-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
}

.pf-gallery__desc {
    max-width: 560px;
    margin: 0 auto;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Filter tabs */
.pf-gallery__filters {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 52px;
    flex-wrap: wrap;
    padding: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 999px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pf-gallery__filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 24px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-primary, 'Inter', sans-serif);
}

.pf-gallery__filter:hover {
    color: #a5b4fc;
    background: rgba(99,102,241,0.06);
}

.pf-gallery__filter.active {
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.14));
    color: #c7d2fe;
    box-shadow: 0 4px 20px rgba(99,102,241,0.15);
}


/* ===== GALLERY GRID ===== */
.pf-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* ===== PORTFOLIO CARDS ===== */
.pf-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, #0c1022 0%, #0a0e1c 100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pf-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-8px);
    box-shadow:
        0 28px 68px rgba(0,0,0,0.45),
        0 0 0 1px rgba(99,102,241,0.12) inset,
        0 0 60px rgba(99,102,241,0.06);
}

/* Card image */
.pf-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0a0e1c;
}

.pf-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-card:hover .pf-card__image-wrap img {
    transform: scale(1.08);
}

/* Shine effect on hover */
.pf-card__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.03) 45%,
        rgba(255,255,255,0.07) 50%,
        rgba(255,255,255,0.03) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: none;
    pointer-events: none;
    z-index: 1;
}

.pf-card:hover .pf-card__shine {
    transform: translateX(100%);
    transition: transform 0.8s ease;
}

/* Card content area — below image */
.pf-card__content {
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Tags */
.pf-card__tags {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.pf-card__tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pf-card__tag--green {
    background: rgba(16,185,129,0.12);
    color: #6ee7b7;
    border: 1px solid rgba(16,185,129,0.15);
}

.pf-card__tag--blue {
    background: rgba(59,130,246,0.12);
    color: #93c5fd;
    border: 1px solid rgba(59,130,246,0.15);
}

.pf-card__tag--purple {
    background: rgba(139,92,246,0.12);
    color: #c4b5fd;
    border: 1px solid rgba(139,92,246,0.15);
}

.pf-card__tag--amber {
    background: rgba(245,158,11,0.12);
    color: #fcd34d;
    border: 1px solid rgba(245,158,11,0.15);
}

/* Title */
.pf-card__title {
    margin: 0 0 10px;
    color: #f1f5f9;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.pf-card:hover .pf-card__title {
    color: #fff;
}

/* Description */
.pf-card__desc {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Metric highlight */
.pf-card__metric {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.04));
    border: 1px solid rgba(99,102,241,0.1);
}

.pf-card__metric-value {
    font-family: var(--font-display, 'Inter', sans-serif);
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pf-card__metric-label {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

/* View button */
.pf-card__view-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    background: rgba(0,0,0,0.55);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s ease;
    font-family: var(--font-primary, 'Inter', sans-serif);
    opacity: 0;
    transform: translateY(-6px);
}

.pf-card:hover .pf-card__view-btn {
    opacity: 1;
    transform: translateY(0);
}

.pf-card__view-btn:hover {
    background: rgba(99,102,241,0.3);
    border-color: rgba(99,102,241,0.5);
    color: #fff;
}


/* ===== CTA SECTION ===== */
.pf-cta {
    position: relative;
    padding: 0 28px 120px;
    background: #0a0e1a;
    overflow: hidden;
}

.pf-cta__container {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
}

.pf-cta__card {
    position: relative;
    padding: 56px 52px;
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(99,102,241,0.06), rgba(139,92,246,0.03)),
        linear-gradient(135deg, rgba(15,23,42,0.95), rgba(7,17,26,0.95));
    box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.03) inset;
    text-align: center;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.pf-cta__glow {
    position: absolute;
    width: 600px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.12), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.pf-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #818cf8;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pf-cta__title {
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--font-display, 'Inter', sans-serif);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
}

.pf-cta__desc {
    max-width: 580px;
    margin: 0 auto 32px;
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.75;
}

.pf-cta__desc strong {
    color: #c7d2fe;
    font-weight: 600;
}

.pf-cta__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* CTA buttons */
.pf-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.pf-cta__btn--primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 8px 30px rgba(99,102,241,0.35);
}

.pf-cta__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(99,102,241,0.5);
}

.pf-cta__btn--ghost {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #e2e8f0;
}

.pf-cta__btn--ghost:hover {
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.08);
    transform: translateY(-2px);
}

/* Trust items */
.pf-cta__trust {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.pf-cta__trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 500;
}


/* ===== LIGHTBOX ===== */
.pf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.pf-lightbox[hidden] {
    display: none;
}

.pf-lightbox.pf-lightbox--active {
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pf-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
}

.pf-lightbox__content {
    position: relative;
    max-width: 900px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0c1022;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    animation: lightboxSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.pf-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background: rgba(0,0,0,0.5);
    color: #e2e8f0;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.pf-lightbox__close:hover {
    background: rgba(239,68,68,0.2);
    border-color: rgba(239,68,68,0.4);
    color: #fca5a5;
}

.pf-lightbox__image-wrap {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
}

.pf-lightbox__image {
    width: 100%;
    height: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #0c1022;
}

.pf-lightbox__info {
    padding: 20px 28px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.pf-lightbox__title {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
}

.pf-lightbox__desc {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
}


/* ===== SCROLL REVEAL ANIMATIONS ===== */
.pf-reveal {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-reveal[data-reveal="up"] {
    transform: translateY(40px);
}

.pf-reveal[data-reveal="scale"] {
    transform: scale(0.94);
}

.pf-reveal.pf-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .pf-hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .pf-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pf-hero {
        padding: 130px 0 60px;
    }

    .pf-hero__container {
        padding: 0 18px;
    }

    .pf-hero__title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .pf-hero__stats {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .pf-hero__stat {
        min-width: 0;
    }

    .pf-gallery {
        padding: 64px 0 80px;
    }

    .pf-gallery__container {
        padding: 0 18px;
    }

    .pf-gallery__filters {
        gap: 4px;
        padding: 4px;
    }

    .pf-gallery__filter {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .pf-gallery__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pf-card:hover {
        transform: translateY(-4px);
    }

    .pf-card__view-btn {
        opacity: 1;
        transform: translateY(0);
    }

    .pf-cta {
        padding: 0 18px 80px;
    }

    .pf-cta__card {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .pf-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pf-cta__btn {
        justify-content: center;
    }

    .pf-cta__trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .pf-hero__badge {
        font-size: 0.72rem;
        padding: 6px 14px;
    }

    .pf-hero__title {
        font-size: clamp(1.9rem, 8vw, 2.4rem);
    }

    .pf-hero__desc {
        font-size: 0.95rem;
    }

    .pf-gallery__title {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }

    .pf-card__content {
        padding: 20px 18px 16px;
    }

    .pf-cta__title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .pf-lightbox {
        padding: 16px;
    }

    .pf-lightbox__content {
        border-radius: 14px;
    }
}


/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .pf-hero__orb--1,
    .pf-hero__orb--2,
    .pf-hero__orb--3,
    .pf-hero__grid-pattern,
    .pf-hero__scroll-btn {
        animation: none;
    }

    .pf-hero__title-gradient {
        animation: none;
    }

    .pf-reveal {
        opacity: 1;
        transform: none;
    }

    .pf-card,
    .pf-card__image-wrap img,
    .pf-card__shine {
        transition: none;
    }
}
