/*
 * CodeShaker header & footer.
 *
 * Elementor free has no theme builder, so these two regions are styled here
 * instead of in the page builder. Page bodies are built in Elementor.
 */

:root {
    --cs-primary: #0B60E0;
    --cs-primary-dark: #0A4FB8;
    --cs-accent: #2A93EF;
    --cs-navy: #061A37;
    --cs-heading: #0B1F3A;
    --cs-text: #5A6B85;
    --cs-muted: #8A99B0;
    --cs-border: #E4EBF5;
    --cs-tint: #E7F0FE;
    --cs-tint-deep: #CFE0FC;
    --cs-tint-edge: #B4CFFA;
    --cs-sky: #1E7BFF;
    --cs-grey-bg: #F4F6F9;
    --cs-header-h: 78px;
    --cs-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --cs-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ----------------------------------------------------------------- header */

.cs-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid var(--cs-border);
    transition: box-shadow .25s ease;
}

.cs-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(11, 31, 58, .08);
    border-bottom-color: transparent;
}

/*
 * Front page only: the header floats on the hero photograph until the user
 * scrolls, at which point it turns into the same solid bar as every other
 * page. Both logo variants are in the markup so the swap doesn't flash.
 */
.cs-header--overlay {
    background: transparent;
    border-bottom-color: transparent;
}

.cs-header--overlay .cs-header__logo--solid {
    display: none;
}

.cs-header--overlay.is-scrolled {
    background: #fff;
}

.cs-header--overlay.is-scrolled .cs-header__logo--default {
    display: none;
}

.cs-header--overlay.is-scrolled .cs-header__logo--solid {
    display: block;
}

.cs-header--overlay:not(.is-scrolled) .cs-nav__list a,
.cs-header--overlay:not(.is-scrolled) .cs-header__phone {
    color: rgba(255, 255, 255, .88);
}

.cs-header--overlay:not(.is-scrolled) .cs-nav__list a:hover,
.cs-header--overlay:not(.is-scrolled) .cs-nav__list .current-menu-item > a,
.cs-header--overlay:not(.is-scrolled) .cs-nav__list .current_page_item > a,
.cs-header--overlay:not(.is-scrolled) .cs-header__phone:hover {
    color: #fff;
}

/* White bars need a transparent plate, or they vanish into the white button. */
.cs-header--overlay:not(.is-scrolled) .cs-burger {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .35);
}

.cs-header--overlay:not(.is-scrolled) .cs-burger span {
    background: #fff;
}

.cs-header__spacer {
    height: var(--cs-header-h);
}

.cs-header__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--cs-header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cs-header__brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.cs-header__brand img {
    height: 38px;
    width: auto;
    display: block;
}

.cs-header__brand-text {
    font-family: var(--cs-font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--cs-heading);
}

.cs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

.cs-nav__list {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-nav__list li {
    margin: 0;
    position: relative;
}

/* Selectors here are deliberately two levels deep: Elementor's kit stylesheet
   emits `.elementor-kit-6 a { color }` and loads after this file, so a single
   class would tie on specificity and lose. */
.cs-header .cs-nav__list a {
    font-family: var(--cs-font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--cs-heading);
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.cs-header .cs-nav__list a:hover,
.cs-header .cs-nav__list .current-menu-item > a,
.cs-header .cs-nav__list .current_page_item > a {
    color: var(--cs-primary);
}

/* Sub-menus */
.cs-nav__list .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    margin-top: 18px;
    padding: 10px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(11, 31, 58, .12);
    opacity: 0;
    visibility: hidden;
    transition: all .22s ease;
}

.cs-nav__list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cs-nav__list .sub-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: 8px;
}

.cs-nav__list .sub-menu a:hover {
    background: #F5F8FF;
}

/* Buttons */
.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--cs-font-heading);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: 50px;
    padding: 13px 28px;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

a.cs-btn.cs-btn--primary,
.cs-btn--primary {
    background: var(--cs-primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(11, 96, 224, .28);
}

a.cs-btn.cs-btn--primary:hover,
.cs-btn--primary:hover {
    background: var(--cs-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(11, 96, 224, .34);
}

a.cs-btn.cs-btn--accent,
.cs-btn--accent {
    background: var(--cs-sky);
    color: #fff;
    box-shadow: 0 6px 18px rgba(30, 123, 255, .3);
}

a.cs-btn.cs-btn--accent:hover,
.cs-btn--accent:hover {
    background: var(--cs-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(30, 123, 255, .38);
}

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

.cs-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}

.cs-header .cs-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--cs-font-body);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--cs-heading);
    text-decoration: none;
    transition: color .2s ease;
    white-space: nowrap;
}

.cs-header .cs-header__phone .cs-icon {
    color: var(--cs-sky);
}

.cs-header .cs-header__phone:hover {
    color: var(--cs-primary);
}

.cs-header .cs-nav__cta {
    display: none;
}

/* Hamburger */
.cs-header .cs-burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid var(--cs-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.cs-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--cs-heading);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

.cs-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.cs-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.cs-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------------- footer */

.cs-footer {
    background: var(--cs-navy);
    color: var(--cs-muted);
    font-family: var(--cs-font-body);
}

.cs-footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 20px 46px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.15fr 1.25fr;
    gap: 40px;
}

.cs-footer__brand img {
    height: 56px;
    width: auto;
    display: block;
}

.cs-footer__pitch {
    margin: 20px 0 24px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--cs-muted);
    max-width: 320px;
}

.cs-footer .cs-footer__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 12px 22px;
    border-radius: 50px;
    background: var(--cs-sky);
    color: #fff;
    font-family: var(--cs-font-heading);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.cs-footer .cs-footer__cta:hover {
    background: #fff;
    color: var(--cs-navy);
    transform: translateY(-2px);
}

