.cv-inner-page {
    background: #fff;
    color: #172b49;
}
.cv-inner-container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}
.cv-inner-hero {
    padding: clamp(76px, 11vw, 150px) 0 clamp(65px, 9vw, 112px);
    background: #f3f7fc;
}
.cv-inner-hero h1 {
    max-width: 900px;
    margin: 18px 0 22px;
    font-size: clamp(2.5rem, 6vw, 5.4rem);
    line-height: 1.06;
    letter-spacing: -.065em;
    font-weight: 600;
}
.cv-inner-eyebrow {
    color: #3978e8;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.cv-inner-intro {
    max-width: 760px;
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    line-height: 1.85;
}
.cv-inner-visual {
    width: 100%;
    height: clamp(250px, 34vw, 430px);
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #e9eef5;
}
.cv-inner-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.cv-inner-link,
.cv-inner-card a,
.cv-inner-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    color: #2867d5;
    font-weight: 750;
    text-decoration: none;
}
.cv-inner-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding-block: 64px;
    background: #e8edf4;
}
.cv-inner-card {
    min-height: 220px;
    padding: 30px;
    background: #fff;
}
.cv-inner-card-number {
    color: #3978e8;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
}
.cv-inner-card h2 {
    margin: 22px 0 12px;
    font-size: 1.25rem;
    letter-spacing: -.035em;
}
.cv-inner-card p,
.cv-inner-section p {
    line-height: 1.85;
}
.cv-inner-card a {
    margin-top: 18px;
    font-size: .88rem;
}
.cv-inner-sections {
    padding-block: 30px 90px;
}
.cv-inner-section {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    gap: 48px;
    padding-block: 36px;
    border-bottom: 1px solid #e7ebf1;
}
.cv-inner-section h2 {
    font-size: clamp(1.35rem, 2.3vw, 1.9rem);
    letter-spacing: -.04em;
}
.cv-inner-section p {
    max-width: 720px;
}
.cv-inner-bottom {
    padding: 64px 0;
    background: #172b49;
}
.cv-inner-bottom p {
    color: #c7d3e4;
}
.cv-inner-bottom a {
    color: #fff;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
}
.cv-inner-form-wrap {
    padding-block: 25px 90px;
}
.cv-enquiry-form {
    max-width: 820px;
    display: grid;
    gap: 22px;
}
.cv-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.cv-enquiry-form label {
    display: grid;
    gap: 9px;
    color: #172b49;
    font-size: .9rem;
    font-weight: 700;
}
.cv-enquiry-form input,
.cv-enquiry-form select,
.cv-enquiry-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid #d9e1eb;
    border-radius: 5px;
    background: #fff;
    color: #172b49;
    font: inherit;
}
.cv-enquiry-form textarea {
    min-height: 150px;
    resize: vertical;
}
.cv-enquiry-form input:focus,
.cv-enquiry-form select:focus,
.cv-enquiry-form textarea:focus {
    outline: 2px solid #3978e8;
    outline-offset: 2px;
}
.cv-enquiry-form .cv-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
    line-height: 1.6;
}
.cv-enquiry-form .cv-form-consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}
.cv-enquiry-form button {
    width: fit-content;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 5px;
    background: #2867d5;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.cv-enquiry-form button span {
    margin-left: 12px;
}
.cv-form-note {
    font-size: .8rem;
}
.cv-form-success,
.cv-form-error {
    max-width: 820px;
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 5px;
    line-height: 1.6;
}
.cv-form-success {
    background: #eaf7ef;
    color: #17643b;
}
.cv-form-error {
    background: #fff0ee;
    color: #9b2c22;
}
.cv-form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
@media (max-width: 800px) {
    .cv-inner-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cv-inner-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
@media (max-width: 560px) {
    .cv-inner-visual {
        height: 250px;
        border-radius: 5px;
    }
    .cv-inner-container {
        width: min(100% - 36px, 1160px);
    }
    .cv-inner-cards,
    .cv-form-grid {
        grid-template-columns: 1fr;
    }
    .cv-inner-card {
        min-height: 0;
        padding: 25px 22px;
    }
}

/* =========================================================
   CODEVAS — INNER PAGE READABILITY REFINEMENT
   More confident typography and stronger image presence.
   Existing enquiry form behaviour and styles are preserved.
   ========================================================= */

.cv-inner-hero {
    padding-top: clamp(88px, 12vw, 164px);
    padding-bottom: clamp(76px, 10vw, 126px);
}

.cv-inner-hero h1 {
    max-width: 980px;
    font-size: clamp(2.8rem, 6.4vw, 5.8rem);
    line-height: 1.04;
}

.cv-inner-eyebrow {
    font-size: .82rem;
}

.cv-inner-intro {
    max-width: 800px;
    font-size: clamp(1.15rem, 1.9vw, 1.4rem);
    line-height: 1.8;
}

.cv-inner-visual {
    height: clamp(320px, 39vw, 500px);
    border-radius: 3px;
}

.cv-inner-link,
.cv-inner-card a,
.cv-inner-bottom a {
    font-size: 1rem;
}

.cv-inner-cards {
    padding-block: 76px;
    column-gap: 1px;
    row-gap: 1px;
}

.cv-inner-card {
    min-height: 250px;
    padding: clamp(26px, 3vw, 38px);
}

.cv-inner-card-number {
    font-size: .82rem;
}

.cv-inner-card h2 {
    margin-top: 26px;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.25;
}

.cv-inner-card p {
    font-size: 1rem;
    line-height: 1.8;
}

.cv-inner-section {
    gap: clamp(32px, 6vw, 76px);
    padding-block: 46px;
}

.cv-inner-section h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    line-height: 1.25;
}

