/*
 * Manomay Automation
 * Shared website design system
 *
 * Load after Bootstrap and Syncfusion theme CSS.
 */

:root {
    --blue: #007cc1;
    --blue2: #13668c;
    --red: #c01717;
    --ink: #4d4d4d;
    --muted: #6f7d86;
    --line: #dce6eb;
    --soft: #f4f8fa;
    --green: #548235;
    --shadow: 0 18px 55px rgba(31,65,82,.10)
}


/* =========================================================
   TYPOGRAPHY — cross-browser Mulish normalization
   ========================================================= */

html,
body {
    font-family: 'Mulish', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-weight: inherit;
}

/*
   Avoid synthetic ExtraBold/Black rendering differences between
   Chromium-based browsers. The design system now uses 400 and 700.
*/


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden
}

.container {
    max-width: 1240px;
    padding-left: 20px;
    padding-right: 20px;
}

a {
    text-decoration: none
}

.navbar-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.navbar {
    min-height: 82px
}

.navbar-nav .btn-main {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    width: 177px;
    height: 42px;
    background: var(--blue);
    color: #fff !important;
    border: 1px solid var(--blue);
    border-radius: 999px;
    padding: .72rem 1.35rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0,124,193,.18);
    transition: .2s
}


.navbar-toggler-icon {
    display: inline-block;
    width: 2em;
    height: 2em;
    vertical-align: middle;
    background-image: url("/images/logo/icon-manomay-round.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.navbar .dropdown-menu {
    min-width: 260px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.navbar .dropdown-item {
    padding: 12px 14px;
    border-radius: 8px;
    white-space: normal;
}

    .navbar .dropdown-item:hover {
        background: #f3f8fa;
    }

    .navbar .dropdown-item strong {
        display: block;
        color: #314956;
        font-size: .9rem;
        margin-bottom: 2px;
    }

    .navbar .dropdown-item .small {
        font-size: .72rem;
        line-height: 1.4;
    }


.logo {
    height: 53px;
    width: auto
}

.nav-link {
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink) !important;
    padding: .65rem .75rem !important
}

    .nav-link:hover, .nav-link.active {
        color: var(--blue) !important
    }

        .nav-link.active:after {
            content: "";
            display: block;
            height: 2px;
            background: var(--red);
            border-radius: 3px;
            margin: 4px 2px 0
        }

.platform {
    color: var(--red) !important;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--blue);
    color: #fff !important;
    border: 1px solid var(--blue);
    border-radius: 999px;
    padding: .72rem 1.35rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0,124,193,.18);
    transition: .2s
}

    .btn-main:after {
        content: "→"
    }

    .btn-main:hover {
        background: var(--blue2);
        border-color: var(--blue2);
        transform: translateY(-1px)
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    border: 1px solid #c8d6de;
    color: var(--blue2) !important;
    background: #fff;
    border-radius: 999px;
    padding: .72rem 1.35rem;
    font-weight: 700;
    transition: .2s
}

    .btn-ghost:hover {
        border-color: var(--blue);
        color: var(--blue) !important
    }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .7rem;
    font-weight: 700;
    color: var(--blue2);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem
}

    .eyebrow:after {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--red)
    }

.red {
    color: var(--red)
}

.blue {
    color: var(--blue2)
}

.section {
    padding: 92px 0
}

.soft {
    background: var(--soft)
}

.title {
    font-size: clamp(2.1rem,4vw,3.5rem);
    line-height: 1.03;
    letter-spacing: -.045em;
    color: #4d4d4d;
    font-weight: 700;
    margin-bottom: 1rem
}

.title-last-word {
    display: inline-block;
    white-space: nowrap;
}

.lead {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 720px
}

h1[tabindex="-1"]:focus {
    outline: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    background: linear-gradient(135deg,#fff 0%,#f7fafc 70%,#edf6fa 100%);
    overflow: hidden
}

.hero-inner {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative
}

.hero-copy {
    position: relative;
    z-index: 3;
    padding: 80px 0
}

.hero h1 {
    font-size: clamp(3.1rem,6vw,5.9rem);
    line-height: .97;
    letter-spacing: -.065em;
    color: #4d4d4d;
    font-weight: 700;
    margin: 0
}

    .hero h1 .impact {
        color: var(--blue2)
    }

.hero-text {
    max-width: 600px;
    color: #687781;
    font-size: 1.1rem;
    line-height: 1.75;
    margin: 1.6rem 0 2rem
}

.hero-image {
    position: absolute;
    right: -8%;
    top: 50%;
    transform: translateY(-50%);
    width: 59%;
    height: 570px;
    border-radius: 34px 0 0 34px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #dfe8ed
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 58% center
    }

    .hero-image:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,rgba(247,250,252,1) 0%,rgba(247,250,252,.35) 18%,transparent 48%)
    }

.hero-note {
    position: absolute;
    right: 5%;
    bottom: 7%;
    z-index: 5;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
    max-width: 245px;
    box-shadow: 0 15px 38px rgba(31,65,82,.14)
}

    .hero-note strong {
        display: block;
        color: #24343e;
        font-size: .92rem;
        margin-bottom: 3px
    }

    .hero-note span {
        font-size: .77rem;
        line-height: 1.45;
        color: #7a8790
    }

.full-image-section {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

    .full-image-section img {
        display: block;
        width: 100%;
        height: auto;
    }

/* =========================================================
   PROOF / METRICS
   ========================================================= */
.proof {
    margin-top: -34px;
    position: relative;
    z-index: 10
}

.proof-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: .8rem
}

.metric {
    padding: 15px 22px;
    border-right: 1px solid var(--line);
    min-height: 70px
}

    .metric:last-child {
        border-right: 0
    }

    .metric b {
        display: block;
        color: var(--blue);
        font-size: 1.75rem;
        line-height: 1;
        margin-bottom: 5px
    }

    .metric span {
        font-size: .76rem;
        line-height: 1.3;
        color: #6e7b84;
        font-weight: 700
    }

/* =========================================================
   STORY / TIMELINE
   ========================================================= */
.story {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px
}

.story-copy {
    position: sticky;
    top: 110px
}

.timeline {
    position: relative;
    padding-left: 30px
}

    .timeline:before {
        content: "";
        position: absolute;
        left: 6px;
        top: 8px;
        bottom: 10px;
        width: 2px;
        background: #d8e4ea
    }

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding-bottom: 42px
}

    .timeline-item:before {
        content: "";
        position: absolute;
        left: -30px;
        top: 7px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--red);
        border: 3px solid #fff;
        box-shadow: 0 0 0 1px #dbe5ea
    }

.year {
    color: var(--blue);
    font-weight: 700;
    font-size: 1.2rem
}

.timeline-item h3 {
    font-size: 1.12rem;
    color: #24343e;
    font-weight: 700;
    margin: 0 0 5px
}

.timeline-item p {
    font-size: .9rem;
    color: #71808a;
    line-height: 1.65;
    margin: 0
}

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px
}

    .story-images img {
        width: 100%;
        height: 170px;
        object-fit: cover;
        border-radius: 16px;
        border: 1px solid var(--line)
    }

/* =========================================================
   SHARED CARDS / MODEL / SOLUTIONS
   ========================================================= */
.card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 21px;
    padding: 28px;
    transition: .22s;
    box-shadow: none
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow);
        border-color: #c7dce6
    }

.icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: #eaf6fc;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-bottom: 20px
}

.card h3 {
    font-size: 1.15rem;
    color: #253640;
    font-weight: 700
}

.card p {
    font-size: .89rem;
    color: #71808a;
    line-height: 1.65;
    margin: 0
}