.cs-footer__brand-text {
    font-family: var(--cs-font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.cs-footer__title {
    font-family: var(--cs-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 22px;
}

.cs-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 13px;
}

.cs-footer .cs-footer__links a {
    color: var(--cs-muted);
    font-size: 15px;
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
}

.cs-footer .cs-footer__links a:hover {
    color: #fff;
    padding-left: 4px;
}

.cs-footer__contact {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 15px;
}

.cs-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.cs-footer__contact .cs-icon {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--cs-accent);
}

.cs-footer .cs-footer__contact a {
    color: var(--cs-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.cs-footer .cs-footer__contact a:hover {
    color: #fff;
}

.cs-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.cs-footer .cs-social {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: background-color .2s ease, transform .2s ease;
}

.cs-footer .cs-social:hover {
    background: var(--cs-primary);
    color: #fff;
    transform: translateY(-2px);
}

.cs-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.cs-footer__bar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cs-footer__bar p {
    margin: 0;
    font-size: 14px;
}

.cs-footer__legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-footer .cs-footer__legal a {
    color: var(--cs-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.cs-footer .cs-footer__legal a:hover {
    color: #fff;
}

.cs-footer__legal span {
    opacity: .4;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1024px) {
    :root {
        --cs-header-h: 70px;
    }

    .cs-header .cs-burger {
        display: flex;
    }

    .cs-header .cs-header__cta {
        display: none;
    }

    .cs-nav {
        position: fixed;
        top: var(--cs-header-h);
        left: 0;
        right: 0;
        display: block;
        background: #fff;
        padding: 20px;
        border-top: 1px solid var(--cs-border);
        box-shadow: 0 20px 40px rgba(11, 31, 58, .1);
        transform: translateY(-130%);
        transition: transform .3s ease;
        max-height: calc(100vh - var(--cs-header-h));
        overflow-y: auto;
    }

    .cs-nav.is-open {
        transform: translateY(0);
    }

    .cs-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .cs-nav__list > li > a {
        display: block;
        padding: 14px 4px;
        border-bottom: 1px solid var(--cs-border);
        font-size: 16px;
    }

    .cs-nav__list .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: 0;
        margin: 0;
        padding: 0 0 0 14px;
    }

    .cs-nav__cta {
        display: inline-flex;
        width: 100%;
        margin-top: 18px;
    }

    .cs-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        padding: 56px 20px 36px;
    }

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

    .cs-header .cs-header__phone {
        display: none;
    }

    /* The overlay header opens a solid white panel, so reset the light text. */
    .cs-header--overlay:not(.is-scrolled) .cs-nav__list a {
        color: var(--cs-heading);
    }

    .cs-header--overlay:not(.is-scrolled) .cs-nav__list a:hover,
    .cs-header--overlay:not(.is-scrolled) .cs-nav__list .current-menu-item > a,
    .cs-header--overlay:not(.is-scrolled) .cs-nav__list .current_page_item > a {
        color: var(--cs-primary);
    }
}

@media (max-width: 640px) {
    .cs-footer__inner {
        grid-template-columns: 1fr;
    }

    .cs-footer__bar-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ------------------------------------------------------- page components */
/*
 * Utility classes applied to Elementor elements via their CSS Classes field.
 * Selectors are scoped under .elementor so they outrank the kit stylesheet,
 * which loads after this file.
 */

.cs-accent {
    color: var(--cs-primary);
}

.cs-pill {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 50px;
    background: #EAF2FE;
    color: var(--cs-primary);
    font-family: var(--cs-font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    line-height: 1.4;
}

.cs-pill--solid {
    background: rgba(42, 147, 239, .18);
    color: #7FC0FF;
}

.elementor a.cs-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cs-primary);
    font-family: var(--cs-font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.elementor a.cs-arrow-link i {
    font-size: 12px;
    transition: transform .2s ease;
}

.elementor a.cs-arrow-link:hover i {
    transform: translateX(4px);
}

/* Cards lift on hover; Elementor containers have no transform control. */
.cs-card {
    transition: transform .28s ease, box-shadow .28s ease;
}

.cs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(11, 31, 58, .10);
}

/* Hairline dividers between the four hero strip items. */
.cs-strip__item {
    position: relative;
    padding: 12px 24px !important;
}

.cs-strip__item + .cs-strip__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: var(--cs-border);
}

/* Project tiles: crop the image and zoom it on hover. */
.cs-project .elementor-image-box-img {
    overflow: hidden;
    border-radius: 12px;
}

.cs-project .elementor-image-box-img img {
    transition: transform .5s ease;
    width: 100%;
}

.cs-project:hover .elementor-image-box-img img {
    transform: scale(1.06);
}

/* Banner breadcrumb */
.cs-crumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--cs-font-body);
    font-size: 14px;
}

.elementor .cs-crumb a {
    color: #6FB2FF;
    text-decoration: none;
}

.elementor .cs-crumb a:hover {
    color: #fff;
}

.cs-crumb span {
    color: rgba(255, 255, 255, .55);
}

.cs-crumb .cs-crumb-current {
    color: #fff;
}

@media (max-width: 1024px) {
    .cs-strip__item + .cs-strip__item::before {
        display: none;
    }
}

/* ------------------------------------------------------------------ grids */
/*
 * Elementor containers are flex. Percentage widths on flex children ignore the
 * container gap, so N columns of 100/N% overflow and wrap. These classes swap
 * the container to CSS Grid, which subtracts the gap automatically. The gap
 * itself still comes from Elementor's own --row-gap / --column-gap.
 */

.elementor .cs-grid {
    display: grid;
    align-items: start;
}

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

/* Text beside a visual, slightly favouring the text column. */
.elementor .cs-grid--hero {
    grid-template-columns: 1.06fr 1fr;
    align-items: center;
}

.elementor .cs-grid--split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* Heading on the left, "view all" link pinned right. */
.elementor .cs-grid--head {
    grid-template-columns: 1fr auto;
    align-items: end;
}

/* Cards in a grid should fill the full row height. */
.elementor .cs-grid > .e-con,
.elementor .cs-grid > .elementor-widget {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .elementor .cs-grid--4,
    .elementor .cs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .elementor .cs-grid--hero,
    .elementor .cs-grid--split,
    .elementor .cs-grid--head,
    .elementor .cs-grid--2 { grid-template-columns: minmax(0, 1fr); }

    .elementor .cs-grid--head { gap: 14px; }
}

@media (max-width: 640px) {
    .elementor .cs-grid--4,
    .elementor .cs-grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* Project tiles: fixed crop so the row lines up regardless of source ratio. */
.cs-project .elementor-image-box-img img {
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
}

/* Image-box wrappers shrink-wrap by default, which collapses a cropped image
   to its intrinsic width. Force both wrapper and image to fill the column. */
.cs-project .elementor-image-box-wrapper,
.cs-project .elementor-image-box-img {
    width: 100% !important;
    display: block;
}

.cs-project .elementor-image-box-img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

/* The "view all" link sits on the heading's baseline, not stretched. */
.elementor .cs-grid--head > .e-con {
    align-self: end;
}

/* An image paired with text should fill its half of the split, not shrink to
   its intrinsic size. */
.elementor .cs-grid--split > .e-con .elementor-widget-image,
.elementor .cs-grid--hero > .e-con .elementor-widget-image {
    width: 100%;
}

.elementor .cs-grid--split > .e-con .elementor-widget-image img,
.elementor .cs-grid--hero > .e-con .elementor-widget-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ----------------------------------------------------- about: statistics */

.elementor .cs-stats .elementor-counter {
    text-align: center;
}

.elementor .cs-stats .elementor-counter-number-wrapper {
    justify-content: center;
    display: flex;
}

.elementor .cs-stats .elementor-counter-title {
    text-align: center;
}

/* ------------------------------------------------------ portfolio filters */

.cs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cs-filter {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid var(--cs-border);
    background: #fff;
    color: var(--cs-text);
    font-family: var(--cs-font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: none;
}

.cs-filter:hover {
    border-color: var(--cs-primary);
    color: var(--cs-primary);
}

.cs-filter.is-active {
    background: var(--cs-primary);
    border-color: var(--cs-primary);
    color: #fff;
}

/* Portfolio tiles are edge-to-edge inside their card. */
.cs-project--card .elementor-image-box-img img {
    height: 210px;
    border-radius: 14px 14px 0 0;
}

.cs-project--card .elementor-image-box-content {
    padding: 18px 20px 22px;
}

.cs-project--card .elementor-widget-image-box {
    width: 100%;
}

/* ------------------------------------------------------------ blog cards */

.elementor .cs-grid--post {
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: stretch;
}

.cs-post__media {
    height: 100%;
}

.cs-post__media .elementor-widget-image,
.cs-post__media .elementor-widget-container,
.cs-post__media figure,
.cs-post__media a {
    height: 100%;
}

.cs-post__media img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    border-radius: 14px 0 0 14px;
    display: block;
}

.cs-post__body {
    padding: 26px 28px !important;
}

.cs-tag {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 50px;
    background: #EAF2FE;
    color: var(--cs-primary);
    font-family: var(--cs-font-body);
    font-size: 12px;
    font-weight: 600;
}

.cs-meta {
    margin: 0;
    color: var(--cs-muted);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.cs-meta i {
    font-size: 12px;
}

.cs-meta .cs-dot {
    opacity: .6;
}

/* ------------------------------------------------------------ pagination */

.cs-pagination {
    display: flex;
    justify-content: center;
    gap: 9px;
}

.elementor .cs-page {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cs-border);
    border-radius: 10px;
    color: var(--cs-text);
    font-family: var(--cs-font-body);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.elementor .cs-page:hover {
    border-color: var(--cs-primary);
    color: var(--cs-primary);
}

.elementor .cs-page.is-active {
    background: var(--cs-primary);
    border-color: var(--cs-primary);
    color: #fff;
}

/* -------------------------------------------------------------- contact */

.elementor .cs-grid--contact {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
}

.cs-contact-social {
    display: flex;
    gap: 10px;
    margin-top: 26px;
}

.elementor .cs-contact-social .cs-social {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EAF2FE;
    color: var(--cs-primary);
    transition: all .2s ease;
}

.elementor .cs-contact-social .cs-social:hover {
    background: var(--cs-primary);
    color: #fff;
    transform: translateY(-2px);
}

.cs-form-card {
    box-shadow: 0 18px 50px rgba(11, 31, 58, .07);
}

/* -------------------------------------------------- Contact Form 7 fields */

.cs-form .cs-field {
    margin: 0 0 16px;
}

.cs-form label {
    display: block;
    font-family: var(--cs-font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--cs-heading);
    margin-bottom: 7px;
}

.cs-form .cs-req {
    color: #E5484D;
}

.cs-form input[type="text"],
.cs-form input[type="email"],
.cs-form select,
.cs-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--cs-border);
    border-radius: 10px;
    background: #FBFCFE;
    font-family: var(--cs-font-body);
    font-size: 15px;
    color: var(--cs-heading);
    transition: border-color .2s ease, box-shadow .2s ease;
    box-shadow: none;
}

.cs-form input::placeholder,
.cs-form textarea::placeholder {
    color: #9AA8BF;
}

.cs-form input[type="text"]:focus,
.cs-form input[type="email"]:focus,
.cs-form select:focus,
.cs-form textarea:focus {
    outline: none;
    border-color: var(--cs-primary);
    box-shadow: 0 0 0 3px rgba(11, 96, 224, .12);
    background: #fff;
}

.cs-form textarea {
    min-height: 130px;
    resize: vertical;
}

.cs-form .cs-submit {
    margin: 22px 0 0;
}

.cs-form input[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    border: 0;
    border-radius: 10px;
    background: var(--cs-primary);
    color: #fff;
    font-family: var(--cs-font-heading);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.cs-form input[type="submit"]:hover {
    background: var(--cs-primary-dark);
    transform: translateY(-1px);
}

.wpcf7 form .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14.5px;
    border-width: 1px;
}

.wpcf7-not-valid-tip {
    color: #E5484D;
    font-size: 13px;
    margin-top: 6px;
}

.cs-map iframe {
    border-radius: 16px;
    display: block;
}

@media (max-width: 1024px) {
    .elementor .cs-grid--contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 780px) {
    .elementor .cs-grid--post { grid-template-columns: minmax(0, 1fr); }

    .cs-post__media img {
        height: 210px;
        min-height: 0;
        border-radius: 14px 14px 0 0;
    }
}

/* ==========================================================================
   Home page (v2)

   The banded layout the client asked for: a full-bleed photographic hero the
   header floats over, then alternating white / tinted sections. The reference
   design leans on mint green; the logo has no green in it, so the same role is
   played here by the pale end of the brand blue ramp.
   ========================================================================== */

/* ------------------------------------------------------------- hero */

.elementor .cs-hero {
    position: relative;
    overflow: hidden;
}

.elementor .cs-hero > .e-con-inner {
    position: relative;
    z-index: 2;
}

.cs-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 8px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-family: var(--cs-font-body);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cs-hero__eyebrow b {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    background: var(--cs-sky);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
}

/* Stats strip pinned to the bottom edge of the hero. */
.cs-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.cs-hero__stat {
    padding: 26px 24px 0 0;
}

.cs-hero__stat + .cs-hero__stat {
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.cs-hero__stat strong {
    display: block;
    font-family: var(--cs-font-heading);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.cs-hero__stat span {
    display: block;
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .72);
}

/* ------------------------------------------------- framed intro image */

.cs-framed {
    position: relative;
}

/* Offset tinted block behind the photo, echoing the reference layout. */
.cs-framed::before {
    content: "";
    position: absolute;
    left: -22px;
    bottom: -22px;
    width: 62%;
    height: 66%;
    border-radius: 18px;
    background: var(--cs-tint);
    z-index: 0;
}

.cs-framed .elementor-widget-image {
    position: relative;
    z-index: 1;
}

.cs-framed .elementor-widget-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

/* ---------------------------------------------------- capability wheel */

.cs-wheel {
    display: flex;
    justify-content: center;
}

.cs-wheel svg {
    width: 100%;
    max-width: 430px;
    height: auto;
    display: block;
}

/* ------------------------------------------------------ process steps */

.elementor .cs-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cs-step {
    position: relative;
    padding: 26px 22px;
    border-radius: 14px;
    min-height: 168px;
}

.cs-step__num {
    font-family: var(--cs-font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .65;
}

.cs-step h4 {
    margin: 10px 0 8px;
    font-family: var(--cs-font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.cs-step p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
}

/* Four steps in a light-to-dark ramp, ending on the brand navy. */
.cs-step--1 { background: var(--cs-tint); }
.cs-step--2 { background: var(--cs-tint-deep); }
.cs-step--3 { background: var(--cs-tint-edge); }
.cs-step--4 { background: var(--cs-navy); }

.cs-step--1, .cs-step--2, .cs-step--3 {
    color: var(--cs-heading);
}

.cs-step--1 p, .cs-step--2 p, .cs-step--3 p {
    color: #40536F;
}

.cs-step--4 h4, .cs-step--4 .cs-step__num { color: #fff; }
.cs-step--4 p { color: rgba(255, 255, 255, .74); }

/* Chevron joining one step to the next. */
.cs-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -11px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%) rotate(45deg);
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    z-index: 2;
}

/* ------------------------------------------------ what we offer (tabs) */

.elementor .cs-offer {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: start;
}

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

.cs-offer__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 20px 12px;
    border: 0;
    border-radius: 14px;
    background: var(--cs-tint);
    cursor: pointer;
    text-align: center;
    font-family: var(--cs-font-heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cs-heading);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.cs-offer__tab .cs-tab-ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--cs-navy);
    color: #fff;
    flex: 0 0 auto;
    transition: background-color .2s ease, color .2s ease;
}

.cs-offer__tab:hover {
    transform: translateY(-2px);
}

.cs-offer__tab.is-active {
    background: var(--cs-navy);
    color: #fff;
}

.cs-offer__tab.is-active .cs-tab-ico {
    background: rgba(255, 255, 255, .16);
}

.cs-offer__panel {
    display: none;
}

.cs-offer__panel.is-active {
    display: block;
}

.cs-offer__panel h3 {
    margin: 0 0 12px;
    font-family: var(--cs-font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--cs-heading);
}

.cs-offer__panel > p {
    margin: 0 0 24px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--cs-text);
}

