.cn-implx-section {
    width: 100%;
    box-sizing: border-box;
    padding: 54px 20px 62px;

    background:
        radial-gradient(circle at 50% 0%,
            rgba(23, 89, 208, 0.16) 0%,
            rgba(5, 20, 56, 0) 43%),
        #051438;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    overflow: hidden;
}




.cn-implx-head {
    text-align: center;
    margin: 0 auto 38px;
}

.cn-implx-title {
    margin: 0;

    font-size: clamp(34px, 3vw, 62px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.5px;

    color: #ffffff;
}

.cn-implx-subtitle {
    margin: 14px 0 0;

    font-size: clamp(16px, 1.35vw, 26px);
    font-weight: 400;

    color: #9fc5ff;
}


.cn-implx-grid {
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}



.cn-implx-card {
    position: relative;

    min-width: 0;

    background: #ffffff;

    border: 1px solid rgba(70, 179, 255, 0.8);
    border-radius: 19px;

    overflow: hidden;

    box-shadow:
        0 0 0 1px rgba(50, 145, 255, 0.1),
        0 0 18px rgba(0, 132, 255, 0.21),
        0 18px 32px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.cn-implx-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 0 0 1px rgba(51, 166, 255, 0.32),
        0 0 28px rgba(0, 143, 255, 0.3),
        0 23px 42px rgba(0, 0, 0, 0.24);
}




.cn-implx-photo {
    position: relative;
    width: 100%;

    height: clamp(190px, 16vw, 255px);

    overflow: hidden;
    background: #dbe9f8;
}

.cn-implx-photo::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(180deg,
            rgba(0, 37, 93, 0.02) 45%,
            rgba(0, 35, 86, 0.1) 100%);

    pointer-events: none;
}

.cn-implx-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}

.cn-implx-card:hover .cn-implx-photo img {
    transform: scale(1.04);
}