.bridge {
    margin-top: 28px;
    padding: 30px;
    border: 1px solid #d4e6ee;
    background: linear-gradient(135deg,#f3fbfe,#fff);
    border-radius: 26px
}

.bridge-points {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.bridge-point {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 16px 20px;
    text-align: center;
    min-width: 190px;
    box-shadow: 0 8px 25px rgba(31,65,82,.06)
}

    .bridge-point strong {
        display: block;
        color: #253640
    }

    .bridge-point span {
        font-size: .75rem;
        color: #78858d
    }

/* =========================================================
   HOME — INDUSTRY 4.0 / MES
   ========================================================= */

.industry40-section {
    background: radial-gradient(circle at 90% 10%,rgba(0,124,193,.08),transparent 25%), #fff;
}

.industry40-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.industry40-copy h3 {
    color: #20313b;
    font-size: clamp(1.8rem,3vw,2.6rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin-bottom: 18px;
}

.industry40-copy p {
    color: #687983;
    font-size: .95rem;
    line-height: 1.75;
    max-width: 700px;
}

.industry40-architecture {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #f8fbfc;
    box-shadow: var(--shadow);
}

.industry40-node {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid #cbdde6;
    border-radius: 12px;
    background: #fff;
    color: #385768;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.industry40-node-main {
    background: linear-gradient(135deg,var(--blue2),var(--blue));
    border-color: transparent;
    color: #fff;
}

.industry40-node-edge {
    border-color: #bcd4df;
    color: var(--blue2);
}

.industry40-flow {
    text-align: center;
    color: var(--blue);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.industry40-topic {
    margin-top: 18px;
    padding: 10px 12px;
    border-radius: 999px;
    background: #eaf5fa;
    color: #477083;
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
}

.industry40-modules {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
    margin-top: 60px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.industry40-module {
    min-height: 210px;
    padding: 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.industry40-index {
    color: var(--red);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 22px;
}

.industry40-module h4 {
    color: #314954;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.industry40-module p {
    color: #6d7d86;
    font-size: .83rem;
    line-height: 1.62;
    margin: 0;
}

.industry40-closing {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 30px;
    padding: 22px 24px;
    border-left: 4px solid var(--blue);
    background: #f4f9fb;
}

    .industry40-closing strong {
        flex: 0 0 auto;
        color: #2e4d5b;
    }

    .industry40-closing span {
        color: #667983;
        font-size: .88rem;
        line-height: 1.6;
    }

@media(max-width:991px) {
    .industry40-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .industry40-architecture {
        max-width: none;
        margin-left: 0;
    }

    .industry40-modules {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:767px) {
    .industry40-modules {
        grid-template-columns: 1fr;
    }

    .industry40-closing {
        flex-direction: column;
        gap: 8px;
    }
}

/* =========================================================
   HOME — MANOMAY MODEL BACKGROUND IMAGE
   ========================================================= */

.model-photo-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #edf3f6;
}

.model-photo-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("/images/manomay-model-collaboration.png");
    background-size: cover;
    background-position: center 44%;
    transform: scale(1.015);
}

.model-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient( 90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.66) 56%, rgba(255,255,255,.42) 74%, rgba(255,255,255,.34) 100% );
}

.model-photo-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient( 180deg, rgba(245,249,251,.16) 0%, rgba(245,249,251,.06) 58%, rgba(245,249,251,.58) 100% );
}

.model-photo-copy {
    position: relative;
    z-index: 2;
    padding: 24px 0;
}

.model-photo-section .lead {
    color: #44535b;
}

.model-photo-cards .info-card {
    background: rgba(255,255,255,.90);
    border-color: rgba(255,255,255,.72);
    box-shadow: 0 16px 42px rgba(31,65,82,.10);
    backdrop-filter: blur(9px);
}

@media(max-width:991px) {
    .model-photo-bg {
        background-position: 62% center;
    }

    .model-photo-overlay {
        background: linear-gradient( 180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 42%, rgba(255,255,255,.66) 70%, rgba(255,255,255,.78) 100% );
    }
}

@media(max-width:767px) {
    .model-photo-bg {
        background-position: 68% center;
    }

    .model-photo-cards .info-card {
        background: rgba(255,255,255,.94);
    }
}

/* =========================================================
   PROJECTS
   ========================================================= */
.project {
    position: relative;
    min-height: 410px;
    border-radius: 24px;
    overflow: hidden;
    background: #e5edf0;
    border: 1px solid var(--line)
}

    .project img {
        width: 100%;
        height: 100%;
        min-height: 410px;
        object-fit: cover;
        transition: .45s
    }

    .project:hover img {
        transform: scale(1.04)
    }

.project-info {
    position: absolute;
    inset: auto 0 0;
    padding: 28px;
    color: #fff;
    min-height: 52%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg,transparent,rgba(16,38,51,.9))
}

.tag {
    font-size: .66rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-weight: 700;
    color: #c7edff
}

.project-info h3 {
    font-weight: 700;
    font-size: 1.4rem;
    margin: .4rem 0
}

.project-info p {
    font-size: .84rem;
    line-height: 1.5;
    color: #e9f1f4;
    margin: 0;
    max-width: 560px
}

/* =========================================================
   VALUES / LEADERS / LOCATIONS
   ========================================================= */
.value {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--line);
    background: #fff
}

    .value:first-child {
        border-radius: 22px 0 0 22px
    }

    .value:last-child {
        border-radius: 0 22px 22px 0
    }

.value-index {
    color: var(--red);
    font-weight: 700;
    font-size: .72rem;
    margin-bottom: 20px
}

.value h3 {
    font-size: 1.05rem;
    color: #253640;
    font-weight: 700
}

.value p {
    font-size: .84rem;
    color: #71808a;
    line-height: 1.6;
    margin: 0
}

.leader {
    height: 100%;
    display: flex;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px
}

    .leader img {
        width: 88px;
        height: 110px;
        object-fit: cover;
        border-radius: 13px
    }

    .leader .name {
        font-weight: 700;
        color: #253640
    }

    .leader .role {
        font-size: .76rem;
        color: var(--blue);
        font-weight: 700;
        margin: .15rem 0 .4rem
    }

    .leader p {
        font-size: .76rem;
        color: #75828a;
        line-height: 1.5;
        margin: 0
    }

.location {
    height: 100%;
    padding: 32px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 23px
}

    .location .country {
        font-size: .68rem;
        letter-spacing: .13em;
        text-transform: uppercase;
        color: var(--blue);
        font-weight: 700
    }

    .location h3 {
        color: #253640;
        font-weight: 700;
        margin: .35rem 0 .65rem
    }

    .location p {
        font-size: .9rem;
        color: #71808a;
        line-height: 1.65
    }

    .location .address {
        border-top: 1px solid var(--line);
        padding-top: 12px;
        color: #50616b;
        font-size: .82rem
    }

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--blue2);
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

    .location-link:hover {
        color: var(--blue);
        transform: translateX(3px);
    }

/* =========================================================
   CTA / FOOTER
   ========================================================= */
.cta {
    background: linear-gradient(135deg,var(--blue2),var(--blue));
    color: #fff;
    border-radius: 30px;
    padding: 55px;
    position: relative;
    overflow: hidden
}

    .cta h2 {
        font-size: clamp(2rem,4vw,3.4rem);
        font-weight: 700;
        letter-spacing: -.05em;
        line-height: 1.05
    }

    .cta p {
        color: rgba(255,255,255,.82);
        line-height: 1.7;
        max-width: 650px
    }

.btn-white {
    display: inline-block;
    background: #fff;
    color: var(--blue2) !important;
    border-radius: 999px;
    padding: .75rem 1.4rem;
    font-weight: 700
}

footer {
    background: #f1f5f7;
    border-top: 1px solid var(--line)
}

    footer h6 {
        font-weight: 700;
        color: #253640
    }

.footer-logo {
    height: 45px
}

.footer-link {
    display: block;
    color: #6b7881;
    font-size: .8rem;
    margin-bottom: .45rem
}

    .footer-link:hover {
        color: var(--blue)
    }

.footer-link-connect {
    color: #13668c;
}

    .footer-link-connect:hover {
        color: var(--blue)
    }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 25px;
    color: #8a969d;
    font-size: .74rem
}

.footer-bottom-link {
    color: #8a969d;
    font-size: .74rem;
}

    .footer-bottom-link:hover {
        color: #13668c;
        font-size: .74rem;
    }

@media(max-width:991px) {
    .hero-inner {
        display: block;
        min-height: auto
    }

    .hero-copy {
        padding: 70px 0 35px
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 420px;
        border-radius: 24px;
        margin-bottom: 45px
    }

        .hero-image:after {
            background: linear-gradient(180deg,transparent 45%,rgba(247,250,252,.7))
        }

    .hero-note {
        bottom: 5%;
        right: 4%
    }

    .story {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .story-copy {
        position: static
    }

    .value {
        border-radius: 0 !important;
        border-bottom: 0
    }

        .value:last-child {
            border-bottom: 1px solid var(--line);
            border-radius: 0 0 22px 22px !important
        }

        .value:first-child {
            border-radius: 22px 22px 0 0 !important
        }

    .bridge-points {
        flex-direction: column
    }

    .bridge-point {
        min-width: 0
    }
}

@media(max-width:767px) {
    .section {
        padding: 68px 0
    }

    .metric {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

        .metric:last-child {
            border-bottom: 0
        }

    .timeline-item {
        grid-template-columns: 75px 1fr;
        gap: 14px
    }

    .story-images {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 3.15rem
    }

    .cta {
        padding: 38px 28px
    }

    .leader {
        align-items: flex-start
    }
}

/* --- Manomay model: refined to match the visual concept more closely --- */
.model-clean-top {
    margin-bottom: 34px;
    align-items: center !important;
}

.model-copy-divider {
    border-left: 1px solid #bfd7e3;
    padding-left: 34px;
    max-width: 430px;
}

    .model-copy-divider .lead {
        font-size: 1rem;
        line-height: 1.7;
        color: #476675;
    }

.model-icon-flow {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
    white-space: nowrap;
}

.model-icon-step {
    min-width: 94px;
    text-align: center;
}

    .model-icon-step svg {
        width: 46px;
        height: 46px;
        stroke: var(--blue);
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
        margin-bottom: 8px;
    }

    .model-icon-step strong {
        display: block;
        color: #14384b;
        font-size: .86rem;
        font-weight: 700;
        line-height: 1.18;
    }

.model-icon-plus {
    color: var(--blue);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-7px);
}

.model-grid-clean {
    margin-top: 0;
}

.model-panel {
    height: 100%;
}

.model-image-clean {
    width: 100%;
    height: 288px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.model-meta {
    padding-top: 16px;
}

.flag-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .70rem;
    font-weight: 700;
}

.flag-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    font-size: 16px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    padding: 0;
}

