/* =====================================================
   PROJECTS PAGE SECTIONS — append at the END of style.css
   All classes prefixed "prx-"
   ===================================================== */
.prx-hero, .prx-projects, .prx-cta-section {
    --prx-red: #ed292e;
    --prx-red-dark: #c91820;
    --prx-bg: #0b0b0c;
    --prx-line: rgba(255, 255, 255, .12);
    position: relative;
    overflow: hidden;
    background: var(--prx-bg);
    color: #fff;
    font-family: 'Poppins', system-ui, sans-serif;
}

.prx-wrap { position: relative; z-index: 2; width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 30px; }

.prx-eyebrow { display: flex; align-items: center; gap: 18px; font-size: 16px; font-weight: 500; margin-bottom: 14px; }
.prx-bar { display: inline-block; width: 46px; height: 10px; border-radius: 2px; background: var(--prx-red); flex-shrink: 0; }

.prx-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 24px; border-radius: 100px;
    background: linear-gradient(90deg, var(--prx-red-dark), var(--prx-red));
    color: #fff; font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
    box-shadow: 0 10px 28px rgba(237, 41, 46, .28);
    transition: transform .3s, box-shadow .3s;
}
.prx-btn i { font-size: 13px; transition: transform .3s; }
.prx-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(237, 41, 46, .45); color: #fff; }
.prx-btn:hover i { transform: translateX(4px); }

.prx-h2 em, .prx-hero-title em { font-style: normal; color: var(--prx-red); }

/* 1. HERO */
.prx-hero { min-height: 350px; display: flex; align-items: center; padding: 60px 0 66px; }
.prx-hero-content { max-width: 470px; }
.prx-hero-title { font-size: clamp(40px, 5vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 20px; color: #fff; }
.prx-hero-text { font-size: 17px; line-height: 1.55; color: #f0f0f0; margin: 0 0 28px; max-width: 360px; }
.prx-hero-visual { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; z-index: 1; }
.prx-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.prx-hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--prx-bg) 0%, rgba(11, 11, 12, .45) 26%, transparent 55%); }

/* 2. FILTERS + GRID */
.prx-projects { padding: 34px 0 40px; }

.prx-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.prx-filter {
    padding: 12px 24px; border-radius: 100px;
    background: #141516; color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer;
    transition: background .3s, border-color .3s, transform .3s;
}
.prx-filter:hover { border-color: var(--prx-red); transform: translateY(-2px); }
.prx-filter.active { background: var(--prx-red); border-color: var(--prx-red); box-shadow: 0 8px 22px rgba(237, 41, 46, .3); }

.prx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.prx-card {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 305 / 263;
    border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12);
    background: #151617; color: #fff;
    transition: transform .4s, box-shadow .4s, opacity .35s;
}
.prx-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prx-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .88) 100%); }
.prx-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(237, 41, 46, .2); color: #fff; }
.prx-card:hover img { transform: scale(1.07); }

.prx-card-body {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
    padding: 0 18px 18px 16px;
}
.prx-card h3 { font-size: 17px; font-weight: 600; line-height: 1.2; margin: 0 0 4px; color: #fff; }
.prx-card p { font-size: 13px; color: #e2e2e2; margin: 0; }

.prx-go {
    width: 34px; height: 34px; flex-shrink: 0;
    display: grid; place-items: center;
    border: 1.5px solid #fff; border-radius: 50%; font-size: 13px;
    transition: background .3s, border-color .3s, transform .3s;
}
.prx-card:hover .prx-go { background: var(--prx-red); border-color: var(--prx-red); transform: rotate(-45deg); }

.prx-card.is-hidden { display: none; }

/* 3. CTA */
.prx-cta-section { padding: 10px 0 40px; }
.prx-cta {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: flex-start; gap: 60px;
    min-height: 176px; padding: 26px 40px 26px 30px;
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px;
    background: linear-gradient(120deg, #151617 0%, #0d0d0e 100%);
}
.prx-cta-content { position: relative; z-index: 2; max-width: 440px; }
.prx-cta-content .prx-bar { width: 42px; height: 10px; margin-bottom: 14px; }
.prx-h2 { font-size: clamp(26px, 2.8vw, 31px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-transform: none; color: #fff; margin: 0 0 12px; }
.prx-cta-content p { font-size: 16px; color: #f0f0f0; margin: 0; }
.prx-cta .prx-btn { position: relative; z-index: 2; }
.prx-cta-visual { position: absolute; right: 0; top: 0; bottom: 0; width: 32%; z-index: 1; }
.prx-cta-visual img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.prx-cta-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #0d0d0e 0%, transparent 45%); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .prx-grid { grid-template-columns: repeat(2, 1fr); }
    .prx-cta { flex-direction: column; align-items: flex-start; gap: 22px; padding-right: 30px; }
    .prx-cta-visual { opacity: .35; width: 45%; }
}
@media (max-width: 767px) {
    .prx-wrap { padding: 0 20px; }
    .prx-hero { flex-direction: column; align-items: stretch; padding: 46px 0 0; }
    .prx-hero-content { padding-bottom: 30px; max-width: 100%; }
    .prx-hero-visual { position: relative; width: 100%; height: 240px; }
    .prx-hero-visual::before { background: linear-gradient(180deg, var(--prx-bg) 0%, transparent 55%); }
    .prx-grid { grid-template-columns: 1fr; }
    .prx-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
    .prx-filter { white-space: nowrap; flex-shrink: 0; }
    .prx-filters::-webkit-scrollbar { display: none; }
}