.cs-offer__panel ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-offer__panel li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--cs-heading);
    font-weight: 500;
}

.cs-offer__panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--cs-sky);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px 11px;
    background-repeat: no-repeat;
    background-position: center;
}

/* --------------------------------------------------- engagement models */

.elementor .cs-models {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.cs-model {
    padding-left: 26px;
    border-left: 2px solid var(--cs-tint-edge);
}

.cs-model h3 {
    margin: 0 0 12px;
    font-family: var(--cs-font-heading);
    font-size: 21px;
    font-weight: 700;
    color: var(--cs-heading);
}

.cs-model p {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--cs-text);
}

.cs-model .cs-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    background: var(--cs-navy);
    color: #fff;
    font-family: var(--cs-font-heading);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.cs-model .cs-pill:hover {
    background: var(--cs-primary);
    transform: translateY(-2px);
    color: #fff;
}

/* -------------------------------------------------------- industries */

.cs-ind {
    padding: 28px 24px;
    border-radius: 14px;
    background: var(--cs-tint);
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cs-ind:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(11, 31, 58, .09);
}

.cs-ind__ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: var(--cs-primary);
    margin-bottom: 18px;
}

.cs-ind h4 {
    margin: 0 0 8px;
    font-family: var(--cs-font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--cs-heading);
}

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