.cn-implx-number {
    position: absolute;
    z-index: 3;

    top: 14px;
    left: 14px;

    min-width: 57px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 9px;

    border-radius: 9px;

    background:
        linear-gradient(145deg,
            #256dff 0%,
            #0644d4 100%);

    box-shadow:
        0 7px 17px rgba(2, 57, 181, 0.34);

    color: #ffffff;

    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}



.cn-implx-content {
    padding: 18px 18px 23px;
}

.cn-implx-card-head {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    min-height: 70px;
}




.cn-implx-icon {
    width: 51px;
    height: 51px;

    flex: 0 0 51px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        linear-gradient(145deg,
            #f7fbff 0%,
            #edf5ff 100%);
}

.cn-implx-icon svg {
    width: 31px;
    height: 31px;

    fill: none;
    stroke: #1767ff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}



.cn-implx-card h3 {
    margin: 6px 0 0;

    color: #071945;

    font-size: clamp(14px, 1vw, 19px);
    line-height: 1.35;

    font-weight: 800;
}

.cn-implx-line {
    display: block;

    width: 33px;
    height: 2px;

    margin-top: 10px;

    border-radius: 5px;

    background: #1269f4;
}




.cn-implx-list {
    margin: 16px 0 0;
    padding: 0;

    list-style: none;
}

.cn-implx-list li {
    position: relative;

    margin-bottom: 12px;
    padding-left: 16px;

    color: #162b50;

    font-size: clamp(12px, 0.86vw, 15px);
    line-height: 1.48;
    font-weight: 400;
}

.cn-implx-list li:last-child {
    margin-bottom: 0;
}

.cn-implx-list li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 8px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #1767ff;

    box-shadow: 0 0 6px rgba(23, 103, 255, 0.45);
}



@media (min-width: 1600px) {

    .cn-implx-grid {
        gap: 13px;
    }

    .cn-implx-content {
        padding: 20px 19px 25px;
    }
}




@media (max-width: 1450px) {

    .cn-implx-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        max-width: 1200px;
    }

    .cn-implx-photo {
        height: 240px;
    }

    .cn-implx-card h3 {
        font-size: 18px;
    }

    .cn-implx-list li {
        font-size: 14px;
    }
}




@media (max-width: 900px) {

    .cn-implx-section {
        padding: 42px 16px 48px;
    }

    .cn-implx-head {
        margin-bottom: 28px;
    }

    .cn-implx-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cn-implx-photo {
        height: 230px;
    }
}



@media (max-width: 600px) {

    .cn-implx-section {
        padding:
            34px 12px 40px;
    }

    .cn-implx-title {
        font-size: 31px;
    }

    .cn-implx-subtitle {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.5;
    }

    .cn-implx-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cn-implx-photo {
        height: 225px;
    }

    .cn-implx-number {
        top: 12px;
        left: 12px;

        min-width: 52px;
        height: 49px;

        font-size: 24px;
    }

    .cn-implx-content {
        padding: 18px 17px 22px;
    }

    .cn-implx-card h3 {
        font-size: 17px;
    }

    .cn-implx-list li {
        font-size: 14px;
    }
}



/* =========================================================
   CITYNET SOLUTIONS GRID
   Unique prefix: cnsol-grid-
   ========================================================= */

   .cnsol-grid-section {
    width: 100%;
    box-sizing: border-box;

    padding: 16px 24px 28px;
    background: radial-gradient(circle at 55% 55%, rgba(13, 77, 177, 0.10), transparent 35%), #051438;


    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
MAIN CONTAINER
========================================================= */

.cnsol-grid-container {
    max-width: 1900px;

    margin: 0 auto;

    padding: 42px 46px 30px;

    box-sizing: border-box;

    position: relative;
    overflow: hidden;



    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 20px 80px rgba(0, 0, 0, 0.25);
}


/* inner decorative border */

.cnsol-grid-container::before {
    content: "";

    position: absolute;
    inset: 4px;

    pointer-events: none;

    border-radius: 34px;

    border: 1px solid rgba(57, 107, 169, 0.09);
}


/* subtle glow */

.cnsol-grid-container::after {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    right: -300px;
    bottom: -260px;

    pointer-events: none;

    border-radius: 50%;

    background: rgba(0, 107, 255, 0.08);

    filter: blur(90px);
}


/* =========================================================
HEADER
========================================================= */

.cnsol-grid-header {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}


.cnsol-grid-heading {
    min-width: 0;
}


.cnsol-grid-title {
    margin: 0;

    color: rgba(255, 255, 255, 0.93);

    font-size: clamp(34px, 3.1vw, 56px);
    line-height: 1.05;

    font-weight: 400;

    letter-spacing: -1.8px;
}


.cnsol-grid-subtitle {
    margin: 12px 0 0;

    color: rgba(185, 201, 225, 0.64);

    font-size: 17px;
    line-height: 1.5;

    font-weight: 400;
}


/* ALL SOLUTIONS */

.cnsol-grid-all-link {
    position: relative;

    flex-shrink: 0;

    margin-top: 16px;

    padding: 0 4px 12px 0;

    display: flex;
    align-items: center;

    gap: 12px;

    color: #69adff;

    text-decoration: none;

    font-size: 16px;
    font-weight: 400;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.cnsol-grid-all-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(90deg,
            rgba(44, 129, 243, 0.50),
            #40a0ff,
            transparent);

    box-shadow:
        0 0 9px rgba(47, 137, 255, 0.7);
}


.cnsol-grid-all-link:hover {
    color: #a5d0ff;

    transform: translateX(3px);
}


/* =========================================================
GRID
========================================================= */

.cnsol-grid-list {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
CARD
========================================================= */

.cnsol-grid-card {
    position: relative;

    min-width: 0;

    height: 330px;

    overflow: hidden;

    border-radius: 17px;

    border: 1px solid rgba(115, 160, 214, 0.52);

    background: #051128;

    box-shadow:
        inset 0 0 30px rgba(0, 80, 170, 0.05);

    isolation: isolate;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


.cnsol-grid-card:hover {
    transform: translateY(-5px);

    border-color: rgba(82, 166, 255, 0.90);

    box-shadow:
        0 10px 30px rgba(0, 70, 180, 0.20),
        inset 0 0 30px rgba(0, 113, 255, 0.08);
}


/* image */

.cnsol-grid-card-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;

    transition:
        transform 0.75s ease,
        filter 0.5s ease;
}


.cnsol-grid-card:hover .cnsol-grid-card-image {
    transform: scale(1.055);

    filter: brightness(1.08);
}


/* overlay */

.cnsol-grid-card-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(180deg,
            rgba(1, 10, 27, 0.10) 0%,
            rgba(1, 10, 27, 0.10) 35%,
            rgba(1, 10, 27, 0.63) 64%,
            rgba(1, 10, 27, 0.96) 100%);
}


/* upper blue light */

.cnsol-grid-card-glow {
    position: absolute;

    top: -1px;
    left: 28%;

    width: 45%;
    height: 2px;

    z-index: 5;

    pointer-events: none;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(72, 173, 255, 0.95),
            transparent);

    box-shadow:
        0 0 9px rgba(58, 166, 255, 0.85);
}


/* =========================================================
ICON
========================================================= */

.cnsol-grid-card-icon {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 4;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    border: 1px solid rgba(100, 167, 242, 0.52);

    color: rgba(255, 255, 255, 0.92);

    background:
        linear-gradient(145deg,
            rgba(18, 49, 91, 0.88),
            rgba(5, 19, 44, 0.82));

    box-shadow:
        inset 0 0 18px rgba(56, 132, 231, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.20);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}


.cnsol-grid-card:hover .cnsol-grid-card-icon {
    transform: translateY(-2px);

    border-color: rgba(89, 175, 255, 0.85);

    background:
        linear-gradient(145deg,
            rgba(20, 74, 142, 0.92),
            rgba(5, 25, 59, 0.90));
}


.cnsol-grid-card-icon svg {
    width: 34px;
    height: 34px;
}


/* =========================================================
CARD CONTENT
========================================================= */

.cnsol-grid-card-content {
    position: absolute;

    z-index: 4;

    left: 18px;
    right: 18px;
    bottom: 14px;
}


.cnsol-grid-card-title {
    margin: 0 0 10px;

    color: rgba(255, 255, 255, 0.95);

    font-size: 20px;
    line-height: 1.2;

    font-weight: 400;

    letter-spacing: -0.4px;

    overflow-wrap: anywhere;
}


.cnsol-grid-card-link {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: #65aaff;

    text-decoration: none;

    font-size: 15px;
    line-height: 1;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}


.cnsol-grid-card-link span {
    font-size: 22px;

    line-height: 0.8;

    font-weight: 300;
}


.cnsol-grid-card-link:hover {
    color: #a4d1ff;

    gap: 14px;
}


/* =========================================================
1400px
========================================================= */

@media (max-width: 1400px) {

    .cnsol-grid-container {
        padding:
            38px 36px 28px;
    }


    .cnsol-grid-list {
        gap: 14px;
    }


    .cnsol-grid-card {
        height: 215px;
    }


    .cnsol-grid-card-title {
        font-size: 18px;
    }

}


/* =========================================================
TABLET LANDSCAPE
4 -> 3
========================================================= */

@media (max-width: 1180px) {

    .cnsol-grid-list {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .cnsol-grid-card {
        height: 330px;
    }

}


/* =========================================================
TABLET
3 -> 2
========================================================= */

@media (max-width: 900px) {

    .cnsol-grid-section {
        padding:
            14px 14px 24px;
    }


    .cnsol-grid-container {
        padding:
            32px 26px 26px;

        border-radius: 28px;
    }


    .cnsol-grid-container::before {
        border-radius: 24px;
    }


    .cnsol-grid-header {
        margin-bottom: 24px;
    }


    .cnsol-grid-title {
        font-size: 38px;
    }


    .cnsol-grid-subtitle {
        font-size: 15px;
    }


    .cnsol-grid-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }


    .cnsol-grid-card {
        height: 330px;
    }

}


/* =========================================================
MOBILE
========================================================= */

@media (max-width: 640px) {

    .cnsol-grid-section {
        padding:
            10px 10px 20px;
    }


    .cnsol-grid-container {
        padding:
            26px 16px 20px;

        border-radius: 22px;
    }


    .cnsol-grid-container::before {
        inset: 2px;

        border-radius: 19px;
    }


    /* header */

    .cnsol-grid-header {
        flex-direction: column;

        gap: 14px;

        margin-bottom: 22px;
    }


    .cnsol-grid-title {
        font-size: clamp(30px, 9vw, 38px);

        line-height: 1.08;

        letter-spacing: -1px;
    }


    .cnsol-grid-subtitle {
        margin-top: 10px;

        font-size: 14px;
        line-height: 1.5;
    }


    .cnsol-grid-all-link {
        margin-top: 0;

        font-size: 14px;
    }


    /* one column */

    .cnsol-grid-list {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .cnsol-grid-card {
        width: 100%;

        height: auto;
        min-height: 330px;

        aspect-ratio: 1.55 / 1;

        border-radius: 15px;
    }


    .cnsol-grid-card-icon {
        top: 16px;
        left: 16px;

        width: 56px;
        height: 56px;

        border-radius: 11px;
    }


    .cnsol-grid-card-icon svg {
        width: 30px;
        height: 30px;
    }


    .cnsol-grid-card-content {
        left: 16px;
        right: 16px;
        bottom: 15px;
    }


    .cnsol-grid-card-title {
        margin-bottom: 9px;

        font-size: 19px;
    }


    .cnsol-grid-card-link {
        font-size: 14px;
    }

}


/* =========================================================
VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .cnsol-grid-container {
        padding:
            22px 13px 16px;
    }


    .cnsol-grid-title {
        font-size: 29px;
    }


    .cnsol-grid-card {
        min-height: 205px;

        aspect-ratio: 1.45 / 1;
    }


    .cnsol-grid-card-icon {
        width: 50px;
        height: 50px;
    }


    .cnsol-grid-card-icon svg {
        width: 27px;
        height: 27px;
    }


    .cnsol-grid-card-title {
        font-size: 18px;
    }

}


/* =========================================================
TOUCH DEVICES
disable hover movement
========================================================= */

@media (hover: none) {

    .cnsol-grid-card:hover {
        transform: none;
    }


    .cnsol-grid-card:hover .cnsol-grid-card-image {
        transform: none;
    }


    .cnsol-grid-card:hover .cnsol-grid-card-icon {
        transform: none;
    }

}


.cnsc-hero-section {
    width: 100%;
    padding: 52px 28px 72px;
    box-sizing: border-box;

    background:
        radial-gradient(circle at 55% 55%,
            rgba(13, 77, 177, 0.10),
            transparent 35%),
        #051438;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}



.cnsc-hero-shell {
    position: relative;

    max-width: 1900px;
    min-height: 730px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 49% 51%;

    overflow: hidden;

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}


.cnsc-hero-shell::before {
    content: "";

    position: absolute;
    inset: -1px;

    z-index: 10;
    pointer-events: none;

    border-radius: inherit;

    box-shadow:
        inset 0 0 50px rgba(12, 94, 196, 0.06);
}


.cnsc-hero-content {
    position: relative;
    z-index: 5;

    padding: 65px 0 55px 44px;

    display: flex;
    flex-direction: column;

    color: #ffffff;

    background:
        linear-gradient(90deg,
            rgba(3, 18, 47, 1) 0%,
            rgba(3, 18, 47, 0.98) 68%,
            rgba(3, 18, 47, 0.82) 87%,
            rgba(3, 18, 47, 0) 100%);
}


.cnsc-hero-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 42px;

    font-size: 14px;
    font-weight: 400;

    color: rgba(221, 231, 248, 0.61);
}


.cnsc-hero-breadcrumbs a {
    color: rgba(221, 231, 248, 0.68);
    text-decoration: none;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}


.cnsc-hero-breadcrumbs a:hover {
    color: #ffffff;
}


.cnsc-hero-breadcrumb-arrow {
    color: rgba(219, 231, 250, 0.55);
    font-size: 22px;
    line-height: 1;
}


.cnsc-hero-main {
    width: 100%;
    max-width: 800px;
}


.cnsc-hero-title {
    margin: 0 0 28px;

    max-width: 680px;

    font-size: clamp(58px, 4.2vw, 82px);
    line-height: 0.99;

    font-weight: 500;
    letter-spacing: -3.5px;

    color: #f8fbff;
}


.cnsc-hero-description {
    width: 100%;
    max-width: 575px;

    margin: 0;

    font-size: 19px;
    line-height: 1.45;

    font-weight: 400;

    color: rgba(240, 245, 255, 0.78);
}


.cnsc-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 16px;

    margin-top: 42px;
}


.cnsc-hero-btn {
    height: 62px;

    padding: 0 28px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    gap: 20px;

    border-radius: 11px;

    box-sizing: border-box;

    text-decoration: none;

    font-size: 17px;
    font-weight: 500;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.cnsc-hero-btn-icon {
    flex-shrink: 0;

    transition: transform 0.25s ease;
}


.cnsc-hero-btn:hover .cnsc-hero-btn-icon {
    transform: translateX(5px);
}


.cnsc-hero-btn-primary {
    min-width: 290px;

    color: #ffffff;

    border: 1px solid rgba(101, 167, 255, 0.60);

    background:
        linear-gradient(135deg,
            #2169e8 0%,
            #256ce8 60%,
            #1a59ce 100%);

    box-shadow:
        0 0 22px rgba(26, 103, 255, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}


.cnsc-hero-btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 35px rgba(26, 103, 255, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}


.cnsc-hero-btn-secondary {
    min-width: 240px;

    color: rgba(255, 255, 255, 0.87);

    border: 1px solid rgba(112, 146, 192, 0.44);

    background: rgba(5, 21, 52, 0.40);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.cnsc-hero-btn-secondary:hover {
    transform: translateY(-2px);

    border-color: rgba(111, 165, 237, 0.75);

    background: rgba(11, 37, 83, 0.62);
}


.cnsc-hero-features {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;

    gap: 12px;

    margin-top: 46px;

    position: relative;
    z-index: 15;
}


.cnsc-hero-feature {
    min-width: 165px;
    min-height: 76px;

    padding: 12px 14px;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    gap: 13px;

    border: 1px solid rgba(112, 151, 204, 0.32);
    border-radius: 11px;

    background:
        linear-gradient(135deg,
            rgba(16, 43, 82, 0.65),
            rgba(6, 27, 61, 0.70));

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.cnsc-hero-feature:hover {
    transform: translateY(-3px);

    border-color: rgba(92, 159, 249, 0.58);

    background:
        linear-gradient(135deg,
            rgba(18, 53, 105, 0.82),
            rgba(7, 31, 69, 0.78));
}


.cnsc-hero-feature-wide {
    min-width: 244px;
}


.cnsc-hero-feature-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(74, 142, 230, 0.35);
    border-radius: 9px;

    color: #d7e8ff;

    background:
        linear-gradient(135deg,
            rgba(41, 104, 198, 0.24),
            rgba(15, 53, 108, 0.23));

    box-shadow:
        inset 0 0 15px rgba(45, 126, 255, 0.08);
}


.cnsc-hero-feature-text {
    display: flex;
    flex-direction: column;

    gap: 4px;

    line-height: 1.08;
}


.cnsc-hero-feature-text strong {
    font-size: 15px;
    font-weight: 500;

    color: rgba(255, 255, 255, 0.94);
}


.cnsc-hero-feature-text span {
    font-size: 14px;
    font-weight: 400;

    color: rgba(223, 232, 246, 0.75);
}


.cnsc-hero-visual {
    position: absolute;

    top: 0;
    right: 0;

    width: 61%;
    height: 100%;

    overflow: hidden;

    border-radius: 0 28px 28px 0;
}


.cnsc-hero-image {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: 55% center;

    transform: scale(1.015);

    transition: transform 1.2s ease;
}


.cnsc-hero-shell:hover .cnsc-hero-image {
    transform: scale(1.04);
}


.cnsc-hero-image-overlay {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:

        linear-gradient(90deg,
            rgba(2, 16, 43, 0.98) 0%,
            rgba(2, 16, 43, 0.80) 13%,
            rgba(2, 16, 43, 0.30) 31%,
            rgba(2, 16, 43, 0.03) 50%),

        linear-gradient(180deg,
            rgba(0, 8, 28, 0.04) 0%,
            rgba(0, 8, 28, 0.02) 60%,
            rgba(0, 9, 28, 0.24) 100%);
}


.cnsc-hero-visual::before {
    content: "";

    position: absolute;

    z-index: 4;

    top: 0;
    bottom: 0;
    left: 0;

    width: 1px;

    background:
        linear-gradient(to bottom,
            transparent,
            rgba(92, 143, 207, 0.15),
            rgba(92, 143, 207, 0.09),
            transparent);
}



@media (max-width: 1300px) {

    .cnsc-hero-shell {
        min-height: 670px;
    }


    .cnsc-hero-content {
        padding-left: 38px;
    }


    .cnsc-hero-title {
        font-size: 64px;
    }


    .cnsc-hero-feature {
        min-width: 150px;
        padding-left: 10px;
        padding-right: 10px;
    }


    .cnsc-hero-feature-wide {
        min-width: 210px;
    }

}


@media (max-width: 1100px) {

    .cnsc-hero-section {
        padding-left: 20px;
        padding-right: 20px;
    }


    .cnsc-hero-shell {
        min-height: auto;

        display: block;
    }


    .cnsc-hero-content {
        min-height: 670px;

        padding:
            48px 38px 50px;
    }


    .cnsc-hero-visual {
        width: 100%;
    }


    .cnsc-hero-content {
        background:
            linear-gradient(90deg,
                rgba(3, 18, 47, 0.99) 0%,
                rgba(3, 18, 47, 0.96) 46%,
                rgba(3, 18, 47, 0.63) 75%,
                rgba(3, 18, 47, 0.46) 100%);
    }


    .cnsc-hero-main {
        max-width: 690px;
    }


    .cnsc-hero-features {
        flex-wrap: wrap;
    }

}


@media (max-width: 768px) {

    .cnsc-hero-section {
        padding:
            20px 14px 40px;
    }


    .cnsc-hero-shell {
        border-radius: 20px;
    }


    .cnsc-hero-visual {
        border-radius: 20px;
    }


    .cnsc-hero-content {
        min-height: 710px;

        padding:
            32px 22px 32px;

        background:
            linear-gradient(90deg,
                rgba(3, 18, 47, 0.98) 0%,
                rgba(3, 18, 47, 0.91) 72%,
                rgba(3, 18, 47, 0.72) 100%);
    }


    .cnsc-hero-breadcrumbs {
        margin-bottom: 32px;

        font-size: 12px;
    }


    .cnsc-hero-title {
        margin-bottom: 22px;

        font-size: clamp(48px, 13vw, 62px);
        letter-spacing: -2.5px;
    }


    .cnsc-hero-description {
        max-width: 530px;

        font-size: 16px;
    }


    .cnsc-hero-actions {
        margin-top: 32px;

        flex-direction: column;
        align-items: stretch;

        max-width: 400px;
    }


    .cnsc-hero-btn {
        width: 100%;
        min-width: 0;
    }


    .cnsc-hero-features {
        margin-top: 34px;

        display: grid;
        grid-template-columns: repeat(2, 1fr);

        width: 100%;
        max-width: 520px;
    }


    .cnsc-hero-feature,
    .cnsc-hero-feature-wide {
        min-width: 0;
    }


    .cnsc-hero-image {
        opacity: 0.65;

        object-position: 62% center;
    }

}


@media (max-width: 520px) {

    .cnsc-hero-content {
        min-height: auto;

        padding:
            28px 18px 30px;
    }


    .cnsc-hero-title {
        font-size: 45px;

        letter-spacing: -2px;
    }


    .cnsc-hero-description {
        font-size: 15px;
        line-height: 1.55;
    }


    .cnsc-hero-btn {
        height: 58px;

        padding-left: 20px;
        padding-right: 20px;

        font-size: 15px;
    }


    .cnsc-hero-features {
        grid-template-columns: 1fr;
    }


    .cnsc-hero-feature {
        min-height: 68px;
    }

}

/* =========================================================
   CITYNET CONTACT SECTION
   Unique prefix: cty-contactx-
   ========================================================= */

   .cty-contactx,
   .cty-contactx * {
       box-sizing: border-box;
   }
   
   .cty-contactx {
       --cty-cx-bg: #020e20;
       --cty-cx-bg2: #041832;
       --cty-cx-line: rgba(82, 157, 255, .34);
       --cty-cx-line-soft: rgba(92, 157, 236, .18);
       --cty-cx-blue: #0878ff;
       --cty-cx-blue2: #0348ea;
       --cty-cx-text: #f6f8fc;
       --cty-cx-muted: #aeb8ca;
   
       width: 100%;
       padding: 24px;
       color: var(--cty-cx-text);
   
       font-family:
           Inter,
           Arial,
           Helvetica,
           sans-serif;
   
       background:
           radial-gradient(circle at 34% 42%, rgba(0, 99, 255, .10), transparent 34%),
           radial-gradient(circle at 92% 10%, rgba(0, 113, 255, .08), transparent 26%),
           #010c1a;
   }
   
   .cty-contactx__shell {
       position: relative;
       width: min(100%, 1600px);
       min-height: 810px;
       margin: 0 auto;
       padding: 42px 32px 42px 48px;
   
       display: grid;
       grid-template-columns: minmax(0, 1.12fr) minmax(520px, .94fr);
       gap: 32px;
   
       overflow: hidden;
   
       border: 1px solid rgba(48, 121, 213, .42);
       border-radius: 24px;
   
       background:
           linear-gradient(
               100deg,
               rgba(2, 18, 39, .98) 0%,
               rgba(2, 20, 44, .98) 50%,
               rgba(2, 16, 36, .99) 100%
           );
   
       box-shadow:
           0 30px 80px rgba(0, 0, 0, .25),
           inset 0 1px 0 rgba(255, 255, 255, .025);
   }
   
   
   /* =========================
      LEFT SIDE
      ========================= */
   
   .cty-contactx__left {
       position: relative;
       min-height: 720px;
       z-index: 1;
   }
   
   .cty-contactx__left::before {
       content: "";
       position: absolute;
       width: 520px;
       height: 520px;
       right: -45px;
       top: 135px;
       border-radius: 50%;
   
       background:
           radial-gradient(circle,
               rgba(0, 114, 255, .11) 0%,
               rgba(0, 105, 255, .045) 45%,
               transparent 69%);
   
       pointer-events: none;
   }
   
   .cty-contactx__eyebrow {
       margin-bottom: 12px;
       color: #2187ff;
       font-size: 18px;
       font-weight: 700;
       letter-spacing: .01em;
   }
   
   .cty-contactx__title {
       position: relative;
       z-index: 3;
   
       margin: 0;
       max-width: 660px;
   
       color: #f8f9fc;
   
       font-size: clamp(37px, 3vw, 50px);
       line-height: 1.08;
       font-weight: 700;
       letter-spacing: -.025em;
   }
   
   .cty-contactx__subtitle {
       position: relative;
       z-index: 3;
   
       margin: 15px 0 29px;
   
       color: #b5bdcb;
   
       font-size: 20px;
       line-height: 1.45;
       font-weight: 400;
   }
   
   
   /* =========================
      BENEFITS
      ========================= */
   
   .cty-contactx__benefits {
       position: relative;
       z-index: 3;
   
       width: 550px;
       max-width: 65%;
   
       display: grid;
       grid-template-columns: repeat(3, 1fr);
   
       margin-top: 22px;
   }
   
   .cty-contactx__benefit {
       position: relative;
       min-height: 150px;
       padding: 0 21px;
   }
   
   .cty-contactx__benefit:first-child {
       padding-left: 0;
   }
   
   .cty-contactx__benefit:not(:last-child)::after {
       content: "";
       position: absolute;
       top: 4px;
       right: 0;
       width: 1px;
       height: 137px;
       background: rgba(101, 150, 205, .3);
   }
   
   .cty-contactx__benefit-icon {
       width: 48px;
       height: 48px;
       margin-bottom: 13px;
   
       color: #087bff;
   
       filter:
           drop-shadow(0 0 7px rgba(0, 111, 255, .85))
           drop-shadow(0 0 15px rgba(0, 81, 255, .25));
   }
   
   .cty-contactx__benefit-icon svg {
       width: 100%;
       height: 100%;
   }
   
   .cty-contactx__benefit-name {
       color: #f8f9fb;
       font-size: 15px;
       line-height: 1.32;
       font-weight: 700;
   }
   
   .cty-contactx__benefit-text {
       margin-top: 9px;
       color: #aeb7c5;
       font-size: 13px;
       line-height: 1.45;
   }
   
   
   /* =========================
      MANAGER JPG
      ========================= */
   
   .cty-contactx__manager-photo {
       position: absolute;
       z-index: 1;
   
       right: -18px;
       bottom: -42px;
   
       width: 560px;
       height: 650px;
   
       /*
          ВСТАВЬТЕ СВОЮ JPG:
          background-image: url('/images/contact-manager.jpg');
       */
   
       background-image: url('/assets/img/contact-manager.jpg');
       background-repeat: no-repeat;
       background-position: center bottom;
       background-size: contain;
   
       pointer-events: none;
   }
   
   
   /* Дополнительное мягкое затемнение слева от человека */
   
   .cty-contactx__manager-photo::before {
       content: "";
       position: absolute;
       inset: 0;
       background:
           linear-gradient(
               90deg,
               rgba(2, 18, 39, .45) 0%,
               transparent 30%
           );
   }
   
   
   /* =========================
      CONTACT METHODS
      ========================= */
   
   .cty-contactx__contacts {
       position: absolute;
       z-index: 5;
   
       left: 0;
       bottom: 30px;
   
       width: 425px;
   }
   
   .cty-contactx__contacts-title {
       margin-bottom: 8px;
       color: #f3f5fa;
       font-size: 15px;
       line-height: 1.3;
       font-weight: 700;
   }
   
   .cty-contactx__contact-row {
       width: 100%;
       min-height: 61px;
   
       display: flex;
       align-items: center;
       gap: 13px;
   
       padding: 8px 14px;
   
       text-decoration: none;
   
       border-top: 1px solid rgba(73, 131, 200, .13);
   
       background:
           linear-gradient(
               90deg,
               rgba(8, 60, 111, .44),
               rgba(3, 34, 72, .45) 78%,
               transparent
           );
   
       transition:
           background .25s ease,
           transform .25s ease;
   }
   
   a.cty-contactx__contact-row:hover {
       transform: translateX(4px);
   
       background:
           linear-gradient(
               90deg,
               rgba(11, 84, 158, .55),
               rgba(4, 42, 88, .52) 78%,
               transparent
           );
   }
   
   .cty-contactx__contact-icon {
       flex: 0 0 auto;
   
       width: 42px;
       height: 42px;
   
       display: grid;
       place-items: center;
   
       color: #eef6ff;
   
       border-radius: 50%;
   
       background:
           radial-gradient(circle at 35% 30%, #1f7ede, #0b376f 75%);
   
       box-shadow:
           inset 0 0 0 1px rgba(61, 137, 233, .35);
   }
   
   .cty-contactx__contact-icon svg {
       width: 24px;
       height: 24px;
   }
   
   .cty-contactx__contact-content {
       display: flex;
       flex-direction: column;
       gap: 2px;
   
       min-width: 0;
   }
   
   .cty-contactx__contact-content strong {
       overflow: hidden;
       color: #f3f5fa;
       font-size: 15px;
       line-height: 1.25;
       font-weight: 700;
       text-overflow: ellipsis;
       white-space: nowrap;
   }
   
   .cty-contactx__contact-content small {
       overflow: hidden;
       color: #9caabe;
       font-size: 13px;
       line-height: 1.25;
       text-overflow: ellipsis;
       white-space: nowrap;
   }
   
   
   /* =========================
      RIGHT
      ========================= */
   
   .cty-contactx__right {
       position: relative;
       z-index: 10;
   
       display: flex;
       flex-direction: column;
       gap: 18px;
   }
   
   
   /* =========================
      FORM CARD
      ========================= */
   
   .cty-contactx__form-card {
       flex: 1;
   
       min-height: 615px;
   
       padding: 28px 30px 23px;
   
       border: 1px solid rgba(76, 157, 249, .55);
       border-radius: 21px;
   
       background:
           radial-gradient(circle at 20% 7%, rgba(7, 116, 255, .08), transparent 25%),
           linear-gradient(150deg, rgba(4, 28, 61, .9), rgba(3, 21, 48, .86));
   
       box-shadow:
           inset 0 1px 0 rgba(255, 255, 255, .035),
           0 15px 40px rgba(0, 0, 0, .16);
   }
   
   .cty-contactx__form-head {
       display: flex;
       align-items: center;
       gap: 21px;
   
       margin-bottom: 27px;
   }
   
   .cty-contactx__form-main-icon {
       flex: 0 0 auto;
   
       width: 67px;
       height: 67px;
   
       display: grid;
       place-items: center;
   
       color: #fff;
   
       border-radius: 50%;
   
       background:
           radial-gradient(circle at 35% 25%, #2484ff, #0758e5 72%);
   
       box-shadow:
           0 0 15px rgba(0, 115, 255, .73),
           0 0 35px rgba(0, 77, 255, .28);
   }
   
   .cty-contactx__form-main-icon svg {
       width: 34px;
       height: 34px;
   }
   
   .cty-contactx__form-title {
       margin: 0 0 4px;
       color: #f8f9fc;
       font-size: 31px;
       line-height: 1.18;
       font-weight: 700;
       letter-spacing: -.02em;
   }
   
   .cty-contactx__form-subtitle {
       margin: 0;
       color: #aeb7c7;
       font-size: 17px;
       line-height: 1.4;
   }
   
   
   /* =========================
      FORM
      ========================= */
   
   .cty-contactx__form {
       display: flex;
       flex-direction: column;
       gap: 14px;
   }
   
   .cty-contactx__form-grid {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 14px;
   }
   
   .cty-contactx__field {
       position: relative;
   
       min-height: 61px;
   
       display: flex;
       align-items: center;
   
       overflow: hidden;
   
       border: 1px solid rgba(119, 161, 216, .35);
       border-radius: 8px;
   
       background:
           linear-gradient(
               110deg,
               rgba(2, 18, 40, .78),
               rgba(2, 15, 34, .67)
           );
   
       transition:
           border-color .2s ease,
           box-shadow .2s ease,
           background .2s ease;
   }
   
   .cty-contactx__field:focus-within {
       border-color: rgba(35, 132, 255, .86);
   
       background:
           linear-gradient(
               110deg,
               rgba(4, 29, 64, .94),
               rgba(3, 20, 45, .82)
           );
   
       box-shadow:
           0 0 0 3px rgba(0, 111, 255, .08);
   }
   
   .cty-contactx__field-icon {
       position: absolute;
       z-index: 2;
   
       top: 50%;
       left: 20px;
   
       width: 27px;
       height: 27px;
   
       color: #9fbbe2;
   
       transform: translateY(-50%);
   }
   
   .cty-contactx__field-icon svg {
       width: 100%;
       height: 100%;
   }
   
   .cty-contactx__field input,
   .cty-contactx__field textarea {
       width: 100%;
   
       border: 0;
       outline: none;
   
       color: #edf3fb;
       background: transparent;
   
       font: inherit;
       font-size: 16px;
   }
   
   .cty-contactx__field input {
       height: 61px;
       padding: 0 18px 0 65px;
   }
   
   .cty-contactx__field textarea {
       min-height: 95px;
       padding: 18px 18px 14px 65px;
   
       resize: vertical;
   }
   
   .cty-contactx__field input::placeholder,
   .cty-contactx__field textarea::placeholder {
       color: #a5adbb;
       opacity: 1;
   }
   
   .cty-contactx__field--textarea {
       min-height: 95px;
       align-items: flex-start;
   }
   
   .cty-contactx__field--textarea .cty-contactx__field-icon {
       top: 22px;
       transform: none;
   }
   
   
   /* =========================
      BUTTON
      ========================= */
   
   .cty-contactx__submit {
       width: 100%;
       height: 62px;
   
       display: flex;
       align-items: center;
       justify-content: center;
       gap: 60px;
   
       margin-top: 3px;
   
       border: 1px solid rgba(45, 145, 255, .9);
       border-radius: 8px;
   
       color: #fff;
       cursor: pointer;
   
       font: inherit;
       font-size: 17px;
       font-weight: 700;
   
       background:
           linear-gradient(
               100deg,
               #0b82f8 0%,
               #075cf0 45%,
               #073bde 100%
           );
   
       box-shadow:
           inset 0 1px 0 rgba(255, 255, 255, .18),
           0 6px 24px rgba(0, 87, 255, .2);
   
       transition:
           transform .2s ease,
           box-shadow .2s ease,
           filter .2s ease;
   }
   
   .cty-contactx__submit:hover {
       transform: translateY(-1px);
       filter: brightness(1.08);
   
       box-shadow:
           inset 0 1px 0 rgba(255, 255, 255, .2),
           0 11px 32px rgba(0, 87, 255, .3);
   }
   
   .cty-contactx__submit:active {
       transform: translateY(0);
   }
   
   .cty-contactx__submit svg {
       width: 25px;
       height: 25px;
   }
   
   
   /* =========================
      PRIVACY
      ========================= */
   
   .cty-contactx__privacy {
       display: flex;
       align-items: center;
       justify-content: center;
       gap: 8px;
   
       margin-top: 2px;
   
       color: #8292a9;
   
       font-size: 12px;
       line-height: 1.35;
       text-align: center;
   }
   
   .cty-contactx__privacy svg {
       flex: 0 0 auto;
   
       width: 21px;
       height: 21px;
   
       color: #7f9fc7;
   }
   
   
   /* =========================
      STATS
      ========================= */
   
   .cty-contactx__stats {
       min-height: 120px;
   
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       align-items: center;
   
       padding: 18px 15px;
   
       border: 1px solid rgba(65, 148, 246, .45);
       border-radius: 18px;
   
       background:
           linear-gradient(
               110deg,
               rgba(3, 25, 55, .96),
               rgba(2, 20, 46, .92)
           );
   }
   
   .cty-contactx__stat {
       min-height: 75px;
   
       display: flex;
       align-items: center;
       gap: 17px;
   
       padding: 0 20px;
   }
   
   .cty-contactx__stat:not(:last-child) {
       border-right: 1px solid rgba(90, 143, 204, .22);
   }
   
   .cty-contactx__stat-icon {
       flex: 0 0 auto;
   
       width: 50px;
       height: 50px;
   
       color: #0879ff;
   
       filter:
           drop-shadow(0 0 8px rgba(0, 100, 255, .5));
   }
   
   .cty-contactx__stat-icon svg {
       width: 100%;
       height: 100%;
   }
   
   .cty-contactx__stat div:last-child {
       display: flex;
       flex-direction: column;
       gap: 7px;
   }
   
   .cty-contactx__stat strong {
       color: #e8efff;
   
       font-size: 25px;
       line-height: 1;
       font-weight: 700;
   }
   
   .cty-contactx__stat span {
       color: #a6b0bf;
   
       font-size: 12px;
       line-height: 1.45;
   }
   
   
   /* =========================================================
      RESPONSIVE
      ========================================================= */
   
   @media (max-width: 1350px) {
   
       .cty-contactx__shell {
           grid-template-columns: minmax(0, 1fr) minmax(470px, .9fr);
           padding-left: 38px;
       }
   
       .cty-contactx__manager-photo {
           width: 500px;
           right: -45px;
       }
   
       .cty-contactx__benefits {
           max-width: 68%;
       }
   
       .cty-contactx__title {
           font-size: 42px;
       }
   
       .cty-contactx__form-title {
           font-size: 27px;
       }
   }
   
   
   @media (max-width: 1150px) {
   
       .cty-contactx {
           padding: 15px;
       }
   
       .cty-contactx__shell {
           grid-template-columns: 1fr;
           padding: 35px;
       }
   
       .cty-contactx__left {
           min-height: 720px;
       }
   
       .cty-contactx__benefits {
           width: 590px;
           max-width: 70%;
       }
   
       .cty-contactx__manager-photo {
           right: 0;
           width: 560px;
       }
   
       .cty-contactx__right {
           width: 100%;
       }
   }
   
   
   @media (max-width: 760px) {
   
       .cty-contactx {
           padding: 10px;
       }
   
       .cty-contactx__shell {
           min-height: 0;
           padding: 28px 20px;
           border-radius: 18px;
       }
   
       .cty-contactx__left {
           min-height: 0;
           padding-bottom: 0;
       }
   
       .cty-contactx__eyebrow {
           font-size: 14px;
       }
   
       .cty-contactx__title {
           font-size: 34px;
       }
   
       .cty-contactx__subtitle {
           font-size: 16px;
       }
   
       .cty-contactx__subtitle br {
           display: none;
       }
   
       .cty-contactx__benefits {
           width: 100%;
           max-width: none;
           grid-template-columns: 1fr;
           gap: 20px;
       }
   
       .cty-contactx__benefit {
           min-height: 0;
           padding: 0 0 20px;
       }
   
       .cty-contactx__benefit:not(:last-child)::after {
           top: auto;
           right: 0;
           bottom: 0;
   
           width: 100%;
           height: 1px;
       }
   
       .cty-contactx__manager-photo {
           position: relative;
   
           right: auto;
           bottom: auto;
   
           width: 100%;
           height: 480px;
   
           margin-top: 15px;
       }
   
       .cty-contactx__contacts {
           position: relative;
   
           left: auto;
           bottom: auto;
   
           width: 100%;
   
           margin-top: 20px;
       }
   
       .cty-contactx__form-card {
           min-height: 0;
           padding: 22px 16px;
       }
   
       .cty-contactx__form-head {
           align-items: flex-start;
           gap: 14px;
       }
   
       .cty-contactx__form-main-icon {
           width: 54px;
           height: 54px;
       }
   
       .cty-contactx__form-main-icon svg {
           width: 28px;
           height: 28px;
       }
   
       .cty-contactx__form-title {
           font-size: 23px;
       }
   
       .cty-contactx__form-subtitle {
           font-size: 14px;
       }
   
       .cty-contactx__form-grid {
           grid-template-columns: 1fr;
       }
   
       .cty-contactx__stats {
           grid-template-columns: 1fr;
       }
   
       .cty-contactx__stat {
           padding: 17px 12px;
       }
   
       .cty-contactx__stat:not(:last-child) {
           border-right: 0;
           border-bottom: 1px solid rgba(90, 143, 204, .22);
       }
   
       .cty-contactx__submit {
           gap: 25px;
       }
   }
   
   
   @media (max-width: 480px) {
   
       .cty-contactx__shell {
           padding: 24px 15px;
       }
   
       .cty-contactx__title {
           font-size: 29px;
       }
   
       .cty-contactx__manager-photo {
           height: 390px;
       }
   
       .cty-contactx__contact-row {
           padding-left: 8px;
           padding-right: 8px;
       }
   
       .cty-contactx__form-head {
           flex-direction: column;
       }
   }

   /* ======================================================
   PORTFOLIO
   unique prefix: ctn-pfoliox
====================================================== */

.ctn-pfoliox,
.ctn-pfoliox * {
    box-sizing: border-box;
}

.ctn-pfoliox {
    --pf-bg: #010b20;
    --pf-bg-soft: #03122d;

    --pf-blue: #167cff;
    --pf-blue-light: #54a1ff;

    --pf-text: #f5f8ff;
    --pf-muted: #a4afc4;

    --pf-border: rgba(83, 137, 222, .28);

    position: relative;

    width: 100%;

    padding: 50px 40px 70px;

    overflow: hidden;

    color: var(--pf-text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background:
        radial-gradient(
            circle at 8% 80%,
            rgba(13, 87, 224, .12),
            transparent 24%
        ),
        radial-gradient(
            circle at 85% 12%,
            rgba(5, 92, 236, .07),
            transparent 30%
        ),
        #010a1d;
}


/* subtle decoration */

.ctn-pfoliox::after {
    content: "";

    position: absolute;

    left: -190px;
    bottom: 40px;

    width: 600px;
    height: 250px;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse,
            rgba(0, 90, 255, .15),
            transparent 65%
        );

    transform: rotate(-8deg);
}



/* ======================================================
   COMMON LAYOUT
====================================================== */

.ctn-pfoliox__video-section,
.ctn-pfoliox__photo-section {
    position: relative;
    z-index: 2;

    width: min(100%, 1450px);

    margin-left: auto;
    margin-right: auto;

    display: grid;

    grid-template-columns: 180px minmax(0, 1fr);

    gap: 30px;
}



.ctn-pfoliox__photo-section {
    margin-top: 170px;
}


/* ======================================================
   LEFT SIDE
====================================================== */

.ctn-pfoliox__side-title {
    padding-top: 10px;
}


.ctn-pfoliox__round-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    color: var(--pf-blue);

    border-radius: 50%;

    border: 1px solid rgba(36, 121, 255, .4);

    background:
        radial-gradient(
            circle,
            rgba(0, 87, 255, .13),
            rgba(0, 64, 177, .025) 70%
        );

    box-shadow:
        0 0 25px rgba(0, 89, 255, .14),
        inset 0 0 22px rgba(0, 95, 255, .08);
}


.ctn-pfoliox__round-icon svg {
    width: 37px;
    height: 37px;
}


.ctn-pfoliox__overline {
    margin-bottom: 9px;

    color: #aeb8ca;

    font-size: 13px;

    letter-spacing: .055em;
}


.ctn-pfoliox__section-title {
    margin: 0;

    color: #e9eef9;

    font-size: 31px;
    line-height: 1.16;

    font-weight: 600;
}


.ctn-pfoliox__section-title span {
    color: #559aff;
}


.ctn-pfoliox__section-description {
    max-width: 150px;

    margin: 20px 0 26px;

    color: #a4aec0;

    font-size: 13px;
    line-height: 1.7;
}


.ctn-pfoliox__outline-button {
    width: 172px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    border: 1px solid rgba(37, 126, 255, .75);
    border-radius: 5px;

    outline: none;

    color: #79adff;

    cursor: pointer;

    font: inherit;
    font-size: 11px;

    background:
        rgba(3, 20, 48, .45);

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}


.ctn-pfoliox__outline-button svg {
    width: 17px;
    height: 17px;
}


.ctn-pfoliox__outline-button:hover {
    color: #fff;

    border-color: #358dff;

    background:
        rgba(14, 94, 225, .18);

    transform: translateY(-2px);
}



/* ======================================================
   VIDEO GRID
====================================================== */

.ctn-pfoliox__video-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 13px;

    perspective: 1400px;
}


.ctn-pfoliox__video-card {
    min-width: 0;

    overflow: hidden;

    cursor: pointer;

    border: 1px solid var(--pf-border);
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #061630,
            #031128
        );

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .16);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.ctn-pfoliox__video-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(42, 127, 255, .65);

    box-shadow:
        0 25px 55px rgba(0, 0, 0, .35),
        0 0 30px rgba(0, 83, 255, .08);
}


.ctn-pfoliox__video-cover {
    position: relative;

    height: 270px;

    overflow: hidden;
}


.ctn-pfoliox__video-cover img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .6s ease;
}


.ctn-pfoliox__video-card:hover
.ctn-pfoliox__video-cover img {
    transform: scale(1.055);
}


.ctn-pfoliox__image-shade {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            transparent 48%,
            rgba(2, 10, 25, .2) 70%,
            rgba(2, 10, 25, .83) 100%
        );
}


.ctn-pfoliox__play {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 53px;
    height: 53px;

    color: #fff;

    transform:
        translate(-50%, -50%);

    filter:
        drop-shadow(
            0 8px 15px rgba(0,0,0,.25)
        );

    transition:
        transform .3s ease;
}


.ctn-pfoliox__video-card:hover
.ctn-pfoliox__play {
    transform:
        translate(-50%, -50%)
        scale(1.12);
}


.ctn-pfoliox__play svg {
    width: 100%;
    height: 100%;
}


.ctn-pfoliox__duration {
    position: absolute;

    right: 9px;
    bottom: 8px;

    padding: 3px 6px;

    border-radius: 4px;

    color: #fff;

    font-size: 10px;

    background:
        rgba(0, 0, 0, .55);

    backdrop-filter:
        blur(4px);
}


.ctn-pfoliox__video-info {
    min-height: 127px;

    padding: 15px 14px 12px;
}


.ctn-pfoliox__video-info h3 {
    margin: 0;

    color: #f2f5fb;

    font-size: 13px;
    line-height: 1.35;

    font-weight: 600;
}


.ctn-pfoliox__video-info p {
    min-height: 36px;

    margin: 9px 0;

    color: #98a5ba;

    font-size: 10px;
    line-height: 1.65;
}


.ctn-pfoliox__tag {
    display: inline-flex;

    padding: 6px 10px;

    color: #9caac1;

    font-size: 9px;

    border-radius: 4px;

    background:
        rgba(18, 51, 99, .45);
}



/* ======================================================
   PHOTO GRID
====================================================== */

.ctn-pfoliox__photo-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px 8px;

    perspective: 1600px;
}