.model-meta h3 {
    margin: 0 0 9px;
    color: #17364a;
    font-size: 1.34rem;
    line-height: 1.17;
    font-weight: 700;
    letter-spacing: -.02em;
}

.model-meta p {
    margin: 0;
    color: #4f6a79;
    font-size: .88rem;
    line-height: 1.63;
}

.model-bottom-clean {
    margin-top: 34px;
    padding: 10px 12px;
    background: #eaf4f9;
    border-radius: 7px;
}

    .model-bottom-clean .row > [class*='col-'] {
        position: relative;
    }

        .model-bottom-clean .row > [class*='col-']:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 14px;
            bottom: 14px;
            width: 1px;
            background: #bdd7e4;
        }

.model-bottom-item-clean {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
}

.model-bottom-icon {
    flex: 0 0 auto;
}

    .model-bottom-icon svg {
        width: 41px;
        height: 41px;
        stroke: var(--blue);
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.model-bottom-item-clean h4 {
    margin: 0 0 4px;
    color: #0e6094;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;
}

.model-bottom-item-clean p {
    margin: 0;
    color: #426879;
    font-size: .78rem;
    line-height: 1.45;
}

@media(max-width:1199px) {
    .model-icon-flow {
        gap: 14px
    }

    .model-icon-step {
        min-width: 82px
    }

        .model-icon-step strong {
            font-size: .78rem
        }
}

@media(max-width:991px) {
    .model-clean-top {
        align-items: flex-start !important
    }

    .model-copy-divider {
        border-left: 0;
        padding-left: 0;
        max-width: none
    }

    .model-icon-flow {
        justify-content: flex-start;
        margin-top: 6px;
        flex-wrap: wrap
    }

    .model-image-clean {
        height: 260px
    }
}

@media(max-width:767px) {
    .model-bottom-clean .row > [class*='col-']::after {
        display: none
    }

    .model-bottom-clean {
        padding: 6px 10px
    }

    .model-bottom-item-clean {
        padding: 14px 10px;
        border-bottom: 1px solid #cfe1e9
    }

    .model-bottom-clean .row > [class*='col-']:last-child .model-bottom-item-clean {
        border-bottom: 0
    }

    .model-image-clean {
        height: 235px
    }
}


/* =========================================================
   INDUSTRIES — editorial rather than another row of cards
   ========================================================= */
.industry-intro-note {
    color: #566f7d;
    font-size: .95rem;
    line-height: 1.7;
}

.industry-editorial {
    border-top: 1px solid var(--line);
    margin-top: 34px;
}

.industry-row {
    display: grid;
    grid-template-columns: 92px minmax(210px,.8fr) 1.6fr auto;
    gap: 28px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    transition: .2s ease;
}

    .industry-row:hover {
        padding-left: 10px;
    }

.industry-symbol {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    background: #eef7fb;
    color: var(--blue);
    border-radius: 50%;
}

    .industry-symbol svg {
        width: 32px;
        height: 32px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.industry-name {
    color: #4d4d4d;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -.025em;
}

.industry-copy {
    color: #657883;
    line-height: 1.65;
    font-size: .94rem;
    max-width: 680px;
}

.industry-link {
    color: var(--blue);
    font-weight: 700;
    font-size: .86rem;
    white-space: nowrap;
}

.industry-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding-top: 4px;
}

    .industry-more strong {
        color: #24343e;
    }

    .industry-more span {
        color: #71818b;
        font-size: .9rem;
    }

/* =========================================================
   VALUES — more substance, 2 x 2 editorial layout
   ========================================================= */
.values-intro {
    max-width: 830px;
    color: #526b79;
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.values-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #ccdee7;
    border-left: 1px solid #ccdee7;
}

.value-editorial {
    position: relative;
    min-height: 250px;
    padding: 34px 38px 38px;
    background: rgba(255,255,255,.54);
    border-right: 1px solid #ccdee7;
    border-bottom: 1px solid #ccdee7;
    overflow: hidden;
}

    .value-editorial::after {
        content: "";
        position: absolute;
        width: 170px;
        height: 170px;
        right: -90px;
        bottom: -100px;
        border: 1px solid rgba(0,124,193,.10);
        border-radius: 50%;
    }

.value-number {
    color: var(--red);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 22px;
}

.value-editorial h3 {
    color: #1f3542;
    font-size: 1.34rem;
    font-weight: 700;
    margin: 0 0 13px;
}

.value-editorial p {
    color: #5d7380;
    line-height: 1.72;
    font-size: .92rem;
    margin: 0;
    max-width: 560px;
}

.values-closing {
    margin-top: 28px;
    color: #31576b;
    font-weight: 700;
    font-size: .94rem;
}

/* =========================================================
   LOCATIONS
   ========================================================= */
.locations-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 42px;
}

.location-editorial {
    padding: 8px 0;
}

.location-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.location-flag-svg {
    width: 1.15rem;
    height: auto;
    display: inline-block;
    border-radius: 2px;
}

.location-editorial h3 {
    color: #20343f;
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.location-editorial p {
    color: #627681;
    line-height: 1.7;
    font-size: .93rem;
}

.location-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 18px 0;
}

    .location-capabilities span {
        font-size: .71rem;
        font-weight: 700;
        color: #426477;
        padding: 6px 9px;
        background: #eef5f8;
        border-radius: 4px;
    }

.location-address {
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: #324f5e;
    font-size: .84rem;
    font-weight: 700;
}

.global-route {
    position: relative;
    min-height: 320px;
    background: linear-gradient(180deg,#f9fcfd,#edf6fa);
    border: 1px solid #d7e8ef;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.route-globe {
    width: 150px;
    height: 150px;
    border: 1.5px solid #9ac7dc;
    border-radius: 50%;
    position: relative;
    opacity: .8;
}

    .route-globe::before,
    .route-globe::after {
        content: "";
        position: absolute;
        inset: 18px 47px;
        border: 1px solid #9ac7dc;
        border-radius: 50%;
    }

    .route-globe::after {
        inset: 47px 18px;
    }

.route-equator {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #9ac7dc;
}

.route-axis {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #9ac7dc;
}

.route-line {
    position: absolute;
    left: 9%;
    right: 9%;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg,var(--blue),#8ec6df,var(--red));
    transform: translateY(-50%);
}

.route-point {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--blue);
    box-shadow: 0 0 0 4px rgba(0,124,193,.10);
}

    .route-point.nl {
        left: 8%
    }

    .route-point.in {
        right: 8%;
        border-color: var(--red);
        box-shadow: 0 0 0 4px rgba(192,23,23,.10)
    }

.route-label {
    position: absolute;
    top: calc(50% + 26px);
    color: #35586b;
    font-size: .76rem;
    font-weight: 700;
    text-align: center;
}

    .route-label.nl {
        left: 2%
    }

    .route-label.in {
        right: 4%
    }

.route-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 126px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(38,79,99,.08);
}

    .route-center strong {
        display: block;
        color: #203d4c;
        font-size: .84rem;
    }

    .route-center span {
        display: block;
        color: #6b7e88;
        font-size: .7rem;
        margin-top: 3px;
    }

.locations-map-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .locations-map-panel img {
        width: 100%;
        max-width: 620px;
        height: auto;
        display: block;
        border-radius: 8px;
    }

.locations-cta {
    margin-top: 30px;
}

/* CTA ending */
.cta .eyebrow::after {
    background: #fff
}

@media(max-width:991px) {
    .industry-row {
        grid-template-columns: 70px 1fr;
    }

    .industry-copy,
    .industry-link {
        grid-column: 2;
    }

    .industry-link {
        margin-top: -10px
    }

    .values-editorial {
        grid-template-columns: 1fr
    }

    .locations-layout {
        grid-template-columns: 1fr
    }

    .locations-map-panel {
        order: -1;
    }

    .global-route {
        order: -1;
        min-height: 270px
    }
}

@media(max-width:575px) {
    .industry-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .industry-copy,
    .industry-link {
        grid-column: 1;
    }

    .industry-symbol {
        width: 54px;
        height: 54px;
    }

    .industry-more {
        align-items: flex-start;
        flex-direction: column;
    }

    .value-editorial {
        padding: 28px 24px 30px;
    }
}