/* Final tile in the grid is a prompt rather than an industry. */
.cs-ind--cta {
    background: var(--cs-navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cs-ind--cta h4 { color: #fff; font-size: 19px; }
.cs-ind--cta p { color: rgba(255, 255, 255, .74); margin-bottom: 16px; }

.cs-ind--cta a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-family: var(--cs-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.cs-ind--cta a:hover { color: var(--cs-tint-edge); }

/* ------------------------------------------------------ case studies */

.cs-case {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--cs-navy);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cs-case img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.cs-case__body {
    padding: 22px 22px 24px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.cs-case__metric {
    font-family: var(--cs-font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.cs-case__body p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .74);
}

.cs-case__tag {
    display: inline-block;
    align-self: flex-start;
    margin-top: 16px;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

/* ----------------------------------------------------------- clients */

.cs-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 24px;
    align-items: center;
}

.cs-logo {
    display: grid;
    place-items: center;
    height: 46px;
    color: #7C8AA0;
    transition: color .2s ease, transform .2s ease;
}

.cs-logo:hover {
    color: var(--cs-navy);
    transform: translateY(-2px);
}

.cs-logo svg {
    max-width: 100%;
    height: 30px;
    width: auto;
}

/* ---------------------------------------------------------- CTA band */

.elementor .cs-book {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cs-book__note {
    font-size: 15px;
    line-height: 1.75;
    color: #3B4E6B;
    margin: 0 0 20px;
}

/* ------------------------------------------------------- responsive */

@media (max-width: 1024px) {
    .elementor .cs-offer,
    .elementor .cs-models,
    .elementor .cs-book {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

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

    /* Chevrons only make sense on a single unbroken row. */
    .cs-step:not(:last-child)::after {
        display: none;
    }

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

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

@media (max-width: 780px) {
    .cs-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 0;
    }

    .cs-hero__stat:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

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

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

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

@media (max-width: 560px) {
    .elementor .cs-steps {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ------------------------------------------------ home v2: corrections */

/*
 * Grids written inside an HTML widget are plain divs, so they never receive
 * the --row-gap / --column-gap variables Elementor sets on its own containers.
 */
.elementor div.cs-grid:not(.e-con) {
    gap: 24px;
}

/*
 * The capability tiles are <button> elements, which pick up the theme's and
 * the Elementor kit's global button styling. Both selectors below are more
 * specific than either, so the tile keeps its own shape.
 */
.elementor .cs-offer .cs-offer__tab,
.elementor .cs-offer button.cs-offer__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 20px 12px;
    border: 0;
    border-radius: 14px;
    background: var(--cs-tint);
    background-image: none;
    color: var(--cs-heading);
    font-family: var(--cs-font-heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
    min-height: 118px;
}

.elementor .cs-offer .cs-offer__tab.is-active,
.elementor .cs-offer button.cs-offer__tab.is-active {
    background: var(--cs-navy);
    color: #fff;
}

.elementor .cs-offer .cs-offer__tab .cs-tab-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--cs-navy);
    color: #fff;
    font-size: 17px;
}

.elementor .cs-offer .cs-offer__tab.is-active .cs-tab-ico {
    background: rgba(255, 255, 255, .16);
}

/* Industry tiles: the glyph needs an explicit size inside the circle. */
.cs-ind__ico i {
    font-size: 19px;
    line-height: 1;
}

/* Client wordmarks were rendering far too small against the section. */
.cs-logo {
    height: 40px;
}

.cs-logo svg {
    height: 34px;
}

/* The Elementor kit uppercases buttons globally; these pills read better sentence-cased. */
.elementor a.cs-pill,
.elementor .cs-model a.cs-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    background: var(--cs-navy);
    color: #fff;
    font-family: var(--cs-font-heading);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.2;
    transition: background-color .2s ease, transform .2s ease;
}

.elementor a.cs-pill:hover,
.elementor .cs-model a.cs-pill:hover {
    background: var(--cs-primary);
    color: #fff;
    transform: translateY(-2px);
}

/*
 * Release Elementor's fixed custom width on small screens. The generated rule
 * this overrides is scoped per element ID, so it needs !important to lose.
 */
@media (max-width: 767px) {
    .elementor .elementor-element.cs-maxw {
        width: 100% !important;
        max-width: 100% !important;
        --container-widget-width: 100% !important;
    }
}

/* ==========================================================================
   Engagement model pages
   ========================================================================== */

/* Breadcrumb on a light hero rather than over a photograph. */
.cs-crumb--light {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--cs-font-body);
    font-size: 13.5px;
    color: var(--cs-muted);
}

.cs-crumb--light a {
    color: var(--cs-primary);
    text-decoration: none;
}

.cs-crumb--light a:hover {
    text-decoration: underline;
}

.cs-crumb--light .cs-crumb-current {
    color: var(--cs-text);
}

.cs-em-hero__art .elementor-widget-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------------------------------------------------------- scope band */

/* Soft blocks in the band's corners, echoing the reference layout. */
.elementor .cs-em-scope {
    position: relative;
    overflow: hidden;
}

.elementor .cs-em-scope::before,
.elementor .cs-em-scope::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, .55);
    pointer-events: none;
}

.elementor .cs-em-scope::before {
    top: 0;
    right: 0;
    width: 190px;
    height: 62px;
}

.elementor .cs-em-scope::after {
    bottom: 0;
    left: 0;
    width: 150px;
    height: 54px;
}

.elementor .cs-em-scope > .e-con-inner {
    position: relative;
    z-index: 1;
}

.cs-em-scope__media .elementor-widget-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------- tile grid */

.elementor .cs-em-tiles {
    position: relative;
}

/* Rotated label running down the left margin. */
.cs-siderail {
    position: absolute;
    left: 6px;
    top: 132px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--cs-font-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cs-tint-edge);
}

.cs-tilegrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.cs-tile {
    padding: 26px 22px 28px;
    border-radius: 14px;
    background: var(--cs-grey-bg);
    border: 1px solid transparent;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.cs-tile:hover {
    background: #fff;
    border-color: var(--cs-border);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(11, 31, 58, .08);
}

.cs-tile__ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: var(--cs-tint);
    color: var(--cs-primary);
    font-size: 19px;
}

.cs-tile h4 {
    margin: 0 0 8px;
    font-family: var(--cs-font-heading);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cs-heading);
}

.cs-tile p {
    margin: 0;
    font-size: 13.8px;
    line-height: 1.65;
    color: var(--cs-text);
}

/* ------------------------------------------------------- process flow */

.cs-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px 56px;
}

.cs-flow__ico {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--cs-primary);
    color: #fff;
    font-size: 20px;
}