.ctn-pfoliox__photo-card {
    position: relative;

    height: 290px;

    overflow: hidden;

    cursor: pointer;

    border-radius: 8px;

    border: 1px solid
        rgba(70, 123, 203, .32);

    background: #06152e;

    clip-path:
        polygon(
            8% 0,
            100% 0,
            92% 100%,
            0 100%
        );

    box-shadow:
        0 18px 35px
        rgba(0, 0, 0, .17);

    transition:
        transform .35s ease,
        filter .35s ease;
}


/* first row */

.ctn-pfoliox__photo-card:nth-child(1) {
    transform:
        translateX(5px);
}

.ctn-pfoliox__photo-card:nth-child(2) {
    transform:
        translateX(-3px);
}

.ctn-pfoliox__photo-card:nth-child(3) {
    transform:
        translateX(-11px);
}

.ctn-pfoliox__photo-card:nth-child(4) {
    transform:
        translateX(-19px);
}


/* second row slightly shifted */

.ctn-pfoliox__photo-card:nth-child(n+5) {
    transform:
        translateX(-35px);
}


.ctn-pfoliox__photo-card:nth-child(6) {
    transform:
        translateX(-44px);
}

.ctn-pfoliox__photo-card:nth-child(7) {
    transform:
        translateX(-53px);
}