/* Brand title punctuation: true circular red dot instead of a font full stop */
.title-dot {
    display: inline-block;
    width: .16em;
    height: .16em;
    margin-left: .075em;
    background: var(--red);
    border-radius: 50%;
    vertical-align: -.015em;
    flex: 0 0 auto;
}
/* Keep the highlighted phrase and its brand dot together on one line */
.title .blue,
.hero h1 .impact {
    white-space: unset;
}
/* Slightly smaller and optically lower in the oversized hero heading */
.hero h1 .title-dot {
    width: .145em;
    height: .145em;
    margin-left: .075em;
    vertical-align: -.02em;
}


/* Logo lockup with corporate slogan */
.brand-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon img {
    height: 53px;
    width: auto;
    display: block;
}

.brand-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-wordmark {
    height: 53px;
    width: auto;
    display: block;
}

.brand-slogan {
    display: block;
    position: relative;
    top: -7px;
    margin: 0 0 0 2px;
    color: #6f7d86;
    font-size: .56rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

@media(max-width:575px) {
    .brand-slogan {
        font-size: .50rem;
    }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start
}

.contact-details {
    border-top: 1px solid var(--line)
}

.contact-detail {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line)
}

    .contact-detail h3 {
        font-size: .94rem;
        color: #4d4d4d;
        font-weight: 700;
        margin: 0 0 4px
    }

    .contact-detail p, .contact-detail a {
        font-size: .86rem;
        color: #6a7a83;
        line-height: 1.55;
        margin: 0
    }

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 34px
}

.form-label {
    font-size: .76rem;
    font-weight: 700;
    color: #4d4d4d;
    margin-bottom: 7px
}

.form-control, .form-select {
    border: 1px solid #cad9e1;
    border-radius: 10px;
    padding: .78rem .9rem;
    color: #4d4d4d;
    box-shadow: none !important
}

    .form-control:focus, .form-select:focus {
        border-color: var(--blue)
    }

.contact-map {
    height: 220px !important;
    object-fit: contain !important;
}

.validation-message {
    display: block;
    margin-top: 6px;
    color: var(--red);
    font-size: .75rem;
    font-weight: 700;
}

.form-control.invalid,
.form-select.invalid {
    border-color: var(--red);
}

.form-control.valid.modified,
.form-select.valid.modified {
    border-color: #7aa45f;
}

.contact-form-status {
    padding: 12px 14px;
    border: 1px solid #c9dce6;
    border-radius: 10px;
    background: #f4f9fb;
    color: #456472;
    font-size: .82rem;
    line-height: 1.55;
}

.contact-form .btn-main:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical
}

.form-note {
    font-size: .74rem;
    color: #87939a;
    line-height: 1.5
}

/* Contact hero background */

.contact-hero-photo {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #eef4f7;
}

.contact-hero-photo-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("/images/manomay-contact-hero.png");
    background-size: cover;
    background-position: center 45%;
    transform: scale(1.02);
}

.contact-hero-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.45) 34%, rgba(255, 255, 255, 0.21) 56%, rgba(255, 255, 255, 0.29) 78%, rgba(255, 255, 255, 0.04) 100% );
}

.contact-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient( 180deg, rgba(255,255,255,.05) 0%, rgba(247,250,252,.10) 62%, rgba(247,250,252,.58) 100% );
}

.contact-hero-copy {
    position: relative;
    z-index: 2;
}

.contact-hero-photo .contact-hero-copy p {
    color: #48545b;
    max-width: 650px;
}

.contact-hero-panel {
    background: rgba(255,255,255,.90);
    backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,.72);
}

@media (max-width: 991px) {
    .contact-hero-photo-bg {
        background-position: 62% center;
    }

    .contact-hero-photo-overlay {
        background: linear-gradient( 180deg, rgba(255, 255, 255, 0.21) 0%, rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0.08) 68%, rgba(255, 255, 255, 0.12) 100% );
    }
}

@media (max-width: 767px) {
    .contact-hero-photo-bg {
        background-position: 68% center;
    }
}



/* =========================================================
   INNER PAGE SYSTEM
   ========================================================= */
.page-hero {
    background: linear-gradient(135deg,#fff 0%,#f7fafc 70%,#edf6fa 100%);
    padding: 82px 0 64px;
    overflow: hidden;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.page-hero h1 {
    font-size: clamp(3.2rem,6vw,5.7rem);
    line-height: .97;
    letter-spacing: -.065em;
    color: #4d4d4d;
    font-weight: 700;
    margin: 0 0 22px;
}

.page-hero p {
    color: #687781;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 680px;
}

.hero-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 19px;
    box-shadow: var(--shadow);
}

    .hero-panel img {
        width: 100%;
        height: 330px;
        object-fit: cover !important;
        border-radius: 12px;
        display: block;
    }

    .hero-panel h3 {
        color: #4d4d4d;
        font-weight: 700;
        font-size: 1.25rem
    }

    .hero-panel p {
        font-size: .9rem;
        line-height: 1.65;
        margin: 0
    }

.content-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.sticky-side {
    position: sticky;
    top: 110px
}

.rule-list {
    border-top: 1px solid var(--line)
}

.rule-item {
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
}

.rule-num {
    color: var(--red);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.rule-item h3 {
    color: #4d4d4d;
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 7px;
}

.rule-item p {
    color: #6b7b84;
    font-size: .9rem;
    line-height: 1.68;
    margin: 0;
}

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

.info-card {
    border: 1px solid var(--line);
    background: #fff;
    padding: 28px;
    min-height: 210px;
    border-radius: 18px;
}

    .info-card .kicker {
        text-transform: uppercase;
        letter-spacing: .12em;
        color: var(--blue2);
        font-size: .67rem;
        font-weight: 700;
        margin-bottom: 18px;
    }

    .info-card h3 {
        color: #4d4d4d;
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 9px;
    }

    .info-card p {
        color: #6d7c85;
        font-size: .87rem;
        line-height: 1.65;
        margin: 0;
    }

.split-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--line);
    background: #fff;
}

    .split-band > div {
        padding: 42px
    }

        .split-band > div + div {
            border-left: 1px solid var(--line)
        }

    .split-band h3 {
        color: #4d4d4d;
        font-weight: 700;
        font-size: 1.35rem
    }

    .split-band p {
        color: #687983;
        line-height: 1.7;
        font-size: .92rem
    }

.mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

    .mini-tags span {
        border-radius: 999px;
        background: #eef5f8;
        color: #4a697a;
        padding: 7px 10px;
        font-size: .72rem;
        font-weight: 700;
    }

.icon-line {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.line-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #edf7fb;
    display: grid;
    place-items: center;
    color: var(--blue2);
    flex: 0 0 auto;
}

    .line-icon svg {
        width: 24px;
        height: 24px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* solutions */
.solution-block {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 28px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

    .solution-block:first-child {
        border-top: 1px solid var(--line)
    }

.solution-index {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf7fb;
    color: var(--blue2);
    font-size: .78rem;
    font-weight: 700;
}

.solution-block h2 {
    color: #4d4d4d;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.solution-title h3 {
    color: #595959;
    font-weight: 400;
    line-height: 1.08;
    margin-bottom: 18px;
}

.solution-block p {
    color: #6b7b84;
    font-size: .9rem;
    line-height: 1.68;
    margin: 0;
}

.solution-bullets {
    margin: 0;
    padding-left: 18px;
    color: #5e727e;
    font-size: .86rem;
    line-height: 1.8;
}

/* locations */
.location-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 32px;
    align-items: center;
}

.location-page-map img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.location-office h2 {
    color: #4d4d4d;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 12px
}

.location-office p {
    color: #687983;
    font-size: .9rem;
    line-height: 1.7
}

.location-office .country {
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--blue2);
    font-size: .68rem;
    font-weight: 700;
    margin-bottom: 8px
}

.location-bridge-image {
    height: 100%;
    min-height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #eef4f7;
}

    .location-bridge-image img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 520px;
        object-fit: cover;
        object-position: center center;
    }

.location-bridge-wide {
    margin-top: 32px;
    overflow: hidden;
    border-radius: 20px;
    background: #eef4f7;
}

    .location-bridge-wide img {
        display: block;
        width: 100%;
        height: auto;
    }

.country {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.country-flag {
    width: 0.8rem;
    height: auto;
    display: inline-block;
    border-radius: 2px;
}

@media(max-width:991px) {
    .location-bridge-image img {
        min-height: 360px;
        max-height: 460px;
    }
}

@media(max-width:575px) {
    .location-bridge-image img {
        min-height: 280px;
        max-height: 360px;
    }
}

.office-facts {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 16px;
}

    .office-facts > div {
        display: grid;
        grid-template-columns: 120px minmax(0,1fr);
        gap: 18px;
        align-items: start;
        padding: 8px 0;
        font-size: .8rem;
        color: #687983;
    }

    .office-facts strong {
        color: #425966;
        font-weight: 700;
    }

    .office-facts span,
    .office-facts address {
        margin: 0;
        text-align: left !important;
        color: #687983;
        line-height: 1.55;
    }

    .office-facts a {
        color: var(--blue2);
        text-decoration: none;
    }

        .office-facts a:hover {
            color: var(--blue);
        }

/* careers */
.career-hero-image img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 18px
}

