/* ==================================================
   MALLESHWARAM BUSINESS SOLUTIONS — HERO
   Label, h1 and description use common.css
   (.cs-eyebrow, .cs-hero-title, .cs-subtext); buttons use buttons.css.
================================================== */

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

    background: var(--cs-grad-hero);
    padding-block: clamp(55px, 6vw, 90px);
}

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

.cs-business-hero > .container {
    position: relative;
    z-index: 2;
}

/* Subtle background grid */
.cs-business-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image:
        linear-gradient(rgba(8, 112, 175, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 112, 175, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}

/* ---------- right image ---------- */
.cs-business-hero__media {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 0;

    width: 48%;
    overflow: hidden;
    background: #dceef6;
}

.cs-business-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* blend the image into the content side */
.cs-business-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            #f1fbfe 0%,
            rgba(241, 251, 254, 0.85) 8%,
            rgba(241, 251, 254, 0.25) 27%,
            transparent 48%
        ),
        linear-gradient(0deg, rgba(8, 112, 175, 0.08), transparent 55%);
    pointer-events: none;
}

/* ---------- content ---------- */
.cs-business-hero__content {
    position: relative;
    width: 55%;
    max-width: 720px;
    padding-right: 30px;
}

.cs-business-hero__content .cs-hero-title {
    margin-bottom: 18px;
}

.cs-business-hero__subtitle {
    margin: 0;
    color: var(--cs-c-title);
    font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3rem);
    font-weight: 600;
    line-height: 1.55;
}

.cs-business-hero__subtitle strong {
    color: var(--cs-c-blue);
    font-weight: 600;
}

.cs-business-hero__content .cs-subtext {
    max-width: 650px;
}

.cs-business-hero__tagline {
    margin: 20px 0 0;
    padding-left: 14px;
    border-left: 3px solid var(--cs-c-cyan);
    color: var(--cs-c-title);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.6;
}

.cs-business-hero__tagline > span {
    color: var(--cs-c-blue);
}

/* ---------- small desktop ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .cs-business-hero__content {
        width: 60%;
        padding-right: 22px;
    }

    .cs-business-hero__media {
        width: 44%;
    }
}

/* ---------- tablet & phone: content above image, centred ---------- */
@media (max-width: 991.98px) {
    .cs-business-hero {
        display: flex;
        flex-direction: column;
        padding: 50px 0 0;
    }

    .cs-business-hero > .container {
        order: 1;
    }

    .cs-business-hero__content {
        width: 100%;
        max-width: 760px;
        padding-right: 0;
    }

    .cs-business-hero__tagline {
        display: inline-block;
        padding: 10px 0 0;
        border-left: 0;
        border-top: 3px solid var(--cs-c-cyan);
    }

    .cs-business-hero__media {
        position: relative;
        inset: auto;
        order: 2;

        width: 100%;
        aspect-ratio: 16 / 8;
        margin-top: 36px;
    }

    .cs-business-hero__media::after {
        background: linear-gradient(
            180deg,
            #f1fbfe 0%,
            rgba(241, 251, 254, 0.6) 8%,
            transparent 35%
        );
    }
}

@media (max-width: 575.98px) {
    .cs-business-hero {
        padding-top: 36px;
    }

    .cs-business-hero__subtitle {
        font-size: 1rem;
    }

    .cs-business-hero__tagline {
        font-size: 0.9375rem;
    }

    .cs-business-hero__media {
        aspect-ratio: 4 / 3;
        margin-top: 28px;
    }
}

/* ==================================================
   BUSINESS SOLUTIONS — OVERLAPPING IMAGE CARDS
================================================== */

.cs-business-overlap {
    --overlap-blue: var(--cs-c-blue, #0870af);
    --overlap-title: var(--cs-c-title, #142039);
    --overlap-text: var(--cs-c-text, #526674);

    padding-block: var(--cs-section-y, 80px);
    background: #ffffff;
    font-family: inherit;
}

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

/* ==================================================
   OVERLAPPING LAYOUT
   Shared track overlaps 10% of the image width.
================================================== */

.cs-business-overlap__list {
    display: grid;
    gap: 55px;
}

.cs-overlap-card {
    display: grid;
    grid-template-columns: 40% 5% 50%;
    align-items: center;
    isolation: isolate;
    min-width: 0;
}

/* IMAGE */

.cs-overlap-card__image {
    position: relative;
    grid-column: 1 / 3;
    grid-row: 1;

    min-width: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;

    border-radius: 25px;
    background: #e7f0f6;
}

.cs-overlap-card__image img {
    display: block;
    width: 100%;
    height: 100%;

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

/* CONTENT PANEL */

.cs-overlap-card__content {
    position: relative;
    z-index: 1;

    grid-column: 2 / 4;
    grid-row: 1;

    min-width: 0;
    margin-block: 26px;
    padding: clamp(26px, 3vw, 42px);

    border: 1px solid #d6eaf4;
    border-radius: 24px;

    background: linear-gradient(
        160deg,
        #fcfdfe 0%,
        #eef9fd 50%,
        #dff6fc 100%
    );

    box-shadow:
        inset 0 1px 0 #ffffff,
        0 20px 40px -27px rgba(16, 65, 98, 0.32);
}

/* REVERSED CARDS */

.cs-overlap-card--reverse {
    grid-template-columns: 50% 5% 45%;
}

.cs-overlap-card--reverse .cs-overlap-card__image {
    grid-column: 2 / 4;
}

.cs-overlap-card--reverse .cs-overlap-card__content {
    grid-column: 1 / 3;
}

/* ==================================================
   CONTENT HEADING
================================================== */

.cs-overlap-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 20px;
}

.cs-overlap-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 49px;

    width: 49px;
    height: 49px;

    border: 1px solid #d5e9f5;
    border-radius: 14px;

    background: #ffffff;
    color: var(--overlap-blue);
    font-size: 23px;

    box-shadow: 0 5px 12px rgba(8, 112, 175, 0.045);
}

.cs-overlap-card__number {
    color: #c5e0ed;
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
}

.cs-business-overlap .cs-overlap-card h3 {
    margin: 0 0 15px;

    color: var(--overlap-title);
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.cs-overlap-card h3 > span {
    color: var(--overlap-blue);
}

.cs-overlap-card__content > p {
    margin: 0 0 15px;

    color: var(--overlap-text);
    font-size: 16px;
    line-height: 1.7;
}

/* ==================================================
   TWO-COLUMN SERVICE LIST
================================================== */

.cs-overlap-card__services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 20px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-overlap-card__services li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    min-width: 0;

    color: #354f64;
    font-size: 15px;
    line-height: 1.65;
}

.cs-overlap-card__services li > i {
    display: grid;
    place-items: center;
    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border: 1px solid #d8eaf5;
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.85);
    color: var(--overlap-blue);
    font-size: 12px;
}

.cs-overlap-card__services li > span {
    min-width: 0;
    padding-top: 3px;
    overflow-wrap: break-word;
}

/* ==================================================
   CLOSING STATEMENT
================================================== */

.cs-business-overlap__closing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    max-width: 950px;
    margin: 40px auto 0;
    padding: 23px 27px;

    border: 1px solid #d8eaf4;
    border-radius: 18px;

    background: linear-gradient(
        160deg,
        #fcfdfe 0%,
        #eef9fd 50%,
        #dff6fc 100%
    );
}

.cs-business-overlap__closing > span {
    display: grid;
    place-items: center;
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border: 1px solid #dcebf5;
    border-radius: 12px;

    background: #ffffff;
    color: var(--overlap-blue);
    font-size: 19px;
}

.cs-business-overlap__closing p {
    margin: 0;

    color: var(--overlap-text);
    font-size: 14px;
    line-height: 1.8;
}

.cs-business-overlap__closing strong {
    color: var(--overlap-blue);
    font-weight: 600;
}

/* ==================================================
   SMALL DESKTOP
================================================== */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .cs-overlap-card__content {
        padding: 27px;
    }

    .cs-overlap-card__services {
        gap: 15px;
    }

    .cs-overlap-card__services li {
        gap: 8px;
    }
}

/* ==================================================
   TABLET — IMAGE FIRST WITH VERTICAL OVERLAP
================================================== */