.ctn-pfoliox__photo-card:nth-child(8) {
    transform:
        translateX(-62px);
}


.ctn-pfoliox__photo-card:hover {
    z-index: 5;

    filter:
        brightness(1.09);

    transform:
        translateY(-8px)
        scale(1.015);
}


.ctn-pfoliox__photo-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .6s ease;
}


.ctn-pfoliox__photo-card:hover img {
    transform:
        scale(1.06);
}


.ctn-pfoliox__photo-gradient {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            transparent 45%,
            rgba(3, 13, 30, .2) 63%,
            rgba(2, 13, 32, .97) 100%
        );
}


.ctn-pfoliox__photo-caption {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 14px;

    display: flex;
    align-items: center;

    gap: 12px;
}


.ctn-pfoliox__mini-icon {
    flex: 0 0 auto;

    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    color: #388aff;

    border-radius: 50%;

    background:
        rgba(13, 61, 126, .56);

    box-shadow:
        0 0 18px
        rgba(0, 105, 255, .16);
}


.ctn-pfoliox__mini-icon svg {
    width: 21px;
    height: 21px;
}


.ctn-pfoliox__photo-caption span {
    color: #f2f5fa;

    font-size: 11px;
    line-height: 1.35;

    font-weight: 500;
}



/* ======================================================
   MODAL
====================================================== */