.career-promise {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

    .career-promise > div {
        padding: 28px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line)
    }

    .career-promise h3 {
        font-size: 1rem;
        color: #4d4d4d;
        font-weight: 700;
        margin-bottom: 8px
    }

    .career-promise p {
        font-size: .84rem;
        color: #6c7c85;
        line-height: 1.6;
        margin: 0
    }

.job-list {
    border-top: 1px solid var(--line)
}

.job-row {
    display: grid;
    grid-template-columns: 1.5fr .7fr .7fr auto;
    gap: 24px;
    align-items: center;
    padding: 23px 0;
    border-bottom: 1px solid var(--line)
}

    .job-row h3 {
        font-size: 1.05rem;
        color: #4d4d4d;
        font-weight: 700;
        margin: 0
    }

.job-meta {
    font-size: .8rem;
    color: #73818a
}

.job-link {
    font-size: .82rem;
    color: var(--blue2);
    font-weight: 700;
    white-space: nowrap
}


/* CTA */
.inner-cta {
    background: linear-gradient(135deg,var(--blue2),var(--blue));
    color: #fff;
    border-radius: 30px;
    padding: 52px
}

    .inner-cta h2 {
        color: #fff;
        font-size: clamp(2rem,4vw,3.2rem);
        font-weight: 700;
        letter-spacing: -.05em;
        line-height: 1.05
    }

    .inner-cta p {
        color: rgba(255,255,255,.82);
        line-height: 1.7;
        max-width: 700px
    }

    .inner-cta .eyebrow {
        color: #d8f2ff
    }

        .inner-cta .eyebrow:after {
            background: #fff
        }

@media(max-width:991px) {
    .page-hero-grid, .content-grid, .contact-layout, .location-page-grid {
        grid-template-columns: 1fr
    }

    .sticky-side {
        position: static
    }

    .info-grid {
        grid-template-columns: 1fr 1fr
    }

    .solution-block {
        grid-template-columns: 64px 1fr
    }

    .solution-bullets {
        grid-column: 2
    }

    .career-promise {
        grid-template-columns: 1fr 1fr
    }

    .job-row {
        grid-template-columns: 1fr 1fr
    }

    .job-link {
        justify-self: end
    }
}

@media(max-width:767px) {
    .page-hero {
        padding: 62px 0 48px
    }

    .section {
        padding: 68px 0
    }

    .info-grid {
        grid-template-columns: 1fr
    }

    .split-band {
        grid-template-columns: 1fr
    }

        .split-band > div + div {
            border-left: 0;
            border-top: 1px solid var(--line)
        }

    .solution-block {
        grid-template-columns: 1fr
    }

    .solution-bullets {
        grid-column: 1
    }

    .career-promise {
        grid-template-columns: 1fr
    }

    .job-row {
        grid-template-columns: 1fr
    }

    .job-link {
        justify-self: start
    }

    .inner-cta {
        padding: 36px 26px
    }
}



/* =========================================================
   BLAZOR ERROR UI
   ========================================================= */

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    padding: .75rem 1.25rem;
    background: #fff3cd;
    color: #664d03;
    border-top: 1px solid #ffecb5;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .08);
}

    #blazor-error-ui .reload {
        margin-left: .5rem;
        color: #13668c;
        font-weight: 700;
    }

    #blazor-error-ui .dismiss {
        position: absolute;
        right: 1rem;
        top: .65rem;
        cursor: pointer;
        font-weight: 700;
    }

/* PROJECT OVERVIEW PAGE */
.projects-hero {
    background: linear-gradient(135deg,#fff 0%,#f7fafc 68%,#edf6fa 100%);
    padding: 86px 0 62px;
}

.projects-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: end;
}

.projects-hero h1 {
    font-size: clamp(3.2rem,6vw,5.7rem);
    line-height: .97;
    letter-spacing: -.065em;
    color: #4d4d4d;
    font-weight: 700;
    margin: 0;
}

.projects-hero-copy {
    color: #687781;
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 610px;
}

.projects-count {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 14px;
}

    .projects-count strong {
        color: var(--blue2);
        font-size: 2rem;
        font-weight: 700;
    }

    .projects-count span {
        color: #74828a;
        font-size: .8rem;
        line-height: 1.35;
    }

.filter-bar {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.filter-chip {
    border: 1px solid #cad9e1;
    background: #fff;
    color: #58707d;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: .75rem;
    font-weight: 700;
    appearance: none;
    font-family: inherit;
    cursor: pointer;
}

    .filter-chip.active {
        background: var(--blue2);
        border-color: var(--blue2);
        color: #fff;
    }

    .filter-chip:focus-visible {
        outline: 3px solid rgba(0,124,193,.22);
        outline-offset: 2px;
    }

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

.project-card {
    display: block;
    color: inherit;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: .22s ease;
}

    .project-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
        border-color: #c5dce7;
    }

.project-card-image {
    height: 290px;
    background: #e7eef2;
    overflow: hidden;
    position: relative;
}

    .project-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .4s ease;
    }

.project-card:hover .project-card-image img {
    transform: scale(1.035);
}

.project-card-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 55%,rgba(20,45,58,.28));
}

.project-card-body {
    padding: 24px 25px 26px;
}

.project-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 11px;
}

.project-card-tag {
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--blue2);
    font-size: .66rem;
    font-weight: 700;
}

.project-card-arrow {
    color: var(--blue2);
    font-weight: 700;
}

.project-card h2 {
    color: #4d4d4d;
    font-size: 1.32rem;
    line-height: 1.18;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -.02em;
}

.project-card p {
    color: #6f7d86;
    line-height: 1.65;
    font-size: .88rem;
    margin: 0;
}

.project-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
}

    .project-card.featured .project-card-image {
        height: 100%;
        min-height: 410px;
    }

    .project-card.featured .project-card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 42px;
    }

    .project-card.featured h2 {
        font-size: 2rem;
    }

.project-note {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: #74828a;
    font-size: .84rem;
}

    .project-note strong {
        color: #425965
    }

.cta .eyebrow:after {
    background: #fff
}

.project-empty {
    padding: 48px 0;
    text-align: center;
}

    .project-empty h2 {
        color: #4d4d4d;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .project-empty p {
        color: #74828a;
        margin: 0;
    }

@media(max-width:991px) {
    .projects-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .project-card.featured {
        grid-template-columns: 1fr
    }

        .project-card.featured .project-card-image {
            min-height: 320px
        }
}

@media(max-width:767px) {
    .projects-hero {
        padding: 65px 0 46px
    }

    .projects-grid {
        grid-template-columns: 1fr
    }

    .project-card.featured {
        grid-column: span 1
    }

    .project-card-image {
        height: 235px
    }

    .project-card.featured .project-card-body {
        padding: 27px
    }

    .project-card.featured h2 {
        font-size: 1.45rem
    }
}

/* PROJECT DETAIL PAGE */
/* PROJECT HERO */
.project-hero {
    background: radial-gradient(circle at 85% 20%,rgba(0,124,193,.10),transparent 26%), linear-gradient(135deg,#fff 0%,#f6fafc 72%,#eaf4f8 100%);
    padding: 70px 0 58px;
}

.project-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 65px;
    align-items: center;
}

.project-hero h1 {
    font-size: clamp(3rem,5.7vw,5.4rem);
    line-height: .98;
    letter-spacing: -.06em;
    color: #1e303b;
    font-weight: 700;
    margin: 0 0 24px;
}

.project-hero .intro {
    color: #393f42;
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 720px
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px
}

    .project-meta span {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 8px 12px;
        font-size: .76rem;
        font-weight: 700;
        color: #476574
    }

/* SYSTEM VISUAL */
.system-visual {
    min-height: 475px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 34px;
    position: relative;
    overflow: hidden
}

    .system-visual:before {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        border: 1px solid rgba(0,124,193,.10);
        right: -90px;
        top: -100px
    }

.system-title {
    color: #203744;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 26px
}

.flow {
    display: grid;
    grid-template-columns: 1fr 38px 1fr;
    gap: 10px;
    align-items: center
}

.flow-step {
    border: 1px solid var(--line);
    background: #f9fcfd;
    border-radius: 15px;
    padding: 15px
}

    .flow-step b {
        display: block;
        color: #173b4d;
        font-size: .88rem;
        margin-bottom: 3px
    }

    .flow-step span {
        color: #71818b;
        font-size: .74rem;
        line-height: 1.4
    }

.flow-arrow {
    text-align: center;
    color: var(--blue);
    font-size: 1.25rem;
    font-weight: 700
}

.flow-wide {
    grid-column: 1/-1
}