.cv-inner-section p {
    font-size: 1.08rem;
    line-height: 1.85;
}

.cv-inner-bottom {
    padding-block: clamp(72px, 8vw, 104px);
}

.cv-inner-bottom p {
    font-size: 1.05rem;
}

.cv-inner-bottom a {
    font-size: clamp(1.45rem, 2.8vw, 2.2rem);
    line-height: 1.3;
}

.cv-enquiry-form label {
    font-size: 1rem;
}

.cv-form-note {
    font-size: .9rem;
}

@media (max-width: 800px) {
    .cv-inner-section {
        gap: 14px;
    }

    .cv-inner-section p {
        font-size: 1.05rem;
    }
}

@media (max-width: 560px) {
    .cv-inner-hero {
        padding-top: 78px;
        padding-bottom: 68px;
    }

    .cv-inner-hero h1 {
        font-size: clamp(2.55rem, 11vw, 3.6rem);
        line-height: 1.06;
    }

    .cv-inner-intro {
        font-size: 1.12rem;
        line-height: 1.75;
    }

    .cv-inner-visual {
        height: 280px;
    }

    .cv-inner-cards {
        padding-block: 48px;
    }

    .cv-inner-card {
        padding: 28px 24px;
    }

    .cv-inner-card h2 {
        font-size: 1.45rem;
    }

    .cv-inner-card p {
        font-size: 1rem;
    }

    .cv-inner-section {
        padding-block: 30px;
    }

    .cv-inner-section h2 {
        font-size: 1.55rem;
    }

    .cv-inner-section p {
        font-size: 1rem;
    }

    .cv-inner-bottom {
        padding-block: 62px;
    }

    .cv-inner-bottom a {
        font-size: 1.45rem;
    }
}


/* =========================================================
   CODEVAS_SERVICE_EDITORIAL_LAYOUT
   Distinctive, content-led service page system.
   ========================================================= */

.cv-service-page {
    color: #142b43;
    background: #fff;
}

.cv-service-overview {
    padding: clamp(64px, 8vw, 108px) 0;
    background: #f3f7fb;
}

.cv-service-overview-grid {
    display: grid;
    grid-template-columns: minmax(190px, .7fr) minmax(0, 1.7fr);
    gap: clamp(36px, 8vw, 112px);
    align-items: start;
}

.cv-service-kicker,
.cv-service-overline {
    margin: 0;
    color: #3976a8;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.cv-service-overview-copy {
    max-width: 850px;
    margin: 0;
    color: #19334d;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -.025em;
}

.cv-service-text-link {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    margin-top: 30px;
    color: #1768a5;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.cv-service-text-link:hover {
    color: #0c3e68;
}

.cv-service-challenges,
.cv-service-capabilities,
.cv-service-applications,
.cv-service-process {
    padding: clamp(76px, 9vw, 124px) 0;
}

.cv-service-section-heading {
    max-width: 760px;
    margin-bottom: clamp(36px, 5vw, 62px);
}