.cs-flow__item h4 {
    margin: 0 0 10px;
    font-family: var(--cs-font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cs-heading);
}

.cs-flow__item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--cs-text);
}

/* ---------------------------------------------------------- inclusions */

.cs-included ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-included li {
    position: relative;
    padding: 14px 16px 14px 46px;
    border-radius: 12px;
    background: var(--cs-tint);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--cs-heading);
}

.cs-included li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 16px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cs-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 1024px) {
    .cs-tilegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cs-siderail { display: none; }
}

@media (max-width: 780px) {
    .cs-flow,
    .cs-included ul { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .cs-tilegrid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Engagement Models dropdown
   ========================================================================== */

.cs-nav__list .cs-has-mega {
    position: relative;
}

.cs-header .cs-nav__list .cs-has-mega > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cs-caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .25s ease;
}

.cs-has-mega:hover > a .cs-caret {
    transform: translateY(1px) rotate(225deg);
}

.cs-mega {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translate(-50%, 10px);
    width: 520px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--cs-border);
    box-shadow: 0 26px 60px rgba(11, 31, 58, .16);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 60;
}

/* Bridges the gap between the trigger and the panel so hover survives it. */
.cs-mega::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

/* Little arrow pointing back at the trigger. */
.cs-mega::after {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    transform: rotate(45deg);
    background: #fff;
    border-left: 1px solid var(--cs-border);
    border-top: 1px solid var(--cs-border);
}

.cs-has-mega:hover > .cs-mega,
.cs-has-mega:focus-within > .cs-mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.cs-mega__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-header .cs-nav__list .cs-mega__item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.cs-header .cs-nav__list .cs-mega__item:hover {
    background: var(--cs-tint);
    transform: none;
}

.cs-mega__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--cs-navy);
    color: #fff;
    font-size: 16px;
    transition: background-color .18s ease;
}

.cs-mega__item:hover .cs-mega__ico {
    background: var(--cs-sky);
}

.cs-mega__body {
    display: block;
    min-width: 0;
}

.cs-header .cs-nav__list .cs-mega__body strong {
    display: block;
    font-family: var(--cs-font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cs-heading);
    white-space: normal;
}

.cs-header .cs-nav__list .cs-mega__body span {
    display: block;
    margin-top: 5px;
    font-family: var(--cs-font-body);
    font-size: 12.8px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--cs-text);
    white-space: normal;
}

/* The panel is always white, so keep its text dark on the overlay header. */
.cs-header--overlay:not(.is-scrolled) .cs-nav__list .cs-mega__body strong {
    color: var(--cs-heading);
}

.cs-header--overlay:not(.is-scrolled) .cs-nav__list .cs-mega__body span {
    color: var(--cs-text);
}

.cs-nav__list .cs-has-mega.cs-has-services-panel {
    position: static;
}

.cs-header .cs-mega--services {
    width: min(1120px, calc(100vw - 40px));
    padding: 28px 32px 24px;
    left: 50%;
}

.cs-header .cs-mega--services::before,
.cs-header .cs-mega--services::after {
    display: none;
}

.cs-services-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 40px;
}

.cs-services-col h4 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--cs-border);
    font-family: var(--cs-font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--cs-heading);
    box-shadow: inset 0 -2px 0 var(--cs-sky);
}

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

.cs-header .cs-nav__list .cs-services-col a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    font-family: var(--cs-font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--cs-heading);
    text-decoration: none;
    white-space: normal;
}

