/* =========================================
   BERA SOFTWARE - SELECTED WORK
========================================= */

.bs-work {
    --work-gold: #f6b91b;
    --work-bg: #080b0d;
    --work-text: #ffffff;
    --work-muted: rgba(255, 255, 255, 0.56);
    --work-line: rgba(255, 255, 255, 0.11);
    --work-accent: 42, 151, 82;

    position: relative;
    isolation: isolate;
    padding: 125px 0 145px;
    overflow: clip;
    background: var(--work-bg);
    color: var(--work-text);
}

.bs-work::before {
    content: "WORK / 03";
    position: absolute;
    top: 55px;
    right: -25px;
    z-index: -1;
    color: transparent;
    font-size: clamp(105px, 14vw, 240px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.08em;
    white-space: nowrap;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
}

.bs-work-glow {
    position: fixed;
    top: 35%;
    right: -8vw;
    z-index: -1;
    width: 45vw;
    height: 45vw;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--work-accent), 0.17), transparent 67%);
    filter: blur(18px);
    transition: background 0.8s ease;
}

.bs-work[data-active-project="1"] {
    --work-accent: 25, 125, 191;
}

.bs-work[data-active-project="2"] {
    --work-accent: 245, 184, 24;
}

.bs-work-container {
    width: min(calc(100% - 70px), 1450px);
    margin: 0 auto;
}

/* Header */

.bs-work-header {
    margin-bottom: 95px;
}

.bs-work-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bs-work-kicker span {
    width: 38px;
    height: 2px;
    background: var(--work-gold);
}

.bs-work-heading-row {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
    gap: clamp(45px, 8vw, 140px);
    align-items: end;
}

.bs-work-heading-row h2 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(50px, 5.4vw, 86px);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.058em;
}

.bs-work-heading-row h2 strong {
    display: block;
    color: rgba(255, 255, 255, 0.3);
    font-weight: inherit;
}

.bs-work-heading-row p {
    max-width: 420px;
    margin: 0 0 7px;
    color: var(--work-muted);
    font-size: 16px;
    line-height: 1.75;
}

/* Layout and sticky index */

.bs-work-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: clamp(45px, 6vw, 100px);
    align-items: start;
}

.bs-work-sidebar {
    position: sticky;
    top: 150px;
    padding-top: 8px;
}

.bs-work-count {
    display: flex;
    align-items: flex-end;
    gap: 9px;
}

.bs-work-count strong {
    font-size: 76px;
    font-weight: 600;
    line-height: 0.8;
    letter-spacing: -0.07em;
}

.bs-work-count > span {
    padding-bottom: 3px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 17px;
}

.bs-work-current {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
}