.data-strip {
    margin-top: 22px;
    background: #edf6fa;
    border-radius: 13px;
    padding: 15px 17px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

    .data-strip span {
        font-size: .73rem;
        font-weight: 700;
        color: #436779
    }

/* STAT BAND */
.proof-band {
    margin-top: -26px;
    position: relative;
    z-index: 10
}

.proof-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.proof-item {
    padding: 20px 24px;
    border-right: 1px solid var(--line);
    height: 100%
}

    .proof-item:last-child {
        border-right: 0
    }

    .proof-item b {
        display: block;
        color: var(--blue);
        font-size: 1.35rem;
        margin-bottom: 4px
    }

    .proof-item span {
        color: #697983;
        font-size: .78rem;
        line-height: 1.4
    }

/* PROBLEM / SOLUTION */
.two-col {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: start
}

.sticky-copy {
    position: sticky;
    top: 115px
}

.callout {
    background: #fff;
    border-left: 4px solid var(--red);
    padding: 22px 24px;
    box-shadow: 0 8px 28px rgba(31,65,82,.06);
    margin-top: 28px
}

    .callout strong {
        display: block;
        color: #243943;
        margin-bottom: 6px
    }

    .callout p {
        margin: 0;
        color: #697983;
        line-height: 1.65;
        font-size: .9rem
    }

/* PROCESS */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 38px
}

.process-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    padding: 26px 24px;
    min-height: 215px
}

    .process-step .num {
        color: var(--red);
        font-size: .73rem;
        font-weight: 700;
        letter-spacing: .14em;
        margin-bottom: 24px
    }

    .process-step h3 {
        color: #223843;
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 9px
    }

    .process-step p {
        color: #6c7b85;
        font-size: .88rem;
        line-height: 1.65;
        margin: 0
    }

/* FEATURE LIST */
.feature-list {
    border-top: 1px solid var(--line);
    margin-top: 35px
}

.feature {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line)
}

.feature-index {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf6fc;
    color: var(--blue);
    font-weight: 700;
    font-size: .8rem
}

.feature h3 {
    color: #223843;
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 7px
}

.feature p {
    color: #657681;
    line-height: 1.7;
    font-size: .91rem;
    margin: 0
}

.feature .benefit {
    color: #315f75;
    font-weight: 700;
    margin-top: 7px
}

/* ANALYTICS */
.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 35px
}

.analytics-box {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
    min-height: 235px
}

    .analytics-box h3 {
        color: #223843;
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 13px
    }

    .analytics-box p {
        color: #657681;
        font-size: .9rem;
        line-height: 1.7
    }

    .analytics-box ul {
        padding-left: 18px;
        color: #657681;
        font-size: .87rem;
        line-height: 1.8;
        margin: 0
    }

/* QUALITY / VALUE */
.quality-band {
    background: linear-gradient(135deg,#123c54,#0b6d9e);
    color: #fff;
    padding: 60px 0
}

    .quality-band .eyebrow {
        color: #d7f2ff
    }

        .quality-band .eyebrow:after {
            background: #fff
        }

    .quality-band .title {
        color: #fff
    }

    .quality-band .lead {
        color: rgba(255,255,255,.82)
    }

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 38px
}

.quality-card {
    border: 1px solid rgba(255,255,255,.18);
    padding: 26px;
    background: rgba(255,255,255,.06)
}

    .quality-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 9px
    }

    .quality-card p {
        font-size: .88rem;
        line-height: 1.65;
        color: rgba(255,255,255,.82);
        margin: 0
    }

.roi-highlight {
    margin-top: 38px;
    border: 1px solid #d2e5ed;
    background: #f3f9fb;
    padding: 34px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 28px;
    align-items: center
}

.roi-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: -.05em
}

.roi-copy h3 {
    color: #213843;
    font-weight: 700;
    font-size: 1.28rem
}

.roi-copy p {
    color: #637681;
    line-height: 1.7;
    margin: 0
}

@media(max-width:991px) {
    .project-hero-grid, .two-col {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .sticky-copy {
        position: static
    }

    .process-grid, .quality-grid {
        grid-template-columns: 1fr
    }

    .analytics-grid {
        grid-template-columns: 1fr
    }

    .roi-highlight {
        grid-template-columns: 1fr
    }
}

@media(max-width:767px) {
    .section {
        padding: 68px 0
    }

    .project-hero {
        padding: 50px 0 42px
    }

    .system-visual {
        min-height: auto;
        padding: 24px
    }

    .flow {
        grid-template-columns: 1fr
    }

    .flow-arrow {
        transform: rotate(90deg)
    }

    .proof-item {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .feature {
        grid-template-columns: 54px 1fr
    }

    .cta {
        padding: 38px 28px
    }
}

/* =========================================================
   PROJECT DETAIL MEDIA ENHANCEMENTS
   ========================================================= */
.media-figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .media-figure img {
        display: block;
        width: 100%;
        height: auto;
        background: #fff;
    }

    .media-figure figcaption {
        padding: 16px 20px 18px;
        color: #6b7a84;
        font-size: .83rem;
        line-height: 1.6;
        border-top: 1px solid var(--line);
        background: #fcfdfe;
    }

.media-figure-lg {
    border-radius: 28px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
    align-items: start;
}

.dashboard-card-wide {
    grid-column: 1 / -1;
}

.media-figure.dashboard-card figcaption {
    min-height: 78px;
}

/* =========================================================
   PROJECT DETAIL MEDIA — COMPACT EDITORIAL LAYOUT
   ========================================================= */
.project-media-narrow {
    max-width: 980px;
    margin-inline: auto;
}

.hmi-figure {
    max-width: 520px;
    margin-left: auto;
}

    .hmi-figure img {
        aspect-ratio: 4 / 3;
        object-fit: contain;
        background: #111;
    }

.dashboard-card {
    min-width: 0;
}

    .dashboard-card img {
        aspect-ratio: 16 / 10;
        object-fit: cover;
        object-position: top left;
    }

    .dashboard-card figcaption {
        min-height: auto;
    }

@media(max-width:1199px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:991px) {
    .project-photo-secondary,
    .hmi-figure {
        max-width: none;
        margin-left: 0;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card-wide {
        grid-column: auto;
    }

    .dashboard-card img {
        aspect-ratio: auto;
        object-fit: contain;
    }
}


/* =========================================================
   PROJECT HERO — IMAGE BACKGROUND
   ========================================================= */
.project-hero-photo {
    position: relative;
    overflow: hidden;
    background: #eef4f7;
    isolation: isolate;
}

.project-hero-photo-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("/images/projects/weighbridge/weighbridge-truck.png");
    background-size: cover;
    background-position: center 54%;
    transform: scale(1.01);
}

.project-hero-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0.43) 0%, rgba(255, 255, 255, 0.79) 34%, rgba(255, 255, 255, 0.61) 52%, rgba(255, 255, 255, 0.16) 72%, rgba(255,255,255,.12) 100% );
}

.project-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient( 180deg, rgba(255,255,255,.06) 0%, rgba(246,250,252,.18) 68%, rgba(246,250,252,.74) 100% );
}

.project-hero-photo .project-hero-copy {
    padding: 22px 0;
}

    .project-hero-photo .project-hero-copy .eyebrow,
    .project-hero-photo .project-hero-copy h1,
    .project-hero-photo .project-hero-copy .intro,
    .project-hero-photo .project-meta {
        position: relative;
        z-index: 2;
    }

.project-hero-photo .system-visual {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    border-color: rgba(255,255,255,.75);
}

@media(max-width:991px) {
    .project-hero-photo-bg {
        background-position: 64% center;
    }

    .project-hero-photo-overlay {
        background: linear-gradient( 180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.69) 42%, rgba(255, 255, 255, 0) 66%, rgba(255, 255, 255, 0.39) 100% );
    }
}

@media(max-width:767px) {
    .project-hero-photo-bg {
        background-position: 67% center;
    }
}


/* =========================================================
   ATEX PRODUCTION PROJECT
   ========================================================= */

.atex-project-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #eef4f7;
}

.atex-project-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("/images/projects/atex-production/atex-hero.jpg");
    background-size: cover;
    background-position: center;
}

.atex-project-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient( 90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 34%, rgba(255,255,255,.72) 55%, rgba(255,255,255,.28) 76%, rgba(255,255,255,.18) 100% );
}

.atex-project-hero .project-hero-copy {
    padding: 18px 0;
}