.cs-header .cs-nav__list .cs-services-col a::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--cs-muted);
    border-top: 1.5px solid var(--cs-muted);
    transform: rotate(45deg);
    opacity: .7;
}

.cs-header .cs-nav__list .cs-services-col a:hover {
    color: var(--cs-primary);
}

.cs-header .cs-nav__list .cs-services-col a:hover::after {
    border-color: var(--cs-primary);
    opacity: 1;
}

.cs-header--overlay:not(.is-scrolled) .cs-nav__list .cs-services-col h4,
.cs-header--overlay:not(.is-scrolled) .cs-nav__list .cs-services-col a {
    color: var(--cs-heading);
}

/* --------------------------------------------------------- mobile panel */

@media (max-width: 1024px) {
    .cs-mega {
        position: static;
        width: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        border: 0;
        box-shadow: none;
        padding: 6px 0 10px;
        display: none;
    }

    .cs-mega::before,
    .cs-mega::after {
        display: none;
    }

    .cs-has-mega.is-open > .cs-mega {
        display: block;
    }

    .cs-services-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .cs-header .cs-mega--services {
        width: auto;
        padding: 8px 0 12px;
    }

    /* Hover must not open it on touch; the caret button drives it instead. */
    .cs-has-mega:hover > .cs-mega,
    .cs-has-mega:focus-within > .cs-mega {
        transform: none;
    }

    .cs-mega__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .cs-header .cs-nav__list .cs-mega__item {
        background: var(--cs-grey-bg);
        padding: 14px;
    }

    .cs-has-mega.is-open > a .cs-caret {
        transform: translateY(1px) rotate(225deg);
    }
}

/* ==========================================================================
   Extend My Team
   ========================================================================== */

/* ------------------------------------------------------------- navy hero */

.elementor .cs-navyhero {
    position: relative;
    overflow: hidden;
}

/* Faint circuit-style linework, drawn rather than shipped as an image. */
.elementor .cs-navyhero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
    background-image:
        radial-gradient(circle at 92% 18%, rgba(30, 123, 255, .30) 0 1px, transparent 1px),
        linear-gradient(115deg, transparent 0 48%, rgba(120, 176, 255, .12) 48% 48.4%, transparent 48.4%),
        linear-gradient(115deg, transparent 0 62%, rgba(120, 176, 255, .10) 62% 62.3%, transparent 62.3%),
        linear-gradient(65deg, transparent 0 22%, rgba(120, 176, 255, .10) 22% 22.3%, transparent 22.3%);
}

.elementor .cs-navyhero > .e-con-inner {
    position: relative;
    z-index: 1;
}

/* Concentric arcs anchored to the two bottom corners. */
.cs-navyhero__rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cs-navyhero__rings span {
    position: absolute;
    border: 1px solid rgba(120, 176, 255, .16);
    border-radius: 50%;
}

.cs-navyhero__rings span:nth-child(1) { width: 300px; height: 300px; left: -130px;  bottom: -120px; }
.cs-navyhero__rings span:nth-child(2) { width: 460px; height: 460px; left: -210px;  bottom: -200px; }
.cs-navyhero__rings span:nth-child(3) { width: 340px; height: 340px; right: -120px; top: -130px; }

/* Outlined button for use on the navy hero. */
.elementor a.cs-ghost,
a.cs-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, .55);
    background: transparent;
    color: #fff;
    font-family: var(--cs-font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.elementor a.cs-ghost:hover,
a.cs-ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--cs-navy);
}

/* ----------------------------------------------------------- trust strip */

.cs-trustline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px 36px;
}

.cs-trustline__label {
    font-family: var(--cs-font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cs-primary);
    white-space: nowrap;
}

.cs-trustline__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
    min-width: 0;
}

.cs-trustline .cs-logo {
    height: 28px;
    color: #8A99B0;
}

.cs-trustline .cs-logo svg {
    height: 24px;
}

/* -------------------------------------------------------- numbered cards */

/* The reference slices this band on a diagonal at the bottom edge. */
.elementor .cs-slantband {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}

.elementor .cs-slantband--up {
    clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
    padding-top: 56px;
}

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

.cs-numgrid--tail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cs-numcard {
    padding: 28px 26px 30px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11, 31, 58, .07);
}

.cs-numcard__n {
    display: block;
    margin-bottom: 10px;
    font-family: var(--cs-font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--cs-primary);
}

.cs-numcard h4 {
    margin: 0 0 9px;
    font-family: var(--cs-font-heading);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cs-heading);
}

.cs-numcard p {
    margin: 0;
    font-size: 14px;
    line-height: 1.68;
    color: var(--cs-text);
}

/* ------------------------------------------------------- zigzag timeline */

.cs-zig {
    position: relative;
    display: grid;
    gap: 8px;
}

/* The spine the markers sit on. */
.cs-zig::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: var(--cs-tint-deep);
}

.cs-zig__row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 74px 1fr;
    align-items: center;
}

.cs-zig__art {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
}

.cs-zig__media {
    display: flex;
    justify-content: center;
}

.cs-zig__copy {
    padding: 26px 30px;
    max-width: 470px;
}

.cs-zig__row:nth-child(even) .cs-zig__copy { margin-left: auto; }

.cs-zig__copy h4 {
    margin: 0 0 12px;
    font-family: var(--cs-font-heading);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cs-heading);
}

.cs-zig__copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--cs-text);
}

/* Odd rows put the illustration on the left, even rows flip it. */
.cs-zig__row:nth-child(even) .cs-zig__media { order: 3; }
.cs-zig__row:nth-child(even) .cs-zig__copy  { order: 1; text-align: right; }
.cs-zig__row:nth-child(even) .cs-zig__dot   { order: 2; }

.cs-zig__dot {
    display: grid;
    place-items: center;
    justify-self: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--cs-primary);
    color: #fff;
    font-family: var(--cs-font-heading);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 0 0 7px var(--cs-tint);
    z-index: 1;
}

/* --------------------------------------------------------- hiring models */

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

.elementor a.cs-hmodel,
a.cs-hmodel,
.cs-hmodel {
    display: block;
    padding: 30px 26px 32px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(11, 31, 58, .07);
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease;
}

.elementor a.cs-hmodel,
a.cs-hmodel {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.cs-hmodel__ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--cs-navy);
    color: #fff;
    font-size: 17px;
}

.cs-hmodel h4 {
    margin: 0 0 10px;
    font-family: var(--cs-font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cs-heading);
}

.cs-hmodel p {
    margin: 0;
    font-size: 14.2px;
    line-height: 1.7;
    color: var(--cs-text);
}

/* -------------------------------------------------------------- tech grid */

.cs-stack {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid var(--cs-border);
    border-radius: 14px;
    overflow: hidden;
}

.cs-stack__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 26px 12px;
    border-right: 1px solid var(--cs-border);
    border-bottom: 1px solid var(--cs-border);
    text-align: center;
}