.cv-service-section-heading h2 {
    margin: 17px 0 0;
    color: #142b43;
    font-size: clamp(2.1rem, 4.3vw, 3.7rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.cv-service-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #d8e2eb;
    border-bottom: 1px solid #d8e2eb;
}

.cv-service-challenge {
    padding: 32px clamp(20px, 3vw, 42px) 38px 0;
}

.cv-service-challenge + .cv-service-challenge {
    padding-left: clamp(20px, 3vw, 42px);
    border-left: 1px solid #d8e2eb;
}

.cv-service-challenge > span,
.cv-service-application-list article > span,
.cv-service-process article > span,
.cv-service-capability-index {
    color: #4b87b5;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.cv-service-challenge h3,
.cv-service-capability h3,
.cv-service-application-list h3,
.cv-service-process h3 {
    margin: 23px 0 12px;
    color: #142b43;
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.025em;
}

.cv-service-challenge p,
.cv-service-capability p,
.cv-service-application-list p,
.cv-service-process p {
    margin: 0;
    color: #526477;
    font-size: 1.04rem;
    line-height: 1.8;
}

.cv-service-capabilities {
    background: #f3f7fb;
}

.cv-service-heading-wide {
    max-width: 850px;
}

.cv-service-capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    background: #d7e1e9;
    border: 1px solid #d7e1e9;
}

.cv-service-capability {
    min-height: 310px;
    padding: clamp(28px, 4vw, 48px);
    background: #fff;
}

.cv-service-capability h3 {
    margin-top: 24px;
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.cv-service-capability ul {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.cv-service-capability li {
    position: relative;
    padding-left: 20px;
    color: #334b61;
    font-size: .98rem;
    line-height: 1.6;
}

.cv-service-capability li::before {
    position: absolute;
    top: .7em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3982b8;
    content: "";
}

.cv-service-applications-layout {
    display: grid;
    grid-template-columns: minmax(220px, .85fr) minmax(0, 1.35fr);
    gap: clamp(40px, 8vw, 110px);
}

.cv-service-applications-layout .cv-service-section-heading {
    margin-bottom: 0;
}

.cv-service-application-list {
    border-top: 1px solid #d8e2eb;
}

.cv-service-application-list article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid #d8e2eb;
}

.cv-service-application-list h3 {
    margin: 0 0 8px;
}

.cv-service-process {
    background: #f3f7fb;
}

.cv-service-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 56px);
}

.cv-service-process article {
    padding-top: 25px;
    border-top: 2px solid #9abbd4;
}

.cv-service-process h3 {
    margin-top: 22px;
}

.cv-service-cta {
    padding: clamp(66px, 8vw, 104px) 0;
    color: #fff;
    background: #102a43;
}

.cv-service-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cv-service-cta .cv-service-overline {
    color: #9bc6e6;
}

.cv-service-cta h2 {
    max-width: 760px;
    margin: 18px 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.cv-service-cta-inner > div > p:last-child {
    max-width: 690px;
    margin: 0;
    color: #d1dce6;
    font-size: 1.08rem;
    line-height: 1.75;
}

.cv-service-cta-inner > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 18px;
    padding: 18px 23px;
    color: #102a43;
    background: #fff;
    font-size: .98rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.cv-service-cta-inner > a:hover {
    background: #dcecf7;
    transform: translateY(-2px);
}

@media (max-width: 800px) {
    .cv-service-overview-grid,
    .cv-service-applications-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cv-service-challenge-grid {
        grid-template-columns: 1fr;
    }

    .cv-service-challenge,
    .cv-service-challenge + .cv-service-challenge {
        padding: 28px 0;
        border-left: 0;
    }

    .cv-service-challenge + .cv-service-challenge {
        border-top: 1px solid #d8e2eb;
    }

    .cv-service-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .cv-service-overview,
    .cv-service-challenges,
    .cv-service-capabilities,
    .cv-service-applications,
    .cv-service-process {
        padding-block: 62px;
    }

    .cv-service-overview-copy {
        font-size: 1.25rem;
        line-height: 1.65;
    }

    .cv-service-section-heading h2 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .cv-service-capability-grid,
    .cv-service-process-grid {
        grid-template-columns: 1fr;
    }

    .cv-service-capability {
        min-height: 0;
        padding: 30px 24px;
    }

    .cv-service-process-grid {
        gap: 30px;
    }

    .cv-service-application-list article {
        grid-template-columns: 32px 1fr;
        gap: 12px;
    }

    .cv-service-cta-inner > a {
        width: 100%;
        justify-content: space-between;
    }
}


/* CODEVAS EDITORIAL IMAGE PLACEMENTS */
.cv-inner-editorial-visual {
    width: 100%;
    margin: clamp(30px, 5vw, 64px) 0;
}

.cv-inner-editorial-visual img {
    display: block;
    width: 100%;
    height: clamp(240px, 38vw, 460px);
    object-fit: cover;
    border-radius: 3px;
}

.cv-inner-editorial-visual figcaption {
    margin-top: 12px;
    color: var(--cv-muted, #626B75);
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .cv-inner-editorial-visual {
        margin: 28px 0;
    }

    .cv-inner-editorial-visual img {
        height: 250px;
    }
}
