.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.tag {
    display: inline-block;
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sec-title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
}

.sec-title span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sec-sub {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.78;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.32);
    transition: all .3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 180, 216, 0.5);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 50px;
    border: 1.5px solid rgba(0, 180, 216, 0.4);
    cursor: pointer;
    transition: all .3s;
}

.btn-outline:hover {
    background: rgba(0, 180, 216, 0.08);
    border-color: var(--primary);
}

/* scroll reveal */
.r {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.r.in {
    opacity: 1;
    transform: none;
}

.d1 {
    transition-delay: .07s
}

.d2 {
    transition-delay: .14s
}

.d3 {
    transition-delay: .21s
}

.d4 {
    transition-delay: .28s
}

.d5 {
    transition-delay: .35s
}

.d6 {
    transition-delay: .42s
}


/* ══════════════════════════════════════
       01 — BREADCRUMB
    ══════════════════════════════════════ */
.breadcrumb {
    background: var(--dark-2);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--muted);
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i.fa-chevron-right {
    font-size: 9px;
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 600;
}


/* ══════════════════════════════════════
       02 — HERO
    ══════════════════════════════════════ */
.port-hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.port-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 180, 216, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 180, 216, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
}

.ph-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.ph-glow-1 {
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.1), transparent 70%);
    top: -100px;
    right: -100px;
    animation: drift 11s ease-in-out infinite;
}

.ph-glow-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.08), transparent 70%);
    bottom: -60px;
    left: -60px;
    animation: drift 14s ease-in-out infinite reverse;
}

@keyframes drift {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-30px)
    }
}

.ph-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.ph-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    animation: fadeUp .55s ease both;
}

.ph-line {
    width: 40px;
    height: 2px;
    background: var(--grad);
    border-radius: 2px;
}

.ph-h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.06;
    color: var(--white);
    margin-bottom: 22px;
    animation: fadeUp .55s ease .1s both;
}

.ph-h1 em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ph-desc {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 40px;
    animation: fadeUp .55s ease .18s both;
}

.ph-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeUp .55s ease .26s both;
}

.ph-stat {}

.ph-stat-num {
    font-family: var(--fd);
    font-size: 38px;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ph-stat-lbl {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.ph-stat-div {
    width: 1px;
    height: 48px;
    background: var(--border);
    align-self: center;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: none
    }
}


/* ══════════════════════════════════════
       03 — FEATURED PROJECT (hero showcase)
    ══════════════════════════════════════ */
.featured-sec {
    padding: 0 0 96px;
    background: var(--dark);
}

.featured-card {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    position: relative;
    cursor: pointer;
    transition: border-color .3s, box-shadow .3s;
}

.featured-card:hover {
    border-color: rgba(0, 180, 216, 0.4);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
}

.fc-visual {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fd);
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

/* animated browser mockup inside featured */
.browser-mock {
    width: 90%;
    background: var(--dark-3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: perspective(1200px) rotateY(8deg) rotateX(2deg);
    transition: transform .5s var(--ease);
}

.featured-card:hover .browser-mock {
    transform: perspective(1200px) rotateY(4deg) rotateX(1deg);
}

.bm-bar {
    background: #1e2530;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bm-dots {
    display: flex;
    gap: 5px;
}

.bm-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.bm-dots span:nth-child(1) {
    background: #ff5f57
}

.bm-dots span:nth-child(2) {
    background: #febc2e
}

.bm-dots span:nth-child(3) {
    background: #28c840
}

.bm-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--muted);
}

.bm-body {
    padding: 20px;
}

.bm-hero-bar {
    height: 10px;
    background: linear-gradient(90deg, rgba(0, 180, 216, 0.3), rgba(0, 119, 182, 0.2));
    border-radius: 5px;
    margin-bottom: 12px;
}

.bm-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.bm-block {
    height: 70px;
    border-radius: 8px;
}

.bm-block-w {
    grid-column: span 2;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.fc-info {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.fc-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 14px;
}

.fc-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.fc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.fc-result {
    background: var(--dark-3);
    border: 1px solid var(--border-s);
    border-radius: 12px;
    padding: 16px;
}

.fc-result-num {
    font-family: var(--fd);
    font-size: 26px;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 3px;
}

.fc-result-lbl {
    font-size: 12px;
    color: var(--muted);
}

.fc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 28px;
}

.fc-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-s);
    border-radius: 7px;
    padding: 5px 12px;
    font-size: 12px;
    color: var(--muted);
}

.fc-actions {
    display: flex;
    gap: 12px;
}