/* Trim the outer edges so only the interior rules show. */
.cs-stack__cell:nth-child(5n) { border-right: 0; }
.cs-stack__cell:nth-last-child(-n+5) { border-bottom: 0; }

.cs-stack__cell i {
    font-size: 27px;
    color: var(--cs-primary);
    line-height: 1;
}

.cs-stack__cell span {
    font-family: var(--cs-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--cs-heading);
}

/* --------------------------------------------------------------- reasons */

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

.cs-reason__ico {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #fff;
    color: var(--cs-primary);
    font-size: 21px;
    box-shadow: 0 8px 22px rgba(11, 31, 58, .08);
}

.cs-reason h4 {
    margin: 0 0 9px;
    font-family: var(--cs-font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cs-heading);
}

.cs-reason p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--cs-text);
}

.elementor .cs-whyband {
    position: relative;
    overflow: hidden;
}

.cs-whyband__mark {
    position: absolute;
    top: 0;
    right: 72px;
    width: 72px;
    height: 28px;
    background: var(--cs-sky);
    z-index: 1;
}

/* ------------------------------------------------------------- CTA card */

.cs-ctacard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 24px;
    padding: 46px 50px;
    border-radius: 20px;
    background: var(--cs-grey-bg);
}

.cs-ctacard h3 {
    margin: 0 0 24px;
    font-family: var(--cs-font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--cs-heading);
}

.cs-ctacard img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-left: auto;
    mix-blend-mode: multiply;
}

/* ------------------------------------------------------------------ FAQ */

.cs-faq {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.cs-faq__toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.cs-faq__search {
    position: relative;
    flex: 1 1 auto;
    display: block;
}

.cs-faq__search-ico {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    background: no-repeat center / 16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238A99B0' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
}

.elementor .cs-faq__search input,
.cs-faq__search input {
    width: 100%;
    height: 52px;
    padding: 0 18px 0 46px;
    border: 1px solid var(--cs-border);
    border-radius: 14px;
    background: #fff;
    font-family: var(--cs-font-body);
    font-size: 15px;
    color: var(--cs-heading);
    outline: none;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.cs-faq__search input::placeholder {
    color: var(--cs-muted);
}

.cs-faq__search input:focus {
    border-color: var(--cs-primary);
    box-shadow: 0 0 0 4px rgba(11, 96, 224, .12);
}

.cs-faq__count {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--cs-muted);
    white-space: nowrap;
}

.cs-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-faq__item {
    border: 1px solid var(--cs-border);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cs-faq__item:hover,
.cs-faq__item.is-open {
    border-color: #c9daf8;
    box-shadow: 0 12px 32px rgba(11, 31, 58, .07);
}

.cs-faq__item.is-hidden {
    display: none;
}

.elementor .cs-faq button.cs-faq__q,
.cs-faq__q {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 20px 20px 20px 22px;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    font-family: var(--cs-font-heading);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--cs-heading);
    min-height: 0;
}

.elementor .cs-faq button.cs-faq__q:hover,
.elementor .cs-faq button.cs-faq__q:focus,
.cs-faq__q:hover,
.cs-faq__q:focus {
    background: transparent;
    color: var(--cs-heading);
    box-shadow: none;
}

.cs-faq__n {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--cs-primary);
    font-variant-numeric: tabular-nums;
}

.cs-faq__title {
    flex: 1 1 auto;
    min-width: 0;
}

.cs-faq__icon {
    position: relative;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cs-tint);
    transition: background-color .2s ease, transform .2s ease;
}

.cs-faq__icon::before,
.cs-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--cs-primary);
    border-radius: 1px;
    transition: transform .25s ease, opacity .2s ease;
}

.cs-faq__icon::before {
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
}

.cs-faq__icon::after {
    width: 2px;
    height: 12px;
    margin: -6px 0 0 -1px;
}

.cs-faq__item.is-open .cs-faq__icon {
    background: var(--cs-navy);
}

.cs-faq__item.is-open .cs-faq__icon::before,
.cs-faq__item.is-open .cs-faq__icon::after {
    background: #fff;
}

.cs-faq__item.is-open .cs-faq__icon::after {
    opacity: 0;
    transform: scaleY(0);
}

.cs-faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s ease;
}

.cs-faq__item.is-open .cs-faq__a {
    grid-template-rows: 1fr;
}

.cs-faq__inner {
    overflow: hidden;
}

.cs-faq__inner p {
    margin: 0;
    padding: 0 22px 22px 62px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--cs-text);
}

.cs-faq__empty {
    margin: 8px 0 0;
    padding: 18px 20px;
    border-radius: 12px;
    background: #fff;
    font-size: 14.5px;
    color: var(--cs-text);
}

.cs-faq__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    margin-top: 22px;
    padding: 22px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--cs-border);
}

.cs-faq__foot p {
    margin: 0;
    font-family: var(--cs-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--cs-heading);
}

/* --------------------------------------------------------- responsive */

@media (max-width: 1024px) {
    .cs-numgrid,
    .cs-hmodels,
    .cs-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .cs-stack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cs-stack__cell:nth-child(5n) { border-right: 1px solid var(--cs-border); }
    .cs-stack__cell:nth-child(4n) { border-right: 0; }
    .cs-stack__cell:nth-last-child(-n+5) { border-bottom: 1px solid var(--cs-border); }
    .cs-stack__cell:nth-last-child(-n+4) { border-bottom: 0; }

    .cs-zig__row { grid-template-columns: 1fr 60px 1fr; }
    .cs-zig__art { max-width: 250px; }
}

@media (max-width: 780px) {
    /* Collapse the timeline onto a single spine running down the left. */
    .cs-zig::before { left: 17px; }

    .cs-zig__row,
    .cs-zig__row:nth-child(even) {
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: start;
        gap: 0 20px;
        padding-bottom: 34px;
    }

    .cs-zig__row .cs-zig__dot,
    .cs-zig__row:nth-child(even) .cs-zig__dot {
        order: 1;
        grid-row: 1 / span 2;
        justify-self: start;
    }

    .cs-zig__row .cs-zig__media,
    .cs-zig__row:nth-child(even) .cs-zig__media {
        order: 2;
        justify-content: flex-start;
    }

    .cs-zig__row .cs-zig__copy,
    .cs-zig__row:nth-child(even) .cs-zig__copy {
        order: 3;
        text-align: left;
        padding: 4px 0 0;
    }

    .cs-zig__art { max-width: 210px; }

    .cs-numgrid,
    .cs-hmodels,
    .cs-reasons { grid-template-columns: minmax(0, 1fr); }

    .cs-faq__inner p { padding-left: 22px; }
    .cs-faq__toolbar { flex-wrap: wrap; }

    .cs-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cs-stack__cell { border-right: 1px solid var(--cs-border) !important; border-bottom: 1px solid var(--cs-border) !important; }
    .cs-stack__cell:nth-child(3n) { border-right: 0 !important; }

    .cs-ctacard { grid-template-columns: minmax(0, 1fr); padding: 34px 26px; text-align: center; }
    .cs-ctacard img { margin: 0 auto; max-width: 300px; }
    .cs-ctacard h3 { font-size: 23px; }

    .cs-trustline { gap: 14px 20px; }
}