.ctn-pfoliox__modal {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}


.ctn-pfoliox__modal.is-open {
    visibility: visible;
    opacity: 1;
}


.ctn-pfoliox__modal-backdrop {
    position: absolute;

    inset: 0;

    cursor: pointer;

    background:
        rgba(0, 6, 18, .91);

    backdrop-filter:
        blur(13px);
}


.ctn-pfoliox__modal-window {
    position: relative;
    z-index: 2;

    width: min(1150px, 94vw);

    max-height: 90vh;

    overflow: hidden;

    border:
        1px solid
        rgba(64, 139, 245, .46);

    border-radius: 16px;

    background: #020d20;

    box-shadow:
        0 35px 100px
        rgba(0, 0, 0, .55),
        0 0 70px
        rgba(0, 83, 255, .08);

    transform:
        translateY(20px)
        scale(.975);

    transition:
        transform .28s ease;
}


.ctn-pfoliox__modal.is-open
.ctn-pfoliox__modal-window {
    transform:
        translateY(0)
        scale(1);
}


.ctn-pfoliox__modal-content {
    position: relative;

    width: 100%;

    min-height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000;
}


.ctn-pfoliox__modal-content video {
    display: block;

    width: 100%;

    max-height: 77vh;

    object-fit: contain;

    background: #000;
}