.atex-hero-summary {
    background: rgba(255,255,255,.93);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(9px);
}

    .atex-hero-summary h3 {
        color: #20313b;
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .atex-hero-summary > p {
        color: #61747f;
        line-height: 1.7;
        font-size: .9rem;
    }

.atex-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

    .atex-summary-grid > div {
        background: #f6fafc;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 16px;
    }

    .atex-summary-grid strong {
        display: block;
        color: var(--blue);
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .atex-summary-grid span {
        color: #71818a;
        font-size: .74rem;
        line-height: 1.45;
    }

.atex-dark-figure {
    border-color: rgba(255,255,255,.18);
    box-shadow: none;
}

    .atex-dark-figure figcaption {
        background: rgba(255,255,255,.08);
        border-color: rgba(255,255,255,.15);
        color: #6b7a84;
    }

.atex-image-pair {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 16px;
    align-items: stretch;
}

    .atex-image-pair .media-figure {
        height: 100%;
    }

    .atex-image-pair img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }

@media(max-width:991px) {
    .atex-project-hero-bg {
        background-position: 60% center;
    }

    .atex-project-hero-overlay {
        background: linear-gradient( 180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.91) 46%, rgba(255,255,255,.63) 74%, rgba(255,255,255,.78) 100% );
    }

    .atex-image-pair {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:767px) {
    .atex-summary-grid,
    .atex-image-pair {
        grid-template-columns: 1fr;
    }

        .atex-image-pair img {
            height: auto;
        }
}

/* =========================================================
   LEGAL / PRIVACY POLICY
   ========================================================= */

.legal-hero .hero-panel {
    height: auto
}

.legal-summary h3 {
    margin-bottom: 10px
}

.legal-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}

    .legal-meta > div {
        padding: 14px 16px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #f8fbfc;
    }

    .legal-meta span, .legal-meta strong {
        display: block
    }

    .legal-meta span {
        color: #7a8991;
        font-size: .67rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .08em;
        margin-bottom: 5px;
    }

    .legal-meta strong {
        color: #425966;
        font-size: .82rem;
        line-height: 1.45;
    }

.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0,1fr);
    gap: 70px;
    align-items: start;
}

.legal-nav {
    position: sticky;
    top: 110px;
}

    .legal-nav nav {
        display: flex;
        flex-direction: column;
        border-top: 1px solid var(--line);
    }

    .legal-nav a {
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
        color: #6a7a83;
        font-size: .78rem;
        font-weight: 700;
        transition: .2s ease;
    }

        .legal-nav a:hover {
            color: var(--blue);
            padding-left: 4px;
        }

.legal-content {
    max-width: 850px
}

.legal-section {
    scroll-margin-top: 110px;
    padding: 0 0 48px;
    margin: 0 0 48px;
    border-bottom: 1px solid var(--line);
}

    .legal-section:last-child {
        margin-bottom: 0
    }

    .legal-section h2 {
        color: #3f4d55;
        font-size: clamp(1.7rem,3vw,2.35rem);
        font-weight: 700;
        letter-spacing: -.035em;
        line-height: 1.12;
        margin-bottom: 20px;
    }

    .legal-section p, .legal-section li {
        color: #667780;
        font-size: .94rem;
        line-height: 1.8;
    }

    .legal-section p {
        margin-bottom: 16px
    }

    .legal-section ul {
        margin: 0 0 20px;
        padding-left: 22px
    }

    .legal-section li {
        padding: 4px 0
    }

    .legal-section strong {
        color: #405660
    }

.legal-contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 26px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f7fafc;
    color: #667780;
    line-height: 1.65;
}

    .legal-contact-card strong {
        margin-bottom: 8px;
        color: #344d59;
    }

    .legal-contact-card a {
        margin-top: 10px;
        color: var(--blue2);
        font-weight: 700;
    }

@media(max-width:991px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-nav {
        position: static
    }

        .legal-nav nav {
            display: grid;
            grid-template-columns: repeat(2,1fr);
            column-gap: 24px;
        }
}

@media(max-width:575px) {
    .legal-meta {
        grid-template-columns: 1fr
    }

    .legal-nav nav {
        grid-template-columns: 1fr
    }
}

/* TERMS & CONDITIONS
   This page uses the same .legal-* styles as PrivacyPolicy.
*/

.legal-content a:not(.btn-main):not(.btn-ghost):not(.btn-white) {
    color: var(--blue2);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(19,102,140,.28);
    text-underline-offset: 3px;
}

    .legal-content a:not(.btn-main):not(.btn-ghost):not(.btn-white):hover {
        color: var(--blue);
        text-decoration-color: currentColor;
    }

/* =========================================================
   COOKIE POLICY ADDITIONS
   ========================================================= */