@media (max-width: 560px) {
    .cs-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cs-stack__cell:nth-child(3n) { border-right: 1px solid var(--cs-border) !important; }
    .cs-stack__cell:nth-child(2n) { border-right: 0 !important; }
}

/* ==========================================================================
   Tech Stack page
   ========================================================================== */

.cs-techpage__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-bottom: 42px;
    padding: 14px 16px;
    border: 1px solid var(--cs-border);
    border-radius: 16px;
    background: var(--cs-grey-bg);
}

.cs-techpage__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1 1 520px;
}

.elementor .cs-techpage button.cs-techchip,
.cs-techchip {
    margin: 0;
    padding: 8px 14px;
    border: 1px solid var(--cs-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
    min-height: 0;
    font-family: var(--cs-font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: var(--cs-text);
    cursor: pointer;
}

.elementor .cs-techpage button.cs-techchip:hover,
.cs-techchip:hover {
    background: #fff;
    color: var(--cs-heading);
    border-color: var(--cs-tint-edge);
}

.elementor .cs-techpage button.cs-techchip.is-active,
.cs-techchip.is-active {
    background: var(--cs-navy);
    border-color: var(--cs-navy);
    color: #fff;
}

.cs-techpage__search {
    position: relative;
    flex: 0 1 240px;
    min-width: 180px;
}

.cs-techpage__search-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    background: no-repeat center / 15px 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238A99B0' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
}

.elementor .cs-techpage__search input,
.cs-techpage__search input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--cs-border);
    border-radius: 999px;
    background: #fff;
    font-family: var(--cs-font-body);
    font-size: 14px;
    color: var(--cs-heading);
    outline: none;
    box-shadow: none;
}

.elementor .cs-techpage__search input:focus,
.cs-techpage__search input:focus {
    border-color: var(--cs-primary);
    box-shadow: 0 0 0 4px rgba(11, 96, 224, .12);
}

.cs-tech-group {
    margin-bottom: 42px;
}

.cs-tech-group.is-hidden,
.cs-tech.is-hidden {
    display: none;
}

.cs-tech-group__title {
    margin: 0 0 16px;
    font-family: var(--cs-font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cs-heading);
}

.cs-tech-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.cs-tech {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 108px;
    padding: 16px 10px;
    border-radius: 14px;
    background: var(--cs-grey-bg);
    text-align: center;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.cs-tech:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(11, 31, 58, .08);
}

.cs-tech i {
    font-size: 26px;
    color: var(--cs-primary);
    line-height: 1;
}

.cs-tech__mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--cs-tint);
    color: var(--cs-primary);
    font-family: var(--cs-font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.cs-tech span:not(.cs-tech__mark) {
    font-family: var(--cs-font-body);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--cs-heading);
}

.cs-techpage__empty {
    margin: 0;
    padding: 22px;
    border-radius: 14px;
    background: var(--cs-grey-bg);
    text-align: center;
    color: var(--cs-text);
}

@media (max-width: 1100px) {
    .cs-tech-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .cs-tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .cs-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cs-techpage__search { flex: 1 1 100%; }
}

/* ==========================================================================
   About — mission, vision, values
   ========================================================================== */

.elementor .cs-about-deco {
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 50% 50%, transparent 94px, rgba(255,255,255,.48) 95px, rgba(255,255,255,.48) 128px, transparent 129px),
        linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)),
        linear-gradient(var(--cs-sky), var(--cs-sky)) !important;
    background-size: 260px 260px, 180px 54px, 54px 54px !important;
    background-position: -80px calc(100% + 70px), 100% 0, 100% 54px !important;
    background-repeat: no-repeat !important;
}

.elementor .cs-about-deco--flip {
    background-position: calc(100% + 80px) -80px, 0 100%, 0 calc(100% - 54px);
}

.elementor .cs-about-deco > .e-con-inner {
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------- mission / vision */

.cs-mv {
    display: grid;
    gap: 16px;
}

.cs-mv__card {
    padding: 28px 28px 30px;
    border-radius: 16px;
}

.cs-mv__card span {
    display: block;
    margin-bottom: 12px;
    font-family: var(--cs-font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}

.cs-mv__card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #fff;
}

.cs-mv__card--mission {
    background: var(--cs-navy);
}

.cs-mv__card--vision {
    background: var(--cs-sky);
}

/* -------------------------------------------------------------- values */

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

.cs-value {
    text-align: center;
}

.cs-value__ico {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff;
    color: var(--cs-primary);
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(11, 31, 58, .08);
}

.cs-value h4 {
    margin: 0 0 10px;
    font-family: var(--cs-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--cs-heading);
}

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

/* -------------------------------------------------------------- quality */

.cs-policy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 48px;
}

.cs-policy__n {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--cs-primary);
    color: #fff;
    font-family: var(--cs-font-heading);
    font-size: 13px;
    font-weight: 800;
}

.cs-policy__item h4 {
    margin: 0 0 8px;
    font-family: var(--cs-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--cs-heading);
}

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

@media (max-width: 780px) {
    .cs-values,
    .cs-policy { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Services hub and detail pages
   ========================================================================== */

.cs-svc-kicker {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--cs-font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cs-primary);
}

.cs-svc-hub {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 32px;
}

.cs-svc-hub__group h3 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--cs-border);
    font-family: var(--cs-font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--cs-heading);
    box-shadow: inset 0 -2px 0 var(--cs-sky);
}

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

.elementor .cs-svc-hub__group a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--cs-heading);
    text-decoration: none;
}

.elementor .cs-svc-hub__group a::after {
    content: "→";
    color: var(--cs-muted);
    font-size: 14px;
}

.elementor .cs-svc-hub__group a:hover {
    color: var(--cs-primary);
}

.cs-related {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.elementor a.cs-related__item {
    display: block;
    padding: 20px 22px;
    border-radius: 14px;
    background: var(--cs-grey-bg);
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease;
}

.elementor a.cs-related__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(11, 31, 58, .08);
}

.cs-related__item strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--cs-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--cs-heading);
}

.cs-related__item span {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    color: var(--cs-text);
}

@media (max-width: 900px) {
    .cs-svc-hub,
    .cs-related { grid-template-columns: minmax(0, 1fr); }
}