.ctn-pfoliox__modal-content img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 77vh;

    object-fit: contain;

    background: #000;
}


.ctn-pfoliox__modal-close {
    position: absolute;

    top: 13px;
    right: 13px;

    z-index: 10;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    padding: 0;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 50%;

    outline: none;

    color: #fff;

    cursor: pointer;

    background:
        rgba(3, 16, 38, .78);

    backdrop-filter:
        blur(10px);

    transition:
        background .2s ease,
        transform .2s ease;
}


.ctn-pfoliox__modal-close:hover {
    transform:
        rotate(90deg);

    background:
        rgba(18, 101, 235, .88);
}


.ctn-pfoliox__modal-close svg {
    width: 24px;
    height: 24px;
}


.ctn-pfoliox__modal-bottom {
    padding: 17px 22px;

    border-top:
        1px solid
        rgba(74, 126, 200, .25);

    background:
        linear-gradient(
            90deg,
            #04152f,
            #020f25
        );
}


.ctn-pfoliox__modal-title {
    color: #f3f6fc;

    font-size: 17px;

    font-weight: 600;
}



/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1250px) {

    .ctn-pfoliox__video-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .ctn-pfoliox__video-cover {
        height: 310px;
    }

    .ctn-pfoliox__photo-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .ctn-pfoliox__photo-card,
    .ctn-pfoliox__photo-card:nth-child(n) {
        transform: none;
    }

}