.legal-cookie-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.legal-cookie-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fbfc;
}

    .legal-cookie-card .kicker {
        margin-bottom: 10px;
    }

    .legal-cookie-card h3 {
        color: #405660;
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .legal-cookie-card p {
        margin: 0;
        font-size: .86rem;
        line-height: 1.65;
    }

.legal-note {
    margin-top: 22px;
    padding: 18px 20px;
    border-left: 4px solid var(--blue);
    background: #f4f9fb;
    color: #647780;
    font-size: .86rem;
    line-height: 1.65;
}

@media(max-width:767px) {
    .legal-cookie-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SOLUTIONS — EXPANDED FOUR-PILLAR PAGE
   ========================================================= */

.solution-detail {
    position: relative;
}

.solution-detail-head {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 42px;
}

    .solution-detail-head .solution-index {
        width: 58px;
        height: 58px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #edf7fb;
        color: var(--blue2);
        font-size: .78rem;
        font-weight: 700;
        flex: 0 0 auto;
    }

    .solution-detail-head .eyebrow {
        margin-bottom: 10px;
    }

    .solution-detail-head h2 {
        margin: 0;
        color: var(--ink);
        font-size: clamp(2.25rem,4.2vw,4rem);
        line-height: 1.02;
        letter-spacing: -.05em;
        font-weight: 700;
    }

.solution-detail-grid {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: 76px;
    align-items: start;
}

.solution-detail-copy {
    max-width: 610px;
}

    .solution-detail-copy .lead {
        margin-bottom: 18px;
        color: #536d7a;
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .solution-detail-copy p:not(.lead) {
        margin: 0 0 17px;
        color: #687983;
        font-size: .93rem;
        line-height: 1.75;
    }

    .solution-detail-copy p:last-child {
        margin-bottom: 0;
    }


/* Capability list */

.solution-capability-list {
    border-top: 1px solid var(--line);
}

    .solution-capability-list > div {
        display: grid;
        grid-template-columns: minmax(170px,.72fr) minmax(0,1.28fr);
        gap: 24px;
        padding: 18px 0;
        border-bottom: 1px solid var(--line);
        align-items: start;
    }

    .solution-capability-list strong {
        color: #314954;
        font-size: .82rem;
        line-height: 1.4;
        font-weight: 700;
    }

    .solution-capability-list span {
        color: #6f7f88;
        font-size: .81rem;
        line-height: 1.58;
    }


/* Bottom capability strip */

.solution-supporting-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

    .solution-supporting-strip span {
        display: inline-flex;
        align-items: center;
        min-height: 31px;
        padding: 6px 11px;
        border: 1px solid #d4e3ea;
        border-radius: 999px;
        background: #fff;
        color: #527081;
        font-size: .69rem;
        font-weight: 600;
        line-height: 1;
    }


/* Alternate soft sections */

.section.soft .solution-supporting-strip span {
    background: rgba(255,255,255,.82);
}

.section.soft .solution-capability-list > div {
    border-bottom-color: #d6e2e8;
}

.section.soft .solution-capability-list {
    border-top-color: #d6e2e8;
}


/* Connected capabilities block */

.solution-detail + .info-grid {
    margin-top: 0;
}


/* =========================================================
   SOLUTIONS — RESPONSIVE
   ========================================================= */

@media(max-width:991px) {

    .solution-detail-head {
        grid-template-columns: 64px 1fr;
        gap: 18px;
        margin-bottom: 32px;
    }

    .solution-detail-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .solution-detail-copy {
        max-width: 760px;
    }

    .solution-capability-list > div {
        grid-template-columns: minmax(155px,.65fr) minmax(0,1.35fr);
    }
}

@media(max-width:767px) {

    .solution-detail-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }

        .solution-detail-head .solution-index {
            width: 50px;
            height: 50px;
            font-size: .72rem;
        }

        .solution-detail-head h2 {
            font-size: clamp(2rem,10vw,3rem);
        }

    .solution-detail-grid {
        gap: 30px;
    }

    .solution-capability-list > div {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 16px 0;
    }

    .solution-capability-list strong {
        font-size: .84rem;
    }

    .solution-capability-list span {
        font-size: .8rem;
    }

    .solution-supporting-strip {
        margin-top: 30px;
        padding-top: 20px;
    }
}

@media(max-width:575px) {

    .solution-detail-copy .lead {
        font-size: .95rem;
    }

    .solution-detail-copy p:not(.lead) {
        font-size: .87rem;
    }

    .solution-supporting-strip span {
        font-size: .66rem;
        padding: 6px 9px;
    }
}


/* =========================================================
   SOLUTIONS — PROJECT DELIVERY
   ========================================================= */

.project-delivery-layout {
    display: grid;
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    gap: 76px;
    align-items: start;
}

.project-delivery-copy {
    max-width: 610px;
}

    .project-delivery-copy .lead {
        margin-bottom: 18px;
        color: #536d7a;
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .project-delivery-copy p:not(.lead) {
        margin: 0 0 17px;
        color: #687983;
        font-size: .93rem;
        line-height: 1.75;
    }

    .project-delivery-copy p:last-child {
        margin-bottom: 0;
    }

.project-delivery-points {
    border-top: 1px solid var(--line);
}

    .project-delivery-points > div {
        display: grid;
        grid-template-columns: minmax(170px,.72fr) minmax(0,1.28fr);
        gap: 24px;
        align-items: start;
        padding: 18px 0;
        border-bottom: 1px solid var(--line);
    }

    .project-delivery-points strong {
        color: #314954;
        font-size: .82rem;
        line-height: 1.4;
        font-weight: 700;
    }

    .project-delivery-points span {
        color: #6f7f88;
        font-size: .81rem;
        line-height: 1.58;
    }


/* =========================================================
   PROJECT DELIVERY — RESPONSIVE
   ========================================================= */

@media(max-width:991px) {

    .project-delivery-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .project-delivery-copy {
        max-width: 760px;
    }

    .project-delivery-points > div {
        grid-template-columns: minmax(155px,.65fr) minmax(0,1.35fr);
    }
}

@media(max-width:767px) {

    .project-delivery-layout {
        gap: 30px;
    }

    .project-delivery-points > div {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 16px 0;
    }

    .project-delivery-points strong {
        font-size: .84rem;
    }

    .project-delivery-points span {
        font-size: .8rem;
    }
}

@media(max-width:575px) {

    .project-delivery-copy .lead {
        font-size: .95rem;
    }

    .project-delivery-copy p:not(.lead) {
        font-size: .87rem;
    }
}

/* =========================================================
   PROJECT DETAIL — PACKING DISPLAY
   Unique case-study layout
   ========================================================= */

.project-hero-packing {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #eef4f7;
}

.project-hero-packing-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("/images/projects/packing/packing-display-bg.jpg");
    background-size: cover;
    background-position: center 52%;
    transform: scale(1.01);
}

.project-hero-packing-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient( 90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 30%, rgba(255,255,255,.70) 52%, rgba(255,255,255,.16) 100% );
}

.packing-command-card {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow);
}

    .packing-command-card h3 {
        color: #203744;
        font-size: 1.2rem;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .packing-command-card p {
        color: #657681;
        font-size: .9rem;
        line-height: 1.65;
        margin: 0 0 20px;
    }

.packing-command-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

    .packing-command-grid > div {
        border: 1px solid var(--line);
        border-left: 3px solid var(--blue);
        border-radius: 6px;
        background: rgba(248,251,252,.92);
        padding: 14px 16px;
    }

    .packing-command-grid strong {
        display: block;
        color: #1f3a49;
        font-size: .82rem;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .packing-command-grid span {
        color: #70818a;
        font-size: .74rem;
        line-height: 1.45;
    }

.packing-story-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.packing-story-copy {
    border-left: 1px solid #cfe0e8;
    padding-left: 34px;
}

    .packing-story-copy p:not(.lead) {
        color: #687983;
        font-size: .94rem;
        line-height: 1.8;
        margin-bottom: 0;
    }

.packing-signal-strip {
    margin-top: 30px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    grid-template-columns: repeat(5,1fr);
}

    .packing-signal-strip > div {
        padding: 24px 20px;
        border-right: 1px solid var(--line);
    }

        .packing-signal-strip > div:last-child {
            border-right: 0;
        }

    .packing-signal-strip strong {
        display: block;
        color: var(--blue2);
        font-size: 1.18rem;
        font-weight: 800;
        margin-bottom: 5px;
    }

    .packing-signal-strip span {
        color: #6f7d86;
        font-size: .78rem;
        line-height: 1.45;
    }

.packing-rail {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.packing-rail-step {
    position: relative;
    display: block;
    padding: 30px 25px 32px;
    border-right: 1px solid var(--line);
}

    .packing-rail-step:last-child {
        border-right: 0;
    }

    .packing-rail-step:not(:last-child)::after {
        content: "→";
        position: absolute;
        top: 31px;
        right: -11px;
        z-index: 2;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #fff;
        color: var(--blue);
        display: grid;
        place-items: center;
        font-weight: 900;
        font-size: .82rem;
    }

.packing-rail-index {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eaf6fc;
    color: var(--blue2);
    display: grid;
    place-items: center;
    font-size: .8rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.packing-rail-step h3 {
    color: #213843;
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0 0 7px;
}

.packing-rail-step p {
    color: #647682;
    font-size: .88rem;
    line-height: 1.68;
    margin: 0;
}

.packing-gallery {
    margin-top: 30px;
    display: grid;
    gap: 20px;
    grid-template-columns: 1.4fr .8fr;
}

    .packing-gallery .packing-gallery-main {
        grid-row: span 2;
    }

    .packing-gallery .media-figure {
        margin: 0;
    }

        .packing-gallery .media-figure img {
            width: 100%;
            height: 100%;
            min-height: 250px;
            object-fit: contain;
            background: #f7fafb;
            border: 1px solid var(--line);
            border-radius: 8px;
        }

    .packing-gallery figcaption {
        padding-top: 9px;
        color: #728089;
        font-size: .78rem;
        line-height: 1.5;
    }

.packing-contribution-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 30px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

    .packing-contribution-grid > div {
        min-height: 132px;
        padding: 22px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        background: #fff;
    }

    .packing-contribution-grid span {
        display: block;
        color: var(--red);
        font-size: .67rem;
        font-weight: 900;
        letter-spacing: .12em;
        margin-bottom: 16px;
    }

    .packing-contribution-grid strong {
        display: block;
        color: #314956;
        font-size: .9rem;
        line-height: 1.45;
    }

.packing-tech-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

    .packing-tech-strip span {
        padding: 9px 13px;
        background: #eef5f8;
        border: 1px solid #d8e6ec;
        border-radius: 999px;
        color: #456575;
        font-size: .76rem;
        font-weight: 800;
    }



/* Reporting & performance history */
.packing-reporting-periods {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    margin-top: 30px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: #fff;
}

    .packing-reporting-periods > div {
        padding: 19px 16px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .packing-reporting-periods strong {
        display: block;
        color: var(--blue2);
        font-size: .9rem;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .packing-reporting-periods span {
        display: block;
        color: #73818a;
        font-size: .73rem;
        line-height: 1.45;
    }

.packing-reporting-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 28px;
}

.packing-report-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    background: #fff;
    min-height: 310px;
}

.packing-report-index {
    color: var(--red);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    margin-bottom: 20px;
}

.packing-report-card h3 {
    color: #2b4350;
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.packing-report-card p {
    color: #687983;
    font-size: .88rem;
    line-height: 1.65;
    margin-bottom: 17px;
}

.packing-report-card ul {
    margin: 0;
    padding-left: 18px;
    color: #5f727d;
    font-size: .82rem;
    line-height: 1.8;
}

.packing-reporting-highlight {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 44px;
    align-items: center;
    margin-top: 20px;
    padding: 26px 28px;
    border-left: 4px solid var(--blue);
    background: #eef7fb;
}

.packing-reporting-kicker {
    display: block;
    color: var(--blue2);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.packing-reporting-highlight h3 {
    color: #2a4350;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.packing-reporting-highlight p {
    color: #61747f;
    font-size: .88rem;
    line-height: 1.7;
    margin: 0;
}

@media(max-width: 991px) {
    .packing-command-grid {
        grid-template-columns: 1fr;
    }

    .packing-story-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .packing-story-copy {
        border-left: 0;
        padding-left: 0;
    }

    .packing-signal-strip {
        grid-template-columns: 1fr 1fr;
    }

        .packing-signal-strip > div:nth-child(2n) {
            border-right: 0;
        }

    .packing-rail {
        grid-template-columns: 1fr 1fr;
    }

    .packing-rail-step:nth-child(2) {
        border-right: 0;
    }

    .packing-rail-step:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .packing-rail-step::after {
        display: none !important;
    }

    .packing-gallery {
        grid-template-columns: 1fr;
    }

        .packing-gallery .packing-gallery-main {
            grid-row: auto;
        }

    .packing-contribution-grid {
        grid-template-columns: 1fr 1fr;
    }

    .packing-reporting-periods {
        grid-template-columns: repeat(3,1fr);
    }

    .packing-reporting-grid {
        grid-template-columns: 1fr;
    }

    .packing-report-card {
        min-height: 0;
    }

    .packing-reporting-highlight {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media(max-width: 767px) {
    .project-hero-packing-overlay {
        background: rgba(255,255,255,.90);
    }

    .packing-signal-strip {
        grid-template-columns: 1fr;
    }

        .packing-signal-strip > div {
            border-right: 0;
            border-bottom: 1px solid var(--line);
        }

            .packing-signal-strip > div:last-child {
                border-bottom: 0;
            }

    .packing-rail {
        grid-template-columns: 1fr;
    }

    .packing-rail-step {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

        .packing-rail-step:last-child {
            border-bottom: 0;
        }

    .packing-contribution-grid {
        grid-template-columns: 1fr;
    }

    .packing-reporting-periods {
        grid-template-columns: 1fr 1fr;
    }
}