.bs-work-current small {
    color: rgba(255, 255, 255, 0.36);
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bs-work-current strong {
    min-height: 48px;
    margin-top: 7px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.bs-work-current strong.is-changing {
    opacity: 0;
    transform: translateY(5px);
}

.bs-work-progress {
    height: 2px;
    margin-top: 23px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.bs-work-progress span {
    width: 33.333%;
    height: 100%;
    display: block;
    background: var(--work-gold);
    transform-origin: left;
    transition: transform 0.65s cubic-bezier(.2, .75, .2, 1);
}

.bs-work-sidebar > p {
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.43);
    font-size: 13px;
    line-height: 1.7;
}

/* Project cards */

.bs-work-project {
    --project-accent: 42, 151, 82;
    position: relative;
    margin-bottom: 105px;
    padding: clamp(25px, 3.2vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 12%, rgba(var(--project-accent), 0.17), transparent 31%),
        linear-gradient(145deg, #101518, #0b1013);
    box-shadow: 0 38px 95px rgba(0, 0, 0, 0.27);
}

.bs-work-project::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -130px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(var(--project-accent), 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.bs-work-imagine {
    --project-accent: 25, 125, 191;
}

.bs-work-genius {
    --project-accent: 245, 184, 24;
    margin-bottom: 0;
}

.bs-work-project-head {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.bs-work-project-head > div > span {
    color: rgb(var(--project-accent));
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bs-work-project-head h3 {
    margin: 8px 0 0;
    font-size: clamp(32px, 3.2vw, 51px);
    font-weight: 620;
    line-height: 1;
    letter-spacing: -0.048em;
}

.bs-work-industry {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    white-space: nowrap;
}

/* Browser preview */

.bs-work-browser {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
    background: #070a0c;
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.38);
}

.bs-work-browser-bar {
    height: 43px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 70px 1fr 95px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #12171a;
}

.bs-work-browser-bar > span {
    display: flex;
    gap: 5px;
}

.bs-work-browser-bar i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.bs-work-browser-bar i:first-child {
    background: rgb(var(--project-accent));
}

.bs-work-browser-bar em {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.36);
    font-size: 8px;
    font-style: normal;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bs-work-browser-bar b {
    color: rgba(255, 255, 255, 0.28);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-align: right;
    text-transform: uppercase;
}

.bs-work-screen {
    position: relative;
    aspect-ratio: 16 / 9.2;
    overflow: hidden;
    background: #ecece7;
}

.bs-work-screen > img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 7s cubic-bezier(.18, .72, .28, 1);
}

.bs-work-project:hover .bs-work-screen > img,
.bs-work-project.is-active .bs-work-screen > img {
    transform: translateY(-34%);
}

.bs-work-before-card {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: min(29%, 250px);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
    transform: rotate(2deg);
    transition: opacity 0.45s ease, transform 0.55s ease;
}

.bs-work-before-card > span {
    position: absolute;
    top: -27px;
    right: 0;
    padding: 5px 9px;
    border-radius: 100px;
    background: #ffffff;
    color: #111315;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bs-work-before-card img {
    width: 100%;
    max-height: 145px;
    display: block;
    object-fit: cover;
    object-position: top;
}

.bs-work-project:hover .bs-work-before-card {
    opacity: 0.48;
    transform: translate(8px, 8px) rotate(4deg);
}

.bs-work-transformation,
.bs-work-floating-note {
    position: absolute;
    left: 22px;
    bottom: 22px;
    max-width: 280px;
    padding: 13px 15px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(8, 12, 14, 0.88);
    color: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.bs-work-floating-note {
    right: 22px;
    left: auto;
}

.bs-work-transformation small,
.bs-work-floating-note small {
    color: rgb(var(--project-accent));
    font-size: 7px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bs-work-transformation strong,
.bs-work-floating-note strong {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
}

/* Project story */

.bs-work-details {
    position: relative;
    z-index: 2;
    margin-top: 33px;
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(250px, 0.85fr);
    gap: 24px 55px;
    align-items: start;
}

.bs-work-details h4 {
    grid-row: 1 / 3;
    margin: 0;
    font-size: clamp(27px, 2.5vw, 41px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.bs-work-details p {
    margin: 0;
    color: var(--work-muted);
    font-size: 14px;
    line-height: 1.75;
}

.bs-work-details ul {
    margin: 0;
    padding: 17px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    border-top: 1px solid var(--work-line);
    list-style: none;
}

.bs-work-details li {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.57);
    font-size: 9px;
}

/* Reveal */

.bs-work.js-work-ready .bs-work-header,
.bs-work.js-work-ready .bs-work-project {
    opacity: 0;
    transform: translateY(35px);
}

.bs-work.js-work-ready .bs-work-header.is-visible,
.bs-work.js-work-ready .bs-work-project.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.85s cubic-bezier(.2, .75, .2, 1);
}

/* Responsive */

@media (max-width: 1050px) {
    .bs-work-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 35px;
    }

    .bs-work-count strong {
        font-size: 58px;
    }

    .bs-work-details {
        grid-template-columns: 1fr;
    }

    .bs-work-details h4 {
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    .bs-work {
        padding: 82px 0 90px;
    }

    .bs-work-container {
        width: calc(100% - 30px);
    }

    .bs-work-header {
        margin-bottom: 55px;
    }

    .bs-work-heading-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .bs-work-heading-row h2 {
        font-size: clamp(41px, 12vw, 58px);
        line-height: 1.01;
    }

    .bs-work-layout {
        grid-template-columns: 1fr;
    }

    .bs-work-sidebar {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
        align-items: center;
    }

    .bs-work-current,
    .bs-work-sidebar > p {
        margin-top: 0;
    }

    .bs-work-progress {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .bs-work-sidebar > p {
        display: none;
    }

    .bs-work-project {
        margin-bottom: 35px;
        padding: 22px;
    }

    .bs-work-project-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .bs-work-browser-bar {
        grid-template-columns: 48px 1fr;
    }

    .bs-work-browser-bar b {
        display: none;
    }

    .bs-work-screen {
        aspect-ratio: 4 / 3.1;
    }

    .bs-work-project:hover .bs-work-screen > img,
    .bs-work-project.is-active .bs-work-screen > img {
        transform: translateY(-20%);
    }

    .bs-work-before-card {
        right: 11px;
        bottom: 12px;
        width: 34%;
    }

    .bs-work-before-card img {
        max-height: 82px;
    }

    .bs-work-transformation,
    .bs-work-floating-note {
        right: auto;
        bottom: 12px;
        left: 11px;
        max-width: 60%;
        padding: 9px 10px;
    }

    .bs-work-transformation strong,
    .bs-work-floating-note strong {
        font-size: 8px;
    }

    .bs-work-details {
        margin-top: 27px;
        gap: 17px;
    }

    .bs-work-details p {
        font-size: 15px;
    }
}

@media (max-width: 430px) {
    .bs-work-project {
        padding: 18px;
    }

    .bs-work-industry {
        font-size: 8px;
    }

    .bs-work-screen {
        aspect-ratio: 1 / 0.88;
    }

    .bs-work-before-card {
        display: none;
    }

    .bs-work-transformation,
    .bs-work-floating-note {
        max-width: calc(100% - 22px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bs-work-screen > img,
    .bs-work-project,
    .bs-work-header,
    .bs-work-progress span {
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================
   TECHNOLOGY / SERVICE TAG HIGHLIGHT
========================================= */

.bs-work-details ul::before {
    content: "Technology & Capabilities";

    width: 100%;
    margin-bottom: 5px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bs-work-details li {
    position: relative;

    padding: 9px 13px;

    overflow: hidden;

    border: 1px solid rgba(var(--project-accent), 0.42);
    border-radius: 100px;
    background: rgba(var(--project-accent), 0.1);
    color: rgb(var(--project-accent));

    font-size: 10px;
    font-weight: 600;

    box-shadow:
        inset 0 0 18px rgba(var(--project-accent), 0.035);

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.bs-work-details li:hover {
    transform: translateY(-2px);

    border-color: rgb(var(--project-accent));
    background: rgb(var(--project-accent));
    color: #081012;

    box-shadow:
        0 8px 22px rgba(var(--project-accent), 0.2);
}

/* =========================================
   SIDEBAR — SHOW MORE PROJECTS
========================================= */

.bs-work-sidebar-button {
    position: relative;

    width: 100%;
    min-height: 58px;
    margin-top: 34px;
    padding: 6px 6px 6px 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    overflow: hidden;

    border-radius: 100px;

    background: var(--work-gold);
    color: #0a0d0f;

    font-size: 11px;
    font-weight: 700;
    text-decoration: none;

    box-shadow:
        0 14px 38px rgba(246, 185, 27, 0.16);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Animated shine */

.bs-work-sidebar-button::before {
    content: "";

    position: absolute;
    top: -80%;
    left: -65%;

    width: 35%;
    height: 260%;

    background: rgba(255, 255, 255, 0.45);

    transform: rotate(22deg);

    animation:
        bsSidebarButtonShine 4.8s ease-in-out infinite;
}

@keyframes bsSidebarButtonShine {
    0%,
    68% {
        left: -65%;
    }

    100% {
        left: 130%;
    }
}

.bs-work-sidebar-button > span,
.bs-work-sidebar-button > i {
    position: relative;
    z-index: 2;
}

.bs-work-sidebar-button i {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;
    flex: 0 0 auto;

    border-radius: 50%;

    background: #0a0d0f;
    color: #ffffff;

    transition:
        color 0.35s ease,
        transform 0.4s ease;
}

.bs-work-sidebar-button i::before {
    content: "";

    position: absolute;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(246, 185, 27, 0.65);
    border-radius: 50%;

    animation:
        bsSidebarArrowPulse 2.3s ease-out infinite;
}

@keyframes bsSidebarArrowPulse {
    0% {
        opacity: 0.7;
        transform: scale(0.9);
    }

    100% {
        opacity: 0;
        transform: scale(1.34);
    }
}

.bs-work-sidebar-button svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Hover */

.bs-work-sidebar-button:hover,
.bs-work-sidebar-button:focus-visible {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(246, 185, 27, 0.28);
}

.bs-work-sidebar-button:hover i,
.bs-work-sidebar-button:focus-visible i {
    color: var(--work-gold);

    transform: rotate(45deg);
}

.bs-work-sidebar-button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}


/* Mobile */

@media (max-width: 767px) {
    .bs-work-sidebar-button {
        grid-column: 1 / -1;

        width: 100%;
        max-width: 430px;
        margin-top: 4px;

        font-size: 13px;
    }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .bs-work-sidebar-button::before,
    .bs-work-sidebar-button i::before {
        animation: none;
    }
}






/* =========================================================
   BERA SOFTWARE — CASE STUDIES PAGE
   ========================================================= */

.cs-page {
    --cs-yellow: #fdbb19;
    --cs-yellow-dark: #d99500;
    --cs-dark: #0c1012;
    --cs-dark-soft: #151a1d;
    --cs-text: #171b1d;
    --cs-muted: #6f777b;
    --cs-light: #f5f3ed;
    --cs-white: #ffffff;
    --cs-green: #21b469;
    --cs-border: rgba(20, 25, 27, 0.12);

    width: 100%;
    overflow: hidden;

    color: var(--cs-text);
    background: var(--cs-light);

    font-family: inherit;
}

.cs-page *,
.cs-page *::before,
.cs-page *::after {
    box-sizing: border-box;
}

.cs-page img {
    max-width: 100%;
    display: block;
}

.cs-page a {
    color: inherit;
    text-decoration: none;
}

.cs-page button {
    font: inherit;
}

.cs-container {
    width: min(100% - 40px, 1240px);
    margin-inline: auto;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.cs-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 710px;
    padding: clamp(90px, 9vw, 135px) 0 105px;

    display: flex;
    align-items: center;

    color: var(--cs-white);
    background:
        radial-gradient(
            circle at 87% 44%,
            rgba(253, 187, 25, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(50, 83, 98, 0.12),
            transparent 34%
        ),
        var(--cs-dark);
}

.cs-hero-grid {
    position: absolute;
    z-index: -3;
    inset: 0;

    opacity: 0.25;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 74px 74px;
}

.cs-hero::before {
    content: "WORK";

    position: absolute;
    z-index: -2;
    right: -23px;
    bottom: -32px;

    color: transparent;

    font-size: clamp(170px, 22vw, 360px);
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -0.08em;

    -webkit-text-stroke:
        1px rgba(255, 255, 255, 0.035);

    pointer-events: none;
}

.cs-hero-glow {
    position: absolute;
    z-index: -1;

    border-radius: 50%;
    filter: blur(20px);

    pointer-events: none;
}

.cs-hero-glow-one {
    top: 16%;
    right: 3%;

    width: 270px;
    height: 270px;

    background: rgba(253, 187, 25, 0.055);
}

.cs-hero-glow-two {
    bottom: -130px;
    left: 14%;

    width: 340px;
    height: 340px;

    background: rgba(28, 98, 127, 0.055);
}

.cs-hero-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.06fr)
        minmax(420px, 0.94fr);

    align-items: center;
    gap: clamp(50px, 7vw, 100px);
}


/* Hero Content */

.cs-hero-content {
    max-width: 680px;
}

.cs-eyebrow {
    width: fit-content;
    margin-bottom: 25px;
    padding: 9px 13px;

    display: flex;
    align-items: center;
    gap: 9px;

    color: #cbd0d2;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cs-eyebrow-dot {
    width: 7px;
    height: 7px;

    background: var(--cs-yellow);
    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(253, 187, 25, 0.1);
}

.cs-hero h1 {
    max-width: 730px;
    margin: 0;

    color: var(--cs-white);

    font-size: clamp(49px, 5.8vw, 79px);
    font-weight: 750;
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.cs-hero h1 span {
    display: block;

    margin-top: 8px;

    color: var(--cs-yellow);
}

.cs-hero-description {
    max-width: 610px;
    margin: 29px 0 0;

    color: #9ca5a9;

    font-size: 16px;
    line-height: 1.75;
}

.cs-hero-actions {
    margin-top: 36px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.cs-primary-button {
    min-height: 58px;
    padding: 7px 8px 7px 23px;

    display: inline-flex;
    align-items: center;
    gap: 21px;

    color: #111517;
    background: var(--cs-yellow);
    border-radius: 999px;

    font-size: 14px;
    font-weight: 750;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        background-color 220ms ease;
}

.cs-button-arrow {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    color: var(--cs-white);
    background: var(--cs-dark);
    border-radius: 50%;

    font-size: 18px;

    transition: transform 220ms ease;
}

.cs-primary-button:hover {
    background: #ffc936;

    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(253, 187, 25, 0.17);
}

.cs-primary-button:hover .cs-button-arrow {
    transform: rotate(-45deg);
}

.cs-text-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #d2d7d9;

    font-size: 14px;
    font-weight: 700;

    transition:
        color 180ms ease,
        gap 180ms ease;
}

.cs-text-button span {
    color: var(--cs-yellow);
}

.cs-text-button:hover {
    gap: 14px;
    color: var(--cs-white);
}

.cs-hero-statistics {
    margin-top: 55px;
    padding-top: 27px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-stat {
    display: grid;
    gap: 6px;
}

.cs-stat strong {
    color: var(--cs-white);

    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.cs-stat span {
    color: #747e82;

    font-size: 12px;
    line-height: 1.4;
}


/* Hero Showcase */

.cs-hero-showcase {
    position: relative;

    padding: clamp(25px, 3vw, 36px);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 25px;

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.32);

    backdrop-filter: blur(15px);
}

.cs-hero-showcase::before {
    content: "";

    position: absolute;
    top: -1px;
    right: 45px;

    width: 85px;
    height: 2px;

    background: var(--cs-yellow);

    box-shadow:
        0 0 22px rgba(253, 187, 25, 0.45);
}

.cs-showcase-top {
    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cs-showcase-top > span {
    color: var(--cs-white);

    font-size: 14px;
    font-weight: 750;
}

.cs-showcase-live {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #858f93;

    font-size: 12px;
    font-weight: 650;
}

.cs-showcase-live i {
    width: 7px;
    height: 7px;

    background: var(--cs-green);
    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(33, 180, 105, 0.1);

    animation:
        csLivePulse 1.8s ease-out infinite;
}

.cs-showcase-list {
    display: grid;
    gap: 10px;
}

.cs-showcase-item {
    min-height: 98px;
    padding: 16px;

    display: grid;
    grid-template-columns: 39px 1fr 34px;
    align-items: center;
    gap: 14px;

    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 14px;

    transition:
        background-color 200ms ease,
        border-color 200ms ease,
        transform 200ms ease;
}

.cs-showcase-item-active {
    background:
        linear-gradient(
            100deg,
            rgba(253, 187, 25, 0.11),
            rgba(253, 187, 25, 0.025)
        );

    border-color: rgba(253, 187, 25, 0.24);
}

.cs-showcase-item:hover {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(253, 187, 25, 0.27);

    transform: translateX(5px);
}

.cs-showcase-number {
    color: var(--cs-yellow);

    font-size: 12px;
    font-weight: 800;
}

.cs-showcase-info {
    min-width: 0;

    display: grid;
    gap: 4px;
}

.cs-showcase-info > span {
    color: #7f898d;

    font-size: 11px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cs-showcase-info strong {
    overflow: hidden;

    color: var(--cs-white);

    font-size: 16px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-showcase-info small {
    color: #899397;

    font-size: 12px;
    line-height: 1.4;
}

.cs-showcase-arrow {
    width: 33px;
    height: 33px;

    display: grid;
    place-items: center;

    color: var(--cs-yellow);
    background: rgba(253, 187, 25, 0.08);
    border-radius: 50%;

    font-size: 15px;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.cs-showcase-item:hover .cs-showcase-arrow {
    color: var(--cs-dark);
    background: var(--cs-yellow);

    transform: rotate(45deg);
}

.cs-showcase-footer {
    margin-top: 25px;
    padding-top: 22px;

    display: flex;
    align-items: center;
    gap: 17px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-showcase-avatars {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
}

.cs-showcase-avatars span {
    width: 34px;
    height: 34px;
    margin-left: -7px;

    display: grid;
    place-items: center;

    color: #1a1f21;
    background: var(--cs-yellow);
    border: 3px solid #202628;
    border-radius: 50%;

    font-size: 9px;
    font-weight: 800;
}

.cs-showcase-avatars span:first-child {
    margin-left: 0;
}

.cs-showcase-avatars span:nth-child(2) {
    color: var(--cs-white);
    background: #2354a1;
}

.cs-showcase-avatars span:nth-child(3) {
    color: var(--cs-white);
    background: #238452;
}

.cs-showcase-avatars span:last-child {
    color: var(--cs-white);
    background: #30373a;
}

.cs-showcase-footer p {
    margin: 0;

    color: #858f93;

    font-size: 12px;
    line-height: 1.55;
}

.cs-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 28px;

    display: flex;
    align-items: center;
    gap: 11px;

    color: #687276;

    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    transform: translateX(-50%);
}

.cs-scroll-indicator i {
    position: relative;

    width: 19px;
    height: 31px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
}

.cs-scroll-indicator i::after {
    content: "";

    position: absolute;
    top: 6px;
    left: 50%;

    width: 3px;
    height: 6px;

    background: var(--cs-yellow);
    border-radius: 999px;

    transform: translateX(-50%);

    animation:
        csScrollDot 1.8s ease-in-out infinite;
}


/* =========================================================
   PROJECT SECTION
   ========================================================= */

.cs-projects {
    position: relative;

    padding: clamp(85px, 9vw, 125px) 0;

    background:
        radial-gradient(
            circle at 100% 5%,
            rgba(253, 187, 25, 0.09),
            transparent 25%
        ),
        var(--cs-light);
}

.cs-section-heading {
    margin-bottom: 38px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(310px, 0.55fr);

    align-items: end;
    gap: 60px;
}

.cs-section-label {
    display: block;
    margin-bottom: 15px;

    color: #9a6b00;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.cs-section-heading h2 {
    max-width: 720px;
    margin: 0;

    color: var(--cs-text);

    font-size: clamp(39px, 4.8vw, 66px);
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.cs-section-heading h2 span {
    display: block;

    color: #a16f00;
}

.cs-section-heading p {
    margin: 0 0 5px;

    color: var(--cs-muted);

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   FILTER BUTTONS
   ========================================================= */

.cs-project-filters {
    margin-bottom: 38px;
    padding-bottom: 17px;

    display: flex;
    align-items: center;
    gap: 9px;

    overflow-x: auto;
    scrollbar-width: none;
}

.cs-project-filters::-webkit-scrollbar {
    display: none;
}

.cs-filter-button {
    flex: 0 0 auto;

    min-height: 43px;
    padding: 9px 15px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #565e61;
    background: transparent;
    border: 1px solid rgba(20, 25, 27, 0.14);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.cs-filter-button span {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;

    display: grid;
    place-items: center;

    color: #686f72;
    background: rgba(20, 25, 27, 0.07);
    border-radius: 999px;

    font-size: 10px;
}

.cs-filter-button:hover {
    color: var(--cs-text);
    border-color: rgba(20, 25, 27, 0.35);

    transform: translateY(-2px);
}

.cs-filter-button.is-active {
    color: var(--cs-dark);
    background: var(--cs-yellow);
    border-color: var(--cs-yellow);

    box-shadow:
        0 10px 25px rgba(199, 139, 0, 0.14);
}

.cs-filter-button.is-active span {
    color: var(--cs-white);
    background: var(--cs-dark);
}


/* =========================================================
   FEATURED PROJECT CARDS
   ========================================================= */

.cs-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.cs-project-card {
    min-width: 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: var(--cs-white);
    border: 1px solid var(--cs-border);
    border-radius: 22px;

    box-shadow:
        0 22px 55px rgba(24, 28, 30, 0.07);

    transition:
        transform 260ms ease,
        box-shadow 260ms ease,
        border-color 260ms ease;
}

.cs-project-card:hover {
    border-color: rgba(178, 124, 0, 0.24);

    transform: translateY(-7px);

    box-shadow:
        0 30px 70px rgba(24, 28, 30, 0.13);
}

.cs-project-visual {
    position: relative;
    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #dfe2e3;
}

.cs-project-visual::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(6, 9, 10, 0.25),
            transparent 45%
        );

    pointer-events: none;
}

.cs-project-visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;

    transition:
        transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cs-project-card:hover .cs-project-visual img {
    transform: scale(1.045);
}

.cs-project-browser-bar {
    position: absolute;
    z-index: 3;
    top: 11px;
    left: 50%;

    width: calc(100% - 22px);
    min-height: 32px;
    padding: 6px 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    color: #7b8386;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(20, 25, 27, 0.1);
    border-radius: 9px;

    backdrop-filter: blur(10px);
    transform: translateX(-50%);
}

.cs-project-browser-bar > div {
    display: flex;
    gap: 5px;
}

.cs-project-browser-bar > div span {
    width: 6px;
    height: 6px;

    background: #d8dcdd;
    border-radius: 50%;
}

.cs-project-browser-bar > div span:first-child {
    background: #f17368;
}

.cs-project-browser-bar > div span:nth-child(2) {
    background: #efbd48;
}

.cs-project-browser-bar > div span:last-child {
    background: #52bb74;
}

.cs-project-browser-bar small {
    overflow: hidden;

    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-project-featured-label {
    position: absolute;
    z-index: 4;
    left: 13px;
    bottom: 13px;

    padding: 8px 11px;

    color: #171b1d;
    background: var(--cs-yellow);
    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cs-project-live-button {
    position: absolute;
    z-index: 4;
    right: 13px;
    bottom: 13px;

    width: 41px;
    height: 41px;

    display: grid;
    place-items: center;

    color: var(--cs-white);
    background: var(--cs-dark);
    border-radius: 50%;

    font-size: 17px;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.cs-project-live-button:hover {
    color: var(--cs-dark);
    background: var(--cs-yellow);

    transform: rotate(45deg);
}

.cs-project-content {
    flex: 1;
    padding: 25px 23px 24px;

    display: flex;
    flex-direction: column;
}

.cs-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.cs-project-tags span {
    padding: 6px 9px;

    color: #7a5900;
    background: rgba(253, 187, 25, 0.12);
    border-radius: 999px;

    font-size: 10px;
    font-weight: 750;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cs-project-content h3,
.cs-small-project-content h3 {
    margin: 18px 0 0;

    color: var(--cs-text);

    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.cs-project-content > p {
    margin: 12px 0 0;

    color: var(--cs-muted);

    font-size: 14px;
    line-height: 1.7;
}

.cs-project-highlights {
    margin-top: 22px;
    padding: 16px 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--cs-border);
    border-bottom: 1px solid var(--cs-border);
}

.cs-project-highlights > div {
    min-width: 0;
    padding: 0 10px;

    display: grid;
    gap: 6px;

    border-right: 1px solid var(--cs-border);
}

.cs-project-highlights > div:first-child {
    padding-left: 0;
}

.cs-project-highlights > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.cs-project-highlights small {
    color: #969c9f;

    font-size: 10px;
}

.cs-project-highlights strong {
    color: #333a3d;

    font-size: 11px;
    line-height: 1.35;
}

.cs-project-actions {
    margin-top: auto;
    padding-top: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 17px;
}

.cs-case-study-button {
    padding: 0;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--cs-text);
    background: transparent;
    border: 0;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
}

.cs-case-study-button span {
    width: 29px;
    height: 29px;

    display: grid;
    place-items: center;

    color: var(--cs-dark);
    background: var(--cs-yellow);
    border-radius: 50%;

    transition: transform 180ms ease;
}

.cs-case-study-button:hover span {
    transform: translateX(4px);
}

.cs-live-link {
    color: #7a8083;

    font-size: 11px;
    font-weight: 650;

    transition: color 180ms ease;
}

.cs-live-link:hover {
    color: #9a6b00;
}


/* =========================================================
   MORE PROJECTS
   ========================================================= */

.cs-more-projects-heading {
    margin: 63px 0 25px;

    display: flex;
    align-items: center;
    gap: 18px;
}

.cs-more-projects-heading span {
    flex: 0 0 auto;

    color: #4e5659;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.cs-more-projects-heading div {
    width: 100%;
    height: 1px;

    background: rgba(20, 25, 27, 0.12);
}

.cs-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cs-small-project-card {
    min-width: 0;
    overflow: hidden;

    background: var(--cs-white);
    border: 1px solid var(--cs-border);
    border-radius: 18px;

    transition:
        transform 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease;
}

.cs-small-project-card:hover {
    border-color: rgba(178, 124, 0, 0.25);

    transform: translateY(-6px);

    box-shadow:
        0 24px 50px rgba(24, 28, 30, 0.1);
}

.cs-small-project-image {
    position: relative;
    overflow: hidden;

    aspect-ratio: 16 / 10;

    display: block;

    background: #dfe2e3;
}

.cs-small-project-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(7, 10, 11, 0.75),
            transparent 54%
        );

    opacity: 0;

    transition: opacity 230ms ease;
}

.cs-small-project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;

    transition:
        transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cs-small-project-image > span {
    position: absolute;
    z-index: 2;
    left: 20px;
    bottom: 17px;

    color: var(--cs-white);

    font-size: 13px;
    font-weight: 750;

    opacity: 0;
    transform: translateY(9px);

    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.cs-small-project-card:hover
.cs-small-project-image::after {
    opacity: 1;
}

.cs-small-project-card:hover
.cs-small-project-image img {
    transform: scale(1.055);
}

.cs-small-project-card:hover
.cs-small-project-image > span {
    opacity: 1;
    transform: translateY(0);
}

.cs-small-project-content {
    padding: 22px;
}

.cs-small-project-content h3 {
    font-size: 22px;
}

.cs-small-project-content > p {
    margin: 11px 0 0;

    color: var(--cs-muted);

    font-size: 14px;
    line-height: 1.65;
}

.cs-small-project-meta {
    margin-top: 19px;
    padding-top: 16px;

    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;

    border-top: 1px solid var(--cs-border);
}

.cs-small-project-meta span {
    position: relative;

    color: #777f82;

    font-size: 11px;
    font-weight: 650;
}

.cs-small-project-meta span:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 50%;
    right: -8px;

    width: 3px;
    height: 3px;

    background: var(--cs-yellow-dark);
    border-radius: 50%;

    transform: translateY(-50%);
}


/* =========================================================
   FILTER STATES
   ========================================================= */

.cs-project-card.cs-is-hidden,
.cs-small-project-card.cs-is-hidden {
    display: none;
}

.cs-filter-empty {
    padding: 55px 25px;

    display: none;

    text-align: center;
}

.cs-filter-empty.is-visible {
    display: block;
}

.cs-filter-empty strong {
    display: block;

    color: var(--cs-text);

    font-size: 22px;
}

.cs-filter-empty p {
    margin: 8px 0 0;

    color: var(--cs-muted);

    font-size: 14px;
}


/* =========================================================
   REVEAL ANIMATION
   Content stays visible before JavaScript loads
   ========================================================= */

.cs-page.cs-js-ready .cs-reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 750ms ease,
        transform 750ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cs-page.cs-js-ready .cs-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.cs-page a:focus-visible,
.cs-page button:focus-visible {
    outline: 3px solid rgba(253, 187, 25, 0.5);
    outline-offset: 4px;
}

.cs-projects {
    scroll-margin-top: 110px;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes csLivePulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(33, 180, 105, 0.32);
    }

    70% {
        box-shadow:
            0 0 0 8px rgba(33, 180, 105, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(33, 180, 105, 0);
    }

}

@keyframes csScrollDot {

    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 11px);
    }

}


/* =========================================================
   RESPONSIVE — SMALL DESKTOP / TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .cs-hero {
        min-height: auto;
    }

    .cs-hero-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(380px, 0.85fr);

        gap: 45px;
    }

    .cs-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cs-project-card:nth-child(3) {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);
    }

    .cs-project-card:nth-child(3)
    .cs-project-visual {
        height: 100%;
        min-height: 380px;

        aspect-ratio: auto;
    }

}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 850px) {

    .cs-hero {
        padding-top: 85px;
        padding-bottom: 100px;
    }

    .cs-hero-layout {
        grid-template-columns: 1fr;
    }

    .cs-hero-content {
        max-width: 720px;
    }

    .cs-hero-showcase {
        width: min(100%, 650px);
    }

    .cs-section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cs-section-heading p {
        max-width: 620px;
    }

    .cs-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .cs-container {
        width: min(100% - 28px, 1240px);
    }

    .cs-hero {
        padding: 70px 0 85px;
    }

    .cs-hero::before {
        display: none;
    }

    .cs-hero h1 {
        font-size: clamp(43px, 13vw, 59px);
    }

    .cs-hero-description {
        margin-top: 23px;

        font-size: 15px;
    }

    .cs-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 19px;
    }

    .cs-hero-statistics {
        margin-top: 43px;
        gap: 12px;
    }

    .cs-stat strong {
        font-size: 22px;
    }

    .cs-stat span {
        font-size: 11px;
    }

    .cs-hero-showcase {
        padding: 20px 15px;

        border-radius: 19px;
    }

    .cs-showcase-item {
        min-height: 92px;
        padding: 14px 12px;

        grid-template-columns: 30px 1fr 31px;
        gap: 10px;
    }

    .cs-showcase-info strong {
        font-size: 14px;
    }

    .cs-showcase-info small {
        font-size: 11px;
    }

    .cs-showcase-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .cs-scroll-indicator {
        display: none;
    }

    .cs-projects {
        padding: 75px 0;
    }

    .cs-section-heading {
        margin-bottom: 28px;
    }

    .cs-section-heading h2 {
        font-size: clamp(37px, 11vw, 49px);
    }

    .cs-project-filters {
        width: calc(100% + 14px);
        margin-bottom: 28px;
    }

    .cs-featured-grid,
    .cs-project-grid {
        grid-template-columns: 1fr;
    }

    .cs-project-card:nth-child(3) {
        grid-column: auto;

        display: flex;
    }

    .cs-project-card:nth-child(3)
    .cs-project-visual {
        height: auto;
        min-height: 0;

        aspect-ratio: 16 / 10;
    }

    .cs-project-content {
        padding: 22px 18px;
    }

    .cs-project-highlights {
        gap: 0;
    }

    .cs-project-highlights > div {
        padding: 0 7px;
    }

    .cs-project-highlights strong {
        font-size: 10px;
    }

    .cs-project-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .cs-more-projects-heading {
        margin-top: 48px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .cs-eyebrow {
        font-size: 10px;
    }

    .cs-hero-statistics {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-stat:last-child {
        grid-column: 1 / -1;
    }

    .cs-project-browser-bar small {
        max-width: 170px;
    }

    .cs-project-featured-label {
        max-width: calc(100% - 75px);

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cs-page *,
    .cs-page *::before,
    .cs-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   CASE STUDY MODAL
   ========================================================= */

.cs-case-modal {
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
    max-height: calc(100dvh - 32px);
    padding: 0;

    color: #171b1d;
    background: #f5f3ed;
    border: 0;
    border-radius: 25px;

    box-shadow:
        0 45px 120px rgba(0, 0, 0, 0.42);

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;
}

.cs-case-modal:not([open]) {
    display: none;
}

.cs-case-modal[open] {
    animation:
        csModalFadeIn 250ms ease both;
}

.cs-case-modal::backdrop {
    background: rgba(5, 8, 9, 0.82);

    backdrop-filter: blur(8px);

    animation:
        csBackdropFadeIn 250ms ease both;
}

.cs-case-modal-shell {
    position: relative;

    min-height: 100%;
}


/* Close Button */

.cs-case-modal-close {
    position: sticky;
    z-index: 20;
    top: 18px;

    width: 46px;
    height: 46px;
    margin: 18px 18px -64px auto;

    display: grid;
    place-items: center;

    color: #111517;
    background: #fdbb19;
    border: 0;
    border-radius: 50%;

    cursor: pointer;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22);

    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.cs-case-modal-close span {
    position: absolute;

    width: 18px;
    height: 2px;

    background: currentColor;
    border-radius: 999px;
}

.cs-case-modal-close span:first-child {
    transform: rotate(45deg);
}

.cs-case-modal-close span:last-child {
    transform: rotate(-45deg);
}

.cs-case-modal-close:hover {
    background: #ffca3b;

    transform: rotate(90deg);
}

.cs-case-modal-close:focus-visible {
    outline: 3px solid rgba(253, 187, 25, 0.45);
    outline-offset: 4px;
}


/* Modal Header */

.cs-case-modal-header {
    position: relative;
    overflow: hidden;

    padding:
        clamp(65px, 8vw, 95px)
        clamp(26px, 6vw, 75px)
        clamp(45px, 6vw, 70px);

    color: #ffffff;
    background:
        radial-gradient(
            circle at 95% 15%,
            rgba(253, 187, 25, 0.15),
            transparent 30%
        ),
        #0c1012;
}

.cs-case-modal-header::before {
    content: "CASE";

    position: absolute;
    right: -20px;
    bottom: -26px;

    color: transparent;

    font-size: clamp(120px, 19vw, 235px);
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -0.08em;

    -webkit-text-stroke:
        1px rgba(255, 255, 255, 0.045);

    pointer-events: none;
}

.cs-case-modal-topline {
    position: relative;
    z-index: 1;

    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cs-case-modal-category {
    width: fit-content;
    padding: 8px 11px;

    color: #171b1d;
    background: #fdbb19;
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cs-case-modal-number {
    color: #737d81;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cs-case-modal-header h2 {
    position: relative;
    z-index: 1;

    max-width: 800px;
    margin: 0;

    color: #ffffff;

    font-size: clamp(43px, 6vw, 76px);
    font-weight: 750;
    line-height: 0.97;
    letter-spacing: -0.06em;
}

.cs-case-modal-header > p {
    position: relative;
    z-index: 1;

    max-width: 700px;
    margin: 25px 0 0;

    color: #9ba4a8;

    font-size: 16px;
    line-height: 1.75;
}


/* Modal Body */

.cs-case-modal-body {
    padding:
        clamp(35px, 6vw, 70px)
        clamp(22px, 6vw, 75px);
}


/* Project Overview */

.cs-case-overview {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(310px, 0.65fr);

    align-items: start;
    gap: clamp(27px, 5vw, 60px);
}

.cs-case-main-preview {
    position: relative;
    overflow: hidden;

    min-height: 360px;
    aspect-ratio: 16 / 10;

    background: #dfe3e4;
    border: 1px solid rgba(20, 25, 27, 0.12);
    border-radius: 18px;

    box-shadow:
        0 24px 55px rgba(24, 28, 30, 0.11);
}

.cs-case-main-preview img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;
}

.cs-case-preview-bar {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 50%;

    width: calc(100% - 24px);
    min-height: 36px;
    padding: 7px 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    color: #777f82;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(20, 25, 27, 0.1);
    border-radius: 9px;

    font-size: 11px;

    backdrop-filter: blur(10px);
    transform: translateX(-50%);
}

.cs-case-preview-dots {
    display: flex;
    gap: 5px;
}

.cs-case-preview-dots i {
    width: 7px;
    height: 7px;

    background: #d2d6d7;
    border-radius: 50%;
}

.cs-case-preview-dots i:first-child {
    background: #f17368;
}

.cs-case-preview-dots i:nth-child(2) {
    background: #efbd48;
}

.cs-case-preview-dots i:last-child {
    background: #52bb74;
}


/* Project Facts */

.cs-case-facts {
    display: grid;
    gap: 12px;
}

.cs-case-fact {
    padding: 18px;

    display: grid;
    gap: 6px;

    background: #ffffff;
    border: 1px solid rgba(20, 25, 27, 0.1);
    border-radius: 13px;
}

.cs-case-fact span {
    color: #90979a;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cs-case-fact strong {
    color: #22282a;

    font-size: 16px;
    line-height: 1.4;
}

.cs-case-fact-highlight {
    color: #171b1d;
    background:
        linear-gradient(
            135deg,
            #fdbb19,
            #ffd157
        );

    border-color: transparent;
}

.cs-case-fact-highlight span {
    color: #755200;
}


/* Challenge and Solution */

.cs-case-story-grid {
    margin-top: clamp(45px, 7vw, 80px);

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.cs-case-story-block {
    padding: clamp(23px, 4vw, 37px);

    background: #ffffff;
    border: 1px solid rgba(20, 25, 27, 0.1);
    border-radius: 17px;
}

.cs-case-story-block-dark {
    color: #ffffff;
    background: #121719;
    border-color: #121719;
}

.cs-case-story-label {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #936800;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cs-case-story-label i {
    width: 7px;
    height: 7px;

    background: #fdbb19;
    border-radius: 50%;
}

.cs-case-story-block h3 {
    margin: 17px 0 0;

    color: #1d2224;

    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.cs-case-story-block-dark h3 {
    color: #ffffff;
}

.cs-case-story-block p {
    margin: 16px 0 0;

    color: #70787b;

    font-size: 15px;
    line-height: 1.75;
}

.cs-case-story-block-dark p {
    color: #9aa3a6;
}


/* Feature List */

.cs-case-feature-list {
    margin: 22px 0 0;
    padding: 0;

    display: grid;
    gap: 11px;

    list-style: none;
}

.cs-case-feature-list li {
    position: relative;

    min-height: 25px;
    padding-left: 34px;

    color: #4f575a;

    font-size: 14px;
    line-height: 1.55;
}

.cs-case-feature-list li::before {
    content: "✓";

    position: absolute;
    top: 0;
    left: 0;

    width: 23px;
    height: 23px;

    display: grid;
    place-items: center;

    color: #171b1d;
    background: #fdbb19;
    border-radius: 50%;

    font-size: 11px;
    font-weight: 900;
}


/* Result Panel */

.cs-case-result {
    margin-top: 22px;
    padding: clamp(25px, 4vw, 40px);

    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(280px, 1.15fr);

    align-items: center;
    gap: 35px;

    color: #ffffff;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(253, 187, 25, 0.12),
            transparent 35%
        ),
        #121719;

    border-radius: 18px;
}

.cs-case-result-heading span {
    color: #fdbb19;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cs-case-result-heading h3 {
    margin: 12px 0 0;

    color: #ffffff;

    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.cs-case-result-content p {
    margin: 0;

    color: #a1aaad;

    font-size: 15px;
    line-height: 1.75;
}

.cs-case-result-note {
    display: block;
    margin-top: 13px;

    color: #707a7e;

    font-size: 11px;
}


/* Video Feedback */

.cs-case-video-proof {
    margin-top: 22px;
    padding: clamp(24px, 4vw, 38px);

    display: grid;
    grid-template-columns: 62px 1fr auto;
    align-items: center;
    gap: 20px;

    background:
        linear-gradient(
            110deg,
            rgba(24, 119, 242, 0.1),
            rgba(255, 255, 255, 0.72)
        );

    border: 1px solid rgba(24, 119, 242, 0.14);
    border-radius: 17px;
}

.cs-case-video-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    color: #ffffff;
    background: #1877f2;
    border-radius: 50%;

    font-size: 19px;

    box-shadow:
        0 13px 30px rgba(24, 119, 242, 0.2);
}

.cs-case-video-content span {
    color: #2361a8;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cs-case-video-content h3 {
    margin: 7px 0 0;

    color: #202628;

    font-size: 22px;
    line-height: 1.3;
}

.cs-case-video-content p {
    margin: 7px 0 0;

    color: #71797c;

    font-size: 13px;
    line-height: 1.6;
}

.cs-case-video-link {
    min-height: 47px;
    padding: 11px 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #ffffff;
    background: #1877f2;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 750;

    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.cs-case-video-link:hover {
    background: #0d63d5;

    transform: translateY(-2px);
}


/* =========================================================
   GOPAL BEFORE / AFTER COMPARISON
   ========================================================= */

.cs-before-after {
    margin-bottom: clamp(45px, 7vw, 75px);
}

.cs-before-after-heading {
    margin-bottom: 22px;

    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
}

.cs-before-after-heading span {
    color: #956900;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cs-before-after-heading h3 {
    margin: 10px 0 0;

    color: #1c2224;

    font-size: clamp(28px, 4vw, 43px);
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.cs-before-after-heading p {
    max-width: 390px;
    margin: 0;

    color: #757d80;

    font-size: 13px;
    line-height: 1.65;
}

.cs-before-after-stage {
    --cs-compare-position: 50%;

    position: relative;
    overflow: hidden;

    aspect-ratio: 16 / 9;

    background: #dce0e1;
    border: 1px solid rgba(20, 25, 27, 0.13);
    border-radius: 18px;

    box-shadow:
        0 25px 60px rgba(24, 28, 30, 0.12);
}

.cs-before-after-stage img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;
}

.cs-before-after-stage
.cs-before-after-current {
    clip-path:
        inset(
            0
            calc(100% - var(--cs-compare-position))
            0
            0
        );
}

.cs-before-after-label {
    position: absolute;
    z-index: 4;
    top: 17px;

    padding: 8px 11px;

    color: #ffffff;
    background: rgba(10, 14, 15, 0.82);
    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    backdrop-filter: blur(8px);
}

.cs-before-after-label-before {
    right: 17px;
}

.cs-before-after-label-after {
    left: 17px;

    color: #171b1d;
    background: #fdbb19;
}

.cs-before-after-divider {
    position: absolute;
    z-index: 5;
    top: 0;
    bottom: 0;
    left: var(--cs-compare-position);

    width: 3px;

    background: #ffffff;

    transform: translateX(-50%);

    pointer-events: none;

    box-shadow:
        0 0 18px rgba(0, 0, 0, 0.26);
}

.cs-before-after-divider::after {
    content: "↔";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: #171b1d;
    background: #fdbb19;
    border: 4px solid #ffffff;
    border-radius: 50%;

    font-size: 16px;
    font-weight: 800;

    transform: translate(-50%, -50%);
}

.cs-before-after-range {
    position: absolute;
    z-index: 7;
    inset: 0;

    width: 100%;
    height: 100%;
    margin: 0;

    opacity: 0;
    cursor: ew-resize;
}


/* =========================================================
   MODAL FOOTER
   ========================================================= */

.cs-case-modal-footer {
    padding:
        clamp(27px, 4vw, 43px)
        clamp(22px, 6vw, 75px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    color: #ffffff;
    background: #0c1012;
}

.cs-case-modal-footer > div:first-child {
    display: grid;
    gap: 6px;
}

.cs-case-modal-footer > div:first-child span {
    color: #818b8f;

    font-size: 12px;
}

.cs-case-modal-footer > div:first-child strong {
    color: #ffffff;

    font-size: 17px;
    line-height: 1.4;
}

.cs-case-modal-footer-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cs-case-modal-live,
.cs-case-modal-contact {
    min-height: 48px;
    padding: 10px 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 750;

    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.cs-case-modal-live {
    color: #dfe4e5;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cs-case-modal-contact {
    color: #171b1d;
    background: #fdbb19;
}

.cs-case-modal-live:hover,
.cs-case-modal-contact:hover {
    transform: translateY(-2px);
}

.cs-case-modal-live:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
}

.cs-case-modal-contact:hover {
    background: #ffca3b;
}


/* Stop Background Scroll */

body.cs-modal-open {
    overflow: hidden;
}


/* =========================================================
   MODAL ANIMATION
   ========================================================= */

@keyframes csModalFadeIn {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

@keyframes csBackdropFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* =========================================================
   MODAL TABLET
   ========================================================= */

@media (max-width: 850px) {

    .cs-case-overview {
        grid-template-columns: 1fr;
    }

    .cs-case-facts {
        grid-template-columns: repeat(3, 1fr);
    }

    .cs-case-result {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cs-case-video-proof {
        grid-template-columns: 55px 1fr;
    }

    .cs-case-video-link {
        grid-column: 1 / -1;
    }

    .cs-case-modal-footer {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   MODAL MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .cs-case-modal {
        width: 100%;
        max-width: none;
        max-height: 100dvh;
        margin: 0;

        border-radius: 0;
    }

    .cs-case-modal-close {
        top: 13px;

        width: 43px;
        height: 43px;
        margin:
            13px
            13px
            -56px
            auto;
    }

    .cs-case-modal-header {
        padding:
            72px
            20px
            43px;
    }

    .cs-case-modal-header::before {
        display: none;
    }

    .cs-case-modal-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .cs-case-modal-header h2 {
        font-size: clamp(40px, 12vw, 54px);
    }

    .cs-case-modal-header > p {
        font-size: 15px;
    }

    .cs-case-main-preview {
        min-height: 250px;
    }

    .cs-case-facts {
        grid-template-columns: 1fr;
    }

    .cs-case-story-grid {
        grid-template-columns: 1fr;
    }

    .cs-before-after-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cs-before-after-stage {
        aspect-ratio: 4 / 3;
    }

    .cs-before-after-divider::after {
        width: 43px;
        height: 43px;
    }

    .cs-case-video-proof {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }

    .cs-case-video-icon {
        width: 50px;
        height: 50px;
    }

    .cs-case-modal-footer-actions {
        width: 100%;
    }

    .cs-case-modal-live,
    .cs-case-modal-contact {
        width: 100%;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cs-case-modal,
    .cs-case-modal::backdrop {
        animation: none;
    }

}

/* =========================================================
   CLIENT PROOF SECTION
   ========================================================= */

.cs-client-proof {
    position: relative;

    padding: 0 0 clamp(85px, 9vw, 125px);

    background: #f5f3ed;
}

.cs-proof-layout {
    overflow: hidden;

    display: grid;
    grid-template-columns:
        minmax(0, 0.87fr)
        minmax(430px, 1.13fr);

    align-items: center;
    gap: clamp(38px, 7vw, 90px);

    padding: clamp(30px, 5vw, 65px);

    background:
        radial-gradient(
            circle at 0% 100%,
            rgba(253, 187, 25, 0.09),
            transparent 30%
        ),
        #ffffff;

    border: 1px solid rgba(20, 25, 27, 0.1);
    border-radius: 25px;

    box-shadow:
        0 28px 70px rgba(24, 28, 30, 0.08);
}

.cs-proof-content h2 {
    max-width: 570px;
    margin: 0;

    color: #171b1d;

    font-size: clamp(37px, 4.6vw, 59px);
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.cs-proof-content h2 span {
    display: block;

    color: #a06e00;
}

.cs-proof-rating {
    margin-top: 28px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.cs-proof-rating > div {
    color: #f4b400;

    font-size: 19px;
    letter-spacing: 2px;
}

.cs-proof-rating > span {
    color: #697174;

    font-size: 12px;
    font-weight: 750;
}

.cs-proof-content blockquote {
    position: relative;

    margin: 25px 0 0;
    padding: 0 0 0 21px;

    color: #343b3e;

    font-size: clamp(17px, 2vw, 21px);
    font-weight: 600;
    line-height: 1.65;

    border-left: 3px solid #fdbb19;
}

.cs-proof-author {
    margin-top: 25px;

    display: flex;
    align-items: center;
    gap: 13px;
}

.cs-proof-author-avatar {
    flex: 0 0 47px;

    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    color: #171b1d;
    background: #fdbb19;
    border-radius: 50%;

    font-size: 12px;
    font-weight: 850;
}

.cs-proof-author > div:last-child {
    display: grid;
    gap: 4px;
}

.cs-proof-author strong {
    color: #252b2d;

    font-size: 14px;
}

.cs-proof-author span {
    color: #858d90;

    font-size: 11px;
}

.cs-proof-disclaimer {
    max-width: 480px;
    margin: 20px 0 0;

    color: #989ea1;

    font-size: 11px;
    line-height: 1.6;
}


/* Original Review Screenshot */

.cs-proof-screenshot {
    min-width: 0;
    margin: 0;
}

.cs-proof-screenshot > a {
    position: relative;
    overflow: hidden;

    min-height: 280px;

    display: block;

    background: #202329;
    border: 8px solid #161b1d;
    border-radius: 19px;

    box-shadow:
        0 25px 65px rgba(14, 18, 20, 0.21);

    transition:
        transform 240ms ease,
        box-shadow 240ms ease;
}

.cs-proof-screenshot img {
    width: 100%;
    min-height: 280px;

    object-fit: contain;

    background: #202329;

    transition:
        transform 500ms ease;
}

.cs-proof-screenshot > a::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 11, 12, 0.73),
            transparent 45%
        );

    opacity: 0;

    transition: opacity 220ms ease;
}

.cs-proof-open {
    position: absolute;
    z-index: 3;
    right: 17px;
    bottom: 17px;

    display: flex;
    align-items: center;
    gap: 10px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 750;

    opacity: 0;
    transform: translateY(8px);

    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.cs-proof-open i {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    color: #171b1d;
    background: #fdbb19;
    border-radius: 50%;

    font-style: normal;
}

.cs-proof-screenshot > a:hover {
    transform: translateY(-5px);

    box-shadow:
        0 32px 75px rgba(14, 18, 20, 0.28);
}

.cs-proof-screenshot > a:hover::after {
    opacity: 1;
}

.cs-proof-screenshot > a:hover img {
    transform: scale(1.025);
}

.cs-proof-screenshot > a:hover .cs-proof-open {
    opacity: 1;
    transform: translateY(0);
}

.cs-proof-screenshot figcaption {
    margin-top: 12px;

    color: #8b9295;

    font-size: 11px;
    text-align: center;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.cs-final-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    margin-top: 27px;
    padding: clamp(35px, 5vw, 60px);

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;
    gap: 45px;

    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(253, 187, 25, 0.16),
            transparent 31%
        ),
        #0c1012;

    border-radius: 25px;
}

.cs-final-cta::before {
    content: "";

    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: #fdbb19;
}

.cs-final-cta-decoration {
    position: absolute;
    z-index: -1;
    right: -18px;
    bottom: -23px;

    color: transparent;

    font-size: clamp(90px, 14vw, 180px);
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -0.07em;

    -webkit-text-stroke:
        1px rgba(255, 255, 255, 0.045);

    pointer-events: none;
}

.cs-final-cta-content {
    max-width: 690px;
}

.cs-final-cta-content > span {
    color: #fdbb19;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cs-final-cta-content h2 {
    margin: 13px 0 0;

    color: #ffffff;

    font-size: clamp(33px, 4.4vw, 55px);
    font-weight: 750;
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.cs-final-cta-content h2 em {
    display: block;

    color: #fdbb19;

    font-style: normal;
}

.cs-final-cta-content p {
    max-width: 620px;
    margin: 20px 0 0;

    color: #929ca0;

    font-size: 14px;
    line-height: 1.7;
}

.cs-final-cta-actions {
    min-width: 220px;

    display: grid;
    gap: 11px;
}

.cs-final-primary-button {
    min-height: 58px;
    padding: 7px 8px 7px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: #171b1d;
    background: #fdbb19;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;

    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.cs-final-primary-button i {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    color: #ffffff;
    background: #111517;
    border-radius: 50%;

    font-size: 16px;
    font-style: normal;

    transition: transform 180ms ease;
}

.cs-final-primary-button:hover {
    background: #ffca3b;

    transform: translateY(-2px);
}

.cs-final-primary-button:hover i {
    transform: rotate(45deg);
}

.cs-final-whatsapp-button {
    min-height: 48px;
    padding: 10px 17px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    color: #cbd1d3;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.cs-final-whatsapp-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.11);
}


/* =========================================================
   PROOF SECTION RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .cs-proof-layout {
        grid-template-columns: 1fr;
    }

    .cs-proof-screenshot {
        width: min(100%, 680px);
    }

    .cs-final-cta {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cs-final-cta-actions {
        width: min(100%, 360px);
    }

}


@media (max-width: 650px) {

    .cs-proof-layout {
        padding: 27px 18px;

        border-radius: 19px;
    }

    .cs-proof-content blockquote {
        font-size: 16px;
    }

    .cs-proof-screenshot > a,
    .cs-proof-screenshot img {
        min-height: 210px;
    }

    .cs-proof-open {
        opacity: 1;
        transform: none;
    }

    .cs-proof-screenshot > a::after {
        opacity: 0.55;
    }

    .cs-final-cta {
        padding: 34px 20px;

        border-radius: 19px;
    }

    .cs-final-cta-decoration {
        display: none;
    }

    .cs-final-cta-actions {
        width: 100%;
    }

}