@media (max-width: 850px) {

    .ctn-pfoliox {
        padding:
            40px 18px
            55px;
    }


    .ctn-pfoliox__video-section,
    .ctn-pfoliox__photo-section {
        grid-template-columns:
            1fr;

        gap: 25px;
    }


    .ctn-pfoliox__photo-section {
        margin-top: 100px;
    }


    .ctn-pfoliox__side-title {
        display: grid;

        grid-template-columns:
            65px 1fr auto;

        align-items: center;

        gap: 15px;
    }


    .ctn-pfoliox__round-icon {
        margin: 0;
    }


    .ctn-pfoliox__overline {
        display: none;
    }


    .ctn-pfoliox__section-title {
        font-size: 26px;
    }


    .ctn-pfoliox__section-description {
        display: none;
    }


    .ctn-pfoliox__outline-button {
        width: auto;

        padding:
            0 15px;
    }

}


@media (max-width: 650px) {

    .ctn-pfoliox__video-grid {
        grid-template-columns:
            1fr;
    }


    .ctn-pfoliox__photo-grid {
        grid-template-columns:
            1fr;
    }


    .ctn-pfoliox__photo-card {
        height: 360px;

        clip-path:
            polygon(
                4% 0,
                100% 0,
                96% 100%,
                0 100%
            );
    }


    .ctn-pfoliox__video-cover {
        height: 340px;
    }


    .ctn-pfoliox__side-title {
        grid-template-columns:
            55px 1fr;
    }


    .ctn-pfoliox__outline-button {
        display: none;
    }


    .ctn-pfoliox__round-icon {
        width: 52px;
        height: 52px;
    }


    .ctn-pfoliox__round-icon svg {
        width: 31px;
        height: 31px;
    }


    .ctn-pfoliox__modal {
        padding: 12px;
    }


    .ctn-pfoliox__modal-content {
        min-height: 220px;
    }

}


@media (max-width: 430px) {

    .ctn-pfoliox__video-cover {
        height: 270px;
    }


    .ctn-pfoliox__photo-card {
        height: 300px;
    }


    .ctn-pfoliox__modal-bottom {
        padding: 13px 15px;
    }


    .ctn-pfoliox__modal-title {
        font-size: 14px;
    }

}