.fc-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff9f0a, #f72585);
    color: #fff;
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 5;
}


/* ══════════════════════════════════════
       04 — FILTER BAR + GRID
    ══════════════════════════════════════ */
.portfolio-main {
    padding: 0 0 100px;
    background: var(--dark);
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 44px;
    padding: 20px 24px;
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.filter-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fcat {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--border-s);
    background: transparent;
    color: var(--muted);
    transition: all .22s;
    white-space: nowrap;
}

.fcat:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
}

.fcat.active {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 16px;
}

.filter-search i {
    color: var(--muted);
    font-size: 13px;
}

.filter-search input {
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 13px;
    font-family: var(--fb);
    width: 160px;
}

.filter-search input::placeholder {
    color: var(--muted);
}

.sort-select {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    font-family: var(--fb);
    cursor: pointer;
    outline: none;
}

.view-btns {
    display: flex;
    gap: 4px;
}

.vbtn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border-s);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all .2s;
}

.vbtn.active,
.vbtn:hover {
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
    border-color: rgba(0, 180, 216, 0.2);
}

/* results count */
.results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.results-count {
    font-size: 14px;
    color: var(--muted);
}

.results-count strong {
    color: var(--text);
}

/* ── MASONRY GRID ── */
.port-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transition: all .3s;
}

.port-grid.list-view {
    grid-template-columns: 1fr;
}

/* project card */
.pcard {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all .35s var(--ease);
    cursor: pointer;
    position: relative;
}

.pcard:hover {
    border-color: rgba(0, 180, 216, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.pcard.hidden {
    display: none;
}

/* card visual */
.pc-visual {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-visual-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    transition: transform .5s var(--ease);
}

.pcard:hover .pc-visual-bg {
    transform: scale(1.06);
}

.pc-visual-label {
    position: relative;
    z-index: 1;
    font-family: var(--fd);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 0 20px;
}

/* overlay on hover */
.pc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 17, 23, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity .3s;
    backdrop-filter: blur(4px);
}

.pcard:hover .pc-overlay {
    opacity: 1;
}

.pc-ov-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid;
    cursor: pointer;
    transition: all .2s;
}

.pc-ov-btn.primary {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
}

.pc-ov-btn.secondary {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.25);
}