@media (max-width: 991.98px) {
    .cs-business-overlap__list {
        gap: 35px;
    }

    .cs-overlap-card,
    .cs-overlap-card--reverse {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .cs-overlap-card__image {
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 22px;
    }

    .cs-overlap-card__content,
    .cs-overlap-card--reverse .cs-overlap-card__content {
        margin: -35px 22px 0;
        padding: 30px;
        border-radius: 20px;
    }
}

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

@media (max-width: 575.98px) {
    .cs-business-overlap {
        padding-block: 45px;
    }

    .cs-overlap-card__image {
        aspect-ratio: 4 / 3;
        border-radius: 18px;
    }

    .cs-overlap-card__content,
    .cs-overlap-card--reverse .cs-overlap-card__content {
        margin: -24px 10px 0;
        padding: 23px 19px;
        border-radius: 17px;
    }

    .cs-overlap-card__top {
        margin-bottom: 18px;
    }

    .cs-overlap-card__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 20px;
    }

    .cs-overlap-card__number {
        font-size: 34px;
    }

    .cs-business-overlap .cs-overlap-card h3 {
        font-size: 27px;
    }

    .cs-overlap-card__content > p {
        margin-bottom: 15px;
        font-size: 14px;
    }

    .cs-overlap-card__services {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .cs-overlap-card__services li {
        font-size: 13px;
    }

    .cs-business-overlap__closing {
        align-items: flex-start;
        gap: 12px;

        margin-top: 28px;
        padding: 19px;
        border-radius: 15px;
    }

    .cs-business-overlap__closing > span {
        flex-basis: 35px;
        width: 35px;
        height: 35px;
        border-radius: 10px;
        font-size: 16px;
    }

    .cs-business-overlap__closing p {
        font-size: 13px;
    }
}


/* ==================================================
   MALLESHWARAM ABOUT SECTION
================================================== */

.cs-area-about {
    --about-blue: var(--cs-c-blue, #0870af);
    --about-title: var(--cs-c-title, #142039);
    --about-text: var(--cs-c-text, #526674);
    --about-sticky-top: 120px;

    padding-block: var(--cs-section-y, 80px);
    background: #ffffff;

    font-family: inherit;
    overflow: visible;
}

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

/* ==================================================
   LEFT IMAGE
================================================== */

.cs-area-about__image-column {
    align-self: stretch;
}

.cs-area-about__sticky {
    position: sticky;
    top: var(--about-sticky-top);
    padding: 0 14px 14px 0;
}

/* Offset light blue frame */

.cs-area-about__sticky::before {
    content: "";
    position: absolute;
    inset: 24px 0 0 24px;

    border: 1px solid #d8edf7;
    border-radius: 25px;

    background: linear-gradient(
        160deg,
        #fcfdfe 0%,
        #eef9fd 50%,
        #dff6fc 100%
    );

    pointer-events: none;
}

.cs-area-about__image {
    position: relative;
    aspect-ratio: 5 / 5;
    overflow: hidden;

    border-radius: 22px;
    background: #e7f1f7;

    box-shadow: 0 20px 35px -25px rgba(20, 58, 84, 0.3);
}

.cs-area-about__image img {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

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

/* ==================================================
   RIGHT CONTENT
================================================== */

.cs-area-about__content {
    padding-block: 5px;
}

.cs-area-about__description p {
    margin: 0;

    color: var(--about-text);
    font-size: 15px;
    line-height: 1.85;
}

.cs-area-about__description p + p {
    margin-top: 18px;
}

/* Emphasised transition */

.cs-area-about__description .cs-area-about__transition {
    margin-block: 23px 18px;
    padding-left: 14px;

    border-left: 2px solid #159dd3;

    color: var(--about-title);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.65;
}

/* ==================================================
   CLOSING STATEMENT
================================================== */

.cs-area-about__statement {
    position: relative;
    margin-top: 26px;
    padding: 23px 25px;

    border: 1px solid #d7eaf4;
    border-radius: 16px;

    background: linear-gradient(
        160deg,
        #fcfdfe 0%,
        #eef9fd 50%,
        #dff6fc 100%
    );
}

.cs-area-about__statement p {
    margin: 0;

    color: var(--about-blue);
    font-size: 15px;
    line-height: 1.8;
}

.cs-area-about__statement strong {
    font-weight: 600;
}

/* Keep image comfortable within desktop viewport */

@media (min-width: 992px) {
    .cs-area-about__image {
        max-height: max(
            260px,
            calc(100dvh - var(--about-sticky-top) - 45px)
        );
    }
}

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

@media (max-width: 991.98px) {
    .cs-area-about__sticky {
        position: relative;
        top: auto;
    }

    .cs-area-about__image {
        aspect-ratio: 16 / 9;
    }

    .cs-area-about__content {
        padding-top: 5px;
    }
}

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

@media (max-width: 575.98px) {
    .cs-area-about {
        padding-block: 45px;
    }

    .cs-area-about__sticky {
        padding-right: 10px;
        padding-bottom: 10px;
    }

    .cs-area-about__sticky::before {
        inset: 18px 0 0 18px;
        border-radius: 19px;
    }

    .cs-area-about__image {
        aspect-ratio: 4 / 3;
        border-radius: 17px;
    }

    .cs-area-about__description p {
        font-size: 14px;
        line-height: 1.85;
    }

    .cs-area-about__description p + p {
        margin-top: 16px;
    }

    .cs-area-about__description .cs-area-about__transition {
        margin-block: 21px 17px;
        font-size: 15px;
    }

    .cs-area-about__statement {
        margin-top: 22px;
        padding: 19px;
        border-radius: 14px;
    }

    .cs-area-about__statement p {
        font-size: 14px;
    }
}

/* ==================================================
   BUSINESS NEEDS — IMAGE CARDS
   Bootstrap 5 + Font Awesome 6
================================================== */

.cs-business-needs {
    --needs-title: var(--cs-c-title, #142039);
    --needs-text: var(--cs-c-text, #526674);
    --needs-blue: var(--cs-c-blue, #0870af);

    padding-block: var(--cs-section-y, 80px);

    background: linear-gradient(180deg, #ffffff, #f7fafc);
    font-family: inherit;
}

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

/* ==================================================
   CARDS
================================================== */

.cs-business-needs .row > div {
    display: flex;
    min-width: 0;
}

.cs-need-card {
    --card-color: #087ab8;
    --card-rgb: 8, 122, 184;
    --card-tint: #edf7ff;
    --card-border: #d3e8fa;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    padding: 9px;
    overflow: hidden;

    border: 1px solid var(--card-border);
    border-radius: 23px;

    background: linear-gradient(
        155deg,
        #ffffff 0%,
        var(--card-tint) 75%
    );

    box-shadow:
        inset 0 1px 0 #ffffff,
        0 18px 32px -26px rgba(var(--card-rgb), 0.3);
}

.cs-need-card--blue {
    --card-color: #087ab8;
    --card-rgb: 8, 122, 184;
    --card-tint: #edf7ff;
    --card-border: #d3e8fa;
}

.cs-need-card--mint {
    --card-color: #2280ba;
    --card-rgb: 20, 150, 140;
    --card-tint: #edf9f6;
    --card-border: #d1ece7;
}

.cs-need-card--peach {
    --card-color: #c17a35;
    --card-rgb: 193, 122, 53;
    --card-tint: #fff5eb;
    --card-border: #f5e1cb;
}

/* ==================================================
   OPTIONAL TOP IMAGE
================================================== */

.cs-need-card__image {
    position: relative;
    flex-shrink: 0;

    aspect-ratio: 16 / 10;
    overflow: hidden;

    border-radius: 16px;
    background: var(--card-tint);
}

.cs-need-card__image img {
    display: block;
    width: 100%;
    height: 100%;

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

    transition: transform 0.6s ease;
}

/* ==================================================
   CARD CONTENT
================================================== */

.cs-need-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;

    min-width: 0;
    padding: 16px 10px 16px;
}

/* Title left, icon right */

.cs-need-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 13px;
}

.cs-business-needs .cs-need-card h3 {
    flex: 1;
    min-width: 0;
    margin: 0;

    color: var(--needs-title);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.cs-need-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    border: 1px solid var(--card-border);
    border-radius: 13px;

    background: #ffffff;
    color: var(--card-color);
    font-size: 20px;

    box-shadow: 0 4px 10px rgba(var(--card-rgb), 0.05);
}

.cs-need-card__intro {
    margin: 0;
    color: var(--needs-text);
    font-size: 15px;
    line-height: 1.7;
}

/* ==================================================
   SERVICES
================================================== */

.cs-need-card__services {
    flex: 1;
    margin-top: 22px;
    padding: 19px 15px;

    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.65);
}

.cs-need-card__services h4 {
    margin: 0 0 10px;
    color: #344c60;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.cs-need-card__services ul {
    display: grid;
    gap: 13px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-need-card__services li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    color: #3d5365;
    font-size: 14px;
    line-height: 1.65;
}

.cs-need-card__services li > i {
    display: grid;
    place-items: center;
    flex: 0 0 25px;

    width: 25px;
    height: 25px;

    border: 1px solid var(--card-border);
    border-radius: 7px;

    background: var(--card-tint);
    color: var(--card-color);
    font-size: 12px;
}

.cs-need-card__services li > span {
    min-width: 0;
    padding-top: 2px;
    overflow-wrap: break-word;
}

/* CLOSING LINE */

.cs-business-needs__closing {
    margin: 30px auto 0;

    color: var(--needs-text);
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

.cs-business-needs__closing strong {
    color: var(--needs-blue);
    font-weight: 600;
}


/* IMAGE HOVER */

@media (hover: hover) {
    .cs-need-card:hover .cs-need-card__image img {
        transform: scale(1.035);
    }
}

/* ==================================================
   SMALL DESKTOP
================================================== */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .cs-need-card__body {
        padding-inline: 12px;
    }

    .cs-need-card__heading {
        gap: 10px;
      
    }

    .cs-business-needs .cs-need-card h3 {
        font-size: 21px;
    }

    .cs-need-card__icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 18px;
    }

    .cs-need-card__services {
        padding: 17px 12px;
    }

    .cs-need-card__services li {
        gap: 8px;
        font-size: 13px;
    }
}

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

@media (min-width: 576px) and (max-width: 991.98px) {
    .cs-need-card__image {
        aspect-ratio: 16 / 7;
    }

    .cs-need-card__body {
        padding: 16px 10px ;
    }

    .cs-need-card__services ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px 22px;
    }
}

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

@media (max-width: 575.98px) {
    .cs-business-needs {
        padding-block: 45px;
    }

    .cs-need-card {
        padding: 8px;
        border-radius: 20px;
    }

    .cs-need-card__image {
        aspect-ratio: 16 / 10;
        border-radius: 13px;
    }


    .cs-need-card__heading {
        gap: 13px;
    }

    .cs-business-needs .cs-need-card h3 {
        font-size: 23px;
    }

    .cs-need-card__icon {
        flex-basis: 41px;
        width: 41px;
        height: 41px;
        border-radius: 12px;
        font-size: 19px;
    }

    .cs-need-card__services {
        margin-top: 20px;
        padding: 18px 13px;
    }

    .cs-business-needs__closing {
        margin-top: 24px;
        font-size: 14px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .cs-need-card__image img {
        transition: none;
    }

    .cs-need-card:hover .cs-need-card__image img {
        transform: none;
    }
}

/* ==================================================
   COMPLETE SERVICES
   Left image + complete right-side content
================================================== */

.cs-complete-services {
    --service-blue: var(--cs-c-blue, #0870af);
    --service-title: var(--cs-c-title, #142039);
    --service-text: var(--cs-c-text, #526674);

    padding-block: var(--cs-section-y, 75px);
    background: #ffffff;
    font-family: inherit;
}

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

/* ==================================================
   CARD LAYOUT
================================================== */

.cs-complete-services__list {
    display: grid;
    gap: 28px;
}

.cs-complete-services .cs-service-detail {
    --card-accent: var(--service-blue);
    --card-line: #cfe5ef;

    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(25px, 3vw, 42px);

    padding: clamp(22px, 2.5vw, 32px);
    overflow: hidden;

    border: 1px solid #d7eaf2;
    border-radius: 24px;

    background: linear-gradient(
        160deg,
        #fcfdfe 0%,
        #eef9fd 50%,
        #dff6fc 100%
    );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 15px 30px -24px rgba(16, 78, 111, 0.25);
}

.cs-service-detail::before,
.cs-service-detail::after {
    content: none;
}

/*
   Place the existing full-width services block
   in the right column without changing the HTML.
*/

.cs-service-detail > .cs-service-detail__main {
    display: contents;
}

.cs-service-detail__main > .col-lg-5 {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;

    width: auto;
    min-width: 0;
    padding: 0;
}

.cs-service-detail__main > .col-lg-7 {
    grid-column: 2;
    grid-row: 1;

    width: auto;
    min-width: 0;
    padding: 0;
}

/* ==================================================
   IMAGE — INDEPENDENT OF CONTENT HEIGHT
================================================== */

.cs-service-detail__visual {
    position: relative;

    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 17px;

    background: #e1f0f7;
    box-shadow: none;
}

.cs-service-detail__visual > img {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

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

    transform: none;
    transition: none;
}

.cs-service-detail__visual::before,
.cs-service-detail__visual::after {
    content: none;
}

.cs-service-detail:hover .cs-service-detail__visual > img {
    transform: none;
}

/* ==================================================
   MAIN CONTENT
================================================== */

.cs-service-detail__content {
    display: block;
    height: auto;
    padding: 0;
}

.cs-service-detail__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 17px;
}

.cs-service-detail__icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;

    background: linear-gradient(135deg, #159dd3, #0870af);
    color: #ffffff;
    font-size: 21px;

    box-shadow: 0 6px 12px -7px rgba(8, 112, 175, 0.35);
}

.cs-service-detail__number {
    color: #bedce9;
    font-size: 37px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.cs-complete-services .cs-service-detail h3 {
    max-width: none;
    margin: 0 0 11px;

    color: var(--service-title);
    font-size: clamp(23px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.cs-service-detail__content h4 {
    margin: 0 0 7px;
    color: var(--service-blue);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.65;
}

.cs-service-detail__content > p {
    margin: 0;

    color: var(--service-text);
    font-size: 15px;
    line-height: 1.72;
}

.cs-service-detail__content > p + p {
    margin-top: 10px;
}

/* ==================================================
   SERVICE PILLS — SAME RIGHT COLUMN
================================================== */

.cs-service-detail__bottom {
    grid-column: 2;
    grid-row: 2;
    align-self: start;

    min-width: 0;
    margin: 18px 0 0;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cs-service-detail__bottom .cs-service-detail__list-label {
    display: block;
    margin: 0 0 12px;

    color: #344f63;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.cs-service-detail__list-label::before,
.cs-service-detail__list-label::after {
    content: none;
}

.cs-service-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-service-detail__tags > li {
    display: block;

    min-width: 0;
    max-width: 100%;
    padding: 7px 12px;

    border: 1px solid #c6e1ed;
    border-radius: 50px;

    background: rgba(255, 255, 255, 0.8);
    color: var(--service-blue);

    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    overflow-wrap: anywhere;

    box-shadow: none;
}

.cs-service-detail__tags > li::before,
.cs-service-detail__tags > li::after {
    content: none;
}

.cs-service-detail__closing {
    margin: 18px 0 0;
    padding: 0;
    border: 0;
    color: var(--service-text);
    font-size: 15px;
    line-height: 1.7;
}

/* ==================================================
   TABLET AND MOBILE — IMAGE FIRST
================================================== */

@media (max-width: 991.98px) {
    .cs-complete-services .cs-service-detail {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 0;

        padding: 22px;
    }

    .cs-service-detail__main > .col-lg-5 {
        grid-column: 1;
        grid-row: 1;
    }

    .cs-service-detail__main > .col-lg-7 {
        grid-column: 1;
        grid-row: 2;
    }

    .cs-service-detail__visual {
        aspect-ratio: 16 / 9;
        margin-bottom: 25px;
    }

    .cs-service-detail__bottom {
        grid-column: 1;
        grid-row: 3;
    }
}

@media (max-width: 575.98px) {
    .cs-complete-services {
        padding-block: 45px;
    }

    .cs-complete-services__list {
        gap: 22px;
    }

    .cs-complete-services .cs-service-detail {
        padding: 16px;
        border-radius: 20px;
    }

    .cs-service-detail__visual {
        aspect-ratio: 4 / 3;
        margin-bottom: 22px;
        border-radius: 13px;
    }

    .cs-service-detail__top {
        margin-bottom: 16px;
    }

    .cs-service-detail__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 19px;
    }

    .cs-service-detail__number {
        font-size: 32px;
    }

    .cs-complete-services .cs-service-detail h3 {
        font-size: 23px;
    }

    .cs-service-detail__content h4 {
        font-size: 15px;
    }

    .cs-service-detail__content > p {
        font-size: 14px;
    }

    .cs-service-detail__tags {
        gap: 7px;
    }

    .cs-service-detail__tags > li {
        padding: 7px 11px;
        font-size: 12px;
    }


}

@media (min-width: 992px) {
    .cs-complete-services__list > .cs-service-detail:nth-child(even) {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(0, 0.8fr);
    }

    /* Image on the right */
    .cs-complete-services__list > .cs-service-detail:nth-child(even)
    .cs-service-detail__main > .col-lg-5 {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    /* Main content on the left */
    .cs-complete-services__list > .cs-service-detail:nth-child(even)
    .cs-service-detail__main > .col-lg-7 {
        grid-column: 1;
        grid-row: 1;
    }

    /* Services and closing text on the left */
    .cs-complete-services__list > .cs-service-detail:nth-child(even)
    .cs-service-detail__bottom {
        grid-column: 1;
        grid-row: 2;
    }
}


/*why choose us*/


.menu-advantage {
    padding: var(--cs-section-y, 60px) 0;

    background: linear-gradient(180deg,
            var(--cs-c-white),
            var(--cs-c-light-soft) 65%,
            var(--cs-c-seam));

    font-family: var(--cs-font);
}

.menu-advantage,
.menu-advantage *,
.menu-advantage *::before,
.menu-advantage *::after {
    box-sizing: border-box;
}

/* ==========================================
   CARD COLOURS
========================================== */

.menu-advantage__card--gold {
    --adv-color: #a87930;
    --adv-tint: #fff7e9;
    --adv-border: #efdfc4;
}

.menu-advantage__card--violet {
    --adv-color: #8059bd;
    --adv-tint: #f5f0fc;
    --adv-border: #e7ddf6;
}

.menu-advantage__card--blue {
    --adv-color: #087ab8;
    --adv-tint: #edf7ff;
    --adv-border: #d3e8fa;
}

.menu-advantage__card--teal {
    --adv-color: #168e84;
    --adv-tint: #edf9f5;
    --adv-border: #d3ebe4;
}

.menu-advantage__card--indigo {
    --adv-color: #6171bd;
    --adv-tint: #f0f3ff;
    --adv-border: #dfe4f8;
}

/* ==========================================
   FEATURE CARDS
========================================== */

.menu-advantage__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    height: 100%;
    min-width: 0;
    padding: 25px;

    border: 1px solid var(--adv-border);
    border-radius: 20px;
    background: var(--cs-c-white);

    box-shadow:
        0 8px 23px rgba(var(--cs-c-blue-rgb), .035),
        inset 0 1px 0 rgba(255, 255, 255, .9);

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

/* Soft corner detail */

.menu-advantage__card::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;

    width: 85px;
    height: 85px;

    border-radius: 0 0 0 85px;
    background: var(--adv-tint);
}

/* Fine inset corner line */

.menu-advantage__card::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;

    width: 37px;
    height: 37px;

    border-top: 1px solid var(--adv-border);
    border-right: 1px solid var(--adv-border);
    border-radius: 0 12px 0 0;

    pointer-events: none;
}

.menu-advantage__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 20px;
}

.menu-advantage__icon {
    display: grid;
    place-items: center;

    flex: 0 0 49px;
    width: 49px;
    height: 49px;

    border: 1px solid var(--adv-border);
    border-radius: 14px;
    background: var(--adv-tint);
    color: var(--adv-color);

    font-size: 22px;

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.menu-advantage__number {
    position: relative;
    z-index: 1;

    align-self: flex-start;
    margin-top: 3px;

    color: var(--adv-color);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
    opacity: .75;
}

.menu-advantage__card h3 {
    margin: 0 0 10px;

    color: var(--cs-c-title);
    font-size: var(--cs-fs-card-title);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.025em;
}

.menu-advantage__card p {
    margin: 0 0 21px;

    color: var(--cs-c-text);
    font-size: var(--cs-fs-subtext);
    line-height: 1.8;
}

.menu-advantage__card-line {
    display: block;

    width: 32px;
    height: 3px;
    margin-top: auto;

    border-radius: 3px;
    background: var(--adv-color);

    transition: width 220ms ease;
}

/* ==========================================
   CTA CARD
========================================== */

.menu-advantage__cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    height: 100%;
    min-width: 0;
    padding: 25px;

    border: 1px solid rgba(var(--cs-c-blue-rgb), .2);
    border-radius: 20px;

    background: linear-gradient(125deg,
            var(--cs-c-blue-dark),
            #064a73 60%,
            var(--cs-c-dark));

    box-shadow:
        0 10px 25px rgba(var(--cs-c-blue-rgb), .08),
        inset 0 1px 0 rgba(255, 255, 255, .08);
}

.menu-advantage__cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -115px;
    right: -110px;

    width: 250px;
    height: 250px;

    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;

    box-shadow: 0 0 0 24px rgba(255, 255, 255, .025);

    pointer-events: none;
}

.menu-advantage__cta-icon {
    display: grid;
    place-items: center;

    flex: 0 0 49px;
    width: 49px;
    height: 49px;
    margin-bottom: 20px;

    border: 1px solid rgba(255, 255, 255, .21);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);

    color: #c9edff;
    font-size: 22px;
}

.menu-advantage__cta h3 {
    margin: 0 0 10px;

    color: var(--cs-c-white);
    font-size: var(--cs-fs-card-title);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.025em;
}

.menu-advantage__cta>p {
    margin: 0 0 21px;

    color: var(--cs-c-text-light);
    font-size: var(--cs-fs-subtext);
    line-height: 1.8;
}

/* ==========================================
   HOVER
========================================== */

@media (hover: hover) {
    .menu-advantage__card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 30px rgba(var(--cs-c-blue-rgb), .075);
    }

    .menu-advantage__card:hover .menu-advantage__card-line {
        width: 62px;
    }

}

/* ==========================================
   SMALL DESKTOP
========================================== */

@media (min-width: 992px) and (max-width: 1199.98px) {

    .menu-advantage__card,
    .menu-advantage__cta {
        padding: 22px;
    }

}

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

@media (max-width: 575.98px) {

    .menu-advantage__card,
    .menu-advantage__cta {
        padding: 23px 21px;
        border-radius: 17px;
    }

    .menu-advantage__card-top {
        margin-bottom: 18px;
    }

    .menu-advantage__icon,
    .menu-advantage__cta-icon {
        flex-basis: 45px;
        width: 45px;
        height: 45px;

        border-radius: 13px;
        font-size: 20px;
    }

    .menu-advantage__cta-icon {
        margin-bottom: 18px;
    }

}

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

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

    .menu-advantage__card,
    .menu-advantage__card-line {
        transition: none;
    }

    .menu-advantage__card:hover {
        transform: none;
    }
}


/*area we serve*/

/* ================================================
   SERVICE AREAS — CENTRED LOCATION PILLS
   Bootstrap container + Font Awesome icons
================================================ */

.cs-service-areas {
    --areas-blue: var(--cs-c-blue, #0870af);
    --areas-title: var(--cs-c-title, #142039);
    --areas-text: var(--cs-c-text, #526674);

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding-block: var(--cs-section-y, 75px);

    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(199, 232, 252, 0.4),
            transparent 65%
        ),
        linear-gradient(180deg, #ffffff, #f7fbfe);

    font-family: inherit;
    text-align: center;
}

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

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

@media (max-width: 575.98px) {
    .cs-service-areas {
        padding-block: 45px;
    }
}

/*cta section*/

.menu-quote {
    --mq-accent: #085c91;
    --mq-heading: #173344;
    --mq-text: #687a85;

    padding: var(--cs-section-y, 45px) 0;
    background: #ffffff;
    font-family: inherit;
}

.menu-quote,
.menu-quote *,
.menu-quote *::before,
.menu-quote *::after {
    box-sizing: border-box;
}

/* ==========================================
   CONTAINER PANEL
========================================== */

.menu-quote__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 30px 34px;

    border: 1px solid #385e76;
    border-radius: 24px;

    background:
        radial-gradient(ellipse at 0% 100%,
            rgba(51, 127, 175, 0.18),
            transparent 52%),
        linear-gradient(115deg,
            #123347,
            #12405d 65%,
            #114d73);

    box-shadow:
        0 16px 36px rgba(16, 50, 71, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.menu-quote__panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -170px;
    bottom: -280px;

    width: 650px;
    height: 650px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    box-shadow:
        0 0 0 40px rgba(255, 255, 255, 0.025),
        0 0 0 80px rgba(255, 255, 255, 0.015);

    pointer-events: none;
}

/* ==========================================
   CONTENT
========================================== */

.menu-quote__content {
    position: relative;
    min-width: 0;
}

.menu-quote__description {
    margin: 10px 0 0;

    color: #c4d4de;
    font-size: 16px;
    line-height: 1.72;
}

/* ==========================================
   CONTENT BUTTONS
========================================== */

.menu-quote__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 17px;
    margin-top: 19px;
}

/* ==========================================
   COMPACT MENU ARTWORK
========================================== */

/* Back menu */

/* Front menu */

/* Mobile menu */

/* ==========================================
   WHITE FORM CARD
========================================== */

.menu-quote__form-card {
    position: relative;
    isolation: isolate;

    width: 100%;
    margin-left: auto;
    padding: 26px 23px 23px;

    border: 1px solid #e5ebef;
    border-radius: 17px;
    background: #ffffff;

    box-shadow:
        0 18px 38px rgba(0, 22, 35, 0.19),
        0 0 0 5px rgba(255, 255, 255, 0.045);
}

.menu-quote__form-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 11px;
    padding-bottom: 18px;
}

.menu-quote__form-heading>div {
    min-width: 0;
}

.menu-quote__form-heading h3 {
    margin: 0;

    color: var(--mq-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.menu-quote__form-heading p {
    margin: 6px 0 0;

    color: var(--mq-text);
    font-size: 13px;
    line-height: 1.65;
}

.menu-quote__form-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border: 1px solid #e1e7ea;
    border-radius: 9px;
    background: #f6f8f1;
    color: #687c88;

    font-size: 16px;
}

.menu-quote__form .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 19px;
}

/* ==========================================
   INPUT FIELDS
========================================== */

.menu-quote__field {
    position: relative;
    min-width: 0;

    border: 1px solid #d2dadf;
    border-radius: 7px;
    background: #ffffff;

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

/* Labels sit inside the top border */

.menu-quote__field>label {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 8px;

    max-width: calc(100% - 16px);
    margin: 0;
    padding: 0 4px;

    background: #ffffff;
    color: #456376;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;

    transform: translateY(-50%);
}

.menu-quote__field>label>span {
    color: var(--mq-accent);
}

.menu-quote__field-icon {
    position: absolute;
    top: 50%;
    left: 11px;

    width: 13px;

    color: #758f9f;
    font-size: 11px;
    text-align: center;

    transform: translateY(-50%);
    pointer-events: none;
}

.menu-quote__field input,
.menu-quote__field select,
.menu-quote__field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;

    border: 0;
    border-radius: inherit;
    outline: none;
    background: transparent;
    color: var(--mq-heading);

    font-family: inherit;
    font-size: 12px;
    line-height: 1.5;
}

.menu-quote__field input,
.menu-quote__field select {
    height: 40px;
    padding: 10px 10px 8px 31px;
}

.menu-quote__field input::placeholder,
.menu-quote__field textarea::placeholder {
    color: #929ea5;
    opacity: 1;
}

/* Select */

.menu-quote__field select {
    padding-right: 27px;
    appearance: none;
    cursor: pointer;
}

.menu-quote__field select:required:invalid {
    color: #929ea5;
}

.menu-quote__field select option {
    background: #ffffff;
    color: var(--mq-heading);
}

.menu-quote__select-arrow {
    position: absolute;
    top: 50%;
    right: 10px;

    color: #82949f;
    font-size: 8px;

    transform: translateY(-50%);
    pointer-events: none;
}

/* Project details */

.menu-quote__field textarea {
    height: 68px;
    min-height: 68px;
    padding: 12px 10px 9px 31px;
    resize: vertical;
}

.menu-quote__field--textarea .menu-quote__field-icon {
    top: 16px;
    transform: none;
}

/* Focus */

.menu-quote__field:focus-within {
    border-color: var(--mq-accent);
    box-shadow: 0 0 0 3px rgba(8, 92, 145, 0.065);
}

.menu-quote__field:focus-within>label,
.menu-quote__field:focus-within .menu-quote__field-icon {
    color: var(--mq-accent);
}

/* ==========================================
   SMALL DESKTOP
========================================== */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .menu-quote__panel {
        padding: 27px;
    }

    .menu-quote__form-card {
        padding: 24px 18px 21px;
    }

    .menu-quote__form-heading h3 {
        font-size: 19px;
    }

    .menu-quote__form-symbol {
        display: none;
    }

    .menu-quote__field>label {
        font-size: 10px;
    }
}

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

@media (max-width: 991.98px) {
    .menu-quote__panel {
        padding: 30px;
    }

    .menu-quote__form-card {
        max-width: 100%;
        margin: 0;
    }
}

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

@media (max-width: 575.98px) {
    .menu-quote {
        padding: var(--cs-section-y, 35px) 0;
    }

    .menu-quote__panel {
        padding: 24px 17px;
        border-radius: 20px;
    }

    .menu-quote__description {
        font-size: 13px;
    }

    .menu-quote__buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .menu-quote__form-card {
        padding: 24px 15px 17px;
        border-radius: 14px;
    }

    .menu-quote__form-heading {
        padding-bottom: 13px;
    }

    .menu-quote__form-heading h3 {
        font-size: 20px;
    }

    .menu-quote__form-symbol {
        display: none;
    }

    .menu-quote__field>label {
        font-size: 10px;
    }

    .menu-quote__field input,
    .menu-quote__field select,
    .menu-quote__field textarea {
        font-size: 16px;
    }

    .menu-quote__field input,
    .menu-quote__field select {
        height: 44px;
    }
}

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

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

    .menu-quote__field {
        transition: none;
    }
}


/* ==================================================
   OUR APPROACH — STAGGERED PROCESS PATH
   Heading uses common.css (.cs-section-head).
   Connectors are drawn by assets/js/process-path.js.
   Desktop  (≥992px)   : 4 steps, alternating low / high (wave)
   Tablet   (576–991px): 2 × 2 grid, connector inside each row
   Phone    (<576px)   : vertical timeline, icon left / text right
================================================== */

.cs-process-path {
    --path-blue: var(--cs-c-blue, #0870af);
    --path-title: var(--cs-c-title, #393939);
    --path-text: var(--cs-c-text, #73777a);
    --path-icon: 88px; /* outer ring */
    --path-drop: 90px; /* how much lower the odd steps sit */

    position: relative;
    background:
        radial-gradient(ellipse at 10% 70%, rgba(220, 242, 252, 0.45), transparent 35%),
        radial-gradient(ellipse at 90% 30%, rgba(225, 244, 253, 0.4), transparent 35%),
        var(--cs-seam, #fcfdfe);
}

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

/* ---------- layout ---------- */
.cs-process-path__body {
    position: relative;
    isolation: isolate;
}

.cs-process-path__links {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: block;
    overflow: visible;
    pointer-events: none;
}

.cs-process-path__line {
    fill: none;
    stroke: #a9d6ec;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 2 9;
}

.cs-process-path__arrow {
    fill: none;
    stroke: var(--path-blue);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cs-process-path__steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-process-path__item {
    min-width: 0;
}

/* ---------- step ---------- */
.cs-path-step {
    padding: 0 18px;
    text-align: center;
}

/* the wave: 1st and 3rd low, 2nd and 4th high */
.cs-process-path__item:nth-child(odd) .cs-path-step {
    padding-top: var(--path-drop);
}

/* ---------- icon ---------- */
.cs-path-step__visual {
    position: relative;
    display: grid;
    place-items: center;
    width: var(--path-icon);
    height: var(--path-icon);
    margin: 0 auto 24px;
}

/* dashed outer ring */
.cs-path-step__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px dashed #bedfee;
    border-radius: 50%;
}

/* small cyan dot on the ring */
.cs-path-step__visual::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 12px;
    width: 9px;
    height: 9px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--cs-c-cyan, #159dd3);
}

.cs-path-step__icon {
    display: grid;
    place-items: center;
    width: calc(var(--path-icon) - 16px);
    height: calc(var(--path-icon) - 16px);
    border: 1px solid #d2e8f4;
    border-radius: 50%;
    background: var(--cs-grad-light, #eef9fd);
    color: var(--path-blue);
    font-size: 26px;
    box-shadow:
        inset 0 2px 0 #ffffff,
        0 15px 25px -20px rgba(8, 112, 175, 0.45);
}

/* step number */
.cs-path-step__number {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: var(--path-blue);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(8, 112, 175, 0.15);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* ---------- text ---------- */
.cs-process-path .cs-path-step h3 {
    margin: 0 0 11px;
    color: var(--path-title);
    font-size: var(--cs-fs-card-title, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.cs-path-step p {
    max-width: 240px;
    margin: 0 auto;
    color: var(--path-text);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* ---------- small desktop ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .cs-process-path {
        --path-icon: 80px;
        --path-drop: 80px;
    }

    .cs-path-step {
        padding-inline: 12px;
    }
}

/* ---------- tablet: 2 × 2, no wave ---------- */
@media (max-width: 991.98px) {
    .cs-process-path__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
    }

    .cs-process-path__item:nth-child(odd) .cs-path-step {
        padding-top: 0;
    }
}

/* ---------- phone: vertical timeline ---------- */
@media (max-width: 575.98px) {
    .cs-process-path {
        --path-icon: 72px;
    }

    .cs-process-path__steps {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 34px;
    }

    .cs-path-step {
        display: grid;
        grid-template-columns: var(--path-icon) minmax(0, 1fr);
        column-gap: 18px;
        align-items: start;
        padding: 0;
        text-align: left;
    }

    .cs-path-step__visual {
        grid-column: 1;
        grid-row: 1 / 3;
        margin: 0;
    }

    .cs-path-step__icon {
        font-size: 22px;
    }

    .cs-path-step__number {
        width: 26px;
        height: 26px;
        border-width: 3px;
        font-size: 9px;
    }

    .cs-path-step__visual::after {
        top: 6px;
        right: 8px;
        width: 8px;
        height: 8px;
    }

    .cs-process-path .cs-path-step h3 {
        grid-column: 2;
        margin: 6px 0 6px;
    }

    .cs-path-step p {
        grid-column: 2;
        max-width: none;
        margin: 0;
        line-height: 1.7;
    }
}


/* ==================================================
   SERVICE AREAS — AREA FINDER
   Pick an area: distance, travel time, directions and route map.
   Driven by assets/js/area-finder.js
================================================== */

.cs-area-finder {
    --af-blue: var(--cs-c-blue, #0870af);
    --af-title: var(--cs-c-title, #393939);
    --af-text: var(--cs-c-text, #73777a);
    --af-line: #dbe9f2;

    margin-top: 8px;
}

.cs-area-finder__bridge {
    margin: 0 0 24px;
}

.cs-area-finder__title {
    margin: 0;
    color: var(--af-title);
    font-size: var(--cs-fs-group-title, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* ---------- area buttons ---------- */
.cs-area-finder__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.cs-area-finder__pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 22px 10px 18px;
    border: 1px solid var(--af-line);
    border-radius: 50px;
    background: #ffffff;
    box-shadow: 0 10px 22px -18px rgba(8, 112, 175, 0.45);
    color: var(--af-title);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cs-area-finder__pill i {
    color: var(--af-blue);
    font-size: 1rem;
    transition: color 0.2s ease;
}

@media (hover: hover) {
    .cs-area-finder__pill:hover {
        border-color: #a9d6ec;
        transform: translateY(-2px);
    }
}

.cs-area-finder__pill.is-active {
    border-color: transparent;
    background: var(--cs-grad-brand, #0870af);
    box-shadow: 0 14px 26px -14px rgba(8, 112, 175, 0.7);
    color: #ffffff;
}

.cs-area-finder__pill.is-active i {
    color: #ffffff;
}

.cs-area-finder__pill:focus-visible {
    outline: 3px solid var(--af-blue);
    outline-offset: 3px;
}

/* ---------- selected-area card ---------- */
.cs-area-finder__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 28px;
    padding: 26px;
    border: 1px solid var(--af-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 30px 60px -44px rgba(8, 60, 100, 0.45);
    text-align: left;
}

.cs-area-finder__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.cs-area-finder__head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.cs-area-finder__pin {
    display: grid;
    flex: 0 0 64px;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(140deg, #3bb3e3, var(--af-blue));
    box-shadow: 0 12px 22px -12px rgba(8, 112, 175, 0.7);
    color: #ffffff;
    font-size: 1.6rem;
}

.cs-area-finder__name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.cs-area-finder__name {
    margin: 0;
    color: var(--af-title);
    font-size: clamp(1.4rem, 1rem + 1vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cs-area-finder__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    background: #e6f4fc;
    color: var(--af-blue);
    font-size: 0.8125rem;
    font-weight: 600;
}

.cs-area-finder__text {
    margin: 8px 0 0;
    color: var(--af-title);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* distance + time */
.cs-area-finder__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 26px 0 0;
}

.cs-area-finder__stat {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.cs-area-finder__stat + .cs-area-finder__stat {
    padding-left: 22px;
    border-left: 1px solid var(--af-line);
}

.cs-area-finder__stat-icon {
    display: grid;
    flex: 0 0 56px;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e9f6fd;
    color: var(--af-blue);
    font-size: 1.35rem;
}

.cs-area-finder__stat dt {
    color: var(--af-title);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

.cs-area-finder__stat dd {
    margin: 2px 0 0;
    color: var(--af-title);
    font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.55rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.cs-area-finder__directions {
    align-self: flex-start;
    margin-top: 26px;
}

.cs-area-finder__hint {
    display: flex;
    gap: 8px;
    margin: 19px 0 0;
    color: var(--af-text);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.cs-area-finder__hint i {
    margin-top: 3px;
}

/* route map */
.cs-area-finder__map {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 16px;
    background: #e8f1f6;
}

.cs-area-finder__map iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* refresh animation when another area is picked */
.cs-area-finder__card.is-switching .cs-area-finder__info > * {
    animation: csAreaSwap 0.45s ease both;
}

.cs-area-finder__card.is-switching .cs-area-finder__stats {
    animation-delay: 0.06s;
}

@keyframes csAreaSwap {
    from { opacity: 0.25; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

/* bottom note */
.cs-area-finder__note {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 1080px;
    margin: 30px auto 0;
    text-align: left;
}

.cs-area-finder__note-icon {
    flex: 0 0 auto;
    color: var(--af-blue);
    font-size: 2.4rem;
}

.cs-area-finder__note p {
    margin: 0;
    color: var(--af-title);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ---------- tablet: map under the details ---------- */
@media (max-width: 991.98px) {
    .cs-area-finder__card {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .cs-area-finder__map {
        min-height: 320px;
    }
}

/* ---------- phone ---------- */
@media (max-width: 575.98px) {
    .cs-area-finder__list {
        gap: 8px;
        margin-bottom: 22px;
    }

    .cs-area-finder__pill {
        gap: 7px;
        min-height: 42px;
        padding: 8px 14px 8px 12px;
        font-size: 0.875rem;
    }

    .cs-area-finder__card {
        padding: 18px;
        border-radius: 18px;
    }

    .cs-area-finder__head {
        gap: 14px;
    }

    .cs-area-finder__pin {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .cs-area-finder__stats {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-top: 20px;
    }

    .cs-area-finder__stat + .cs-area-finder__stat {
        padding-left: 0;
        border-left: 0;
    }

    .cs-area-finder__stat-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    .cs-area-finder__directions {
        align-self: stretch;
        justify-content: space-between;
    }

    .cs-area-finder__map {
        min-height: 260px;
    }

    .cs-area-finder__note {
        align-items: flex-start;
        gap: 12px;
    }

    .cs-area-finder__note-icon {
        font-size: 1.8rem;
    }

    .cs-area-finder__note p {
        font-size: 0.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-area-finder__pill {
        transition: none;
    }

    .cs-area-finder__pill:hover {
        transform: none;
    }

    .cs-area-finder__card.is-switching .cs-area-finder__info > * {
        animation: none;
    }
}


/* ==================================================
   INDUSTRIES WE SERVE — SLIDER + CLOSING CTA
   Swiper 11, started in assets/js/area-finder.js
================================================== */

.cs-industries {
    --ind-blue: var(--cs-c-blue, #0870af);
    --ind-title: var(--cs-c-title, #393939);
    --ind-text: var(--cs-c-text, #73777a);
    --ind-line: #dbe9f2;

    margin-top: clamp(58px, 10vw, 102px);
}

/* ---------- slider ---------- */
.cs-industries__slider {
    margin-top: 32px;
}

.cs-industries__slider .swiper {
    /* room for the card shadow and hover lift */
    padding: 6px 4px 30px;
    margin: -6px -4px 0;
}

.cs-industries__slider .swiper-slide {
    height: auto;
}

.cs-industry-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px;
    border: 1px solid var(--ind-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 40px -34px rgba(8, 60, 100, 0.5);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
    .cs-industry-card:hover {
        border-color: #b9dcef;
        box-shadow: 0 26px 46px -30px rgba(8, 112, 175, 0.5);
        transform: translateY(-6px);
    }

    .cs-industry-card:hover .cs-industry-card__media img {
        filter: brightness(1.06) saturate(1.08);
    }
}

.cs-industry-card__media {
    position: relative;
    margin-bottom: 34px;
}

.cs-industry-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    object-fit: cover;
    transition: filter 0.3s ease;
}

/* industry without a photo yet */
.cs-industry-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.55), transparent 45%),
        var(--cs-grad-light, #e6f4fc);
    color: rgba(8, 112, 175, 0.35);
    font-size: 3.2rem;
}

/* round icon overlapping the photo */
.cs-industry-card__icon {
    position: absolute;
    bottom: -28px;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: var(--cs-grad-brand, #0870af);
    box-shadow: 0 10px 20px -10px rgba(8, 112, 175, 0.75);
    color: #ffffff;
    font-size: 1.3rem;
    transform: translateX(-50%);
}

.cs-industry-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    padding: 4px 10px 12px;
}

.cs-industry-card__body h4 {
    margin: 0 0 10px;
    color: var(--ind-title);
    font-size: var(--cs-fs-card-title, 1.125rem);
    font-weight: 700;
    line-height: 1.3;
}

.cs-industry-card__body p {
    margin: 0 0 14px;
    color: var(--ind-text);
    font-size: 0.875rem;
    line-height: 1.7;
}

.cs-industry-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--ind-blue);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.cs-industry-card__link i {
    transition: transform 0.2s ease;
}

.cs-industry-card__link:hover {
    color: #065a8c;
}

.cs-industry-card__link:hover i {
    transform: translateX(4px);
}

.cs-industry-card__link:focus-visible {
    outline: 2px solid var(--ind-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.cs-industries__nav {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ind-line);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 20px -16px rgba(8, 112, 175, 0.6);
    color: var(--ind-blue);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cs-industries__nav:hover:not(:disabled) {
    border-color: transparent;
    background: var(--cs-grad-brand, #0870af);
    color: #ffffff;
}

.cs-industries__nav:focus-visible {
    outline: 3px solid var(--ind-blue);
    outline-offset: 3px;
}

.cs-industries__nav:disabled,
.cs-industries__nav.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
}

/* ---------- closing CTA band ---------- */
.cs-industries__cta {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 36px;
    padding: 26px 34px;
    border: 1px solid #d6eaf5;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(255, 255, 255, 0.9), transparent 55%),
        var(--cs-grad-light, #eef9fd);
    text-align: left;
}

.cs-industries__cta-text {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 28px;
    border-left: 2px solid rgba(8, 112, 175, 0.25);
}

.cs-industries__cta-text h4 {
    margin: 0 0 6px;
    color: var(--ind-title);
    font-size: var(--cs-fs-group-title, 1.375rem);
    font-weight: 700;
    line-height: 1.3;
}

.cs-industries__cta-text p {
    margin: 0;
    color: var(--ind-text);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.cs-industries__cta-btn {
    flex: 0 0 auto;
}

/* ---------- tablet ---------- */
@media (max-width: 991.98px) {
    .cs-industries__cta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        padding: 26px;
        text-align: center;
    }

    .cs-industries__cta-text {
        flex-basis: 100%;
        padding-left: 0;
        border-left: 0;
    }
}

/* ---------- phone ---------- */
@media (max-width: 575.98px) {
    .cs-industries__slider {
        margin-top: 24px;
    }

    .cs-industry-card__icon {
        width: 52px;
        height: 52px;
        bottom: -25px;
        font-size: 1.15rem;
    }

    .cs-industries__cta {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .cs-industries__cta-btn {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-industry-card,
    .cs-industry-card__media img,
    .cs-industry-card__link i,
    .cs-industries__nav {
        transition: none;
    }

    .cs-industry-card:hover {
        transform: none;
    }
}

/* ---------- arrows on the left and right of the cards ---------- */
.cs-industries__slider,
.cs-industries .cs-section-head + .cs-industries__slider {
    position: relative;
    margin-top: 0; /* .cs-section-head already gives the gap */
    padding-inline: 64px;
}

.cs-industries__nav {
    position: absolute;
    top: calc(50% - 12px); /* centred on the cards (the slider has 30px shadow room below) */
    z-index: 3;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
}

.cs-industries__nav--prev {
    left: 0;
}

.cs-industries__nav--next {
    right: 0;
}

/* ---------- CTA image (instead of an icon) ---------- */
.cs-industries__cta {
    position: relative;
    overflow: hidden;
    padding-block: 0;
    padding-left: 18px;
}

.cs-industries__cta-media {
    flex: 0 0 200px;
    align-self: flex-end;
    max-width: 200px;
    margin-top: 14px;
}

.cs-industries__cta-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.cs-industries__cta-text {
    padding-block: 26px;
}

.cs-industries__cta-btn {
    margin-right: 16px;
}

@media (max-width: 1199.98px) {
    .cs-industries__slider {
        padding-inline: 56px;
    }
}

@media (max-width: 991.98px) {
    .cs-industries__cta {
        padding: 26px 26px 0;
    }

    .cs-industries__cta-text {
        order: -1;
        padding-block: 0;
    }

    .cs-industries__cta-btn {
        order: -1;
        margin-right: 0;
    }

    .cs-industries__cta-media {
        flex-basis: 220px;
        max-width: 220px;
        margin-top: 0;
    }
}

/* phones: arrows over the card edges so the card keeps its width */
@media (max-width: 575.98px) {
    .cs-industries__slider {
        padding-inline: 0;
    }

    .cs-industries__nav {
        width: 40px;
        height: 40px;
    }

    .cs-industries__nav--prev {
        left: -6px;
    }

    .cs-industries__nav--next {
        right: -6px;
    }

    .cs-industries__cta {
        padding: 22px 18px 0;
    }

    .cs-industries__cta-media {
        flex-basis: 180px;
        max-width: 180px;
    }
}


/* ==================================================
   CLIENT SUCCESS STORIES (tabs + project card + CTA band)
   Heading uses common.css; tabs/slider/scrolling: assets/js/success-stories.js
================================================== */

.cs-stories {
    --st-blue: var(--cs-c-blue, #0870af);
    --st-title: var(--cs-c-title, #393939);
    --st-text: var(--cs-c-text, #73777a);
    --st-line: #dbe9f2;

    position: relative;
    background:
        radial-gradient(ellipse at 12% 30%, rgba(220, 242, 252, 0.55), transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(225, 244, 253, 0.5), transparent 40%),
        var(--cs-seam, #fcfdfe);
}

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

/* ---------- "Our Esteemed Clients" sub heading ---------- */
.cs-stories__bridge {
    margin: 0;
}

.cs-stories__clients-title {
    margin: 0;
    color: var(--st-title);
    font-size: var(--cs-fs-group-title, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.cs-stories__clients-title span {
    color: var(--st-blue);
}

.cs-stories__clients-sub {
    margin: 8px 0 22px;
    color: var(--st-text);
    font-size: var(--cs-fs-subtext, 1rem);
    text-align: center;
}

/* ---------- client tabs (logo slider) ---------- */
.cs-stories__tabs {
    position: relative;
    padding-inline: 56px;
}

.cs-stories__tabs .swiper {
    padding: 6px 4px 14px;
    margin: -6px -4px 0;
}

.cs-stories__tabs .swiper-slide {
    height: auto;
}

.cs-stories__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 100%;
    min-height: 132px;
    padding: 16px 12px;
    border: 1.5px solid var(--st-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 30px -26px rgba(8, 60, 100, 0.5);
    color: var(--st-title);
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

@media (hover: hover) {
    .cs-stories__tab:hover {
        border-color: #a9d6ec;
        transform: translateY(-3px);
    }
}

.cs-stories__tab.is-active {
    border-color: var(--st-blue);
    background: linear-gradient(180deg, #ffffff, #eef8fd);
    box-shadow: 0 0 0 4px rgba(8, 112, 175, 0.1), 0 18px 32px -24px rgba(8, 112, 175, 0.6);
}

.cs-stories__tab:focus-visible {
    outline: 3px solid var(--st-blue);
    outline-offset: 3px;
}

/* logo slot: an <img> or the placeholder */
.cs-stories__tab img,
.cs-stories__logo {
    display: block;
    max-width: 150px;
    height: 46px;
    margin-bottom: 6px;
    object-fit: contain;
}

.cs-stories__logo--placeholder {
    display: grid;
    place-items: center;
    width: 46px;
    border-radius: 12px;
    background: var(--cs-grad-light, #e6f4fc);
    color: var(--st-blue);
    font-size: 1.3rem;
}

.cs-stories__tab-name {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
}

.cs-stories__tab-industry {
    color: var(--st-title);
    font-size: 0.875rem;
}

.cs-stories__tab-place {
    color: var(--st-text);
    font-size: 0.78rem;
}

.cs-stories__tab-place i {
    color: var(--st-blue);
}

/* side arrows */
.cs-stories__nav {
    position: absolute;
    top: calc(50% - 4px);
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--st-line);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 20px -14px rgba(8, 112, 175, 0.6);
    color: var(--st-blue);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cs-stories__nav--prev {
    left: 0;
}

.cs-stories__nav--next {
    right: 0;
}

.cs-stories__nav:hover:not(:disabled) {
    background: var(--cs-grad-brand, #0870af);
    color: #ffffff;
}

.cs-stories__nav.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
}

.cs-stories__nav:focus-visible {
    outline: 3px solid var(--st-blue);
    outline-offset: 3px;
}

/* ---------- project card ---------- */
.cs-stories__panels {
    margin-top: 26px;
}

.cs-story {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.72fr);
    gap: 32px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--st-line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 34px 70px -50px rgba(8, 60, 100, 0.5);
}

.cs-story[hidden] {
    display: none;
}

.cs-story.is-entering {
    animation: csStoryIn 0.5s ease both;
}

@keyframes csStoryIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

/* devices */
.cs-story__devices {
    position: relative;
    padding: 10px 46px 18px 0;
}

.cs-story__devices::before {
    content: "";
    position: absolute;
    inset: 4% 10% 0 -4%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(199, 232, 252, 0.8), transparent 70%);
}

.cs-story__laptop {
    position: relative;
    z-index: 1;
}

.cs-story__laptop-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 10px solid #1f2328;
    border-bottom-width: 14px;
    border-radius: 14px 14px 4px 4px;
    background: #ffffff;
}

.cs-story__laptop-base {
    position: relative;
    height: 14px;
    margin: 0 -7%;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, #d9dee3, #aab3bb);
}

.cs-story__laptop-base::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 18%;
    height: 5px;
    border-radius: 0 0 6px 6px;
    background: #8c969f;
    transform: translateX(-50%);
}

.cs-story__phone {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 27%;
    min-width: 92px;
}

.cs-story__phone-screen {
    position: relative;
    aspect-ratio: 9 / 19;
    overflow: hidden;
    border: 6px solid #1f2328;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 22px 36px -18px rgba(0, 0, 0, 0.45);
}

/* the screenshot scrolls down the whole page, then back up */
.cs-story__shot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
    animation: csStoryScroll 14s ease-in-out infinite alternate;
}

.cs-story__devices:hover .cs-story__shot {
    animation-play-state: paused;
}

@keyframes csStoryScroll {
    0%, 8%    { object-position: 50% 0; background-position: 0 0; }
    92%, 100% { object-position: 50% 100%; background-position: 0 100%; }
}

/* placeholder page (until a real full-page screenshot is added) */
.cs-story__shot--placeholder {
    background:
        linear-gradient(180deg, var(--st-blue) 0 3%, transparent 3%),
        linear-gradient(180deg, transparent 5%, #dff2fb 5% 17%, transparent 17%),
        repeating-linear-gradient(180deg,
            transparent 0 2%,
            #edf3f7 2% 6%,
            transparent 6% 7%,
            #f4f7f9 7% 9%,
            transparent 9% 12%);
    background-color: #ffffff;
    background-size: 100% 320%;
    background-repeat: no-repeat, no-repeat, repeat-y;
}

/* details */
.cs-story__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 50px;
    background: #e6f4fc;
    color: var(--st-blue);
    font-size: 0.875rem;
    font-weight: 600;
}

.cs-story__name {
    margin: 14px 0 6px;
    color: var(--st-title);
    font-size: clamp(1.4rem, 1rem + 1vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cs-story__sub {
    margin: 0 0 10px;
    color: var(--st-blue);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
}

.cs-story__desc {
    margin: 0;
    color: var(--st-text);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.cs-story__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    margin: 20px 0 0;
}

.cs-story__meta > div {
    min-width: 0;
    padding-left: 14px;
    border-left: 2px solid #d4e8f4;
}

.cs-story__meta dt {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--st-title);
    font-size: 0.875rem;
    font-weight: 600;
}

.cs-story__meta dt i {
    color: var(--st-blue);
}

.cs-story__meta dd {
    margin: 2px 0 0 22px;
    color: var(--st-text);
    font-size: 0.875rem;
    line-height: 1.45;
}

/* highlights */
.cs-story__highlights {
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(160deg, #f3fafe, #e3f3fc);
}

.cs-story__highlights h4 {
    margin: 0 0 14px;
    color: var(--st-title);
    font-size: var(--cs-fs-card-title, 1.125rem);
    font-weight: 700;
}

.cs-story__highlights ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-story__highlights li {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    color: var(--st-title);
    font-size: 0.9rem;
    line-height: 1.45;
}

.cs-story__highlights li i {
    margin-top: 2px;
    color: var(--st-blue);
}

.cs-story__btn {
    width: 100%;
    margin-top: 18px;
    justify-content: space-between;
}

/* ---------- CTA band ---------- */
.cs-stories__cta {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 30px;
    padding: 18px 24px 18px 18px;
    border: 1px solid #d6eaf5;
    border-radius: 24px;
    background: var(--cs-grad-light, #eef9fd);
}

.cs-stories__cta-media {
    flex: 0 0 120px;
    height: 92px;
    overflow: hidden;
    border-radius: 16px;
}

.cs-stories__cta-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-stories__cta-text {
    flex: 1 1 260px;
    min-width: 0;
    padding-left: 24px;
    border-left: 2px solid rgba(8, 112, 175, 0.25);
}

.cs-stories__cta-text h3 {
    margin: 0 0 4px;
    color: var(--st-title);
    font-size: var(--cs-fs-group-title, 1.375rem);
    font-weight: 700;
    line-height: 1.3;
}

.cs-stories__cta-text p {
    margin: 0;
    color: var(--st-text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.cs-stories__stats {
    display: flex;
    margin: 0;
}

.cs-stories__stats > div {
    display: grid;
    justify-items: center;
    padding: 0 26px;
    text-align: center;
}

.cs-stories__stats > div + div {
    border-left: 1px solid #c9dfec;
}

.cs-stories__stats dt {
    display: contents;
}

.cs-stories__stats dt i {
    order: 1;
    margin-bottom: 4px;
    color: var(--st-blue);
    font-size: 1.35rem;
}

.cs-stories__stats dd {
    order: 2;
    margin: 0;
    color: var(--st-title);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
}

.cs-stories__stats dt span {
    order: 3;
    color: var(--st-text);
    font-size: 0.8125rem;
}

.cs-stories__cta-btn {
    flex: 0 0 auto;
}

/* ---------- small desktop: highlights under the card ---------- */
@media (max-width: 1199.98px) {
    .cs-story {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .cs-story__highlights {
        grid-column: 1 / -1;
    }

    .cs-story__highlights ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
    }

    .cs-story__btn {
        width: auto;
    }

    .cs-stories__cta {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cs-stories__cta-text {
        flex-basis: calc(100% - 150px);
    }
}

/* ---------- tablet ---------- */
@media (max-width: 991.98px) {
    .cs-story {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        padding: 24px;
    }

    .cs-story__devices {
        max-width: 560px;
        width: 100%;
        margin-inline: auto;
    }
}

/* ---------- phone ---------- */
@media (max-width: 575.98px) {
    .cs-stories__tabs {
        padding-inline: 0;
    }

    .cs-stories__nav {
        width: 36px;
        height: 36px;
    }

    .cs-stories__nav--prev {
        left: -8px;
    }

    .cs-stories__nav--next {
        right: -8px;
    }

    .cs-stories__tab {
        min-height: 120px;
        padding: 14px 10px;
    }

    .cs-story {
        padding: 16px;
        border-radius: 20px;
    }

    .cs-story__devices {
        padding-right: 30px;
    }

    .cs-story__laptop-screen {
        border-width: 6px 6px 9px;
        border-radius: 10px 10px 3px 3px;
    }

    .cs-story__phone-screen {
        border-width: 4px;
        border-radius: 14px;
    }

    .cs-story__meta {
        gap: 14px;
    }

    .cs-story__highlights {
        padding: 18px;
    }

    .cs-story__highlights ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .cs-story__btn {
        width: 100%;
    }

    .cs-stories__cta {
        padding: 18px;
        text-align: center;
    }

    .cs-stories__cta-media {
        flex-basis: 100%;
        height: 120px;
    }

    .cs-stories__cta-text {
        flex-basis: 100%;
        padding-left: 0;
        border-left: 0;
    }

    .cs-stories__stats {
        width: 100%;
        justify-content: center;
    }

    .cs-stories__stats > div {
        flex: 1 1 0;
        padding: 0 8px;
    }

    .cs-stories__cta-btn {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-story__shot,
    .cs-story.is-entering {
        animation: none;
    }

    .cs-stories__tab,
    .cs-stories__nav {
        transition: none;
    }

    .cs-stories__tab:hover {
        transform: none;
    }
}

/* all client tabs fit: no arrows needed */
.cs-stories__nav.swiper-button-lock {
    display: none;
}

/* hide the alt text for the moment before a missing logo is swapped for its icon */
.cs-stories__tab img.cs-stories__logo {
    color: transparent;
    font-size: 0;
}

/* client logo at the top of the project card */
.cs-story__logo {
    display: block;
    width: auto;
    max-width: 200px;
    height: 56px;
    object-fit: contain;
    object-position: left center;
    color: transparent; /* no alt-text flash before a missing logo is swapped */
    font-size: 0;
}

@media (max-width: 575.98px) {
    .cs-story__logo {
        max-width: 160px;
        height: 46px;
    }
}

/* ---------- WhatsApp enquiry button on service / need / business cards ---------- */
.cs-card-wa {
    align-self: flex-start;
    margin-top: 18px;
    text-decoration: none;
   font-size: 15px;
}

.cs-card-wa i {
    font-size: 1.41em;
}

/* need cards: keep the button at the bottom so the three line up */
.cs-need-card__body {
    display: flex;
    flex-direction: column;
}

.cs-need-card__body .cs-card-wa {
    margin-top: auto;
}

.cs-need-card__services {
    margin-bottom: 18px;
}

@media (max-width: 575.98px) {
    .cs-card-wa {
        align-self: stretch;
        justify-content: center;
    }
}