.pc-ov-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* card badges */
.pc-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.pc-cat-badge {
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

.pc-new-badge {
    background: var(--grad);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.pc-award-badge {
    background: linear-gradient(135deg, #ff9f0a, #f72585);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

/* card body */
.pc-body {
    padding: 22px 20px 20px;
}

.pc-client {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.pc-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.pc-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 14px;
}

.pc-metrics {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pc-metric {}

.pc-metric-val {
    font-family: var(--fd);
    font-size: 18px;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pc-metric-lbl {
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px;
}

.pc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pc-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-s);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 11px;
    color: var(--muted);
}

/* card footer */
.pc-footer {
    border-top: 1px solid var(--border-s);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pc-duration {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pc-duration i {
    color: var(--primary);
    font-size: 10px;
}

.pc-stars {
    display: flex;
    gap: 2px;
}

.pc-stars i {
    font-size: 10px;
    color: var(--yellow);
}

/* LIST VIEW card */
.port-grid.list-view .pcard {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-radius: 16px;
}

.port-grid.list-view .pc-visual {
    height: 100%;
    min-height: 200px;
    border-radius: 0;
}

.port-grid.list-view .pc-body {
    padding: 28px;
}

.port-grid.list-view .pc-footer {
    border-top: none;
    border-left: 1px solid var(--border-s);
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

/* load more */
.load-more-wrap {
    text-align: center;
    margin-top: 48px;
}

.load-more-bar {
    height: 4px;
    background: var(--dark-2);
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
}

.load-more-fill {
    height: 100%;
    width: 65%;
    background: var(--grad);
    border-radius: 2px;
}

.load-more-text {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 16px;
}


/* ══════════════════════════════════════
       05 — RESULTS TICKER (marquee stats)
    ══════════════════════════════════════ */
.results-band {
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 32s linear infinite;
    white-space: nowrap;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.m-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 36px;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}

.m-num {
    font-family: var(--fd);
    font-size: 20px;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.m-lbl {
    font-size: 13px;
    color: var(--muted);
}

.m-sep {
    color: var(--border);
    font-size: 20px;
    margin: 0 8px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}


/* ══════════════════════════════════════
       06 — INDUSTRIES SERVED
    ══════════════════════════════════════ */
.industries {
    padding: 96px 0;
    background: var(--dark);
}

.ind-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 60px;
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.ind-item {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 16px;
    text-align: center;
    transition: all .3s;
    cursor: default;
}

.ind-item:hover {
    border-color: rgba(0, 180, 216, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.ind-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
}

.ind-name {
    font-family: var(--fd);
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.ind-count {
    font-size: 11px;
    color: var(--muted);
}


/* ══════════════════════════════════════
       07 — CLIENT LOGOS
    ══════════════════════════════════════ */
.clients-sec {
    padding: 80px 0;
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-chip {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 24px;
    font-family: var(--fd);
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    transition: all .25s;
    cursor: default;
}

.logo-chip:hover {
    border-color: rgba(0, 180, 216, 0.3);
    color: var(--text);
    background: rgba(0, 180, 216, 0.05);
}


/* ══════════════════════════════════════
       08 — CASE STUDY MODAL
    ══════════════════════════════════════ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.94) translateY(20px);
    transition: transform .35s var(--ease);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 180, 216, 0.3) transparent;
}

.modal-backdrop.open .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    margin: 16px 16px 0 0;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dark-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    cursor: pointer;
    font-size: 15px;
    transition: all .2s;
}

.modal-close:hover {
    background: rgba(247, 37, 133, 0.15);
    color: var(--accent);
    border-color: rgba(247, 37, 133, 0.3);
}

.modal-visual {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fd);
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
}

.modal-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
}

.modal-body {
    padding: 32px 36px 36px;
}

.modal-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.modal-cat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-links {
    display: flex;
    gap: 8px;
}

.modal-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    transition: all .2s;
    border: 1px solid;
}

.modal-link.live {
    border-color: var(--primary);
    color: var(--primary);
}

.modal-link.live:hover {
    background: rgba(0, 180, 216, 0.1);
}

.modal-link.case {
    border-color: var(--border-s);
    color: var(--muted);
}

.modal-link.case:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.modal-client-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.modal-client-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--muted);
}

.modal-client-chip i {
    color: var(--primary);
    font-size: 11px;
}

.modal-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.78;
    margin-bottom: 28px;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.modal-section {
    background: var(--dark-3);
    border: 1px solid var(--border-s);
    border-radius: 14px;
    padding: 20px;
}

.modal-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section h4 i {
    color: var(--primary);
    font-size: 12px;
}

.modal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-list li {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.modal-list li i {
    color: var(--primary);
    font-size: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.modal-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.mr-item {
    background: var(--dark-3);
    border: 1px solid var(--border-s);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
}

.mr-num {
    font-family: var(--fd);
    font-size: 26px;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.mr-lbl {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.4;
}

.modal-tech {
    margin-bottom: 28px;
}

.modal-tech h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-tech h4 i {
    color: var(--primary);
    font-size: 12px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tech-pill {
    background: rgba(0, 180, 216, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.modal-quote {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 119, 182, 0.05));
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
}

.modal-quote-mark {
    font-size: 44px;
    line-height: 1;
    color: rgba(0, 180, 216, 0.25);
    font-family: Georgia, serif;
    flex-shrink: 0;
}

.modal-quote-text {
    color: var(--text);
    font-size: 14px;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 10px;
}

.modal-quote-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}


/* ══════════════════════════════════════
       09 — CTA
    ══════════════════════════════════════ */
.port-cta {
    padding: 88px 0;
    background: var(--dark);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.port-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.06), transparent 70%);
    pointer-events: none;
}

.port-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.port-cta h2 {
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.port-cta h2 span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.port-cta p {
    color: var(--muted);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.port-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ══════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════ */
@media (max-width: 1100px) {
    .port-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ind-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .fc-visual {
        min-height: 280px;
    }

    .modal-results {
        grid-template-columns: repeat(2, 1fr);
    }

    .ind-header {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ind-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-right {
        width: 100%;
        justify-content: space-between;
    }

    .filter-search input {
        width: 120px;
    }

    .port-grid {
        grid-template-columns: 1fr;
    }

    .port-grid.list-view .pcard {
        grid-template-columns: 1fr;
    }

    .port-grid.list-view .pc-visual {
        min-height: 200px;
    }

    .port-grid.list-view .pc-footer {
        border-left: none;
        border-top: 1px solid var(--border-s);
        flex-direction: row;
    }

    .ind-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-results {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-body {
        padding: 24px 20px 28px;
    }

    .ph-stats {
        gap: 20px;
    }
}

@media (max-width: 540px) {
    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-results {
        grid-template-columns: 1fr 1fr;
    }

    .fc-results {
        grid-template-columns: 1fr 1fr;
    }
}