/* =====================================================
   iLytix Inner Pages Design
   Only for inner pages. Homepage safe rahega.
===================================================== */

:root {
    --ilytix-red: #c40018;
    --ilytix-dark: #07111f;
    --ilytix-text: #080d18;
    --ilytix-muted: #5d6778;
    --ilytix-border: #e7e9ee;
    --ilytix-soft: #fff7f7;
    --ilytix-bg: #ffffff;
}

* {
    box-sizing: border-box;
}

body.inner-page {
    margin: 0;
    font-family: "Manrope", Arial, sans-serif;
    color: var(--ilytix-text);
    background: #ffffff;
}

.inner-container {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
}

.inner-header {
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.inner-nav-wrap {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inner-brand img {
    width: auto;
    height: 48px;
    display: block;
}

.inner-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.inner-nav a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    height: 70px;
    color: var(--black);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.inner-nav a:hover {
    color: var(--ilytix-red);
}

.inner-nav .inner-cta {
    margin-left: 16px;
    padding: 0 20px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
}

.inner-nav .inner-cta:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.inner-menu {
    display: none;
    width: 34px;
    height: 24px;
    border: 0;
    background: transparent;
    padding: 0;
}

.inner-menu span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 6px 0;
    background: var(--ilytix-text);
}

.inner-hero-new {
    padding: 76px 0 68px;
    background:
        radial-gradient(circle at 88% 20%, rgba(196, 0, 24, 0.08), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
    border-bottom: 1px solid var(--ilytix-border);
}

.inner-hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.85fr;
    gap: 72px;
    align-items: center;
}

.inner-eyebrow {
    margin: 0 0 18px;
    color: var(--ilytix-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.inner-hero-new h1 {
    margin: 0;
    max-width: 780px;
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.inner-hero-new p {
    margin: 24px 0 32px;
    max-width: 680px;
    color: var(--ilytix-muted);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 600;
}

.inner-btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.inner-btn {
    min-height: 52px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.inner-btn-primary {
    background: #c40018;
    color: #ffffff;
    border: 1px solid #c40018;
    box-shadow: 0 14px 28px rgba(196, 0, 24, 0.18);
}

.inner-btn-primary:hover,
.inner-btn-primary:focus {
    background: #a90015;
    border-color: #a90015;
    transform: translateY(-1px);
}

.inner-btn-secondary {
    border: 1px solid #dfe3ea;
    color: #080d18;
    background: #ffffff;
}

.inner-btn-secondary:hover,
.inner-btn-secondary:focus {
    border-color: #c40018;
    background: #fff1f3;
    color: #c40018;
    transform: translateY(-1px);
}

.inner-visual-card {
    padding: 28px;
    border: 1px solid var(--ilytix-border);
    border-radius: 16px;
    background: rgba(255,255,255,0.86);
    box-shadow: 0 24px 70px rgba(7,17,31,0.08);
}

.inner-visual-top {
    min-height: 260px;
    padding: 28px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(7,17,31,0.94), rgba(196,0,24,0.78)),
        url("../images/img3.jpg") center/cover;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.inner-visual-top h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
}

.inner-visual-top p {
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    line-height: 1.6;
}

.inner-mini-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.inner-mini-card {
    padding: 18px;
    border: 1px solid var(--ilytix-border);
    border-radius: 10px;
    background: #ffffff;
}

.inner-mini-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
    color: var(--ilytix-red);
}

.inner-mini-card span {
    color: var(--ilytix-muted);
    font-size: 12px;
    font-weight: 700;
}

.inner-section-new {
    padding: 64px 0;
    background: #ffffff;
}

.inner-section-soft {
    background: #fffafa;
    border-top: 1px solid #f2e4e4;
    border-bottom: 1px solid #f2e4e4;
}

.inner-title {
    text-align: center;
    margin-bottom: 30px;
}

.inner-title h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.18;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.inner-title p {
    margin: 14px auto 0;
    max-width: 680px;
    color: var(--ilytix-muted);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 600;
}

.inner-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.inner-service-card {
    min-height: 230px;
    padding: 28px;
    border: 1px solid var(--ilytix-border);
    border-radius: 10px;
    background: #ffffff;
    position: relative;
}

.inner-service-card i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #fff1f2;
    color: var(--ilytix-red);
    font-size: 22px;
}

.inner-service-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.22;
    font-weight: 800;
}

.inner-service-card p {
    margin: 0;
    color: var(--ilytix-muted);
    font-size: 14px;
    line-height: 1.65;
    font-weight: 600;
}

.inner-split-new {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
    align-items: center;
}

.inner-split-copy h2 {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.inner-split-copy p {
    margin: 0;
    color: var(--ilytix-muted);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 600;
}

.inner-check-panel {
    padding: 28px;
    border: 1px solid var(--ilytix-border);
    border-radius: 10px;
    background: #ffffff;
}

.inner-check-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid #eef0f4;
}

.inner-check-item:last-child {
    border-bottom: 0;
}

.inner-check-item i {
    color: var(--ilytix-red);
    font-size: 18px;
    margin-top: 2px;
}

.inner-check-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 800;
}

.inner-check-item span {
    color: var(--ilytix-muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 600;
}

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

.inner-process-card {
    padding: 26px;
    border: 1px solid var(--ilytix-border);
    border-radius: 10px;
    background: #ffffff;
}

.inner-process-card b {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--ilytix-red);
    color: #ffffff;
    font-size: 12px;
}

.inner-process-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}

.inner-process-card p {
    margin: 0;
    color: var(--ilytix-muted);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.inner-cta-section {
    padding: 12px 0 58px;
    background: #ffffff;
}

.inner-cta-box {
    min-height: 156px;
    padding: 32px 48px;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 34px;
    align-items: center;
    border: 1px solid var(--ilytix-border);
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
}

.inner-cta-icon {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff1f2;
    color: var(--ilytix-red);
    font-size: 34px;
}

.inner-cta-box h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.inner-cta-box p {
    margin: 0;
    color: var(--ilytix-muted);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}

.inner-footer {
    padding: 38px 0 0;
    background: var(--ilytix-dark);
    color: #d7dfeb;
}

.inner-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr;
    gap: 52px;
    padding-bottom: 34px;
}

.inner-footer-logo {
    width: 94px;
    padding: 8px;
    background: #ffffff;
    border-radius: 2px;
    margin-bottom: 18px;
}

.inner-footer h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inner-footer p,
.inner-footer a {
    color: #d7dfeb;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    font-weight: 500;
}

.inner-footer a {
    display: block;
    margin: 9px 0;
}

.inner-footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.inner-footer-bottom div {
    display: flex;
    gap: 28px;
}

@media (max-width: 1100px) {
    .inner-container {
        width: calc(100% - 44px);
    }

    .inner-nav {
        display: none;
    }

    .inner-menu {
        display: block;
    }

    .inner-hero-layout,
    .inner-split-new {
        grid-template-columns: 1fr;
    }

    .inner-service-grid,
    .inner-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 650px) {
    .inner-container {
        width: calc(100% - 28px);
    }

    .inner-header,
    .inner-nav-wrap {
        height: 78px;
    }

    .inner-brand img {
        width: 98px;
    }

    .inner-hero-new {
        padding: 48px 0 44px;
    }

    .inner-hero-new h1 {
        font-size: 35px;
    }

    .inner-hero-new p {
        font-size: 14px;
    }

    .inner-btn-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .inner-btn {
        width: 100%;
    }

    .inner-service-grid,
    .inner-process-grid,
    .inner-mini-grid,
    .inner-footer-grid {
        grid-template-columns: 1fr;
    }

    .inner-title h2,
    .inner-split-copy h2 {
        font-size: 28px;
    }

    .inner-cta-box {
        grid-template-columns: 1fr;
        padding: 26px 24px;
    }

    .inner-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .inner-footer-bottom div {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =====================================================
   AI Solutions polish fixes
===================================================== */

.inner-eyebrow {
    letter-spacing: 0.18em !important;
    word-spacing: 0 !important;
}

.inner-hero-new {
    padding: 70px 0 62px !important;
}

.inner-hero-layout {
    gap: 64px !important;
}

.inner-visual-card {
    max-width: 560px !important;
    justify-self: end !important;
}

.inner-visual-top {
    min-height: 240px !important;
}

.inner-title h2 {
    word-spacing: normal !important;
    letter-spacing: -0.035em !important;
}

.inner-service-card h3,
.inner-service-card p {
    word-spacing: normal !important;
}

@media (max-width: 1100px) {
    .inner-visual-card {
        max-width: 100% !important;
        justify-self: stretch !important;
    }
}


/* =====================================================
   AI Solutions refined visual polish
   Only inner pages. Homepage untouched.
===================================================== */

.inner-header {
    height: 70px;
}

.inner-nav-wrap {
    height: 70px;
}

.inner-brand img {
    width: auto;
    height: 48px;
}

.inner-nav {
    gap: 4px;
}

.inner-nav a {
    font-size: 13.5px;
    font-weight: 700;
}

.inner-nav .inner-cta {
    margin-left: 16px;
    padding: 0 20px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
}

.inner-hero-new {
    padding: 64px 0 58px !important;
    background:
        radial-gradient(circle at 86% 18%, rgba(196, 0, 24, 0.10), transparent 24%),
        radial-gradient(circle at 8% 90%, rgba(7, 17, 31, 0.035), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #fff8f8 100%) !important;
}

.inner-hero-layout {
    grid-template-columns: 0.96fr 0.82fr !important;
    gap: 58px !important;
}

.inner-hero-new h1 {
    max-width: 650px !important;
    font-size: 52px !important;
    line-height: 1.09 !important;
    letter-spacing: -0.052em !important;
}

.inner-hero-new p {
    max-width: 630px !important;
    margin: 22px 0 30px !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
}

.inner-eyebrow {
    margin-bottom: 16px !important;
    color: #c40018 !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    font-weight: 800 !important;
}

.inner-btn-row {
    gap: 12px !important;
}

.inner-btn {
    min-height: 50px !important;
    padding: 0 24px !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    letter-spacing: -0.01em !important;
}

.inner-btn-primary {
    box-shadow: 0 14px 28px rgba(196, 0, 24, 0.16) !important;
}

.inner-btn-secondary {
    border-color: #d6dbe4 !important;
}

.inner-visual-card {
    max-width: 548px !important;
    padding: 22px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.92) !important;
    box-shadow: 0 24px 60px rgba(7,17,31,0.07) !important;
}

.inner-visual-top {
    min-height: 230px !important;
    padding: 26px !important;
    border-radius: 12px !important;
    background:
        linear-gradient(135deg, rgba(7,17,31,0.88), rgba(196,0,24,0.74)),
        url("../images/img3.jpg") center/cover !important;
}

.inner-visual-top h3 {
    max-width: 390px !important;
    font-size: 25px !important;
    line-height: 1.15 !important;
}

.inner-visual-top p {
    max-width: 430px !important;
    font-size: 13.5px !important;
}

.inner-mini-grid {
    margin-top: 14px !important;
    gap: 12px !important;
}

.inner-mini-card {
    padding: 16px !important;
    border-radius: 8px !important;
}

.inner-mini-card strong {
    margin-bottom: 5px !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.inner-mini-card span {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
}

.inner-section-new {
    padding: 58px 0 !important;
}

.inner-title {
    margin-bottom: 26px !important;
}

.inner-title h2 {
    font-size: 31px !important;
    line-height: 1.18 !important;
}

.inner-title p {
    margin-top: 12px !important;
    font-size: 14px !important;
}

.inner-service-grid {
    gap: 16px !important;
}

.inner-service-card {
    min-height: 218px !important;
    padding: 26px !important;
    border-radius: 8px !important;
}

.inner-service-card i {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 16px !important;
    border-radius: 8px !important;
}

.inner-service-card h3 {
    font-size: 19px !important;
}

.inner-service-card p {
    font-size: 13.5px !important;
    line-height: 1.62 !important;
}

@media (max-width: 1100px) {
    .inner-hero-layout {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    .inner-hero-new h1 {
        max-width: 760px !important;
        font-size: 44px !important;
    }

    .inner-hero-new p {
        max-width: 720px !important;
    }
}

@media (max-width: 650px) {
    .inner-hero-new {
        padding: 42px 0 40px !important;
    }

    .inner-hero-new h1 {
        font-size: 34px !important;
    }

    .inner-visual-card {
        padding: 14px !important;
    }

    .inner-visual-top {
        min-height: 210px !important;
        padding: 20px !important;
    }

    .inner-visual-top h3 {
        font-size: 22px !important;
    }
}


/* Remove navbar dropdown arrows on inner pages */
.inner-nav a::after,
.inner-nav a::before {
}

/* Navbar spacing and font update for inner pages */
.inner-nav {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    font-size: 15px !important;
    font-weight: 1000 !important;
}

.inner-nav a {
    font-size: 15px !important;
    font-weight: 1000 !important;
}

.inner-nav .inner-cta {
    font-size: 15px !important;
    font-weight: 1000 !important;
}


/* Inner footer transparent logo fix */
.inner-footer-logo {
    width: 150px !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    background: transparent !important;
    mix-blend-mode: normal !important;
}


/* =====================================================
   NAV DROPDOWN SYSTEM
   Inner pages dropdown navigation
===================================================== */

.inner-nav {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
}

.nav-dropdown {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #080d18;
    text-decoration: none;
    font-size: 15px;
    font-weight: 1000;
    line-height: 1;
}

.nav-link::after {
    content: "▾";
    font-size: 10px;
    color: #c40018;
    transform: translateY(-1px);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    padding: 12px;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(7, 17, 31, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.18s ease;
    z-index: 9999;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 12px;
    border-radius: 8px;
    color: #111827;
    font-size: 13px !important;
    line-height: 1.25;
    font-weight: 800 !important;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #fff1f3;
    color: #c40018;
}

@media (max-width: 1100px) {
    .inner-nav {
        display: none !important;
    }
}


/* =====================================================
   MOBILE MEGA MENU
===================================================== */

.mobile-mega-menu {
    display: none;
}

@media (max-width: 1100px) {
    .mobile-mega-menu {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        display: none;
        padding: 14px;
        background: #ffffff;
        border-top: 1px solid #edf0f4;
        border-bottom: 1px solid #edf0f4;
        box-shadow: 0 18px 40px rgba(7, 17, 31, 0.10);
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        z-index: 9999;
    }

    .mobile-mega-menu.is-open {
        display: block;
    }

    .mobile-mega-menu details {
        border-bottom: 1px solid #edf0f4;
        padding: 4px 0;
    }

    .mobile-mega-menu summary {
        cursor: pointer;
        list-style: none;
        padding: 14px 4px;
        color: #080d18;
        font-size: 15px;
        font-weight: 900;
    }

    .mobile-mega-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-mega-menu summary::after {
        content: "+";
        float: right;
        color: #c40018;
        font-weight: 900;
    }

    .mobile-mega-menu details[open] summary::after {
        content: "−";
    }

    .mobile-mega-menu a {
        display: block;
        padding: 11px 12px;
        color: #536072;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
        border-radius: 8px;
    }

    .mobile-mega-menu a:hover {
        background: #fff1f3;
        color: #c40018;
    }

    .mobile-menu-cta {
        margin-top: 14px;
        background: #c40018 !important;
        color: #ffffff !important;
        text-align: center;
        border-radius: 8px;
        min-height: 48px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 650px) {
    .mobile-mega-menu {
        top: 78px;
        max-height: calc(100vh - 78px);
    }
}


/* =====================================================
   Service detail pages
===================================================== */

.inner-menu {
    display: none;
}

.service-detail-card {
    padding: 34px !important;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-detail-card > span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff1f3;
    color: #c40018;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-detail-card h3 {
    margin: 0 0 20px;
    color: #080d18;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.service-best-section {
    padding-top: 0 !important;
}

.service-best-box {
    padding: 38px;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(7, 17, 31, 0.045);
}

.service-best-box h2 {
    margin: 10px 0 12px;
    color: #080d18;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.service-best-box p {
    max-width: 820px;
    margin: 0;
    color: #536072;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .inner-menu {
        display: flex !important;
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .inner-menu span {
        width: 24px;
        height: 2px;
        background: #080d18;
        border-radius: 999px;
        display: block;
    }
}

@media (max-width: 650px) {
    .service-detail-card {
        padding: 22px !important;
        min-height: auto;
    }

    .service-detail-card h3 {
        font-size: 24px;
    }

    .service-best-box {
        padding: 24px;
        border-radius: 14px;
    }

    .service-best-box h2 {
        font-size: 25px;
    }

    .service-best-box p {
        font-size: 14px;
        line-height: 1.65;
    }
}


/* =====================================================
   FIX: Inner page hero buttons + service visual list
===================================================== */

.inner-hero-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 28px !important;
}

.inner-hero-actions .btn-primary,
.inner-hero-actions .btn-secondary,
a.btn-primary,
a.btn-secondary {
    min-height: 48px !important;
    padding: 0 22px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
}

.inner-hero-actions .btn-primary,
a.btn-primary {
    background: #c40018 !important;
    color: #ffffff !important;
    border-color: #c40018 !important;
    box-shadow: 0 14px 28px rgba(196, 0, 24, 0.18) !important;
}

.inner-hero-actions .btn-primary:hover,
a.btn-primary:hover {
    background: #a90015 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.inner-hero-actions .btn-secondary,
a.btn-secondary {
    background: #ffffff !important;
    color: #080d18 !important;
    border-color: #dfe3ea !important;
}

.inner-hero-actions .btn-secondary:hover,
a.btn-secondary:hover {
    border-color: #c40018 !important;
    color: #c40018 !important;
    background: #fff1f3 !important;
}

.service-detail-card .service-mini-list {
    display: grid !important;
    gap: 10px !important;
    margin-top: 8px !important;
}

.service-detail-card .service-mini-list p,
.services-overview-card .service-mini-list p {
    margin: 0 !important;
    padding: 13px 14px !important;
    border: 1px solid #edf0f4 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
}

.service-detail-card .service-mini-list p::before,
.services-overview-card .service-mini-list p::before {
    content: "•";
    color: #c40018;
    font-weight: 1000;
    margin-right: 8px;
}

.service-detail-card {
    box-shadow: 0 24px 70px rgba(7, 17, 31, 0.08) !important;
}

@media (max-width: 650px) {
    .inner-hero-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 24px !important;
    }

    .inner-hero-actions .btn-primary,
    .inner-hero-actions .btn-secondary,
    a.btn-primary,
    a.btn-secondary {
        width: 100% !important;
        min-height: 48px !important;
    }
}


/* =====================================================
   FIX: Service detail bottom CTA layout
   Goal: make CTA balanced, readable, and premium
===================================================== */

.inner-cta-section {
    padding: 60px 0 80px !important;
}

.inner-cta-box {
    display: grid !important;
    grid-template-columns: 1fr 1.25fr auto !important;
    align-items: center !important;
    gap: 36px !important;
    padding: 44px 48px !important;
    border: 1px solid #e7e9ee !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f8 100%) !important;
    box-shadow: 0 22px 60px rgba(7, 17, 31, 0.06) !important;
}

.inner-cta-box .inner-eyebrow {
    margin: 0 !important;
    align-self: center !important;
}

.inner-cta-box h2 {
    margin: 0 !important;
    max-width: 460px !important;
    color: #080d18 !important;
    font-size: 32px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
}

.inner-cta-box p {
    margin: 0 !important;
    max-width: 560px !important;
    color: #536072 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    font-weight: 650 !important;
}

.inner-cta-box .btn-primary {
    min-width: 180px !important;
    white-space: nowrap !important;
    justify-self: end !important;
}

/* Keep CTA clean on tablets */
@media (max-width: 980px) {
    .inner-cta-box {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 34px !important;
        text-align: left !important;
    }

    .inner-cta-box h2 {
        max-width: 100% !important;
        font-size: 28px !important;
    }

    .inner-cta-box p {
        max-width: 100% !important;
    }

    .inner-cta-box .btn-primary {
        justify-self: start !important;
        width: auto !important;
    }
}

/* Mobile CTA */
@media (max-width: 650px) {
    .inner-cta-section {
        padding: 42px 0 58px !important;
    }

    .inner-cta-box {
        padding: 26px 22px !important;
        border-radius: 14px !important;
    }

    .inner-cta-box h2 {
        font-size: 24px !important;
        line-height: 1.18 !important;
    }

    .inner-cta-box p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .inner-cta-box .btn-primary {
        width: 100% !important;
        justify-self: stretch !important;
        margin-top: 4px !important;
    }
}


/* =====================================================
   FIX: Keep service CTA button in the same row
===================================================== */

@media (min-width: 981px) {
    .inner-cta-box {
        grid-template-columns: 110px 320px 1fr 190px !important;
        align-items: center !important;
        gap: 28px !important;
    }

    .inner-cta-box .inner-eyebrow {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .inner-cta-box h2 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        max-width: 320px !important;
        font-size: 30px !important;
    }

    .inner-cta-box p {
        grid-column: 3 !important;
        grid-row: 1 !important;
        max-width: 520px !important;
    }

    .inner-cta-box .btn-primary {
        grid-column: 4 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        width: 190px !important;
        min-width: 190px !important;
    }
}


/* =====================================================
   FIX: Service detail cards grid balance
   Goal: 6 service cards appear as 3 + 3 on desktop
===================================================== */

@media (min-width: 981px) {
    .service-detail-hero + .inner-section .inner-card-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 18px !important;
    }

    .service-detail-hero + .inner-section .inner-card {
        min-height: 178px !important;
        padding: 26px !important;
    }

    .service-detail-hero + .inner-section .inner-card h3 {
        font-size: 18px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }

    .service-detail-hero + .inner-section .inner-card p {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }
}

@media (min-width: 651px) and (max-width: 980px) {
    .service-detail-hero + .inner-section .inner-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 650px) {
    .service-detail-hero + .inner-section .inner-card-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .service-detail-hero + .inner-section .inner-card {
        min-height: auto !important;
    }
}


/* =====================================================
   FINAL POLISH: Service detail section spacing
===================================================== */

.service-detail-hero + .inner-section {
    padding-bottom: 44px !important;
}

.service-best-section {
    padding-top: 18px !important;
    padding-bottom: 44px !important;
}

.service-best-box {
    min-height: auto !important;
}

.inner-cta-section {
    padding-top: 30px !important;
}

@media (max-width: 650px) {
    .service-detail-hero + .inner-section {
        padding-bottom: 34px !important;
    }

    .service-best-section {
        padding-top: 10px !important;
        padding-bottom: 34px !important;
    }

    .inner-cta-section {
        padding-top: 20px !important;
    }
}


/* =====================================================
   AI Solutions detail pages
   Same brand, slightly different AI visual treatment
===================================================== */

.ai-detail-card {
    position: relative;
    overflow: hidden;
}

.ai-detail-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(196, 0, 24, 0.08);
    pointer-events: none;
}

.ai-detail-card::after {
    content: "AI";
    position: absolute;
    right: 26px;
    bottom: 20px;
    color: rgba(196, 0, 24, 0.06);
    font-size: 82px;
    font-weight: 1000;
    letter-spacing: -0.08em;
    pointer-events: none;
}

.ai-detail-card > * {
    position: relative;
    z-index: 1;
}

.ai-detail-card .service-mini-list p {
    background: #fffafa !important;
}

.ai-detail-hero + .inner-section .inner-card:hover {
    border-color: rgba(196, 0, 24, 0.32) !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(7, 17, 31, 0.07);
}

@media (max-width: 650px) {
    .ai-detail-card::after {
        font-size: 56px;
        right: 20px;
        bottom: 16px;
    }
}


/* =====================================================
   SERVICES PAGE — scoped svc-* system
   Minimal, clean, easy to navigate.
   Completely self-contained, no side-effects on other pages.
===================================================== */

/* Container */
.svc-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

/* Shared eyebrow */
.svc-eyebrow {
    margin: 0 0 14px;
    color: #c40018;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

/* Shared button */
.svc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.svc-btn-primary {
    background: #c40018;
    color: #ffffff;
    border: 1px solid #c40018;
    box-shadow: 0 10px 24px rgba(196, 0, 24, 0.18);
}

.svc-btn-primary:hover {
    background: #a90015;
    border-color: #a90015;
    transform: translateY(-1px);
}

.svc-btn-ghost {
    background: transparent;
    color: #080d18;
    border: 1px solid #dfe3ea;
}

.svc-btn-ghost:hover {
    border-color: #c40018;
    color: #c40018;
    background: #fff1f3;
}

/* ─── Hero ─── */
.svc-hero {
    padding: 64px 0 60px;
    background:
        radial-gradient(ellipse at 90% 10%, rgba(196, 0, 24, 0.07) 0%, transparent 36%),
        linear-gradient(160deg, #ffffff 0%, #fff8f8 100%);
    border-bottom: 1px solid #e7e9ee;
}

.svc-hero .svc-container {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 64px;
    align-items: center;
}

.svc-hero-content h1 {
    margin: 0 0 16px;
    max-width: 600px;
    font-size: 50px;
    line-height: 1.09;
    letter-spacing: -0.048em;
    font-weight: 800;
    color: #080d18;
}

.svc-hero-desc {
    margin: 0 0 28px;
    max-width: 560px;
    color: #5d6778;
    font-size: 16px;
    line-height: 1.72;
    font-weight: 600;
}

.svc-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero visual card */
.svc-hero-card {
    padding: 20px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 56px rgba(8, 13, 24, 0.07);
}

.svc-card-top {
    padding: 26px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 88% 12%, rgba(255,255,255,0.14), transparent 28%),
        linear-gradient(135deg, #0d1829 0%, #6b0f1d 58%, #c40018 100%);
    color: #ffffff;
    margin-bottom: 14px;
}

.svc-card-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
}

.svc-card-top h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.svc-card-top p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Stat list inside hero card */
.svc-stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.svc-stat-list li {
    padding: 13px 14px;
    border: 1px solid #e7e9ee;
    border-radius: 8px;
    background: #fafbfc;
    transition: border-color 0.14s ease, background 0.14s ease;
}

.svc-stat-list li:hover {
    border-color: rgba(196, 0, 24, 0.25);
    background: #fff1f3;
}

.svc-stat-list strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 900;
    color: #080d18;
}

.svc-stat-list span {
    font-size: 11px;
    font-weight: 700;
    color: #7a8494;
}

/* ─── Services Section ─── */
.svc-section {
    padding: 72px 0 80px;
    background: #ffffff;
}

.svc-section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.svc-section-head h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #080d18;
}

.svc-section-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.68;
    font-weight: 600;
    color: #5d6778;
}

/* Service cards grid */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.svc-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
    position: relative;
}

.svc-card:hover {
    border-color: rgba(196, 0, 24, 0.28);
    box-shadow: 0 14px 38px rgba(8, 13, 24, 0.07);
    transform: translateY(-2px);
}

.svc-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff1f2;
    font-size: 20px;
    flex-shrink: 0;
}

.svc-card-body {
    flex: 1;
}

.svc-card-body h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    color: #080d18;
}

.svc-card-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.62;
    font-weight: 600;
    color: #5d6778;
}

.svc-arrow {
    display: block;
    margin-top: 16px;
    font-size: 16px;
    color: #c40018;
    font-weight: 900;
    transition: transform 0.15s ease;
}

.svc-card:hover .svc-arrow {
    transform: translateX(3px);
}

/* ─── Bottom CTA strip ─── */
.svc-cta-strip {
    padding: 0 0 72px;
    background: #ffffff;
}

.svc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 44px;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f8 100%);
    box-shadow: 0 18px 48px rgba(8, 13, 24, 0.05);
}

.svc-cta-inner h2 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #080d18;
}

.svc-cta-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: #5d6778;
}

/* ─── Responsive ─── */

/* 3-col below 1100px */
@media (max-width: 1100px) {
    .svc-hero .svc-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .svc-hero-card {
        max-width: 540px;
    }

    .svc-hero-content h1 {
        font-size: 42px;
    }

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

    .svc-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 32px 36px;
    }
}

/* 2-col on tablet */
@media (max-width: 820px) {
    .svc-hero {
        padding: 52px 0 48px;
    }

    .svc-hero-content h1 {
        font-size: 36px;
    }

    .svc-hero-desc {
        font-size: 15px;
    }

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

    .svc-section {
        padding: 56px 0 64px;
    }
}

/* 1-col on mobile */
@media (max-width: 540px) {
    .svc-hero {
        padding: 40px 0 36px;
    }

    .svc-hero-content h1 {
        font-size: 30px;
        letter-spacing: -0.04em;
    }

    .svc-hero-desc {
        font-size: 14px;
    }

    .svc-hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .svc-btn {
        width: 100%;
        justify-content: center;
    }

    .svc-stat-list {
        grid-template-columns: 1fr 1fr;
    }

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

    .svc-section-head h2 {
        font-size: 26px;
    }

    .svc-cta-inner {
        padding: 26px 22px;
        border-radius: 10px;
    }

    .svc-cta-inner h2 {
        font-size: 22px;
    }
}


/* =====================================================
   AI SOLUTIONS PAGE — scoped ai-* system
   Minimal, clean, consistent with svc-* services page.
===================================================== */

.ai-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.ai-eyebrow {
    margin: 0 0 14px;
    color: #c40018;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

/* Buttons */
.ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ai-btn-primary {
    background: #c40018;
    color: #ffffff;
    border: 1px solid #c40018;
    box-shadow: 0 10px 24px rgba(196, 0, 24, 0.18);
}

.ai-btn-primary:hover {
    background: #a90015;
    border-color: #a90015;
    transform: translateY(-1px);
}

.ai-btn-ghost {
    background: transparent;
    color: #080d18;
    border: 1px solid #dfe3ea;
}

.ai-btn-ghost:hover {
    border-color: #c40018;
    color: #c40018;
    background: #fff1f3;
}

/* ─── Hero ─── */
.ai-hero {
    padding: 64px 0 60px;
    background:
        radial-gradient(ellipse at 92% 8%, rgba(196, 0, 24, 0.08) 0%, transparent 38%),
        radial-gradient(ellipse at 6% 94%, rgba(196, 0, 24, 0.04) 0%, transparent 32%),
        linear-gradient(160deg, #ffffff 0%, #fff8f8 100%);
    border-bottom: 1px solid #e7e9ee;
}

.ai-hero .ai-container {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 64px;
    align-items: center;
}

.ai-hero-content h1 {
    margin: 0 0 16px;
    max-width: 600px;
    font-size: 50px;
    line-height: 1.09;
    letter-spacing: -0.048em;
    font-weight: 800;
    color: #080d18;
}

.ai-hero-desc {
    margin: 0 0 28px;
    max-width: 560px;
    color: #5d6778;
    font-size: 16px;
    line-height: 1.72;
    font-weight: 600;
}

.ai-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero visual card */
.ai-hero-card {
    padding: 20px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 56px rgba(8, 13, 24, 0.07);
}

.ai-card-top {
    padding: 26px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.14), transparent 28%),
        linear-gradient(135deg, #0d1829 0%, #6b0f1d 55%, #c40018 100%);
    color: #ffffff;
    margin-bottom: 14px;
}

.ai-card-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
}

.ai-card-top h3 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ai-card-top p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.68);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ai-stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ai-stat-list li {
    padding: 13px 14px;
    border: 1px solid #e7e9ee;
    border-radius: 8px;
    background: #fafbfc;
    transition: border-color 0.14s ease, background 0.14s ease;
}

.ai-stat-list li:hover {
    border-color: rgba(196, 0, 24, 0.25);
    background: #fff1f3;
}

.ai-stat-list strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 900;
    color: #080d18;
}

.ai-stat-list span {
    font-size: 11px;
    font-weight: 700;
    color: #7a8494;
}

/* ─── AI Grid Section ─── */
.ai-section {
    padding: 72px 0 80px;
    background: #ffffff;
}

.ai-section-head {
    max-width: 620px;
    margin: 0 auto 48px;
    text-align: center;
}

.ai-section-head h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #080d18;
}

.ai-section-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.68;
    font-weight: 600;
    color: #5d6778;
}

/* 9-card grid — 3 rows × 3 columns */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ai-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle AI accent glow on hover */
.ai-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 0, 24, 0.06) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ai-card:hover::before {
    opacity: 1;
}

.ai-card:hover {
    border-color: rgba(196, 0, 24, 0.28);
    box-shadow: 0 14px 38px rgba(8, 13, 24, 0.07);
    transform: translateY(-2px);
}

.ai-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff1f2;
    font-size: 20px;
    flex-shrink: 0;
}

.ai-card-body {
    flex: 1;
}

.ai-card-body h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    color: #080d18;
}

.ai-card-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.62;
    font-weight: 600;
    color: #5d6778;
}

.ai-arrow {
    display: block;
    margin-top: 16px;
    font-size: 16px;
    color: #c40018;
    font-weight: 900;
    transition: transform 0.15s ease;
}

.ai-card:hover .ai-arrow {
    transform: translateX(3px);
}

/* ─── Human-first AI split ─── */
.ai-split-section {
    padding: 72px 0;
    background: #fafbfc;
    border-top: 1px solid #e7e9ee;
    border-bottom: 1px solid #e7e9ee;
}

.ai-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.ai-split-copy h2 {
    margin: 14px 0 18px;
    font-size: 34px;
    line-height: 1.14;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #080d18;
}

.ai-split-copy > p {
    margin: 0;
    font-size: 15px;
    line-height: 1.72;
    font-weight: 600;
    color: #5d6778;
}

.ai-check-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ai-check-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid #e7e9ee;
}

.ai-check-item:last-child {
    border-bottom: none;
}

.ai-check-dot {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: #fff1f2;
    border: 1px solid rgba(196, 0, 24, 0.2);
    position: relative;
}

.ai-check-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c40018;
}

.ai-check-item div strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 800;
    color: #080d18;
}

.ai-check-item div p {
    margin: 0;
    font-size: 13px;
    line-height: 1.58;
    font-weight: 600;
    color: #5d6778;
}

/* ─── Process grid ─── */
.ai-section-white {
    background: #ffffff;
    border-top: none;
}

.ai-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ai-process-step {
    padding: 26px 24px;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    background: #ffffff;
    position: relative;
}

.ai-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #c40018;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.ai-process-step h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #080d18;
    line-height: 1.3;
}

.ai-process-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
    color: #5d6778;
}

/* ─── Bottom CTA ─── */
.ai-cta-strip {
    padding: 0 0 72px;
    background: #ffffff;
}

.ai-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 44px;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f8 100%);
    box-shadow: 0 18px 48px rgba(8, 13, 24, 0.05);
}

.ai-cta-inner h2 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #080d18;
}

.ai-cta-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: #5d6778;
}

/* ─── Responsive ─── */

@media (max-width: 1100px) {
    .ai-hero .ai-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-hero-card {
        max-width: 540px;
    }

    .ai-hero-content h1 {
        font-size: 42px;
    }

    .ai-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .ai-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 32px 36px;
    }
}

@media (max-width: 820px) {
    .ai-hero {
        padding: 52px 0 48px;
    }

    .ai-hero-content h1 {
        font-size: 36px;
    }

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

    .ai-section {
        padding: 56px 0 64px;
    }

    .ai-split-section {
        padding: 56px 0;
    }
}

@media (max-width: 540px) {
    .ai-hero {
        padding: 40px 0 36px;
    }

    .ai-hero-content h1 {
        font-size: 30px;
        letter-spacing: -0.04em;
    }

    .ai-hero-desc {
        font-size: 14px;
    }

    .ai-hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .ai-btn {
        width: 100%;
        justify-content: center;
    }

    .ai-stat-list {
        grid-template-columns: 1fr 1fr;
    }

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

    .ai-section-head h2 {
        font-size: 26px;
    }

    .ai-split-copy h2 {
        font-size: 26px;
    }

    .ai-process-grid {
        grid-template-columns: 1fr;
    }

    .ai-cta-inner {
        padding: 26px 22px;
        border-radius: 10px;
    }

    .ai-cta-inner h2 {
        font-size: 22px;
    }
}


/* =====================================================
   INDUSTRIES PAGE — scoped ind-* system
===================================================== */

.ind-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.ind-eyebrow {
    margin: 0 0 14px;
    color: #c40018;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.ind-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ind-btn-primary {
    background: #c40018;
    color: #ffffff;
    border: 1px solid #c40018;
    box-shadow: 0 10px 24px rgba(196, 0, 24, 0.18);
}

.ind-btn-primary:hover {
    background: #a90015;
    border-color: #a90015;
    transform: translateY(-1px);
}

.ind-btn-ghost {
    background: transparent;
    color: #080d18;
    border: 1px solid #dfe3ea;
}

.ind-btn-ghost:hover {
    border-color: #c40018;
    color: #c40018;
    background: #fff1f3;
}

/* Hero */
.ind-hero {
    padding: 64px 0 60px;
    background:
        radial-gradient(ellipse at 90% 10%, rgba(196, 0, 24, 0.07) 0%, transparent 36%),
        linear-gradient(160deg, #ffffff 0%, #fff8f8 100%);
    border-bottom: 1px solid #e7e9ee;
}

.ind-hero .ind-container {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 64px;
    align-items: center;
}

.ind-hero-content h1 {
    margin: 0 0 16px;
    max-width: 600px;
    font-size: 50px;
    line-height: 1.09;
    letter-spacing: -0.048em;
    font-weight: 800;
    color: #080d18;
}

.ind-hero-desc {
    margin: 0 0 28px;
    max-width: 560px;
    color: #5d6778;
    font-size: 16px;
    line-height: 1.72;
    font-weight: 600;
}

.ind-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ind-hero-card {
    padding: 20px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 56px rgba(8, 13, 24, 0.07);
}

.ind-card-top {
    padding: 26px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.14), transparent 28%),
        linear-gradient(135deg, #0d1829 0%, #6b0f1d 55%, #c40018 100%);
    color: #ffffff;
    margin-bottom: 14px;
}

.ind-card-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
}

.ind-card-top h3 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ind-card-top p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.68);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ind-stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ind-stat-list li {
    padding: 13px 14px;
    border: 1px solid #e7e9ee;
    border-radius: 8px;
    background: #fafbfc;
    transition: border-color 0.14s ease, background 0.14s ease;
}

.ind-stat-list li:hover {
    border-color: rgba(196, 0, 24, 0.25);
    background: #fff1f3;
}

.ind-stat-list strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 900;
    color: #080d18;
}

.ind-stat-list span {
    font-size: 11px;
    font-weight: 700;
    color: #7a8494;
}

/* Grid section */
.ind-section {
    padding: 72px 0 80px;
    background: #ffffff;
}

.ind-section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.ind-section-head h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #080d18;
}

.ind-section-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.68;
    font-weight: 600;
    color: #5d6778;
}

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

.ind-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.ind-card:hover {
    border-color: rgba(196, 0, 24, 0.28);
    box-shadow: 0 14px 38px rgba(8, 13, 24, 0.07);
    transform: translateY(-2px);
}

.ind-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff1f2;
    font-size: 20px;
    flex-shrink: 0;
}

.ind-card-body {
    flex: 1;
}

.ind-card-body h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    color: #080d18;
}

.ind-card-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.62;
    font-weight: 600;
    color: #5d6778;
}

.ind-arrow {
    display: block;
    margin-top: 16px;
    font-size: 16px;
    color: #c40018;
    font-weight: 900;
    transition: transform 0.15s ease;
}

.ind-card:hover .ind-arrow {
    transform: translateX(3px);
}

/* CTA strip */
.ind-cta-strip {
    padding: 0 0 72px;
    background: #ffffff;
}

.ind-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 44px;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f8 100%);
    box-shadow: 0 18px 48px rgba(8, 13, 24, 0.05);
}

.ind-cta-inner h2 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #080d18;
}

.ind-cta-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: #5d6778;
}

/* Responsive */
@media (max-width: 1100px) {
    .ind-hero .ind-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ind-hero-card { max-width: 540px; }
    .ind-hero-content h1 { font-size: 42px; }
    .ind-cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 36px; }
}

@media (max-width: 820px) {
    .ind-hero { padding: 52px 0 48px; }
    .ind-hero-content h1 { font-size: 36px; }
    .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .ind-section { padding: 56px 0 64px; }
}

@media (max-width: 540px) {
    .ind-hero { padding: 40px 0 36px; }
    .ind-hero-content h1 { font-size: 30px; letter-spacing: -0.04em; }
    .ind-hero-desc { font-size: 14px; }
    .ind-hero-actions { flex-direction: column; gap: 10px; }
    .ind-btn { width: 100%; justify-content: center; }
    .ind-stat-list { grid-template-columns: 1fr 1fr; }
    .ind-grid { grid-template-columns: 1fr; }
    .ind-section-head h2 { font-size: 26px; }
    .ind-cta-inner { padding: 26px 22px; border-radius: 10px; }
    .ind-cta-inner h2 { font-size: 22px; }
}


/* =====================================================
   RESOURCES PAGE — scoped res-* system
===================================================== */

.res-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.res-eyebrow {
    margin: 0 0 14px;
    color: #c40018;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.res-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.res-btn-primary {
    background: #c40018;
    color: #ffffff;
    border: 1px solid #c40018;
    box-shadow: 0 10px 24px rgba(196, 0, 24, 0.18);
}

.res-btn-primary:hover {
    background: #a90015;
    border-color: #a90015;
    transform: translateY(-1px);
}

.res-btn-ghost {
    background: transparent;
    color: #080d18;
    border: 1px solid #dfe3ea;
}

.res-btn-ghost:hover {
    border-color: #c40018;
    color: #c40018;
    background: #fff1f3;
}

/* Hero */
.res-hero {
    padding: 64px 0 60px;
    background:
        radial-gradient(ellipse at 90% 10%, rgba(196, 0, 24, 0.07) 0%, transparent 36%),
        linear-gradient(160deg, #ffffff 0%, #fff8f8 100%);
    border-bottom: 1px solid #e7e9ee;
}

.res-hero .res-container {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 64px;
    align-items: center;
}

.res-hero-content h1 {
    margin: 0 0 16px;
    max-width: 600px;
    font-size: 50px;
    line-height: 1.09;
    letter-spacing: -0.048em;
    font-weight: 800;
    color: #080d18;
}

.res-hero-desc {
    margin: 0 0 28px;
    max-width: 560px;
    color: #5d6778;
    font-size: 16px;
    line-height: 1.72;
    font-weight: 600;
}

.res-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.res-hero-card {
    padding: 20px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 56px rgba(8, 13, 24, 0.07);
}

.res-card-top {
    padding: 26px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.14), transparent 28%),
        linear-gradient(135deg, #0d1829 0%, #6b0f1d 55%, #c40018 100%);
    color: #ffffff;
    margin-bottom: 14px;
}

.res-card-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
}

.res-card-top h3 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.res-card-top p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.68);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.res-stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.res-stat-list li {
    padding: 13px 14px;
    border: 1px solid #e7e9ee;
    border-radius: 8px;
    background: #fafbfc;
    transition: border-color 0.14s ease, background 0.14s ease;
}

.res-stat-list li:hover {
    border-color: rgba(196, 0, 24, 0.25);
    background: #fff1f3;
}

.res-stat-list strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 900;
    color: #080d18;
}

.res-stat-list span {
    font-size: 11px;
    font-weight: 700;
    color: #7a8494;
}

/* Resource cards grid */
.res-section {
    padding: 72px 0 80px;
    background: #ffffff;
}

.res-section-white {
    background: #ffffff;
}

.res-section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.res-section-head h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #080d18;
}

.res-section-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.68;
    font-weight: 600;
    color: #5d6778;
}

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

.res-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    background: #ffffff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.res-card:hover {
    border-color: rgba(196, 0, 24, 0.28);
    box-shadow: 0 14px 38px rgba(8, 13, 24, 0.07);
    transform: translateY(-2px);
}

.res-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff1f2;
    font-size: 20px;
    flex-shrink: 0;
}

.res-card-body {
    flex: 1;
}

.res-card-body h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    color: #080d18;
}

.res-card-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.62;
    font-weight: 600;
    color: #5d6778;
}

.res-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fff1f2;
    color: #c40018;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Split section */
.res-split-section {
    padding: 72px 0;
    background: #fafbfc;
    border-top: 1px solid #e7e9ee;
    border-bottom: 1px solid #e7e9ee;
}

.res-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.res-split-copy h2 {
    margin: 14px 0 18px;
    font-size: 34px;
    line-height: 1.14;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #080d18;
}

.res-split-copy > p {
    margin: 0;
    font-size: 15px;
    line-height: 1.72;
    font-weight: 600;
    color: #5d6778;
}

.res-check-list {
    display: flex;
    flex-direction: column;
}

.res-check-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid #e7e9ee;
}

.res-check-item:last-child { border-bottom: none; }

.res-check-dot {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: #fff1f2;
    border: 1px solid rgba(196, 0, 24, 0.2);
    position: relative;
}

.res-check-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c40018;
}

.res-check-item div strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 800;
    color: #080d18;
}

.res-check-item div p {
    margin: 0;
    font-size: 13px;
    line-height: 1.58;
    font-weight: 600;
    color: #5d6778;
}

/* Steps grid */
.res-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.res-step {
    padding: 26px 24px;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    background: #ffffff;
}

.res-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #c40018;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.res-step h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #080d18;
    line-height: 1.3;
}

.res-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
    color: #5d6778;
}

/* CTA strip */
.res-cta-strip {
    padding: 0 0 72px;
    background: #ffffff;
}

.res-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 44px;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f8 100%);
    box-shadow: 0 18px 48px rgba(8, 13, 24, 0.05);
}

.res-cta-inner h2 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #080d18;
}

.res-cta-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: #5d6778;
}

/* Responsive */
@media (max-width: 1100px) {
    .res-hero .res-container { grid-template-columns: 1fr; gap: 40px; }
    .res-hero-card { max-width: 540px; }
    .res-hero-content h1 { font-size: 42px; }
    .res-split { grid-template-columns: 1fr; gap: 40px; }
    .res-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .res-cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 36px; }
}

@media (max-width: 820px) {
    .res-hero { padding: 52px 0 48px; }
    .res-hero-content h1 { font-size: 36px; }
    .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .res-section { padding: 56px 0 64px; }
    .res-split-section { padding: 56px 0; }
}

@media (max-width: 540px) {
    .res-hero { padding: 40px 0 36px; }
    .res-hero-content h1 { font-size: 30px; letter-spacing: -0.04em; }
    .res-hero-desc { font-size: 14px; }
    .res-hero-actions { flex-direction: column; gap: 10px; }
    .res-btn { width: 100%; justify-content: center; }
    .res-stat-list { grid-template-columns: 1fr 1fr; }
    .res-grid { grid-template-columns: 1fr; }
    .res-section-head h2 { font-size: 26px; }
    .res-split-copy h2 { font-size: 26px; }
    .res-steps-grid { grid-template-columns: 1fr; }
    .res-cta-inner { padding: 26px 22px; border-radius: 10px; }
    .res-cta-inner h2 { font-size: 22px; }
}


/* =====================================================
   COMPANY PAGE — scoped co-* system
===================================================== */

.co-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.co-eyebrow {
    margin: 0 0 14px;
    color: #c40018;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.co-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.co-btn-primary {
    background: #c40018;
    color: #ffffff;
    border: 1px solid #c40018;
    box-shadow: 0 10px 24px rgba(196, 0, 24, 0.18);
}

.co-btn-primary:hover {
    background: #a90015;
    border-color: #a90015;
    transform: translateY(-1px);
}

.co-btn-ghost {
    background: transparent;
    color: #080d18;
    border: 1px solid #dfe3ea;
}

.co-btn-ghost:hover {
    border-color: #c40018;
    color: #c40018;
    background: #fff1f3;
}

/* Hero */
.co-hero {
    padding: 64px 0 60px;
    background:
        radial-gradient(ellipse at 90% 10%, rgba(196, 0, 24, 0.07) 0%, transparent 36%),
        linear-gradient(160deg, #ffffff 0%, #fff8f8 100%);
    border-bottom: 1px solid #e7e9ee;
}

.co-hero .co-container {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 64px;
    align-items: center;
}

.co-hero-content h1 {
    margin: 0 0 16px;
    max-width: 600px;
    font-size: 50px;
    line-height: 1.09;
    letter-spacing: -0.048em;
    font-weight: 800;
    color: #080d18;
}

.co-hero-desc {
    margin: 0 0 28px;
    max-width: 560px;
    color: #5d6778;
    font-size: 16px;
    line-height: 1.72;
    font-weight: 600;
}

.co-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.co-hero-card {
    padding: 20px;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 56px rgba(8, 13, 24, 0.07);
}

.co-card-top {
    padding: 26px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.14), transparent 28%),
        linear-gradient(135deg, #0d1829 0%, #6b0f1d 55%, #c40018 100%);
    color: #ffffff;
    margin-bottom: 14px;
}

.co-card-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
}

.co-card-top h3 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.co-card-top p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.68);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.co-stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.co-stat-list li {
    padding: 13px 14px;
    border: 1px solid #e7e9ee;
    border-radius: 8px;
    background: #fafbfc;
    transition: border-color 0.14s ease, background 0.14s ease;
}

.co-stat-list li:hover {
    border-color: rgba(196, 0, 24, 0.25);
    background: #fff1f3;
}

.co-stat-list strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 900;
    color: #080d18;
}

.co-stat-list span {
    font-size: 11px;
    font-weight: 700;
    color: #7a8494;
}

/* Grid sections */
.co-section {
    padding: 72px 0 64px;
    background: #fafbfc;
    border-top: 1px solid #e7e9ee;
}

.co-section-white {
    background: #ffffff;
}

.co-section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.co-section-head h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #080d18;
}

.co-section-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.68;
    font-weight: 600;
    color: #5d6778;
}

.co-grid {
    display: grid;
    gap: 16px;
}

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

.co-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    background: #ffffff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.co-card:hover {
    border-color: rgba(196, 0, 24, 0.28);
    box-shadow: 0 14px 38px rgba(8, 13, 24, 0.07);
    transform: translateY(-2px);
}

.co-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff1f2;
    font-size: 20px;
    flex-shrink: 0;
}

.co-card-body h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    color: #080d18;
}

.co-card-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.62;
    font-weight: 600;
    color: #5d6778;
}

/* How We Work split */
.co-split-section {
    padding: 72px 0;
    background: #ffffff;
    border-top: 1px solid #e7e9ee;
    border-bottom: 1px solid #e7e9ee;
}

.co-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.co-split-copy h2 {
    margin: 14px 0 18px;
    font-size: 34px;
    line-height: 1.14;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #080d18;
}

.co-split-copy > p {
    margin: 0;
    font-size: 15px;
    line-height: 1.72;
    font-weight: 600;
    color: #5d6778;
}

.co-check-list {
    display: flex;
    flex-direction: column;
}

.co-check-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid #e7e9ee;
}

.co-check-item:last-child { border-bottom: none; }

.co-check-dot {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: #fff1f2;
    border: 1px solid rgba(196, 0, 24, 0.2);
    position: relative;
}

.co-check-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c40018;
}

.co-check-item div strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 800;
    color: #080d18;
}

.co-check-item div p {
    margin: 0;
    font-size: 13px;
    line-height: 1.58;
    font-weight: 600;
    color: #5d6778;
}

/* CTA strip */
.co-cta-strip {
    padding: 0 0 72px;
    background: #fafbfc;
    border-top: 1px solid #e7e9ee;
    padding-top: 64px;
}

.co-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 44px;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f8 100%);
    box-shadow: 0 18px 48px rgba(8, 13, 24, 0.05);
}

.co-cta-inner h2 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #080d18;
}

.co-cta-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: #5d6778;
}

/* Responsive */
@media (max-width: 1100px) {
    .co-hero .co-container { grid-template-columns: 1fr; gap: 40px; }
    .co-hero-card { max-width: 540px; }
    .co-hero-content h1 { font-size: 42px; }
    .co-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .co-split { grid-template-columns: 1fr; gap: 40px; }
    .co-cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 36px; }
}

@media (max-width: 820px) {
    .co-hero { padding: 52px 0 48px; }
    .co-hero-content h1 { font-size: 36px; }
    .co-section { padding: 56px 0 52px; }
    .co-split-section { padding: 56px 0; }
}

@media (max-width: 540px) {
    .co-hero { padding: 40px 0 36px; }
    .co-hero-content h1 { font-size: 30px; letter-spacing: -0.04em; }
    .co-hero-desc { font-size: 14px; }
    .co-hero-actions { flex-direction: column; gap: 10px; }
    .co-btn { width: 100%; justify-content: center; }
    .co-stat-list { grid-template-columns: 1fr 1fr; }
    .co-grid-3 { grid-template-columns: 1fr; }
    .co-section-head h2 { font-size: 26px; }
    .co-split-copy h2 { font-size: 26px; }
    .co-cta-inner { padding: 26px 22px; border-radius: 10px; }
    .co-cta-inner h2 { font-size: 22px; }
}


/* =====================================================
   SERVICES SINGLE PAGE — isolated visual polish
   Do not remove the .services-single-page scope.
===================================================== */

.services-single-page .svc-hero {
    padding-block: 76px 70px;
    background:
        radial-gradient(circle at 88% 18%, rgba(196, 0, 24, 0.11), transparent 28%),
        linear-gradient(145deg, #ffffff 0%, #fff8f9 100%);
}

.services-single-page .svc-hero-content h1 {
    max-width: 690px;
    font-size: clamp(44px, 5vw, 62px);
    line-height: 1.04;
}

.services-single-page .svc-hero-desc {
    max-width: 620px;
    font-size: 16.5px;
}

.services-single-page .svc-hero-card {
    padding: 16px;
    border-radius: 20px;
    border-color: rgba(8, 13, 24, 0.09);
    box-shadow: 0 26px 65px rgba(8, 13, 24, 0.12);
}

.services-single-page .svc-card-top {
    padding: 30px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 86% 8%, rgba(255,255,255,0.16), transparent 26%),
        linear-gradient(135deg, #091321 0%, #4d101b 64%, #c40018 100%);
}

.services-single-page .svc-card-top h3 {
    max-width: 340px;
    font-size: 25px;
}

.services-single-page .svc-stat-list {
    gap: 12px;
}

.services-single-page .svc-stat-list li {
    padding: 15px;
    border-radius: 11px;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.services-single-page .svc-stat-list li:hover {
    border-color: rgba(196, 0, 24, 0.25);
    transform: translateY(-2px);
}

.services-single-page .svc-section {
    padding-block: 88px 96px;
    background:
        linear-gradient(rgba(8,13,24,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8,13,24,0.022) 1px, transparent 1px),
        #ffffff;
    background-size: 44px 44px;
}

.services-single-page .svc-section-head {
    max-width: 720px;
    margin-bottom: 50px;
}

.services-single-page .svc-section-head h2 {
    font-size: clamp(34px, 4vw, 44px);
}

.services-single-page .svc-grid {
    gap: 18px;
}

.services-single-page .svc-card {
    min-height: 270px;
    padding: 27px;
    scroll-margin-top: 120px;
    border-color: rgba(8, 13, 24, 0.09);
    border-radius: 17px;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 12px 34px rgba(8, 13, 24, 0.055);
    overflow: hidden;
    isolation: isolate;
}

.services-single-page .svc-card::before {
    content: "";
    width: 92px;
    height: 92px;
    position: absolute;
    z-index: -1;
    top: -44px;
    right: -42px;
    border-radius: 50%;
    background: rgba(196, 0, 24, 0.065);
    transition: transform 200ms ease;
}

.services-single-page .svc-card:nth-child(even)::before {
    background: rgba(8, 13, 24, 0.055);
}

.services-single-page .svc-card:hover,
.services-single-page .svc-card:focus-visible {
    border-color: rgba(196, 0, 24, 0.3);
    box-shadow: 0 22px 48px rgba(8, 13, 24, 0.11);
    transform: translateY(-5px);
    outline: none;
}

.services-single-page .svc-card:target {
    border-color: rgba(196, 0, 24, 0.55);
    box-shadow: 0 0 0 4px rgba(196, 0, 24, 0.08), 0 22px 48px rgba(8, 13, 24, 0.1);
}

.services-single-page .svc-card:hover::before,
.services-single-page .svc-card:target::before {
    transform: scale(1.55);
}

.services-single-page .svc-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 21px;
    border: 1px solid rgba(196, 0, 24, 0.1);
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #ffe9ec);
    box-shadow: 0 8px 22px rgba(196, 0, 24, 0.09);
}

.services-single-page .svc-card-body h3 {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.35;
}

.services-single-page .svc-card-body p {
    font-size: 13px;
    line-height: 1.68;
}

.services-single-page .svc-arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff1f3;
}

.services-single-page .svc-cta-strip {
    padding-block: 0 86px;
    background: linear-gradient(#ffffff, #f7f8fa);
}

.services-single-page .svc-cta-inner {
    padding: 44px 48px;
    border: 0;
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 18%, rgba(196,0,24,0.52), transparent 28%),
        linear-gradient(125deg, #07111f 0%, #111927 68%, #4b0b15 100%);
    box-shadow: 0 25px 65px rgba(7,17,31,0.17);
}

.services-single-page .svc-cta-inner h2 {
    color: #ffffff;
    font-size: 30px;
}

.services-single-page .svc-cta-inner p {
    color: rgba(255,255,255,0.7);
}

.services-single-page .svc-btn {
    min-height: 49px;
    height: auto;
    border-radius: 9px;
}

@media (max-width: 1100px) {
    .services-single-page .svc-hero { padding-block: 64px; }
    .services-single-page .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services-single-page .svc-card { min-height: 245px; }
}

@media (max-width: 680px) {
    .services-single-page .svc-container { width: min(100% - 36px, 1240px); }
    .services-single-page .svc-hero { padding-block: 48px; }
    .services-single-page .svc-hero-content h1 { font-size: 38px; }
    .services-single-page .svc-hero-card { padding: 10px; border-radius: 16px; }
    .services-single-page .svc-card-top { padding: 24px; }
    .services-single-page .svc-section { padding-block: 68px 74px; }
    .services-single-page .svc-section-head { margin-bottom: 36px; text-align: left; }
    .services-single-page .svc-section-head h2 { font-size: 32px; }
    .services-single-page .svc-grid { grid-template-columns: 1fr; }
    .services-single-page .svc-card { min-height: 0; }
    .services-single-page .svc-cta-inner { padding: 32px 25px; }
    .services-single-page .svc-cta-inner h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .services-single-page .svc-card,
    .services-single-page .svc-card::before,
    .services-single-page .svc-stat-list li {
        transition: none;
    }
}


/* ─────────────────────────────────────────────
   Services single page detail sections
   Scoped only to services.php
───────────────────────────────────────────── */

.services-single-page {
    scroll-behavior: smooth;
}

.services-single-page .svc-detail-wrap {
    padding: 30px 0 95px;
    background:
        radial-gradient(circle at 8% 15%, rgba(196, 0, 24, 0.06), transparent 26%),
        radial-gradient(circle at 94% 65%, rgba(196, 0, 24, 0.05), transparent 28%),
        #ffffff;
}

.services-single-page .svc-detail-block {
    scroll-margin-top: 110px;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
    gap: 34px;
    align-items: stretch;
    padding: 42px;
    margin-top: 42px;
    border: 1px solid rgba(8, 13, 24, 0.08);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,248,249,0.82));
    box-shadow: 0 26px 70px rgba(8, 13, 24, 0.08);
    position: relative;
    overflow: hidden;
}

.services-single-page .svc-detail-block::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: rgba(196, 0, 24, 0.055);
    pointer-events: none;
}

.services-single-page .svc-detail-alt {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.6fr);
}

.services-single-page .svc-detail-alt .svc-detail-content {
    order: 2;
}

.services-single-page .svc-detail-alt .svc-detail-visual {
    order: 1;
}

.services-single-page .svc-detail-content {
    position: relative;
    z-index: 1;
}

.services-single-page .svc-detail-content h2 {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.12;
    margin: 8px 0 14px;
    color: #080d18;
    letter-spacing: -0.04em;
}

.services-single-page .svc-detail-content > p:not(.svc-eyebrow) {
    max-width: 760px;
    color: #5d6778;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.services-single-page .svc-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0 22px;
}

.services-single-page .svc-feature-card {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(8, 13, 24, 0.08);
    box-shadow: 0 12px 30px rgba(8, 13, 24, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services-single-page .svc-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 0, 24, 0.22);
    box-shadow: 0 18px 38px rgba(8, 13, 24, 0.08);
}

.services-single-page .svc-feature-card h3 {
    font-size: 16px;
    color: #080d18;
    margin: 0 0 8px;
}

.services-single-page .svc-feature-card p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
}

.services-single-page .svc-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.services-single-page .svc-chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #fff;
    color: #293241;
    border: 1px solid rgba(8, 13, 24, 0.1);
    font-size: 12px;
    font-weight: 700;
}

.services-single-page .svc-detail-visual {
    position: relative;
    z-index: 1;
    min-height: 100%;
    padding: 30px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 95% 10%, rgba(255,255,255,0.2), transparent 28%),
        linear-gradient(145deg, #08111f, #150a12 45%, #c40018);
    box-shadow: 0 20px 48px rgba(8, 13, 24, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-single-page .svc-detail-visual span {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.84);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.services-single-page .svc-detail-visual h3 {
    margin: 28px 0 24px;
    color: #fff;
    font-size: 25px;
    line-height: 1.32;
    letter-spacing: -0.03em;
}

.services-single-page .svc-detail-visual ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.services-single-page .svc-detail-visual li {
    color: rgba(255,255,255,0.86);
    font-size: 14px;
    padding-left: 22px;
    position: relative;
}

.services-single-page .svc-detail-visual li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    font-weight: 900;
}

@media (max-width: 991px) {
    .services-single-page .svc-detail-block,
    .services-single-page .svc-detail-alt {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .services-single-page .svc-detail-alt .svc-detail-content,
    .services-single-page .svc-detail-alt .svc-detail-visual {
        order: initial;
    }
}

@media (max-width: 640px) {
    .services-single-page .svc-detail-wrap {
        padding-bottom: 70px;
    }

    .services-single-page .svc-detail-block {
        padding: 24px 18px;
        border-radius: 22px;
        margin-top: 28px;
    }

    .services-single-page .svc-feature-grid {
        grid-template-columns: 1fr;
    }

    .services-single-page .svc-detail-visual {
        padding: 24px;
    }
}


/* ─────────────────────────────────────────────
   AI Solutions + Industries single-page styling
   Scoped only to ai-solutions.php and industries.php
───────────────────────────────────────────── */

.ai-single-page,
.industry-single-page {
    background:
        radial-gradient(circle at 6% 8%, rgba(196, 0, 24, 0.045), transparent 24%),
        radial-gradient(circle at 94% 38%, rgba(196, 0, 24, 0.035), transparent 24%),
        #ffffff;
    color: #080d18;
}

.ai-single-page .ai-container,
.industry-single-page .ind-container,
.ai-single-page .svc-container,
.industry-single-page .svc-container {
    width: min(100% - 48px, 1240px);
    margin: 0 auto;
}

.ai-single-page .ai-hero,
.industry-single-page .ind-hero {
    padding: 92px 0 78px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 247, 0.88)),
        radial-gradient(circle at 88% 10%, rgba(196, 0, 24, 0.08), transparent 26%);
    border-bottom: 1px solid rgba(8, 13, 24, 0.06);
}

.ai-single-page .ai-container,
.industry-single-page .ind-container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.75fr);
    gap: 46px;
    align-items: center;
}

.ai-single-page .ai-eyebrow,
.industry-single-page .ind-eyebrow,
.ai-single-page .svc-eyebrow,
.industry-single-page .svc-eyebrow {
    display: inline-flex;
    color: #c40018;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.ai-single-page .ai-hero-content h1,
.industry-single-page .ind-hero-content h1 {
    max-width: 780px;
    margin: 0;
    color: #080d18;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.ai-single-page .ai-hero-desc,
.industry-single-page .ind-hero-desc {
    max-width: 720px;
    color: #5d6778;
    font-size: 17px;
    line-height: 1.8;
    margin: 22px 0 30px;
}

.ai-single-page .ai-hero-actions,
.industry-single-page .ind-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ai-single-page .ai-btn,
.industry-single-page .ind-btn,
.ai-single-page .svc-btn,
.industry-single-page .svc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ai-single-page .ai-btn-primary,
.industry-single-page .ind-btn-primary,
.ai-single-page .svc-btn-primary,
.industry-single-page .svc-btn-primary {
    background: #c40018;
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(196, 0, 24, 0.18);
}

.ai-single-page .ai-btn-primary:hover,
.industry-single-page .ind-btn-primary:hover,
.ai-single-page .svc-btn-primary:hover,
.industry-single-page .svc-btn-primary:hover {
    transform: translateY(-2px);
    background: #a80015;
    color: #ffffff;
}

.ai-single-page .ai-btn-ghost,
.industry-single-page .ind-btn-ghost {
    background: #ffffff;
    color: #080d18;
    border: 1px solid rgba(8, 13, 24, 0.09);
}

.ai-single-page .ai-hero-card,
.industry-single-page .ind-hero-card {
    padding: 12px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, #08111f, #170910 48%, #c40018);
    box-shadow: 0 32px 90px rgba(8, 13, 24, 0.2);
    color: #ffffff;
}

.ai-single-page .ai-card-top,
.industry-single-page .ind-card-top {
    padding: 30px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.ai-single-page .ai-card-label,
.industry-single-page .ind-card-label {
    display: inline-flex;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.78);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 900;
}

.ai-single-page .ai-card-top h3,
.industry-single-page .ind-card-top h3 {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.ai-single-page .ai-card-top p,
.industry-single-page .ind-card-top p {
    color: rgba(255,255,255,0.72);
    margin: 0;
    line-height: 1.6;
}

.ai-single-page .ai-stat-list,
.industry-single-page .ind-stat-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    padding: 12px 0 0;
    margin: 0;
}

.ai-single-page .ai-stat-list li,
.industry-single-page .ind-stat-list li {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.ai-single-page .ai-stat-list strong,
.industry-single-page .ind-stat-list strong {
    display: block;
    color: #ffffff;
    font-size: 21px;
    margin-bottom: 5px;
}

.ai-single-page .ai-stat-list span,
.industry-single-page .ind-stat-list span {
    color: rgba(255,255,255,0.72);
    font-size: 13px;
}

/* Quick navigation */
.ai-single-page .svc-quicknav,
.industry-single-page .svc-quicknav {
    position: sticky;
    top: 82px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(8, 13, 24, 0.08);
}

.ai-single-page .svc-quicknav-inner,
.industry-single-page .svc-quicknav-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 14px 0;
    scrollbar-width: none;
}

.ai-single-page .svc-quicknav-inner::-webkit-scrollbar,
.industry-single-page .svc-quicknav-inner::-webkit-scrollbar {
    display: none;
}

.ai-single-page .svc-quicknav-label,
.industry-single-page .svc-quicknav-label {
    flex: 0 0 auto;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ai-single-page .svc-quicknav a,
.industry-single-page .svc-quicknav a {
    flex: 0 0 auto;
    padding: 8px 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(8, 13, 24, 0.1);
    color: #293241;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.ai-single-page .svc-quicknav a:hover,
.industry-single-page .svc-quicknav a:hover {
    color: #c40018;
    border-color: rgba(196, 0, 24, 0.25);
}

/* Overview cards */
.ai-single-page .svc-section,
.industry-single-page .svc-section {
    padding: 88px 0;
}

.ai-single-page .svc-section-head,
.industry-single-page .svc-section-head {
    max-width: 780px;
    margin: 0 auto 44px;
    text-align: center;
}

.ai-single-page .svc-section-head h2,
.industry-single-page .svc-section-head h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin: 0 0 14px;
}

.ai-single-page .svc-section-head p:not(.svc-eyebrow),
.industry-single-page .svc-section-head p:not(.svc-eyebrow) {
    color: #657083;
    font-size: 16px;
    line-height: 1.75;
}

.ai-single-page .svc-grid,
.industry-single-page .svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ai-single-page .svc-card,
.industry-single-page .svc-card {
    position: relative;
    display: flex;
    min-height: 210px;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    border-radius: 24px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(8, 13, 24, 0.08);
    text-decoration: none;
    color: #080d18;
    box-shadow: 0 18px 42px rgba(8, 13, 24, 0.055);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ai-single-page .svc-card::before,
.industry-single-page .svc-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -60px;
    top: -60px;
    border-radius: 50%;
    background: rgba(196, 0, 24, 0.06);
}

.ai-single-page .svc-card:hover,
.industry-single-page .svc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(196, 0, 24, 0.24);
    box-shadow: 0 26px 58px rgba(8, 13, 24, 0.09);
}

.ai-single-page .svc-icon,
.industry-single-page .svc-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff1f3;
    color: #c40018;
    font-size: 20px;
    margin-bottom: 22px;
}

.ai-single-page .svc-card-body h3,
.industry-single-page .svc-card-body h3 {
    font-size: 19px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.ai-single-page .svc-card-body p,
.industry-single-page .svc-card-body p {
    color: #657083;
    line-height: 1.65;
    margin: 0;
}

.ai-single-page .svc-arrow,
.industry-single-page .svc-arrow {
    color: #c40018;
    font-weight: 900;
    margin-top: 20px;
}

/* Detail sections */
.ai-single-page .svc-detail-section,
.industry-single-page .svc-detail-section {
    scroll-margin-top: 120px;
    padding: 88px 0;
    background: #ffffff;
    border-top: 1px solid rgba(8, 13, 24, 0.06);
}

.ai-single-page .svc-detail-section:nth-of-type(even),
.industry-single-page .svc-detail-section:nth-of-type(even) {
    background:
        radial-gradient(circle at 88% 20%, rgba(196, 0, 24, 0.055), transparent 28%),
        #fffafa;
}

.ai-single-page .svc-detail-grid,
.industry-single-page .svc-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
    gap: 34px;
    align-items: stretch;
}

.ai-single-page .svc-detail-grid-reverse,
.industry-single-page .svc-detail-grid-reverse {
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.35fr);
}

.ai-single-page .svc-detail-content,
.industry-single-page .svc-detail-content {
    padding: 38px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(8, 13, 24, 0.08);
    box-shadow: 0 22px 62px rgba(8, 13, 24, 0.07);
}

.ai-single-page .svc-detail-tag,
.industry-single-page .svc-detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c40018;
    background: #fff1f3;
    border: 1px solid rgba(196, 0, 24, 0.14);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 18px;
}

.ai-single-page .svc-detail-content h2,
.industry-single-page .svc-detail-content h2 {
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin: 0 0 16px;
}

.ai-single-page .svc-detail-content p,
.industry-single-page .svc-detail-content p {
    color: #5d6778;
    line-height: 1.78;
}

.ai-single-page .svc-detail-features,
.industry-single-page .svc-detail-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0;
}

.ai-single-page .svc-detail-feature,
.industry-single-page .svc-detail-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fbfcfe;
    border: 1px solid rgba(8, 13, 24, 0.08);
    color: #263142;
    font-weight: 800;
}

.ai-single-page .svc-detail-feature span,
.industry-single-page .svc-detail-feature span {
    color: #c40018;
    font-weight: 900;
}

.ai-single-page .svc-detail-best,
.industry-single-page .svc-detail-best {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff8f9;
    border-left: 4px solid #c40018;
    color: #3b4350;
}

.ai-single-page .svc-detail-card,
.industry-single-page .svc-detail-card {
    padding: 32px 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 95% 10%, rgba(255,255,255,0.13), transparent 30%),
        radial-gradient(circle at 8% 88%, rgba(196,0,24,0.22), transparent 34%),
        linear-gradient(145deg, #08111f 0%, #160a12 55%, #1a0208 100%);
    color: #ffffff;
    box-shadow: 0 26px 68px rgba(8, 13, 24, 0.22);
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100%;
}

.ai-single-page .svc-detail-card-header,
.industry-single-page .svc-detail-card-header {
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ai-single-page .svc-detail-card-items,
.industry-single-page .svc-detail-card-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* Rich item rows */
.ai-single-page .svc-detail-card-item,
.industry-single-page .svc-detail-card-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    cursor: default;
}

.ai-single-page .svc-detail-card-item:hover,
.industry-single-page .svc-detail-card-item:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(196,0,24,0.5);
    transform: translateX(4px);
}

/* Icon bubble */
.ai-single-page .sdc-item-icon,
.industry-single-page .sdc-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(196,0,24,0.22);
    border: 1px solid rgba(196,0,24,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

/* Text body */
.ai-single-page .sdc-item-body,
.industry-single-page .sdc-item-body {
    flex: 1;
    min-width: 0;
}

.ai-single-page .sdc-item-body strong,
.industry-single-page .sdc-item-body strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3px;
    line-height: 1.2;
}

.ai-single-page .sdc-item-body p,
.industry-single-page .sdc-item-body p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.55;
    color: rgba(255,255,255,0.58);
    font-weight: 500;
}

/* Bottom CTA */
.ai-single-page .svc-cta-strip,
.industry-single-page .svc-cta-strip {
    padding: 78px 0 96px;
}

.ai-single-page .svc-cta-inner,
.industry-single-page .svc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 42px;
    border-radius: 28px;
    background: linear-gradient(358deg, #ffffff, #ffffff);
    color: #ffffff;
    box-shadow: 0 28px 80px rgba(8, 13, 24, 0.16);
}

.ai-single-page .svc-cta-inner h2,
.industry-single-page .svc-cta-inner h2 {
    color: #ffffff;
    margin: 0 0 8px;
}

.ai-single-page .svc-cta-inner p,
.industry-single-page .svc-cta-inner p {
    color: rgba(255,255,255,0.74);
    margin: 0;
}

@media (max-width: 991px) {
    .ai-single-page .ai-container,
    .industry-single-page .ind-container,
    .ai-single-page .svc-detail-grid,
    .industry-single-page .svc-detail-grid,
    .ai-single-page .svc-detail-grid-reverse,
    .industry-single-page .svc-detail-grid-reverse {
        grid-template-columns: 1fr;
    }

    .ai-single-page .svc-grid,
    .industry-single-page .svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-single-page .ai-hero,
    .industry-single-page .ind-hero {
        padding: 70px 0 60px;
    }
}

@media (max-width: 640px) {
    .ai-single-page .ai-container,
    .industry-single-page .ind-container,
    .ai-single-page .svc-container,
    .industry-single-page .svc-container {
        width: min(100% - 34px, 1240px);
    }

    .ai-single-page .svc-grid,
    .industry-single-page .svc-grid,
    .ai-single-page .svc-detail-features,
    .industry-single-page .svc-detail-features {
        grid-template-columns: 1fr;
    }

    .ai-single-page .svc-detail-content,
    .industry-single-page .svc-detail-content,
    .ai-single-page .svc-detail-card,
    .industry-single-page .svc-detail-card {
        padding: 24px;
        border-radius: 22px;
    }

    .ai-single-page .svc-cta-inner,
    .industry-single-page .svc-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }
}



/* ─────────────────────────────────────────────
   Resources + Company single-page navigation
   Scoped only to resources.php and company.php
───────────────────────────────────────────── */

.resources-single-page,
.company-single-page {
    background:
        radial-gradient(circle at 6% 8%, rgba(196, 0, 24, 0.045), transparent 24%),
        radial-gradient(circle at 94% 42%, rgba(196, 0, 24, 0.035), transparent 26%),
        #ffffff;
    color: #080d18;
}

.resources-single-page .res-container,
.company-single-page .co-container {
    width: min(100% - 48px, 1240px);
    margin: 0 auto;
}

.resources-single-page .res-hero,
.company-single-page .co-hero {
    padding: 92px 0 78px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,246,247,0.9)),
        radial-gradient(circle at 88% 12%, rgba(196, 0, 24, 0.08), transparent 26%);
    border-bottom: 1px solid rgba(8, 13, 24, 0.06);
}

.resources-single-page .res-container,
.company-single-page .co-container {
    position: relative;
}

.resources-single-page .res-hero > .res-container,
.company-single-page .co-hero > .co-container {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.78fr);
    gap: 46px;
    align-items: center;
}

.resources-single-page .res-eyebrow,
.company-single-page .co-eyebrow {
    display: inline-flex;
    color: #c40018;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.resources-single-page .res-hero-content h1,
.company-single-page .co-hero-content h1 {
    max-width: 820px;
    margin: 0;
    color: #080d18;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.resources-single-page .res-hero-desc,
.company-single-page .co-hero-desc {
    max-width: 720px;
    color: #5d6778;
    font-size: 17px;
    line-height: 1.8;
    margin: 22px 0 30px;
}

.resources-single-page .res-hero-actions,
.company-single-page .co-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.resources-single-page .res-btn,
.company-single-page .co-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.resources-single-page .res-btn-primary,
.company-single-page .co-btn-primary {
    background: #c40018;
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(196, 0, 24, 0.18);
}

.resources-single-page .res-btn-primary:hover,
.company-single-page .co-btn-primary:hover {
    transform: translateY(-2px);
    background: #a80015;
    color: #ffffff;
}

.resources-single-page .res-btn-ghost,
.company-single-page .co-btn-ghost {
    background: #ffffff;
    color: #080d18;
    border: 1px solid rgba(8, 13, 24, 0.09);
}

.resources-single-page .res-hero-card,
.company-single-page .co-hero-card {
    padding: 12px;
    border-radius: 28px;
    background: linear-gradient(145deg, #08111f, #170910 48%, #c40018);
    box-shadow: 0 32px 90px rgba(8, 13, 24, 0.2);
    color: #ffffff;
}

.resources-single-page .res-card-top,
.company-single-page .co-card-top {
    padding: 30px;
    border-radius: 22px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.14);
}

.resources-single-page .res-card-label,
.company-single-page .co-card-label {
    display: inline-flex;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.78);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 900;
}

.resources-single-page .res-card-top h3,
.company-single-page .co-card-top h3 {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.resources-single-page .res-card-top p,
.company-single-page .co-card-top p {
    color: rgba(255,255,255,0.72);
    margin: 0;
    line-height: 1.6;
}

.resources-single-page .res-stat-list,
.company-single-page .co-stat-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    padding: 12px 0 0;
    margin: 0;
}

.resources-single-page .res-stat-list li,
.company-single-page .co-stat-list li {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.resources-single-page .res-stat-list strong,
.company-single-page .co-stat-list strong {
    display: block;
    color: #ffffff;
    font-size: 21px;
    margin-bottom: 5px;
}

.resources-single-page .res-stat-list span,
.company-single-page .co-stat-list span {
    color: rgba(255,255,255,0.72);
    font-size: 13px;
}

/* Quick nav */
.resources-single-page .res-quicknav,
.company-single-page .co-quicknav {
    position: sticky;
    top: 82px;
    z-index: 20;
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(8, 13, 24, 0.08);
}

.resources-single-page .res-quicknav-inner,
.company-single-page .co-quicknav-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 14px 0;
    scrollbar-width: none;
}

.resources-single-page .res-quicknav-inner::-webkit-scrollbar,
.company-single-page .co-quicknav-inner::-webkit-scrollbar {
    display: none;
}

.resources-single-page .res-quicknav-label,
.company-single-page .co-quicknav-label {
    flex: 0 0 auto;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.resources-single-page .res-quicknav a,
.company-single-page .co-quicknav a {
    flex: 0 0 auto;
    padding: 8px 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(8, 13, 24, 0.1);
    color: #293241;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

/* Shared section/card styling */
.resources-single-page .res-section,
.company-single-page .co-section,
.resources-single-page .res-split-section,
.company-single-page .co-split-section {
    scroll-margin-top: 120px;
    padding: 88px 0;
}

.resources-single-page .res-section-head,
.company-single-page .co-section-head {
    max-width: 780px;
    margin: 0 auto 44px;
    text-align: center;
}

.resources-single-page .res-section-head h2,
.company-single-page .co-section-head h2,
.resources-single-page .res-split-copy h2,
.company-single-page .co-split-copy h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin: 0 0 14px;
}

.resources-single-page .res-section-head p:not(.res-eyebrow),
.company-single-page .co-section-head p:not(.co-eyebrow),
.resources-single-page .res-split-copy p:not(.res-eyebrow),
.company-single-page .co-split-copy p:not(.co-eyebrow) {
    color: #657083;
    font-size: 16px;
    line-height: 1.75;
}

.resources-single-page .res-grid,
.company-single-page .co-grid {
    display: grid;
    gap: 18px;
}

.resources-single-page .res-grid,
.company-single-page .co-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resources-single-page .res-card,
.company-single-page .co-card,
.resources-single-page .res-step,
.resources-single-page .res-mini-card,
.resources-single-page .res-faq-item {
    position: relative;
    padding: 26px;
    border-radius: 24px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 18px 42px rgba(8,13,24,0.055);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.resources-single-page .res-card:hover,
.company-single-page .co-card:hover,
.resources-single-page .res-step:hover,
.resources-single-page .res-mini-card:hover,
.resources-single-page .res-faq-item:hover {
    transform: translateY(-6px);
    border-color: rgba(196,0,24,0.24);
    box-shadow: 0 26px 58px rgba(8,13,24,0.09);
}

.resources-single-page .res-icon,
.company-single-page .co-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff1f3;
    color: #c40018;
    font-size: 20px;
    margin-bottom: 22px;
}

.resources-single-page .res-card h3,
.company-single-page .co-card h3,
.resources-single-page .res-step h3,
.resources-single-page .res-mini-card h3,
.resources-single-page .res-faq-item h3 {
    color: #080d18;
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.resources-single-page .res-card p,
.company-single-page .co-card p,
.resources-single-page .res-step p,
.resources-single-page .res-mini-card p,
.resources-single-page .res-faq-item p {
    color: #657083;
    line-height: 1.65;
    margin: 0;
}

.resources-single-page .res-tag {
    display: inline-flex;
    margin-top: 22px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff1f3;
    color: #c40018;
    font-size: 12px;
    font-weight: 900;
}

.resources-single-page .res-split,
.company-single-page .co-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: center;
}

.resources-single-page .res-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 52px;
    align-items: center;
}

.resources-single-page .res-check-list,
.company-single-page .co-check-list {
    padding: 34px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 22px 62px rgba(8,13,24,0.07);
}

.resources-single-page .res-detail-content {
    padding: 52px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 28px 74px rgba(8,13,24,0.075);
}

.resources-single-page .res-check-item,
.company-single-page .co-check-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(8,13,24,0.06);
}

.resources-single-page .res-check-item:last-child,
.company-single-page .co-check-item:last-child {
    border-bottom: 0;
}

.resources-single-page .res-check-dot,
.company-single-page .co-check-dot {
    width: 12px;
    height: 12px;
    margin-top: 7px;
    border-radius: 999px;
    background: #c40018;
    box-shadow: 0 0 0 6px rgba(196,0,24,0.1);
    flex: 0 0 auto;
}

.resources-single-page .res-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resources-single-page .res-step-num {
    display: inline-flex;
    color: #c40018;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    margin-bottom: 18px;
}

/* Resource detail sections */
.resources-single-page .res-detail-section {
    scroll-margin-top: 120px;
    padding: 110px 0;
    border-top: 1px solid rgba(8,13,24,0.06);
    background: #ffffff;
}

.resources-single-page .res-detail-section .res-container {
    width: min(100% - 56px, 1280px);
}

.resources-single-page .res-detail-alt {
    background: #fffafa;
}

.resources-single-page .res-detail-grid-reverse {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.resources-single-page .res-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    gap: 18px;
    margin: 32px 0;
}

.resources-single-page .res-detail-card {
    padding: 52px;
    min-height: 340px;
    border-radius: 30px;
    background: linear-gradient(145deg, #08111f, #160a12 48%, #c40018);
    color: #ffffff;
    box-shadow: 0 30px 76px rgba(8,13,24,0.20);
}

.resources-single-page .res-detail-card span {
    color: rgba(255,255,255,0.74);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.resources-single-page .res-detail-card h3 {
    color: #ffffff;
    font-size: 28px;
    line-height: 1.25;
    margin: 22px 0;
}

.resources-single-page .res-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.resources-single-page .res-detail-card li {
    color: rgba(255,255,255,0.82);
    padding-left: 22px;
    position: relative;
}

.resources-single-page .res-detail-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: 900;
}

/* Company careers/contact */
.company-single-page .co-career-note,
.company-single-page .co-cta-inner,
.resources-single-page .res-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 42px;
    border-radius: 28px;
    background: linear-gradient(135deg, #ffff, #ffff);
    color: #ffffff;
    box-shadow: 0 28px 80px rgba(8,13,24,0.16);
    margin-top: 34px;
}

.company-single-page .co-career-note h3,
.company-single-page .co-cta-inner h2,
.resources-single-page .res-cta-inner h2 {
    color: #ffffff;
    margin: 0 0 8px;
}

.company-single-page .co-career-note p,
.company-single-page .co-cta-inner p,
.resources-single-page .res-cta-inner p {
    color: rgba(255,255,255,0.74);
    margin: 0;
}

.resources-single-page .res-cta-strip,
.company-single-page .co-cta-strip {
    scroll-margin-top: 120px;
    padding: 78px 0 96px;
}

@media (max-width: 991px) {
    .resources-single-page .res-hero > .res-container,
    .company-single-page .co-hero > .co-container,
    .resources-single-page .res-split,
    .company-single-page .co-split,
    .resources-single-page .res-detail-grid,
    .resources-single-page .res-detail-grid-reverse {
        grid-template-columns: 1fr;
    }

    .resources-single-page .res-grid,
    .company-single-page .co-grid-3,
    .resources-single-page .res-steps-grid,
    .resources-single-page .res-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resources-single-page .res-hero,
    .company-single-page .co-hero {
        padding: 70px 0 60px;
    }
}

@media (max-width: 640px) {
    .resources-single-page .res-container,
    .company-single-page .co-container {
        width: min(100% - 34px, 1240px);
    }

    .resources-single-page .res-grid,
    .company-single-page .co-grid-3,
    .resources-single-page .res-steps-grid,
    .resources-single-page .res-mini-grid {
        grid-template-columns: 1fr;
    }

    .resources-single-page .res-check-list,
    .company-single-page .co-check-list,
    .resources-single-page .res-detail-content,
    .resources-single-page .res-detail-card {
        padding: 24px;
        border-radius: 22px;
    }

    .company-single-page .co-career-note,
    .company-single-page .co-cta-inner,
    .resources-single-page .res-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }
}


/* ===== Fix CTA text color on dark gradient sections ===== */
.svc-cta-strip,
.ai-cta-strip,
.ind-cta-strip,
.res-cta-strip,
.co-cta-strip,
.svc-cta-inner,
.ai-cta-inner,
.ind-cta-inner,
.res-cta-inner,
.co-cta-inner {
    color: #ffffff !important;
}

.svc-cta-strip h1,
.svc-cta-strip h2,
.svc-cta-strip h3,
.svc-cta-strip p,
.ai-cta-strip h1,
.ai-cta-strip h2,
.ai-cta-strip h3,
.ai-cta-strip p,
.ind-cta-strip h1,
.ind-cta-strip h2,
.ind-cta-strip h3,
.ind-cta-strip p,
.res-cta-strip h1,
.res-cta-strip h2,
.res-cta-strip h3,
.res-cta-strip p,
.co-cta-strip h1,
.co-cta-strip h2,
.co-cta-strip h3,
.co-cta-strip p,
.svc-cta-inner h1,
.svc-cta-inner h2,
.svc-cta-inner h3,
.svc-cta-inner p,
.ai-cta-inner h1,
.ai-cta-inner h2,
.ai-cta-inner h3,
.ai-cta-inner p,
.ind-cta-inner h1,
.ind-cta-inner h2,
.ind-cta-inner h3,
.ind-cta-inner p,
.res-cta-inner h1,
.res-cta-inner h2,
.res-cta-inner h3,
.res-cta-inner p,
.co-cta-inner h1,
.co-cta-inner h2,
.co-cta-inner h3,
.co-cta-inner p {
    color: #000000 !important;
}

.site-header .brand img {
    display: block;
    width: auto;
    max-width: 150px;
    height: 48px;
    object-fit: contain;
}


/* ===== FINAL OVERRIDE: Services dark visual cards white text ===== */
.services-single-page .svc-detail-visual,
.services-single-page .svc-detail-visual *,
.services-single-page .svc-visual-card,
.services-single-page .svc-visual-card *,
.services-single-page .svc-dark-card,
.services-single-page .svc-dark-card *,
.services-single-page .svc-detail-panel,
.services-single-page .svc-detail-panel * {
    color: #ffffff !important;
}

.services-single-page .svc-detail-visual h1,
.services-single-page .svc-detail-visual h2,
.services-single-page .svc-detail-visual h3,
.services-single-page .svc-detail-visual h4,
.services-single-page .svc-detail-visual p,
.services-single-page .svc-detail-visual li,
.services-single-page .svc-detail-visual span {
    color: #ffffff !important;
}

.services-single-page .svc-detail-visual .svc-eyebrow,
.services-single-page .svc-detail-visual .eyebrow,
.services-single-page .svc-detail-visual small {
    color: rgba(255, 255, 255, 0.82) !important;
}

.services-single-page .svc-detail-visual ul li,
.services-single-page .svc-detail-visual ol li {
    color: #ffffff !important;
}


/* ===== Clean Resources detail sections ===== */
.resources-single-page .res-detail-section {
    padding: 110px 0;
}

.resources-single-page .res-detail-section .res-container {
    width: min(100% - 56px, 1280px);
}

.resources-single-page .res-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.85fr);
    gap: 64px;
    align-items: center;
}

.resources-single-page .res-detail-grid-reverse {
    grid-template-columns: minmax(430px, 0.85fr) minmax(0, 0.95fr);
}

.resources-single-page .res-detail-content {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.resources-single-page .res-detail-content > h2 {
    max-width: 640px;
    font-size: clamp(34px, 3vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
}

.resources-single-page .res-detail-content > p:not(.res-eyebrow) {
    max-width: 650px;
    font-size: 17px;
    line-height: 1.75;
}

.resources-single-page .res-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 34px 0;
    max-width: 680px;
}

.resources-single-page .res-mini-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px 24px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 16px 38px rgba(8,13,24,0.055);
}

.resources-single-page .res-mini-card h3 {
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
}

.resources-single-page .res-mini-card p {
    font-size: 15px;
    line-height: 1.6;
}

.resources-single-page .res-detail-card {
    padding: 52px;
    min-height: 360px;
    border-radius: 32px;
    background: linear-gradient(145deg, #08111f, #160a12 46%, #c40018);
    color: #ffffff;
    box-shadow: 0 34px 82px rgba(8,13,24,0.22);
}

.resources-single-page .res-detail-card,
.resources-single-page .res-detail-card * {
    color: #ffffff;
}

.resources-single-page .res-detail-card span {
    color: rgba(255,255,255,0.78);
}

.resources-single-page .res-detail-card h3 {
    color: #ffffff;
    font-size: clamp(28px, 2.4vw, 42px);
    line-height: 1.12;
}

.resources-single-page .res-detail-card li {
    color: rgba(255,255,255,0.86);
}

@media (max-width: 1100px) {
    .resources-single-page .res-detail-grid,
    .resources-single-page .res-detail-grid-reverse {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 720px) {
    .resources-single-page .res-detail-section .res-container {
        width: min(100% - 32px, 1280px);
    }

    .resources-single-page .res-mini-card {
        grid-template-columns: 1fr;
    }

    .resources-single-page .res-detail-card {
        padding: 32px;
    }
}

/* =====================================================
   Company contact enquiry modal
===================================================== */
body.co-modal-open {
    overflow: hidden !important;
}

.co-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.co-contact-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.co-contact-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 13, 24, .7);
    backdrop-filter: blur(8px);
}

.co-contact-dialog {
    position: relative;
    width: min(1080px, 100%);
    max-height: calc(100vh - 56px);
    overflow: auto;
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 36px 100px rgba(8, 13, 24, .35);
}

.co-contact-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(8, 13, 24, .12);
    border-radius: 50%;
    background: #fff;
    color: #080d18;
    font: 400 28px/1 Arial, sans-serif;
    cursor: pointer;
}

.co-contact-company,
.co-contact-form-panel {
    padding: 48px;
}

.co-contact-company {
    background: #fff;
    color: #080d18;
}

.co-contact-kicker {
    margin: 0 0 12px;
    color: #d60022;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.co-contact-company .co-contact-kicker { color: #3f4147; }
.co-contact-company h2 { margin: 0 0 18px; color: #080d18 !important; font-size: 34px; line-height: 1.12; }
.co-contact-company > p { color: #343842; font-size: 14px; line-height: 1.7; }

.co-contact-points {
    list-style: none;
    padding: 0;
    margin: 28px 0;
    display: grid;
    gap: 18px;
}

.co-contact-points li { position: relative; padding-left: 24px; }
.co-contact-points li::before { content: "✓"; position: absolute; left: 0; color: #c40018; font-weight: 900; }
.co-contact-points strong,
.co-contact-points span { display: block; }
.co-contact-points strong { color: #3d0710; font-size: 14px; margin-bottom: 4px; }
.co-contact-points span { color: rgba(61,7,16,.72); font-size: 12px; line-height: 1.5; }

.co-contact-details {
    padding-top: 24px;
    border-top: 1px solid #ead4d8;
    display: grid;
    gap: 8px;
}
.co-contact-details a { color: #650b19; font-size: 13px; font-weight: 800; }
.co-contact-details p { margin: 6px 0 0; color: #8a6d72; font-size: 11px; line-height: 1.6; }

.co-contact-form-panel h3 {
    display: block !important;
    margin: 0 !important;
    color: #080d18 !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.co-contact-form-intro { margin: 8px 0 24px; color: #687386; font-size: 13px; }
.co-contact-form { display: grid; gap: 16px; }
.co-contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-contact-form label { display: block; color: #252c38; font-size: 12px; font-weight: 800; }
.co-contact-form label > span { color: #c40018; }
.co-contact-form input,
.co-contact-form select,
.co-contact-form textarea {
    width: 100%;
    border: 1px solid #dfe3e9;
    border-radius: 10px;
    background: #fff;
    color: #080d18;
    font: 500 13px/1.4 "Manrope", Arial, sans-serif;
    outline: none;
}
.co-contact-form input,
.co-contact-form select { height: 44px; padding: 0 13px; }
.co-contact-form textarea { min-height: 104px; padding: 12px 13px; resize: vertical; }
.co-contact-form label input,
.co-contact-form label select,
.co-contact-form label textarea { display: block; margin-top: 7px; }
.co-contact-form input:focus,
.co-contact-form select:focus,
.co-contact-form textarea:focus { border-color: #c40018; box-shadow: 0 0 0 3px rgba(196,0,24,.08); }

.co-contact-submit {
    height: 48px;
    border: 0;
    border-radius: 9px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #c40018;
    color: #fff;
    font: 800 13px/1 "Manrope", Arial, sans-serif;
    cursor: pointer;
}
.co-contact-submit:disabled { opacity: .65; cursor: wait; }
.co-contact-form small { color: #7a8494; font-size: 10px; line-height: 1.5; text-align: center; }
.co-contact-feedback { margin-bottom: 16px; padding: 12px 14px; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.co-contact-success { background: #eaf8ef; color: #176b39; border: 1px solid #bfe7ce; }
.co-contact-error { background: #fff0f2; color: #a80019; border: 1px solid #ffc8d0; }

@media (max-width: 820px) {
    .co-contact-modal { padding: 14px; }
    .co-contact-dialog { grid-template-columns: 1fr; max-height: calc(100vh - 28px); border-radius: 20px; }
    .co-contact-company,
    .co-contact-form-panel { padding: 34px 24px; }
    .co-contact-company h2 { font-size: 28px; padding-right: 30px; }
}

@media (max-width: 520px) {
    .co-contact-form-row { grid-template-columns: 1fr; }
    .co-contact-company { padding: 36px 24px; }
    .co-contact-company h2 { font-size: 26px; }
    .co-contact-form-panel { padding-top: 44px; }
}

/* =====================================================
   CONTACT PAGE — complete responsive layout
===================================================== */
body.inner-page .ct-container {
    width: min(1280px, calc(100% - 56px));
    margin-inline: auto;
}

body.inner-page .ct-hero {
    padding: 72px 0 64px;
    background:
        radial-gradient(circle at 88% 18%, rgba(196, 0, 24, .1), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #fff8f9 100%);
    border-bottom: 1px solid #e9ebef;
}

body.inner-page .ct-hero > .ct-container {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .72fr);
    align-items: center;
    gap: 72px;
}

body.inner-page .ct-eyebrow {
    margin: 0 0 16px;
    color: #c40018;
    font-size: 12px;
    font-weight: 800 !important;
    letter-spacing: .18em;
    text-transform: uppercase;
}

body.inner-page .ct-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #080d18;
    font-size: clamp(48px, 5.2vw, 76px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.055em;
}

body.inner-page .ct-headline-accent { color: #c40018; }

body.inner-page .ct-hero-desc {
    max-width: 670px;
    margin: 24px 0 0;
    color: #606b7d;
    font-size: 17px !important;
    line-height: 1.75 !important;
}

body.inner-page .ct-stats-row {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-top: 32px;
}

body.inner-page .ct-stat { display: grid; gap: 4px; }
body.inner-page .ct-stat strong { color: #080d18; font-size: 24px; line-height: 1; }
body.inner-page .ct-stat span { color: #778194; font-size: 11px; font-weight: 600; }
body.inner-page .ct-stat-divider { width: 1px; background: #dfe2e8; }

body.inner-page .ct-touch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
}

body.inner-page .ct-touch-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    background: rgba(255,255,255,.84);
    color: #080d18;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.inner-page a.ct-touch-card:hover {
    transform: translateY(-2px);
    border-color: rgba(196,0,24,.28);
    box-shadow: 0 12px 28px rgba(8,13,24,.07);
}

body.inner-page .ct-touch-ico {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #fff0f2;
    color: #c40018;
}

body.inner-page .ct-touch-card div { min-width: 0; }
body.inner-page .ct-touch-card strong,
body.inner-page .ct-touch-card span { display: block; }
body.inner-page .ct-touch-card strong { margin-bottom: 3px; color: #080d18; font-size: 12px; }
body.inner-page .ct-touch-card div > span { overflow-wrap: anywhere; color: #697487; font-size: 11px; }

body.inner-page .ct-cta-panel {
    padding: 38px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    background: linear-gradient(145deg, #8c0718 0%, #cc2942 42%, #f34560 100%);
    color: #fff;
    box-shadow: 0 34px 80px rgba(140,7,24,.24);
}

body.inner-page .ct-cta-panel-top { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
body.inner-page .ct-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #66e39a; box-shadow: 0 0 0 5px rgba(102,227,154,.15); }
body.inner-page .ct-live-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.inner-page .ct-cta-panel-title { margin: 0; color: #fff !important; font-size: 34px; line-height: 1.16; }
body.inner-page .ct-cta-panel-desc { margin: 16px 0 20px; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.7; }

body.inner-page .ct-response-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
}

body.inner-page .ct-services-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
body.inner-page .ct-services-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 10px; }

body.inner-page .ct-panel-cta,
body.inner-page .ct-panel-calendly {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

body.inner-page .ct-panel-cta { background: #fff; color: #930016; }
body.inner-page .ct-panel-calendly { border: 1px solid rgba(255,255,255,.34); color: #fff; }
body.inner-page .ct-or-row { display: flex; align-items: center; gap: 10px; margin: 13px 0; }
body.inner-page .ct-or-row span { height: 1px; flex: 1; background: rgba(255,255,255,.22); }
body.inner-page .ct-or-row em { color: rgba(255,255,255,.68); font-size: 10px; font-style: normal; }

body.inner-page .ct-process { padding: 28px 0; border-bottom: 1px solid #e8eaf0; background: #fff; }
body.inner-page .ct-process-inner { display: flex; align-items: center; gap: 32px; }
body.inner-page .ct-process-label { flex: 0 0 auto; color: #c40018; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
body.inner-page .ct-process-steps { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.inner-page .ct-process-step { display: flex; align-items: center; gap: 10px; }
body.inner-page .ct-ps-num { color: #c40018; font-size: 12px; font-weight: 800; }
body.inner-page .ct-ps-body strong { display: block; color: #080d18; font-size: 12px; }
body.inner-page .ct-ps-body p { margin: 3px 0 0; color: #7a8494; font-size: 10px; line-height: 1.4; }
body.inner-page .ct-ps-arrow { color: #c8cdd6; }

body.inner-page .ct-form-section { padding: 82px 0 100px; background: #f7f8fa; }
body.inner-page .ct-form-heading { max-width: 700px; margin: 0 auto 38px; text-align: center; }
body.inner-page .ct-form-heading h2 { margin: 0; color: #080d18; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
body.inner-page .ct-form-heading > p:last-child { margin: 14px 0 0; color: #6a7587; font-size: 14px; }

body.inner-page .ct-form-layout {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 26px;
}

body.inner-page .ct-form-aside { display: grid; gap: 16px; }
body.inner-page .ct-aside-card,
body.inner-page .ct-aside-services,
body.inner-page .ct-aside-calendly,
body.inner-page .ct-form-card {
    border: 1px solid #e1e4e9;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(8,13,24,.05);
}

body.inner-page .ct-aside-card,
body.inner-page .ct-aside-services,
body.inner-page .ct-aside-calendly { padding: 24px; }
body.inner-page .ct-aside-header { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #e7e9ee; }
body.inner-page .ct-aside-icon-wrap { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 10px; background: #fff0f2; }
body.inner-page .ct-aside-header strong,
body.inner-page .ct-aside-header span { display: block; }
body.inner-page .ct-aside-header strong { color: #080d18; font-size: 14px; }
body.inner-page .ct-aside-header span { margin-top: 3px; color: #7a8494; font-size: 10px; }
body.inner-page .ct-aside-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 13px; }
body.inner-page .ct-aside-list li { display: flex; align-items: center; gap: 9px; color: #4d5768; font-size: 12px; }
body.inner-page .ct-aside-list svg { flex: 0 0 auto; }
body.inner-page .ct-aside-services-label { margin: 0 0 12px; color: #080d18; font-size: 12px; font-weight: 800; }
body.inner-page .ct-aside-tags { display: flex; flex-wrap: wrap; gap: 7px; }
body.inner-page .ct-aside-tags span { padding: 6px 9px; border-radius: 999px; background: #f3f4f6; color: #596476; font-size: 9px; }
body.inner-page .ct-aside-calendly p { margin: 0 0 12px; color: #596476; font-size: 12px; }
body.inner-page .ct-aside-cal-btn { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; background: #080d18; color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; }

body.inner-page .ct-form-card { padding: 32px; }
body.inner-page .ct-form { display: grid; gap: 19px; }
body.inner-page .ct-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.inner-page .ct-field { min-width: 0; position: relative; }
body.inner-page .ct-field label { display: block; margin-bottom: 8px; color: #252c38; font-size: 12px; font-weight: 700; }
body.inner-page .ct-req { color: #c40018; }
body.inner-page .ct-optional { color: #8b94a3; font-size: 10px; font-weight: 500; }
body.inner-page .ct-input-wrap,
body.inner-page .ct-select-wrap { position: relative; }
body.inner-page .ct-input-icon { position: absolute; top: 50%; left: 14px; z-index: 1; color: #9aa2af; transform: translateY(-50%); pointer-events: none; }
body.inner-page .ct-form input,
body.inner-page .ct-form select,
body.inner-page .ct-form textarea {
    width: 100%;
    border: 1px solid #dce0e6;
    border-radius: 10px;
    background: #fff;
    color: #080d18;
    font: 500 13px/1.45 "Manrope", Arial, sans-serif;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}
body.inner-page .ct-form input,
body.inner-page .ct-form select { height: 48px; padding: 0 14px 0 42px; }
body.inner-page .ct-form textarea { min-height: 132px; padding: 13px 14px; resize: vertical; }
body.inner-page .ct-form input:focus,
body.inner-page .ct-form select:focus,
body.inner-page .ct-form textarea:focus { border-color: #c40018; box-shadow: 0 0 0 3px rgba(196,0,24,.08); }
body.inner-page .ct-char-count { position: absolute; right: 10px; bottom: 8px; color: #9aa2af; font-size: 9px; }
body.inner-page .ct-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 4px; }
body.inner-page .ct-privacy-note { display: flex; align-items: center; gap: 6px; margin: 0; color: #7c8697; font-size: 10px; }
body.inner-page .ct-submit-btn { min-width: 180px; height: 48px; border: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #c40018; color: #fff; font: 800 12px/1 "Manrope", Arial, sans-serif; cursor: pointer; }
body.inner-page .ct-submit-btn:disabled { opacity: .65; cursor: wait; }

body.inner-page .ct-feedback { margin-bottom: 20px; padding: 16px; border-radius: 11px; display: flex; align-items: flex-start; gap: 12px; }
body.inner-page .ct-feedback[hidden] { display: none !important; }
body.inner-page .ct-feedback-success { border: 1px solid #bde4c9; background: #ecf9f0; color: #166534; }
body.inner-page .ct-feedback-error { border: 1px solid #ffc5ce; background: #fff0f2; color: #9f0018; }
body.inner-page .ct-feedback strong { display: block; margin-bottom: 4px; font-size: 13px; }
body.inner-page .ct-feedback p { margin: 0; font-size: 11px; line-height: 1.5; }

@media (max-width: 1050px) {
    body.inner-page .ct-hero > .ct-container { grid-template-columns: 1fr; gap: 42px; }
    body.inner-page .ct-hero-right { max-width: 620px; }
    body.inner-page .ct-process-inner { align-items: flex-start; }
    body.inner-page .ct-process-steps { display: grid; grid-template-columns: repeat(2, 1fr); }
    body.inner-page .ct-ps-arrow { display: none; }
}

@media (max-width: 820px) {
    body.inner-page .ct-container { width: min(100% - 32px, 1280px); }
    body.inner-page .ct-hero { padding: 52px 0; }
    body.inner-page .ct-hero h1 { font-size: clamp(42px, 11vw, 62px) !important; }
    body.inner-page .ct-form-layout { grid-template-columns: 1fr; }
    body.inner-page .ct-form-aside { grid-template-columns: 1fr 1fr; }
    body.inner-page .ct-aside-card { grid-row: span 2; }
    body.inner-page .ct-process-inner { display: block; }
    body.inner-page .ct-process-label { margin-bottom: 18px; }
}

@media (max-width: 600px) {
    body.inner-page .ct-touch-grid,
    body.inner-page .ct-form-row,
    body.inner-page .ct-form-aside,
    body.inner-page .ct-process-steps { grid-template-columns: 1fr; }
    body.inner-page .ct-stats-row { gap: 12px; }
    body.inner-page .ct-stat strong { font-size: 20px; }
    body.inner-page .ct-cta-panel,
    body.inner-page .ct-form-card { padding: 24px; border-radius: 18px; }
    body.inner-page .ct-cta-panel-title { font-size: 28px; }
    body.inner-page .ct-form-section { padding: 60px 0 72px; }
    body.inner-page .ct-form-footer { align-items: stretch; flex-direction: column; }
    body.inner-page .ct-submit-btn { width: 100%; }
}

/* =========================================================
   SERVICES HUB PAGE REDESIGN
========================================================= */

.services-hub-page {
    background: #ffffff;
    color: #111827;
}

.services-hub-page * {
    box-sizing: border-box;
}

.svc-hub-container {
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
}

.svc-hub-eyebrow {
    color: #c40018;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin: 0 0 18px;
}

.svc-hub-hero {
    position: relative;
    padding: 92px 0 72px;
    border-bottom: 1px solid rgba(8,13,24,0.06);
    overflow: hidden;
}

.svc-hub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(196,0,24,0.06), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(196,0,24,0.07), transparent 34%);
    pointer-events: none;
}

.svc-hub-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
    align-items: center;
    gap: 56px;
}

.svc-hub-hero-content h1 {
    max-width: 760px;
    color: #080d18;
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 650;
    margin: 0 0 24px;
}

.svc-hub-hero-content h1::first-letter {
    letter-spacing: -0.06em;
}

.svc-hub-hero-content > p:not(.svc-hub-eyebrow) {
    max-width: 620px;
    color: #5f6b7a;
    font-size: 18px;
    line-height: 1.75;
    margin: 0 0 30px;
}

.svc-hub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 34px;
}

.svc-hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.svc-hub-btn:hover {
    transform: translateY(-2px);
}

.svc-hub-btn-primary {
    background: #c40018;
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(196,0,24,0.18);
}

.svc-hub-btn-outline {
    background: #ffffff;
    color: #111827;
    border: 1px solid rgba(8,13,24,0.12);
}

.svc-hub-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 700px;
}

.svc-hub-highlight-grid article {
    min-height: 104px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 16px 42px rgba(8,13,24,0.055);
}

.svc-hub-highlight-grid i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #fff1f3;
    color: #c40018;
}

.svc-hub-highlight-grid span {
    display: block;
    color: #111827;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.svc-hub-hero-visual {
    position: relative;
    min-height: 430px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 34px 90px rgba(8,13,24,0.16);
    background: #08111f;
}

.svc-hub-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,13,24,0.12), rgba(8,13,24,0.42));
}

.svc-hub-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    display: block;
}

.svc-hub-hero-stats {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255,255,255,0.94);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(8,13,24,0.16);
}

.svc-hub-hero-stats div {
    padding: 22px;
    border-right: 1px solid rgba(8,13,24,0.08);
}

.svc-hub-hero-stats div:last-child {
    border-right: 0;
}

.svc-hub-hero-stats strong {
    display: block;
    color: #080d18;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.svc-hub-hero-stats span {
    color: #5f6b7a;
    font-size: 14px;
}

/* Sections */
.svc-hub-section {
    padding: 82px 0;
}

.svc-hub-soft {
    background: #fafafa;
    border-top: 1px solid rgba(8,13,24,0.05);
    border-bottom: 1px solid rgba(8,13,24,0.05);
}

.svc-hub-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}

.svc-hub-section-head h2 {
    color: #080d18;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 650;
    margin: 0 0 12px;
}

.svc-hub-section-head p:not(.svc-hub-eyebrow) {
    color: #5f6b7a;
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
}

/* Service cards */
.svc-hub-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.svc-hub-service-card {
    position: relative;
    min-height: 300px;
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 18px 48px rgba(8,13,24,0.055);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    scroll-margin-top: 120px;
}

.svc-hub-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(196,0,24,0.22);
    box-shadow: 0 28px 68px rgba(8,13,24,0.09);
}

.svc-hub-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 14px;
    background: #fff1f3;
    color: #c40018;
    font-size: 20px;
}

.svc-hub-service-card h3 {
    color: #080d18;
    font-size: 21px;
    line-height: 1.22;
    font-weight: 650;
    margin: 0 0 12px;
}

.svc-hub-service-card p {
    color: #5f6b7a;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 18px;
}

.svc-hub-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.svc-hub-service-card li {
    position: relative;
    padding-left: 18px;
    color: #3f4a5a;
    font-size: 14px;
    line-height: 1.45;
}

.svc-hub-service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #c40018;
    font-weight: 900;
}

/* Capabilities */
.svc-hub-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.svc-hub-capability-grid article {
    min-height: 260px;
    padding: 34px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 20px 54px rgba(8,13,24,0.06);
}

.svc-hub-capability-grid span {
    display: inline-flex;
    color: #c40018;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 24px;
}

.svc-hub-capability-grid h3 {
    color: #080d18;
    font-size: 26px;
    line-height: 1.18;
    margin: 0 0 14px;
}

.svc-hub-capability-grid p {
    color: #5f6b7a;
    line-height: 1.7;
    margin: 0;
}

/* Products */
.svc-hub-product-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.svc-hub-products-intro h2 {
    color: #080d18;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin: 0 0 16px;
}

.svc-hub-products-intro p {
    color: #5f6b7a;
    line-height: 1.7;
    margin: 0 0 26px;
}

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

.svc-hub-product-card {
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 16px 42px rgba(8,13,24,0.055);
}

.svc-hub-product-shot {
    height: 145px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(196,0,24,0.08), rgba(8,13,24,0.08)),
        #f7f7f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c40018;
    font-size: 34px;
    margin-bottom: 18px;
}

.svc-hub-product-card h3 {
    color: #080d18;
    font-size: 18px;
    margin: 0 0 8px;
}

.svc-hub-product-card p {
    color: #5f6b7a;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 14px;
}

.svc-hub-product-card span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff1f3;
    color: #c40018;
    font-size: 12px;
    font-weight: 700;
}

/* Process */
.svc-hub-process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.svc-hub-process article {
    position: relative;
    text-align: center;
    padding: 26px 18px;
}

.svc-hub-process i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 18px;
    background: #fff1f3;
    color: #c40018;
    font-size: 22px;
}

.svc-hub-process span {
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #c40018;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.svc-hub-process h3 {
    color: #080d18;
    font-size: 18px;
    margin: 18px 0 8px;
}

.svc-hub-process p {
    color: #5f6b7a;
    font-size: 15.5px;
    line-height: 1.55;
    margin: 0;
}

/* Tech */
.svc-hub-tech-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.svc-hub-tech-row span {
    min-width: 118px;
    min-height: 76px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    color: #111827;
    font-weight: 700;
    box-shadow: 0 14px 36px rgba(8,13,24,0.045);
}

.svc-hub-tech-row i {
    color: #c40018;
    font-size: 26px;
}

/* FAQ CTA */
.svc-hub-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 42px;
    align-items: stretch;
}

.svc-hub-faq h2 {
    color: #080d18;
    font-size: 36px;
    margin: 0 0 24px;
}

.svc-hub-faq details {
    margin-bottom: 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    overflow: hidden;
}

.svc-hub-faq summary {
    cursor: pointer;
    padding: 18px 20px;
    color: #111827;
    font-weight: 700;
}

.svc-hub-faq details p {
    padding: 0 20px 18px;
    color: #5f6b7a;
    line-height: 1.65;
    margin: 0;
}

.svc-hub-final-cta {
    padding: 48px;
    border-radius: 28px;
    background: linear-gradient(135deg, #fff4f5, #ffffff);
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.svc-hub-final-cta::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}

.svc-hub-final-cta h2 {
    max-width: 580px;
    color: #ffffff;
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0 0 16px;
}

.svc-hub-final-cta p {
    max-width: 520px;
    color: rgba(0 0 0/ 80%);
    line-height: 1.7;
    margin: 0 0 26px;
}

.svc-hub-final-cta .svc-hub-eyebrow {
    color: rgba(0 0 0/ 80%);
}

.svc-hub-btn-light {
    position: relative;
    z-index: 1;
    background: #a20b0b;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1180px) {
    .svc-hub-hero-grid,
    .svc-hub-product-layout,
    .svc-hub-faq-layout {
        grid-template-columns: 1fr;
    }

    .svc-hub-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-hub-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-hub-process {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .svc-hub-container {
        width: min(100% - 28px, 1320px);
    }

    .svc-hub-hero {
        padding: 62px 0 54px;
    }

    .svc-hub-hero-content h1 {
        font-size: 42px;
    }

    .svc-hub-highlight-grid,
    .svc-hub-services-grid,
    .svc-hub-capability-grid,
    .svc-hub-product-grid,
    .svc-hub-process {
        grid-template-columns: 1fr;
    }

    .svc-hub-hero-grid {
        gap: 34px;
    }

    .svc-hub-hero-visual,
    .svc-hub-hero-visual img {
        min-height: 320px;
    }

    .svc-hub-hero-stats {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: -40px 18px 0;
        grid-template-columns: 1fr;
    }

    .svc-hub-hero-stats div {
        border-right: 0;
        border-bottom: 1px solid rgba(8,13,24,0.08);
    }

    .svc-hub-hero-stats div:last-child {
        border-bottom: 0;
    }

    .svc-hub-section {
        padding: 58px 0;
    }

    .svc-hub-final-cta {
        padding: 34px;
    }
}


/* =========================================================
   SERVICES HUB VISUAL MATCH — FINAL DESIGN LIKE REFERENCE
========================================================= */

.services-hub-page {
    background: #ffffff !important;
}

/* Main page width should match reference */
.services-hub-page .svc-hub-container {
    width: min(100% - 72px, 1440px) !important;
    max-width: 1440px !important;
}

/* HERO: wide premium layout */
.services-hub-page .svc-hub-hero {
    padding: 88px 0 70px !important;
    min-height: 640px !important;
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
}

.services-hub-page .svc-hub-hero-grid {
    grid-template-columns: minmax(460px, 0.88fr) minmax(620px, 1.12fr) !important;
    gap: 42px !important;
    align-items: center !important;
}

.services-hub-page .svc-hub-hero-content h1 {
    max-width: 680px !important;
    font-size: clamp(56px, 5.2vw, 82px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
    font-weight: 500px !important;
    margin-bottom: 24px !important;
}

.services-hub-page .svc-hub-hero-content > p:not(.svc-hub-eyebrow) {
    max-width: 610px !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
    margin-bottom: 28px !important;
}

/* Hero mini cards in one row like reference */
.services-hub-page .svc-hub-highlight-grid {
    grid-template-columns: repeat(4, minmax(112px, 1fr)) !important;
    gap: 12px !important;
    max-width: 660px !important;
}

.services-hub-page .svc-hub-highlight-grid article {
    min-height: 108px !important;
    padding: 18px 16px !important;
    border-radius: 14px !important;
}

/* Hero visual like reference */
.services-hub-page .svc-hub-hero-visual {
    min-height: 440px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: transparent !important;
}

.services-hub-page .svc-hub-hero-visual img {
    width: 100% !important;
    height: 550px !important;
    min-height: 430px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}

.services-hub-page .svc-hub-hero-visual::after {
    inset: 0 !important;
    height: 430px !important;
    background: linear-gradient(90deg, rgba(255,255,255,0.20), rgba(8,13,24,0.25)) !important;
    pointer-events: none !important;
}

/* Stats card overlapping image bottom like generated design */
.services-hub-page .svc-hub-hero-stats {
    left: auto !important;
    right: 44px !important;
    bottom: -34px !important;
    width: min(520px, calc(100% - 88px)) !important;
    grid-template-columns: repeat(3, 1fr) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 22px 55px rgba(8,13,24,0.16) !important;
}

.services-hub-page .svc-hub-hero-stats div {
    padding: 24px 22px !important;
}

.services-hub-page .svc-hub-hero-stats strong {
    font-size: 30px !important;
    line-height: 1 !important;
}

/* Section spacing like reference */
.services-hub-page .svc-hub-section {
    padding: 78px 0 !important;
}

.services-hub-page .svc-hub-section-head {
    margin-bottom: 42px !important;
}

.services-hub-page .svc-hub-section-head h2 {
    font-size: clamp(38px, 3.4vw, 54px) !important;
    line-height: 1.08 !important;
}

/* Services grid closer to reference */
.services-hub-page .svc-hub-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.services-hub-page .svc-hub-service-card {
    min-height: 300px !important;
    padding: 30px 28px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    border: 1px solid rgba(8,13,24,0.10) !important;
}

.services-hub-page .svc-hub-service-card:hover {
    box-shadow: 0 20px 45px rgba(8,13,24,0.08) !important;
}

.services-hub-page .svc-hub-service-card h3 {
    font-size: 22px !important;
    line-height: 1.2 !important;
}

/* Product capabilities should be clean 3 cards */
.services-hub-page .svc-hub-capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.services-hub-page .svc-hub-capability-grid article {
    min-height: 210px !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

/* Product showcase like generated design */
.services-hub-page .svc-hub-product-layout {
    grid-template-columns: 330px minmax(0, 1fr) !important;
    gap: 42px !important;
    align-items: center !important;
}

.services-hub-page .svc-hub-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.services-hub-page .svc-hub-product-card {
    border-radius: 12px !important;
    box-shadow: none !important;
}

.services-hub-page .svc-hub-product-shot {
    height: 132px !important;
    border-radius: 10px !important;
}

/* Process row like reference */
.services-hub-page .svc-hub-process {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 28px !important;
    position: relative !important;
}

.services-hub-page .svc-hub-process article {
    padding: 22px 14px !important;
}

.services-hub-page .svc-hub-process i {
    width: 58px !important;
    height: 58px !important;
    border-radius: 14px !important;
}

/* Tech stack compact row */
.services-hub-page .svc-hub-tech-row {
    gap: 16px !important;
}

.services-hub-page .svc-hub-tech-row span {
    min-width: 108px !important;
    min-height: 64px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

/* FAQ + CTA reference style */
.services-hub-page .svc-hub-faq-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr) !important;
    gap: 42px !important;
}

.services-hub-page .svc-hub-final-cta {
    border-radius: 14px !important;
    padding: 52px 58px !important;
}

/* Responsive: still clean but not broken */
@media (max-width: 1180px) {
    .services-hub-page .svc-hub-container {
        width: min(100% - 40px, 1440px) !important;
    }

    .services-hub-page .svc-hub-hero-grid,
    .services-hub-page .svc-hub-product-layout,
    .services-hub-page .svc-hub-faq-layout {
        grid-template-columns: 1fr !important;
    }

    .services-hub-page .svc-hub-services-grid,
    .services-hub-page .svc-hub-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .services-hub-page .svc-hub-capability-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    .services-hub-page .svc-hub-container {
        width: min(100% - 28px, 1440px) !important;
    }

    .services-hub-page .svc-hub-hero {
        padding: 56px 0 46px !important;
        min-height: auto !important;
    }

    .services-hub-page .svc-hub-hero-content h1 {
        font-size: 42px !important;
    }

    .services-hub-page .svc-hub-highlight-grid,
    .services-hub-page .svc-hub-services-grid,
    .services-hub-page .svc-hub-product-grid,
    .services-hub-page .svc-hub-process {
        grid-template-columns: 1fr !important;
    }

    .services-hub-page .svc-hub-hero-visual img,
    .services-hub-page .svc-hub-hero-visual::after {
        height: 300px !important;
        min-height: 300px !important;
    }

    .services-hub-page .svc-hub-hero-stats {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin-top: 18px !important;
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   AI SOLUTIONS HUB REDESIGN
========================================================= */

.ai-hub-page {
    background: #ffffff;
    color: #111827;
}

.ai-hub-page * {
    box-sizing: border-box;
}

.ai-hub-container {
    width: min(100% - 72px, 1440px);
    margin: 0 auto;
}

.ai-hub-eyebrow {
    color: #c40018;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.ai-hub-hero {
    padding: 96px 0 70px;
    border-bottom: 1px solid rgba(8,13,24,0.06);
    background:
        radial-gradient(circle at 10% 20%, rgba(196,0,24,0.05), transparent 30%),
        #ffffff;
}

.ai-hub-hero-grid {
    display: grid;
    grid-template-columns: minmax(460px, 0.9fr) minmax(620px, 1.1fr);
    gap: 56px;
    align-items: center;
}

.ai-hub-hero-content h1 {
    max-width: 720px;
    color: #080d18;
    font-size: clamp(50px, 5vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.055em;
    font-weight: 650;
    margin: 0 0 24px;
}

.ai-hub-hero-content > p:not(.ai-hub-eyebrow) {
    max-width: 620px;
    color: #5f6b7a;
    font-size: 18px;
    line-height: 1.72;
    margin: 0 0 30px;
}

.ai-hub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 34px;
}

.ai-hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.ai-hub-btn:hover {
    transform: translateY(-2px);
}

.ai-hub-btn-primary {
    background: #c40018;
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(196,0,24,0.18);
}

.ai-hub-btn-outline {
    background: #ffffff;
    color: #111827;
    border: 1px solid rgba(8,13,24,0.12);
}

.ai-hub-btn-light {
    background: #ffffff;
    color: #c40018;
}

.ai-hub-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ai-hub-trust-row span {
    color: #4b5563;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ai-hub-trust-row i {
    color: #c40018;
}

/* Hero card */
.ai-hub-hero-card {
    min-height: 430px;
    padding: 38px;
    border-radius: 26px;
    background: linear-gradient(145deg, #08111f, #160a12 45%, #c40018);
    color: #ffffff;
    box-shadow: 0 34px 90px rgba(8,13,24,0.18);
    overflow: hidden;
}

.ai-flow-row {
    display: grid;
    grid-template-columns: 1fr auto 120px auto 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-bottom: 44px;
}

.ai-flow-box {
    min-height: 120px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
}

.ai-flow-box i {
    color: #ffffff;
    opacity: 0.86;
    margin-bottom: 14px;
}

.ai-flow-box strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
}

.ai-flow-box span {
    color: rgba(255,255,255,0.68);
    font-size: 12px;
    line-height: 1.45;
}

.ai-flow-arrow {
    color: rgba(255,255,255,0.55);
}

.ai-core-circle {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, #c40018, rgba(196,0,24,0.16));
    color: #ffffff;
    font-size: 34px;
    font-weight: 800;
    box-shadow: 0 0 60px rgba(196,0,24,0.45);
}

.ai-hub-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ai-hub-stats article {
    padding: 22px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
}

.ai-hub-stats strong {
    display: block;
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 8px;
}

.ai-hub-stats span {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

/* Sections */
.ai-hub-section {
    padding: 82px 0;
}

.ai-soft-section {
    background: #fafafa;
    border-top: 1px solid rgba(8,13,24,0.05);
    border-bottom: 1px solid rgba(8,13,24,0.05);
}

.ai-hub-section-head {
    max-width: 780px;
    margin: 0 auto 44px;
    text-align: center;
}

.ai-hub-section-head h2,
.ai-faq-layout h2 {
    color: #080d18;
    font-size: clamp(34px, 3.4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0 0 14px;
    font-weight: 650;
}

.ai-hub-section-head p:not(.ai-hub-eyebrow) {
    color: #5f6b7a;
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
}

/* Feature grid */
.ai-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ai-feature-grid article {
    min-height: 190px;
    padding: 28px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 16px 42px rgba(8,13,24,0.055);
    scroll-margin-top: 130px;
}

.ai-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #fff1f3;
    color: #c40018;
    font-size: 20px;
}

.ai-feature-grid h3 {
    color: #080d18;
    font-size: 21px;
    margin: 0 0 10px;
}

.ai-feature-grid p {
    color: #5f6b7a;
    line-height: 1.6;
    margin: 0;
}

/* Solution blocks */
.ai-solution-strip {
    padding: 70px 0;
    border-top: 1px solid rgba(8,13,24,0.06);
}

.ai-solution-alt {
    background: #fbfbfc;
}

.ai-solution-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
    gap: 56px;
    align-items: center;
}

.ai-solution-reverse {
    grid-template-columns: minmax(520px, 1.05fr) minmax(0, 0.95fr);
}

.ai-solution-copy h2 {
    color: #080d18;
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin: 0 0 16px;
}

.ai-solution-copy p:not(.ai-hub-eyebrow) {
    color: #5f6b7a;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.ai-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-chip-row span {
    padding: 9px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.10);
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

/* Dark demo cards */
.ai-dark-demo {
    min-height: 250px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(145deg, #08111f, #160a12 48%, #870018);
    color: #ffffff;
    box-shadow: 0 26px 70px rgba(8,13,24,0.16);
}

.ai-demo-window,
.ai-chart-card,
.ai-document-card {
    height: 100%;
    min-height: 210px;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 22px;
}

.ai-demo-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #ffffff;
    margin-bottom: 26px;
}

.ai-demo-header button {
    border: 0;
    border-radius: 8px;
    background: #c40018;
    color: #ffffff;
    padding: 10px 18px;
    font-weight: 700;
}

.ai-demo-lines {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.ai-demo-lines span {
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
}

.ai-demo-output {
    padding: 18px;
    border-radius: 12px;
    color: rgba(255,255,255,0.76);
    background: rgba(255,255,255,0.08);
}

.ai-agent-flow,
.ai-rag-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    align-items: center;
    height: 100%;
}

.ai-agent-flow article,
.ai-rag-flow article {
    min-height: 96px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.ai-chart-line {
    height: 90px;
    margin: 24px 0;
    border-radius: 16px;
    background:
        linear-gradient(135deg, transparent 20%, rgba(196,0,24,0.32)),
        linear-gradient(160deg, transparent 0 35%, #c40018 36% 38%, transparent 39% 100%);
}

.ai-chart-card ul,
.ai-document-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.ai-chart-card li,
.ai-document-card li {
    color: rgba(255,255,255,0.82);
    font-size: 13px;
}

.ai-doc-preview {
    height: 110px;
    border-radius: 14px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.88);
}

/* Process */
.ai-process-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.ai-process-row article {
    text-align: center;
    padding: 24px 16px;
}

.ai-process-row span {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #c40018;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.ai-process-row i {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: #fff1f3;
    color: #c40018;
    font-size: 21px;
}

.ai-process-row h3 {
    color: #080d18;
    font-size: 18px;
    margin: 0 0 8px;
}

.ai-process-row p {
    color: #5f6b7a;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* Tech */
.ai-tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.ai-tech-stack span {
    padding: 14px 18px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    color: #111827;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(8,13,24,0.04);
}

/* FAQ */
.ai-faq-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.ai-faq-list {
    display: grid;
    gap: 12px;
}

.ai-faq-list details {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
    overflow: hidden;
}

.ai-faq-list summary {
    cursor: pointer;
    padding: 18px 22px;
    color: #111827;
    font-weight: 700;
}

.ai-faq-list p {
    padding: 0 22px 18px;
    color: #5f6b7a;
    line-height: 1.65;
    margin: 0;
}

/* CTA */
.ai-final-cta {
    padding: 34px 0 90px;
}

.ai-final-cta-inner {
    padding: 46px 58px;
    border-radius: 22px;
    background: linear-gradient(135deg, #08111f, #160a12 45%, #c40018);
    display: flex;
    justify-content: space-between;
    gap: 34px;
    align-items: center;
    color: #ffffff;
}

.ai-final-cta-inner h2 {
    color: #ffffff;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.12;
    margin: 0 0 12px;
}

.ai-final-cta-inner p:not(.ai-hub-eyebrow) {
    color: rgba(255,255,255,0.78);
    margin: 0;
}

/* Responsive */
@media (max-width: 1180px) {
    .ai-hub-container {
        width: min(100% - 42px, 1440px);
    }

    .ai-hub-hero-grid,
    .ai-solution-grid,
    .ai-solution-reverse,
    .ai-faq-layout {
        grid-template-columns: 1fr;
    }

    .ai-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-flow-row {
        grid-template-columns: 1fr;
    }

    .ai-flow-arrow {
        display: none;
    }

    .ai-core-circle {
        margin: 0 auto;
    }

    .ai-hub-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-agent-flow,
    .ai-rag-flow {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .ai-hub-container {
        width: min(100% - 28px, 1440px);
    }

    .ai-hub-hero {
        padding: 56px 0 48px;
    }

    .ai-hub-hero-content h1 {
        font-size: 42px;
    }

    .ai-hub-actions,
    .ai-hub-trust-row,
    .ai-final-cta-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-hub-btn {
        width: 100%;
    }

    .ai-feature-grid,
    .ai-hub-stats,
    .ai-process-row,
    .ai-agent-flow,
    .ai-rag-flow {
        grid-template-columns: 1fr;
    }

    .ai-hub-hero-card,
    .ai-dark-demo,
    .ai-final-cta-inner {
        padding: 28px;
        border-radius: 20px;
    }

    .ai-hub-section,
    .ai-solution-strip {
        padding: 56px 0;
    }

    .ai-solution-copy h2,
    .ai-hub-section-head h2,
    .ai-faq-layout h2 {
        font-size: 34px;
    }
}


/* =========================================================
   AI HUB FINAL VISUAL FIX — WIDE DESKTOP + RESPONSIVE
========================================================= */

/* Make the whole AI page breathe */
.ai-hub-page {
    background: #ffffff !important;
    overflow-x: hidden !important;
}

.ai-hub-page .ai-hub-container {
    width: min(100% - 72px, 1440px) !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
}

/* Remove old cramped behavior if previous AI page styles are interfering */
.ai-hub-page .ai-hub-section,
.ai-hub-page .ai-solution-strip {
    width: 100% !important;
}

/* Hero wider and closer to generated reference */
.ai-hub-page .ai-hub-hero {
    padding: 96px 0 76px !important;
}

.ai-hub-page .ai-hub-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(520px, 0.95fr) minmax(620px, 1.05fr) !important;
    gap: 72px !important;
    align-items: center !important;
}

.ai-hub-page .ai-hub-hero-content h1 {
    max-width: 760px !important;
    font-size: clamp(58px, 5vw, 82px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
}

.ai-hub-page .ai-hub-hero-content > p:not(.ai-hub-eyebrow) {
    max-width: 650px !important;
    font-size: 18px !important;
    line-height: 1.72 !important;
}

.ai-hub-page .ai-hub-hero-card {
    min-height: 430px !important;
    padding: 42px !important;
    border-radius: 26px !important;
}

/* Capabilities section: make cards proper size */
.ai-hub-page .ai-feature-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.ai-hub-page .ai-feature-grid article {
    min-height: 210px !important;
    padding: 30px !important;
    border-radius: 18px !important;
}

/* Solution sections: make them full, balanced, not cramped */
.ai-hub-page .ai-solution-strip {
    padding: 78px 0 !important;
    border-top: 1px solid rgba(8,13,24,0.06) !important;
}

.ai-hub-page .ai-solution-grid,
.ai-hub-page .ai-solution-reverse {
    display: grid !important;
    grid-template-columns: minmax(0, 0.95fr) minmax(560px, 1.05fr) !important;
    gap: 72px !important;
    align-items: center !important;
}

.ai-hub-page .ai-solution-reverse {
    grid-template-columns: minmax(560px, 1.05fr) minmax(0, 0.95fr) !important;
}

.ai-hub-page .ai-solution-copy h2 {
    max-width: 660px !important;
    font-size: clamp(38px, 3.1vw, 52px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;
}

.ai-hub-page .ai-solution-copy p:not(.ai-hub-eyebrow) {
    max-width: 660px !important;
    font-size: 17px !important;
    line-height: 1.72 !important;
}

/* Dark demo panels closer to generated reference */
.ai-hub-page .ai-dark-demo {
    min-height: 300px !important;
    padding: 32px !important;
    border-radius: 24px !important;
}

.ai-hub-page .ai-demo-window,
.ai-hub-page .ai-chart-card,
.ai-hub-page .ai-document-card {
    min-height: 235px !important;
}

/* Flow cards should not shrink too much */
.ai-hub-page .ai-agent-flow,
.ai-hub-page .ai-rag-flow {
    grid-template-columns: repeat(5, minmax(95px, 1fr)) !important;
    gap: 14px !important;
}

.ai-hub-page .ai-agent-flow article,
.ai-hub-page .ai-rag-flow article {
    min-height: 110px !important;
}

/* Process section should be visible and spacious */
.ai-hub-page .ai-process-row {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 26px !important;
}

.ai-hub-page .ai-process-row article {
    padding: 30px 18px !important;
}

.ai-hub-page .ai-process-row h3 {
    font-size: 19px !important;
}

.ai-hub-page .ai-process-row p {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Tech stack and FAQ spacing */
.ai-hub-page .ai-tech-stack {
    gap: 16px !important;
}

.ai-hub-page .ai-tech-stack span {
    min-height: 58px !important;
    padding: 16px 22px !important;
}

.ai-hub-page .ai-faq-layout {
    grid-template-columns: 380px minmax(0, 1fr) !important;
    gap: 56px !important;
}

/* Mobile/tablet responsiveness */
@media (max-width: 1180px) {
    .ai-hub-page .ai-hub-container {
        width: min(100% - 42px, 1440px) !important;
    }

    .ai-hub-page .ai-hub-hero-grid,
    .ai-hub-page .ai-solution-grid,
    .ai-hub-page .ai-solution-reverse,
    .ai-hub-page .ai-faq-layout {
        grid-template-columns: 1fr !important;
        gap: 42px !important;
    }

    .ai-hub-page .ai-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ai-hub-page .ai-agent-flow,
    .ai-hub-page .ai-rag-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .ai-hub-page .ai-process-row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .ai-hub-page .ai-hub-container {
        width: min(100% - 28px, 1440px) !important;
    }

    .ai-hub-page .ai-hub-hero {
        padding: 58px 0 48px !important;
    }

    .ai-hub-page .ai-hub-hero-content h1 {
        font-size: 42px !important;
        line-height: 1.08 !important;
    }

    .ai-hub-page .ai-feature-grid,
    .ai-hub-page .ai-agent-flow,
    .ai-hub-page .ai-rag-flow,
    .ai-hub-page .ai-process-row {
        grid-template-columns: 1fr !important;
    }

    .ai-hub-page .ai-hub-hero-card,
    .ai-hub-page .ai-dark-demo {
        padding: 26px !important;
        min-height: auto !important;
    }

    .ai-hub-page .ai-solution-strip,
    .ai-hub-page .ai-hub-section {
        padding: 56px 0 !important;
    }

    .ai-hub-page .ai-solution-copy h2,
    .ai-hub-page .ai-hub-section-head h2 {
        font-size: 34px !important;
        line-height: 1.12 !important;
    }
}


/* ===== FINAL FIX: Generative AI dark card real content ===== */
.ai-hub-page .ai-content-demo-card {
    display: grid !important;
    gap: 18px !important;
}

.ai-hub-page .ai-demo-input,
.ai-hub-page .ai-demo-output {
    padding: 18px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
}

.ai-hub-page .ai-demo-input small,
.ai-hub-page .ai-demo-output small {
    display: block !important;
    color: rgba(255,255,255,0.58) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 8px !important;
}

.ai-hub-page .ai-demo-input p,
.ai-hub-page .ai-demo-output p {
    color: rgba(255,255,255,0.88) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.ai-hub-page .ai-demo-steps {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.ai-hub-page .ai-demo-steps article {
    padding: 14px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
}

.ai-hub-page .ai-demo-steps strong {
    display: block !important;
    color: #ffffff !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

.ai-hub-page .ai-demo-steps span {
    color: rgba(255,255,255,0.78) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

@media (max-width: 760px) {
    .ai-hub-page .ai-demo-steps {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   AI SOLUTIONS REFERENCE REBUILD — FINAL
========================================================= */

.ai-ref-page {
    background: #ffffff;
    color: #101828;
    overflow-x: hidden;
}

.ai-ref-page * {
    box-sizing: border-box;
}

.ai-ref-container {
    width: min(100% - 72px, 1320px);
    margin: 0 auto;
}

.ai-ref-eyebrow {
    color: #d00422;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin: 0 0 18px;
}

.ai-ref-hero {
    padding: 92px 0 76px;
    background:
        radial-gradient(circle at 8% 20%, rgba(208,4,34,0.045), transparent 30%),
        #ffffff;
    border-bottom: 1px solid rgba(16,24,40,0.06);
}

.ai-ref-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
    gap: 56px;
    align-items: center;
}

.ai-ref-hero-copy h1 {
    max-width: 650px;
    color: #101828;
    font-size: clamp(48px, 4.8vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 650;
    margin: 0 0 24px;
}

.ai-ref-hero-copy > p:not(.ai-ref-eyebrow) {
    max-width: 600px;
    color: #667085;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 30px;
}

.ai-ref-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 34px;
}

.ai-ref-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.ai-ref-btn:hover {
    transform: translateY(-2px);
}

.ai-ref-btn-primary {
    background: #d00422;
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(208,4,34,0.18);
}

.ai-ref-btn-secondary {
    background: #ffffff;
    color: #101828;
    border: 1px solid rgba(16,24,40,0.12);
}

.ai-ref-btn-light {
    background: #ffffff;
    color: #d00422;
}

.ai-ref-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    color: #667085;
    font-size: 14px;
}

.ai-ref-proof-row span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.ai-ref-proof-row i {
    color: #d00422;
}

.ai-ref-hero-panel {
    min-height: 400px;
    padding: 32px;
    border-radius: 22px;
    background: linear-gradient(135deg, #071120 0%, #120815 46%, #d00422 100%);
    color: #ffffff;
    box-shadow: 0 34px 90px rgba(16,24,40,0.18);
}

.ai-ref-flow {
    display: grid;
    grid-template-columns: 1fr 116px 1fr 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
}

.ai-ref-flow article {
    min-height: 120px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
}

.ai-ref-flow i {
    display: block;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.9);
}

.ai-ref-flow strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
}

.ai-ref-flow span {
    color: rgba(255,255,255,0.68);
    font-size: 12px;
    line-height: 1.45;
}

.ai-ref-core {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, #d00422, rgba(208,4,34,0.18));
    box-shadow: 0 0 65px rgba(208,4,34,0.46);
    font-size: 34px;
    font-weight: 800;
}

.ai-ref-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ai-ref-hero-stats article {
    padding: 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
}

.ai-ref-hero-stats strong {
    display: block;
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 8px;
}

.ai-ref-hero-stats span {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.ai-ref-section {
    padding: 82px 0;
}

.ai-ref-section-head {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.ai-ref-section-head h2,
.ai-ref-faq-grid h2 {
    color: #101828;
    font-size: clamp(34px, 3.2vw, 50px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 650;
    margin: 0 0 12px;
}

.ai-ref-section-head p:not(.ai-ref-eyebrow) {
    color: #667085;
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
}

.ai-ref-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ai-ref-capability-grid article {
    min-height: 172px;
    padding: 26px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
    box-shadow: 0 16px 42px rgba(16,24,40,0.045);
    scroll-margin-top: 130px;
}

.ai-ref-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff1f3;
    color: #d00422;
    margin-bottom: 18px;
}

.ai-ref-capability-grid h3 {
    color: #101828;
    font-size: 19px;
    margin: 0 0 8px;
}

.ai-ref-capability-grid p {
    color: #667085;
    line-height: 1.55;
    margin: 0;
}

.ai-ref-feature {
    padding: 72px 0;
    border-top: 1px solid rgba(16,24,40,0.06);
}

.ai-ref-feature-soft {
    background: #fbfbfc;
}

.ai-ref-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
    gap: 56px;
    align-items: center;
}

.ai-ref-feature-reverse {
    grid-template-columns: minmax(520px, 1.08fr) minmax(0, 0.92fr);
}

.ai-ref-feature-copy h2 {
    max-width: 620px;
    color: #101828;
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 650;
    margin: 0 0 16px;
}

.ai-ref-feature-copy p:not(.ai-ref-eyebrow) {
    max-width: 620px;
    color: #667085;
    line-height: 1.7;
    font-size: 16px;
    margin: 0 0 22px;
}

.ai-ref-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-ref-chip-row span {
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.10);
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.ai-ref-demo-card {
    min-height: 255px;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #071120 0%, #130814 45%, #a0001b 100%);
    color: #ffffff;
    box-shadow: 0 24px 64px rgba(16,24,40,0.14);
}

.ai-ref-demo-window {
    height: 100%;
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
}

.ai-ref-demo-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.ai-ref-demo-top button {
    border: 0;
    padding: 10px 16px;
    border-radius: 8px;
    background: #d00422;
    color: #ffffff;
    font-weight: 700;
}

.ai-ref-demo-box {
    padding: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
}

.ai-ref-demo-box small {
    display: block;
    color: rgba(255,255,255,0.58);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 7px;
}

.ai-ref-demo-box p {
    color: rgba(255,255,255,0.84);
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.ai-ref-demo-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ai-ref-demo-steps article {
    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
}

.ai-ref-demo-steps strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 6px;
}

.ai-ref-demo-steps span {
    color: rgba(255,255,255,0.76);
    font-size: 11px;
    line-height: 1.4;
}

.ai-ref-agent-flow,
.ai-ref-rag-flow {
    height: 100%;
    min-height: 215px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    align-items: center;
}

.ai-ref-agent-flow article,
.ai-ref-rag-flow article {
    min-height: 92px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.ai-ref-chart-card,
.ai-ref-document-card {
    min-height: 220px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
}

.ai-ref-chart-card > span {
    color: #ffffff;
    font-weight: 700;
}

.ai-ref-chart-line {
    height: 94px;
    margin: 22px 0;
    border-radius: 14px;
    background:
        linear-gradient(135deg, transparent 15%, rgba(208,4,34,0.34)),
        linear-gradient(160deg, transparent 0 34%, #d00422 35% 38%, transparent 39% 100%);
}

.ai-ref-chart-card ul,
.ai-ref-document-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.ai-ref-chart-card li,
.ai-ref-document-card li {
    color: rgba(255,255,255,0.82);
    font-size: 13px;
}

.ai-ref-doc-preview {
    height: 105px;
    border-radius: 12px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.88);
}

.ai-ref-process-section {
    background: #ffffff;
}

.ai-ref-process-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.ai-ref-process-row article {
    text-align: center;
    padding: 18px 12px;
}

.ai-ref-process-row span {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #d00422;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.ai-ref-process-row i {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: #fff1f3;
    color: #d00422;
}

.ai-ref-process-row h3 {
    color: #101828;
    font-size: 18px;
    margin: 0 0 8px;
}

.ai-ref-process-row p {
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.ai-ref-tech-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.ai-ref-tech-row span {
    padding: 13px 18px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
    color: #101828;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(16,24,40,0.035);
}

.ai-ref-faq-section {
    background: #fafafa;
}

.ai-ref-faq-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.ai-ref-faq-list {
    display: grid;
    gap: 12px;
}

.ai-ref-faq-list details {
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.ai-ref-faq-list summary {
    cursor: pointer;
    padding: 18px 22px;
    color: #101828;
    font-weight: 700;
}

.ai-ref-faq-list p {
    padding: 0 22px 18px;
    color: #667085;
    line-height: 1.65;
    margin: 0;
}

.ai-ref-bottom-cta {
    padding: 40px 0 90px;
}

.ai-ref-cta-card {
    min-height: 170px;
    padding: 42px 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #071120 0%, #130814 45%, #d00422 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
}

.ai-ref-cta-card h2 {
    color: #ffffff;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.12;
    margin: 0 0 10px;
}

.ai-ref-cta-card p:not(.ai-ref-eyebrow) {
    color: rgba(255,255,255,0.78);
    margin: 0;
}

/* Responsive */
@media (max-width: 1180px) {
    .ai-ref-container {
        width: min(100% - 42px, 1320px);
    }

    .ai-ref-hero-grid,
    .ai-ref-feature-grid,
    .ai-ref-feature-reverse,
    .ai-ref-faq-grid {
        grid-template-columns: 1fr;
    }

    .ai-ref-capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-ref-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-ref-core {
        margin: 0 auto;
    }

    .ai-ref-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-ref-process-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .ai-ref-container {
        width: min(100% - 28px, 1320px);
    }

    .ai-ref-hero {
        padding: 58px 0 48px;
    }

    .ai-ref-hero-copy h1 {
        font-size: 42px;
        line-height: 1.08;
    }

    .ai-ref-actions,
    .ai-ref-cta-card {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-ref-btn {
        width: 100%;
    }

    .ai-ref-capability-grid,
    .ai-ref-flow,
    .ai-ref-hero-stats,
    .ai-ref-agent-flow,
    .ai-ref-rag-flow,
    .ai-ref-demo-steps,
    .ai-ref-process-row {
        grid-template-columns: 1fr;
    }

    .ai-ref-hero-panel,
    .ai-ref-demo-card,
    .ai-ref-cta-card {
        padding: 26px;
        border-radius: 18px;
    }

    .ai-ref-section,
    .ai-ref-feature {
        padding: 56px 0;
    }

    .ai-ref-feature-copy h2,
    .ai-ref-section-head h2,
    .ai-ref-faq-grid h2 {
        font-size: 34px;
    }
}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
/* ===== HARD FIX: Service grid card titles visible ===== */
html body main.services-hub-page section#service-offerings .svc-hub-services-grid .svc-hub-service-card {
    min-height: 360px !important;
    padding: 32px 28px !important;
    display: flex !important;
    flex-direction: column !important;
}

html body main.services-hub-page section#service-offerings .svc-hub-services-grid .svc-hub-service-card .svc-hub-icon {
    margin-bottom: 24px !important;
    flex: 0 0 auto !important;
}

html body main.services-hub-page section#service-offerings .svc-hub-services-grid .svc-hub-service-card .svc-card-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    color: #080d18 !important;
    font-size: 24px !important;
    line-height: 1.22 !important;
    font-weight: 750 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    text-indent: 0 !important;
    transform: none !important;
}

html body main.services-hub-page section#service-offerings .svc-hub-services-grid .svc-hub-service-card p {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    color: #5f6b7a !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

html body main.services-hub-page section#service-offerings .svc-hub-services-grid .svc-hub-service-card ul {
    margin-top: auto !important;
}


/* =========================================================
   AI SOLUTIONS NEW WHITE CARD DESIGN
========================================================= */

.ai-new-page {
    background: #ffffff;
    color: #101828;
    overflow-x: hidden;
}

.ai-new-page * {
    box-sizing: border-box;
}

.ai-new-container {
    width: min(100% - 72px, 1320px);
    margin: 0 auto;
}

.ai-new-eyebrow {
    margin: 0 0 18px;
    color: #d00422;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    line-height: 1;
    text-transform: uppercase;
}

.ai-new-hero {
    padding: 96px 0 70px;
    background: #ffffff;
    border-bottom: 1px solid rgba(16,24,40,0.06);
}

.ai-new-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
    gap: 58px;
    align-items: center;
}

.ai-new-hero-copy h1 {
    max-width: 720px;
    margin: 0 0 22px;
    color: #101828;
    font-size: clamp(48px, 4.6vw, 74px);
    font-weight: 650;
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.ai-new-hero-copy > p:not(.ai-new-eyebrow) {
    max-width: 650px;
    margin: 0 0 24px;
    color: #667085;
    font-size: 18px;
    line-height: 1.72;
}

.ai-new-proof-row,
.ai-new-actions,
.ai-new-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ai-new-proof-row {
    margin-bottom: 28px;
}

.ai-new-proof-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.ai-new-proof-row i {
    color: #d00422;
}

.ai-new-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 750;
    font-size: 15px;
    transition: transform 0.2s ease;
}

.ai-new-btn:hover {
    transform: translateY(-2px);
}

.ai-new-btn-primary {
    background: #d00422;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(208,4,34,0.18);
}

.ai-new-btn-outline {
    background: #ffffff;
    color: #101828;
    border: 1px solid rgba(16,24,40,0.12);
}

.ai-new-orbit-card {
    min-height: 385px;
    display: grid;
    grid-template-columns: 1fr 160px 1fr;
    align-items: center;
    gap: 24px;
    padding: 34px;
    border-radius: 24px;
    background:
        radial-gradient(circle at center, rgba(208,4,34,0.12), transparent 38%),
        #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
    box-shadow: 0 22px 70px rgba(16,24,40,0.08);
}

.ai-new-orbit-left,
.ai-new-orbit-right {
    display: grid;
    gap: 18px;
}

.ai-new-orbit-card article {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
    box-shadow: 0 12px 28px rgba(16,24,40,0.04);
}

.ai-new-orbit-card i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff1f3;
    color: #d00422;
}

.ai-new-orbit-card strong {
    display: block;
    color: #101828;
    font-size: 14px;
    margin-bottom: 4px;
}

.ai-new-orbit-card span {
    color: #667085;
    font-size: 12px;
}

.ai-new-core {
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle, #d00422, rgba(208,4,34,0.16));
    box-shadow: 0 0 75px rgba(208,4,34,0.26);
}

.ai-new-core span {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d00422;
    color: #ffffff;
    font-size: 28px;
    font-weight: 850;
}

/* Solution Cards */
.ai-new-solutions {
    padding: 72px 0;
    background: #ffffff;
}

.ai-new-solutions .ai-new-container {
    display: grid;
    gap: 20px;
}

.ai-new-solution-card {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
    gap: 42px;
    align-items: center;
    padding: 28px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.09);
    box-shadow: 0 16px 46px rgba(16,24,40,0.045);
    scroll-margin-top: 130px;
}

.ai-new-solution-wide {
    grid-template-columns: minmax(0, 0.9fr) minmax(620px, 1.1fr);
}

.ai-new-card-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #d00422;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-new-card-label span {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: #fff1f3;
    color: #d00422;
    letter-spacing: 0;
}

.ai-new-solution-copy h2 {
    max-width: 610px;
    margin: 0 0 16px;
    color: #101828;
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.ai-new-solution-copy p:not(.ai-new-card-label) {
    max-width: 600px;
    margin: 0 0 22px;
    color: #667085;
    font-size: 16px;
    line-height: 1.68;
}

.ai-new-chip-row span {
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(16,24,40,0.10);
    color: #344054;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.ai-new-demo,
.ai-new-agent-flow,
.ai-new-rag-board,
.ai-new-analytics-board,
.ai-new-doc-board {
    min-height: 260px;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8), 0 18px 45px rgba(16,24,40,0.055);
}

.ai-new-demo {
    background: linear-gradient(135deg, #08111f, #190916 55%, #a0001b);
    color: #ffffff;
}

.ai-new-demo-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.ai-new-demo-top button {
    border: 0;
    border-radius: 8px;
    padding: 10px 16px;
    background: #d00422;
    color: #ffffff;
    font-weight: 800;
}

.ai-new-input-bar {
    padding: 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.72);
    margin-bottom: 16px;
}

.ai-new-suggested {
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    margin: 0 0 10px;
}

.ai-new-prompt-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.ai-new-prompt-row span {
    padding: 9px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

.ai-new-output-line {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.82);
}

.ai-new-output-line i {
    color: #22c55e;
    margin-right: 8px;
}

/* Agent */
.ai-new-agent-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    background: #ffffff;
}

.ai-new-agent-step {
    min-height: 130px;
    padding: 18px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid rgba(16,24,40,0.08);
    text-align: center;
}

.ai-new-agent-step i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: #fff1f3;
    color: #d00422;
}

.ai-new-agent-step strong {
    display: block;
    color: #101828;
    margin-bottom: 7px;
}

.ai-new-agent-step span {
    color: #667085;
    font-size: 12px;
    line-height: 1.4;
}

.ai-new-agent-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 14px;
    border: 1px solid rgba(16,24,40,0.08);
    overflow: hidden;
}

.ai-new-agent-metrics div {
    padding: 18px;
    background: #ffffff;
    border-right: 1px solid rgba(16,24,40,0.08);
}

.ai-new-agent-metrics div:last-child {
    border-right: 0;
}

.ai-new-agent-metrics strong {
    display: block;
    color: #101828;
    font-size: 24px;
}

.ai-new-agent-metrics span {
    color: #667085;
    font-size: 13px;
}

/* RAG */
.ai-new-rag-board {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 170px;
    gap: 16px;
    align-items: stretch;
}

.ai-new-rag-source,
.ai-new-rag-answer {
    padding: 18px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid rgba(16,24,40,0.08);
}

.ai-new-rag-source strong,
.ai-new-rag-answer strong {
    display: block;
    margin-bottom: 12px;
    color: #101828;
}

.ai-new-rag-source span {
    display: block;
    margin: 10px 0;
    color: #667085;
    font-size: 13px;
}

.ai-new-rag-source i {
    color: #d00422;
    margin-right: 8px;
}

.ai-new-rag-pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: center;
}

.ai-new-rag-pipeline article {
    min-height: 132px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
}

.ai-new-rag-pipeline i {
    color: #d00422;
    font-size: 22px;
}

.ai-new-rag-pipeline strong {
    display: block;
    color: #101828;
}

.ai-new-rag-pipeline span {
    color: #667085;
    font-size: 12px;
}

.ai-new-rag-answer p {
    color: #667085;
    margin: 0 0 14px;
}

.ai-new-rag-answer small {
    color: #16a34a;
    font-weight: 800;
}

/* Analytics */
.ai-new-analytics-board {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 14px;
}

.ai-new-chart-panel,
.ai-new-risk-panel,
.ai-new-kpi-panel {
    padding: 18px;
    border-radius: 14px;
    background: #0b1220;
    color: #ffffff;
}

.ai-new-chart-grid {
    height: 160px;
    margin-top: 18px;
    border-radius: 12px;
    background:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    position: relative;
    overflow: hidden;
}

.ai-new-chart-line {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 35px;
    height: 80px;
    background: linear-gradient(150deg, transparent 0 40%, #d00422 41% 45%, transparent 46% 100%);
}

.ai-new-risk-panel,
.ai-new-kpi-panel {
    display: grid;
    gap: 12px;
}

.ai-new-risk-panel span,
.ai-new-kpi-panel span {
    padding: 10px;
    border-radius: 9px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

.risk-high { color: #f87171 !important; }
.risk-medium { color: #fbbf24 !important; }
.risk-low { color: #4ade80 !important; }

/* Document */
.ai-new-doc-board {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 14px;
}

.ai-new-doc-preview,
.ai-new-extracted-fields,
.ai-new-confidence {
    padding: 18px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid rgba(16,24,40,0.08);
}

.ai-new-doc-preview {
    display: grid;
    gap: 12px;
}

.ai-new-extracted-fields {
    display: grid;
    gap: 12px;
}

.ai-new-extracted-fields span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #667085;
}

.ai-new-extracted-fields b {
    color: #101828;
}

.ai-new-confidence span {
    display: inline-flex;
    margin: 10px 0 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eefcf3;
    color: #15803d;
    font-weight: 800;
}

.ai-new-confidence-bar {
    height: 9px;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e 0 98%, #e5e7eb 98% 100%);
    margin: 10px 0;
}

/* Benefits */
.ai-new-benefits,
.ai-new-process-stack {
    padding: 70px 0;
    border-top: 1px solid rgba(16,24,40,0.06);
}

.ai-new-section-head {
    text-align: center;
    margin-bottom: 32px;
}

.ai-new-section-head h2 {
    color: #101828;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.12;
    margin: 0;
}

.ai-new-benefit-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.ai-new-benefit-grid article {
    padding: 22px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
    text-align: center;
}

.ai-new-benefit-grid i {
    color: #d00422;
    margin-bottom: 14px;
}

.ai-new-benefit-grid h3 {
    color: #101828;
    font-size: 15px;
    margin: 0 0 8px;
}

.ai-new-benefit-grid p {
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

/* Process + stack */
.ai-new-process-stack-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 38px;
}

.ai-new-process-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.ai-new-process-row article,
.ai-new-stack-row span {
    padding: 16px;
    border-radius: 13px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
}

.ai-new-process-row span {
    color: #d00422;
    font-size: 12px;
    font-weight: 900;
}

.ai-new-process-row strong {
    display: block;
    color: #101828;
    margin: 8px 0;
}

.ai-new-process-row p {
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
}

.ai-new-stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ai-new-stack-row span {
    font-weight: 750;
    color: #101828;
}

/* CTA */
.ai-new-bottom-cta {
    padding: 35px 0 85px;
}

.ai-new-cta-card {
    padding: 38px 48px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(16,24,40,0.08);
    box-shadow: 0 20px 60px rgba(16,24,40,0.075);
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
}

.ai-new-cta-card h2 {
    color: #101828;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.14;
    margin: 0 0 10px;
}

.ai-new-cta-card p {
    color: #667085;
    margin: 0;
}

.ai-new-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Responsive */
@media (max-width: 1180px) {
    .ai-new-container {
        width: min(100% - 42px, 1320px);
    }

    .ai-new-hero-grid,
    .ai-new-solution-card,
    .ai-new-solution-wide,
    .ai-new-process-stack-grid {
        grid-template-columns: 1fr;
    }

    .ai-new-orbit-card,
    .ai-new-rag-board,
    .ai-new-analytics-board,
    .ai-new-doc-board {
        grid-template-columns: 1fr;
    }

    .ai-new-agent-flow,
    .ai-new-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-new-rag-pipeline,
    .ai-new-process-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .ai-new-container {
        width: min(100% - 28px, 1320px);
    }

    .ai-new-hero {
        padding: 58px 0 48px;
    }

    .ai-new-hero-copy h1 {
        font-size: 42px;
        line-height: 1.08;
    }

    .ai-new-orbit-card,
    .ai-new-solution-card,
    .ai-new-demo,
    .ai-new-agent-flow,
    .ai-new-rag-board,
    .ai-new-analytics-board,
    .ai-new-doc-board,
    .ai-new-cta-card {
        padding: 22px;
        border-radius: 16px;
    }

    .ai-new-agent-flow,
    .ai-new-agent-metrics,
    .ai-new-rag-pipeline,
    .ai-new-benefit-grid,
    .ai-new-process-row {
        grid-template-columns: 1fr;
    }

    .ai-new-actions,
    .ai-new-cta-card,
    .ai-new-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-new-btn {
        width: 100%;
    }

    .ai-new-solution-copy h2 {
        font-size: 32px;
    }
}


/* ===== FINAL FIX: AI RAG board clean layout, no overlap ===== */
.ai-new-page .ai-new-rag-board {
    min-height: 300px !important;
    grid-template-columns: 220px minmax(0, 1fr) 220px !important;
    gap: 24px !important;
    align-items: stretch !important;
    overflow: visible !important;
}

.ai-new-page .ai-new-rag-source,
.ai-new-page .ai-new-rag-answer {
    min-width: 0 !important;
    padding: 24px !important;
    border-radius: 18px !important;
}

.ai-new-page .ai-new-rag-source strong,
.ai-new-page .ai-new-rag-answer strong {
    font-size: 18px !important;
    margin-bottom: 18px !important;
}

.ai-new-page .ai-new-rag-source span {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 14px 0 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.ai-new-page .ai-new-rag-pipeline {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
    gap: 16px !important;
    min-width: 0 !important;
    align-items: stretch !important;
}

.ai-new-page .ai-new-rag-pipeline article {
    min-height: 150px !important;
    padding: 20px 14px !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center !important;
    overflow: hidden !important;
}

.ai-new-page .ai-new-rag-pipeline article i {
    font-size: 24px !important;
    margin-bottom: 4px !important;
}

.ai-new-page .ai-new-rag-pipeline article strong {
    color: #101828 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.ai-new-page .ai-new-rag-pipeline article span {
    color: #667085 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    max-width: 105px !important;
}

.ai-new-page .ai-new-rag-answer p {
    font-size: 18px !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
}

.ai-new-page .ai-new-rag-answer small {
    display: inline-flex !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: #ecfdf3 !important;
    color: #15803d !important;
    font-size: 14px !important;
}

/* Give RAG section more breathing room */
.ai-new-page #llm-applications.ai-new-solution-card,
.ai-new-page .ai-new-solution-card#llm-applications {
    grid-template-columns: minmax(360px, 0.78fr) minmax(720px, 1.22fr) !important;
    gap: 46px !important;
}

/* Tablet */
@media (max-width: 1180px) {
    .ai-new-page #llm-applications.ai-new-solution-card,
    .ai-new-page .ai-new-solution-card#llm-applications {
        grid-template-columns: 1fr !important;
    }

    .ai-new-page .ai-new-rag-board {
        grid-template-columns: 1fr !important;
    }

    .ai-new-page .ai-new-rag-pipeline {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .ai-new-page .ai-new-rag-board {
        padding: 18px !important;
        gap: 16px !important;
    }

    .ai-new-page .ai-new-rag-pipeline {
        grid-template-columns: 1fr !important;
    }

    .ai-new-page .ai-new-rag-pipeline article {
        min-height: 120px !important;
    }
}


/* ===== FINAL REDESIGN: Clean RAG board, no overlap ===== */
.ai-new-page .ai-new-rag-board-clean {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    min-height: auto !important;
    padding: 28px !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    border: 1px solid rgba(16,24,40,0.09) !important;
    box-shadow: 0 18px 46px rgba(16,24,40,0.055) !important;
    overflow: hidden !important;
}

.ai-new-page .ai-rag-clean-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(16,24,40,0.08) !important;
}

.ai-new-page .ai-rag-clean-header strong {
    display: block !important;
    color: #101828 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
}

.ai-new-page .ai-rag-clean-header p {
    color: #667085 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.ai-new-page .ai-rag-clean-header > span {
    flex: 0 0 auto !important;
    padding: 8px 13px !important;
    border-radius: 999px !important;
    background: #ecfdf3 !important;
    color: #15803d !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.ai-new-page .ai-rag-clean-flow {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.ai-new-page .ai-rag-clean-flow article {
    position: relative !important;
    min-height: 150px !important;
    padding: 22px 16px !important;
    border-radius: 16px !important;
    background: #fafafa !important;
    border: 1px solid rgba(16,24,40,0.08) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.ai-new-page .ai-rag-clean-flow article:not(:last-child)::after {
    content: "→" !important;
    position: absolute !important;
    right: -13px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid rgba(16,24,40,0.08) !important;
    color: #d00422 !important;
    font-weight: 900 !important;
    z-index: 2 !important;
}

.ai-new-page .ai-rag-clean-flow i {
    width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    margin-bottom: 14px !important;
    border-radius: 13px !important;
    background: #fff1f3 !important;
    color: #d00422 !important;
    font-size: 18px !important;
}

.ai-new-page .ai-rag-clean-flow strong {
    display: block !important;
    color: #101828 !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
}

.ai-new-page .ai-rag-clean-flow span {
    color: #667085 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.ai-new-page .ai-rag-clean-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(16,24,40,0.08) !important;
}

.ai-new-page .ai-rag-clean-footer span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid rgba(16,24,40,0.10) !important;
    color: #344054 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.ai-new-page .ai-rag-clean-footer i {
    color: #d00422 !important;
}

@media (max-width: 1180px) {
    .ai-new-page .ai-rag-clean-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ai-new-page .ai-rag-clean-flow article:not(:last-child)::after {
        display: none !important;
    }
}

@media (max-width: 760px) {
    .ai-new-page .ai-rag-clean-header {
        flex-direction: column !important;
    }

    .ai-new-page .ai-rag-clean-flow {
        grid-template-columns: 1fr !important;
    }

    .ai-new-page .ai-rag-clean-flow article {
        min-height: 130px !important;
    }
}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
/* ===== FINAL FIX: AI benefits cards title visibility and spacing ===== */
.ai-new-page .ai-new-benefit-grid article {
    min-height: 190px !important;
    padding: 26px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    gap: 0 !important;
}

.ai-new-page .ai-new-benefit-grid article i {
    width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 0 18px !important;
    border-radius: 13px !important;
    background: #fff1f3 !important;
    color: #d00422 !important;
    font-size: 18px !important;
}

.ai-new-page .ai-new-benefit-grid article h3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #101828 !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 750 !important;
    margin: 0 0 10px !important;
    max-width: 190px !important;
}

.ai-new-page .ai-new-benefit-grid article p {
    color: #667085 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    max-width: 190px !important;
}

.ai-new-page .ai-new-benefits {
    padding: 76px 0 !important;
}

.ai-new-page .ai-new-section-head {
    margin-bottom: 38px !important;
}

.ai-new-page .ai-new-section-head h2 {
    color: #101828 !important;
    font-size: clamp(34px, 3vw, 48px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
    font-weight: 650 !important;
}


/* =========================================================
   COMPANY / ABOUT PAGE — CLARASIGHT INSPIRED STYLE
========================================================= */

.company-ref-page {
    background: #f6f7ff;
    color: #111827;
    overflow-x: hidden;
}

.company-ref-page * {
    box-sizing: border-box;
}

.company-ref-container {
    width: min(100% - 72px, 1180px);
    margin: 0 auto;
}

.company-ref-eyebrow {
    margin: 0 0 16px;
    color: #6c63ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.company-ref-hero {
    padding: 110px 0 72px;
    text-align: center;
}

.company-ref-hero-inner {
    max-width: 760px;
}

.company-ref-hero h1 {
    margin: 0 auto 20px;
    max-width: 760px;
    color: #111827;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.055em;
    font-weight: 650;
}

.company-ref-hero p:not(.company-ref-eyebrow) {
    max-width: 620px;
    margin: 0 auto 30px;
    color: #636b7c;
    font-size: 18px;
    line-height: 1.75;
}

.company-ref-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.company-ref-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.company-ref-btn:hover {
    transform: translateY(-2px);
}

.company-ref-btn-primary {
    background: #6c63ff;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(108,99,255,0.22);
}

.company-ref-btn-light {
    background: #ffffff;
    color: #111827;
    border: 1px solid rgba(17,24,39,0.08);
}

/* Story */
.company-ref-story {
    padding: 80px 0;
}

.company-ref-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 70px;
    align-items: center;
}

.company-ref-story-copy p {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 24px;
}

.company-ref-signature-row {
    margin-top: 34px;
    display: grid;
    gap: 6px;
}

.company-ref-signature-row span {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    font-family: cursive;
}

.company-ref-signature-row small {
    color: #6b7280;
}

.company-ref-collage {
    position: relative;
    min-height: 390px;
}

.company-ref-collage img {
    position: absolute;
    width: 270px;
    height: 185px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(17,24,39,0.16);
}

.company-ref-collage img:nth-child(1) {
    top: 0;
    right: 120px;
}

.company-ref-collage img:nth-child(2) {
    top: 125px;
    right: 0;
}

.company-ref-collage img:nth-child(3) {
    top: 235px;
    right: 170px;
}

/* Principles */
.company-ref-principles {
    padding: 90px 0;
    border-top: 1px solid rgba(17,24,39,0.06);
}

.company-ref-principles-grid {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 80px;
}

.company-ref-section-title h2,
.company-ref-values-head h2,
.company-ref-openings-head h2,
.company-ref-partners h2,
.company-ref-cta-card h2 {
    margin: 0 0 16px;
    color: #111827;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 650;
}

.company-ref-section-title p:not(.company-ref-eyebrow),
.company-ref-values-head > p,
.company-ref-openings-head p,
.company-ref-partners h2 + p {
    color: #636b7c;
    line-height: 1.75;
    margin: 0;
}

.company-ref-principle-list {
    display: grid;
    gap: 42px;
}

.company-ref-principle-list article {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(17,24,39,0.08);
}

.company-ref-principle-list h3 {
    margin: 0;
    color: #111827;
    font-size: 22px;
}

.company-ref-principle-list p {
    margin: 0;
    color: #4b5563;
    line-height: 1.8;
}

/* Values */
.company-ref-values {
    padding: 90px 0;
}

.company-ref-values-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
    gap: 80px;
    align-items: start;
    margin-bottom: 44px;
}

.company-ref-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.company-ref-values-grid article {
    min-height: 190px;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(17,24,39,0.07);
    box-shadow: 0 18px 46px rgba(17,24,39,0.045);
}

.company-ref-values-grid i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 12px;
    background: #efedff;
    color: #6c63ff;
}

.company-ref-values-grid h3 {
    color: #111827;
    font-size: 20px;
    margin: 0 0 10px;
}

.company-ref-values-grid p {
    color: #636b7c;
    line-height: 1.65;
    margin: 0;
}

/* Open roles */
.company-ref-openings {
    padding: 95px 0;
}

.company-ref-openings-head {
    max-width: 560px;
    text-align: center;
    margin: 0 auto 50px;
}

.company-ref-role-list {
    display: grid;
    gap: 34px;
}

.company-ref-role-group h3 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 18px;
}

.company-ref-role-group article {
    min-height: 62px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 180px 140px 110px;
    align-items: center;
    gap: 16px;
    padding: 0 18px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(17,24,39,0.07);
}

.company-ref-role-group span {
    color: #111827;
    font-weight: 650;
}

.company-ref-role-group small {
    color: #6b7280;
}

.company-ref-role-group a {
    justify-self: end;
    color: #6c63ff;
    font-weight: 750;
    text-decoration: none;
}

/* Partners */
.company-ref-partners {
    padding: 80px 0;
    text-align: center;
}

.company-ref-partners h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.company-ref-partner-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.company-ref-partner-strip span {
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(17,24,39,0.08);
    color: #4b5563;
    font-weight: 700;
}

/* CTA */
.company-ref-cta {
    padding: 70px 0 95px;
    text-align: center;
}

.company-ref-cta-card {
    padding: 70px 36px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(17,24,39,0.07);
    box-shadow: 0 24px 70px rgba(17,24,39,0.06);
}

.company-ref-cta-card p {
    max-width: 560px;
    color: #636b7c;
    line-height: 1.7;
    margin: 0 auto 28px;
}

/* Responsive */
@media (max-width: 1050px) {
    .company-ref-container {
        width: min(100% - 42px, 1180px);
    }

    .company-ref-story-grid,
    .company-ref-principles-grid,
    .company-ref-values-head {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .company-ref-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-ref-role-group article {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px;
    }

    .company-ref-role-group a {
        justify-self: start;
    }
}

@media (max-width: 760px) {
    .company-ref-container {
        width: min(100% - 28px, 1180px);
    }

    .company-ref-hero {
        padding: 70px 0 46px;
    }

    .company-ref-hero h1 {
        font-size: 42px;
    }

    .company-ref-collage {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

    .company-ref-collage img {
        position: static;
        width: 100%;
        height: 220px;
    }

    .company-ref-principle-list article,
    .company-ref-values-grid {
        grid-template-columns: 1fr;
    }

    .company-ref-story,
    .company-ref-principles,
    .company-ref-values,
    .company-ref-openings,
    .company-ref-partners {
        padding: 58px 0;
    }
}


/* =========================================================
   COMPANY PAGE RED BRAND THEME FIX
========================================================= */

.company-ref-page {
    background: #fffafa !important;
}

.company-ref-eyebrow {
    color: #c40018 !important;
}

.company-ref-btn-primary {
    background: #c40018 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(196,0,24,0.22) !important;
}

.company-ref-btn-light {
    background: #ffffff !important;
    color: #101828 !important;
    border: 1px solid rgba(196,0,24,0.12) !important;
}

.company-ref-values-grid i {
    background: #fff1f3 !important;
    color: #c40018 !important;
}

.company-ref-role-group a {
    color: #c40018 !important;
}

.company-ref-partner-strip span {
    background: #ffffff !important;
    border-color: rgba(196,0,24,0.12) !important;
}

.company-ref-cta-card {
    background:
        radial-gradient(circle at 85% 20%, rgba(196,0,24,0.08), transparent 28%),
        #ffffff !important;
    border-color: rgba(196,0,24,0.10) !important;
}

.company-ref-cta-card .company-ref-btn-primary {
    background: #832531 !important;
}

/* Replace purple shadows/accents with red */
.company-ref-btn-primary:hover,
.company-ref-role-group a:hover {
    color: #9f0014 !important;
}

.company-ref-story-copy strong,
.company-ref-section-title strong,
.company-ref-values-head strong {
    color: #c40018 !important;
}

/* Optional soft red highlights */
.company-ref-values-grid article:hover,
.company-ref-role-group article:hover {
    border-color: rgba(196,0,24,0.18) !important;
    box-shadow: 0 22px 58px rgba(196,0,24,0.06) !important;
}


/* Global heading font weight refinement */
body.inner-page h1,
body.inner-page .inner-hero h1,
body.inner-page .svc-hub-hero-content h1,
body.inner-page .ind-hero h1,
body.inner-page .ct-hero h1,
body.inner-page .res-hero h1,
body.inner-page .ai-hero h1,
body.inner-page .company-hero h1,
body.inner-page h2,
body.inner-page h3 {
  font-weight: 600 !important;
  letter-spacing: -0.045em !important;
}

body.inner-page .eyebrow,
body.inner-page .section-eyebrow,
body.inner-page [class*="eyebrow"] {
  font-weight: 600 !important;
}

/* Reduce inner pages zoom / make hero closer to home page scale */
body.inner-page .svc-hub-hero,
body.inner-page .inner-hero,
body.inner-page .ind-hero,
body.inner-page .ct-hero,
body.inner-page .res-hero,
body.inner-page .ai-hero,
body.inner-page .company-hero {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

body.inner-page .svc-hub-container,
body.inner-page .ind-container,
body.inner-page .ct-container,
body.inner-page .res-container,
body.inner-page .ai-container,
body.inner-page .company-container,
body.inner-page .inner-container {
  max-width: 1320px !important;
}

body.inner-page h1,
body.inner-page .svc-hub-hero-content h1,
body.inner-page .ind-hero h1,
body.inner-page .ct-hero h1,
body.inner-page .res-hero h1,
body.inner-page .ai-hero h1,
body.inner-page .company-hero h1 {
  font-size: clamp(40px, 4.2vw, 48px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.05em !important;
}

body.inner-page .svc-hub-hero-content p,
body.inner-page .inner-hero p,
body.inner-page .ind-hero p,
body.inner-page .ct-hero p,
body.inner-page .res-hero p,
body.inner-page .ai-hero p,
body.inner-page .company-hero p {
  font-size: 18px !important;
  line-height: 1.65 !important;
  max-width: 640px !important;
}

body.inner-page .svc-hub-hero-grid,
body.inner-page .ind-hero .ind-container,
body.inner-page .ct-hero .ct-container,
body.inner-page .res-hero .res-container,
body.inner-page .ai-hero .ai-container,
body.inner-page .company-hero .company-container {
  gap: 64px !important;
}

body.inner-page .svc-hub-hero-visual,
body.inner-page .ind-hero-card,
body.inner-page .ct-cta-panel {
  transform: scale(0.92) !important;
  transform-origin: center !important;
}

/* Global page scale + lighter typography for all inner pages */
body.inner-page h1,
body.inner-page h2,
body.inner-page h3,
body.inner-page .section-title,
body.inner-page [class*="title"],
body.inner-page [class*="heading"] {
  font-weight: 450 !important;
  letter-spacing: -0.045em !important;
}

body.inner-page p,
body.inner-page li,
body.inner-page a,
body.inner-page span {
  font-weight: 400 !important;
}

body.inner-page section {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

body.inner-page [class*="container"] {
  max-width: 1320px !important;
}

body.inner-page h1 {
  font-size: clamp(38px, 3.7vw, 48px) !important;
  line-height: 1.08 !important;
}

body.inner-page h2 {
  font-size: clamp(30px, 2.7vw, 48px) !important;
  line-height: 1.12 !important;
}

body.inner-page h3 {
  font-size: clamp(20px, 1.6vw, 28px) !important;
  line-height: 1.2 !important;
}

body.inner-page .hero,
body.inner-page [class*="hero"] {
  min-height: auto !important;
}

body.inner-page [class*="hero"] img,
body.inner-page [class*="visual"],
body.inner-page [class*="card"] {
  transform-origin: center !important;
}

body.inner-page .svc-hub-hero-visual,
body.inner-page .ind-hero-card,
body.inner-page .ct-cta-panel,
body.inner-page .ai-hero-visual,
body.inner-page .res-hero-visual,
body.inner-page .company-hero-visual {
  transform: scale(0.88) !important;
}

/* Final global typography override - lighter headings approx 450 */
body.inner-page h1,
body.inner-page h2,
body.inner-page h3,
body.inner-page h4,
body.inner-page h5,
body.inner-page h6,
body.inner-page [class*="title"],
body.inner-page [class*="heading"],
body.inner-page [class*="hero"] h1,
body.inner-page [class*="hero"] h2,
body.inner-page [class*="content"] h1,
body.inner-page [class*="content"] h2,
body.inner-page [class*="section"] h2 {
  font-weight: 450 !important;
  letter-spacing: -0.045em !important;
}

body.inner-page strong,
body.inner-page b,
body.inner-page .nav-link,
body.inner-page .btn,
body.inner-page button,
body.inner-page [class*="btn"],
body.inner-page [class*="card"] h3,
body.inner-page [class*="card"] h4 {
  font-weight: 500 !important;
}

/* Site-wide final heading weight fix */
h1, h2, h3, h4, h5, h6,
[class*="title"],
[class*="heading"],
[class*="hero"] h1,
[class*="hero"] h2,
[class*="content"] h1,
[class*="content"] h2,
[class*="section"] h2 {
  font-weight: 450 !important;
}

strong, b,
.btn, button,
[class*="btn"] {
  font-weight: 500 !important;
}

/* Brand button color fix */
.btn,
button,
[class*="btn"],
.ai-new-btn,
.svc-btn,
.ct-cta-primary,
.contact-modal-form button {
  background: rgb(152, 35, 42) !important;
  color: rgb(255, 255, 255) !important;
}

/* Contact info icon center alignment */
.ct-info-icon,
.ct-contact-icon,
.ct-contact-card .ct-icon,
.ct-info-card .ct-icon,
.ct-touch-icon,
.ct-contact-card i,
.ct-info-card i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ct-contact-card > div:first-child,
.ct-info-card > div:first-child,
.ct-touch-card > div:first-child {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ct-contact-card > div:first-child svg,
.ct-contact-card > div:first-child i,
.ct-info-card > div:first-child svg,
.ct-info-card > div:first-child i,
.ct-touch-card > div:first-child svg,
.ct-touch-card > div:first-child i {
  margin: 0 !important;
  position: static !important;
  transform: none !important;
  line-height: 1 !important;
}

/* Fix contact touch card icons center */
.ct-touch-ico {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.ct-touch-ico i,
.ct-touch-ico svg {
  display: block !important;
  margin: 0 !important;
  position: static !important;
  transform: none !important;
  line-height: 1 !important;
}

/* Footer global consistency fix */
.footer,
.site-footer {
  background: #ffffff !important;
  color: #111827 !important;
}

.footer h4,
.site-footer h4,
.footer-nav-col h4,
.footer-title {
  color: #111827 !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

.footer a,
.site-footer a,
.footer-nav-col a,
.footer-contact-item {
  color: #111827 !important;
  opacity: 1 !important;
}

.footer-social a,
.site-footer .footer-social a {
  background: transparent !important;
  color: #111827 !important;
  border: none !important;
  box-shadow: none !important;
}

.footer-social a i,
.footer-social a svg,
.footer-contact-item i,
.footer-contact-item svg {
  color: #111827 !important;
  fill: currentColor !important;
  opacity: 1 !important;
}

.footer * ,
.site-footer * {
  opacity: 1 !important;
}

/* Footer social + contact icons match homepage */
.footer-social a,
.footer-brand-social a,
.footer .social-link,
.site-footer .social-link {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #111827 !important;
}

.footer-social a i,
.footer-brand-social a i,
.footer-social a svg,
.footer-brand-social a svg,
.footer .social-link i,
.footer .social-link svg,
.site-footer .social-link i,
.site-footer .social-link svg {
  color: #111827 !important;
  fill: #111827 !important;
  stroke: #111827 !important;
}

.footer-contact-item i,
.footer-contact-item svg,
.footer-contact-item span:first-child,
.footer-contact-item::before,
.footer-contact-col i,
.footer-contact-col svg {
  color: #111827 !important;
  fill: #111827 !important;
  stroke: #111827 !important;
  opacity: 1 !important;
}

.footer-contact-item {
  color: #111827 !important;
}

.footer-social a:hover,
.footer-brand-social a:hover,
.footer .social-link:hover {
  color: rgb(181, 4, 15) !important;
}

/* Exact footer icon fix */
.footer-socials .footer-social-btn {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #111827 !important;
}

.footer-socials .footer-social-btn i,
.footer-socials .footer-social-btn svg,
.footer-socials .footer-social-upwork,
.footer-socials .footer-social-upwork * {
  color: #111827 !important;
  fill: #111827 !important;
  stroke: #111827 !important;
}

.footer-contact-col .footer-contact-item i,
.footer-contact-col .footer-contact-item svg,
.footer-contact-col .footer-contact-item::before,
.footer-contact-col .footer-contact-item *:first-child {
  color: #111827 !important;
  fill: #111827 !important;
  stroke: #111827 !important;
  opacity: 1 !important;
}

/* Global footer background gradient */
.footer,
.site-footer {
  background: linear-gradient(135deg, #fff4f5, #ffffff) !important;
}

/* Force footer gradient on all footer wrappers */
footer,
.footer,
.site-footer,
.main-footer,
.footer-section,
[class*="footer"] {
  background: linear-gradient(135deg, #fff4f5, #ffffff) !important;
  background-color: transparent !important;
}

/* ===== Footer Background Fix ===== */

/* Gradient only on footer container */
footer,
.footer,
.site-footer {
    background: linear-gradient(135deg, #fff4f5, #ffffff) !important;
}

/* Remove background from all footer children */
footer > *,
.footer > *,
.site-footer > *,
footer div,
.footer div,
.site-footer div,
footer section,
.footer section,
.site-footer section {
    background: transparent !important;
    background-image: none !important;
}

/* Final footer background fix */
body footer,
footer.site-footer,
footer.footer,
.site-footer,
.footer {
  background: linear-gradient(135deg, #fff4f5, #ffffff) !important;
  background-color: #fff4f5 !important;
}

/* remove white boxes inside footer */
body footer *,
.site-footer *,
.footer * {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* keep CTA button red */
body footer .floating-consultation-btn,
body footer .footer-consultation-btn,
body footer a[href*="contactme"],
body footer button {
  background: rgb(181, 4, 15) !important;
  color: #ffffff !important;
}

/* keep logo image clean */
body footer img {
  background: transparent !important;
}

/* Footer final style for every page */
html body footer,
html body .footer,
html body .site-footer {
  width: 100% !important;
  background: linear-gradient(135deg, #fff4f5, #ffffff) !important;
  background-color: #fff4f5 !important;
}

html body footer *,
html body .footer *,
html body .site-footer * {
  background-color: transparent !important;
  background-image: none !important;
}

html body footer h4,
html body footer a,
html body footer p,
html body footer span,
html body .footer h4,
html body .footer a,
html body .footer p,
html body .footer span {
  color: #111827 !important;
  opacity: 1 !important;
}

html body footer .footer-social-btn,
html body footer .footer-social-upwork {
  background: transparent !important;
  color: #111827 !important;
  box-shadow: none !important;
  border: none !important;
}

html body footer .footer-contact-item i,
html body footer .footer-contact-item svg,
html body footer .footer-social-btn i,
html body footer .footer-social-btn svg {
  color: #111827 !important;
  fill: #111827 !important;
  stroke: #111827 !important;
}

/* ===== Product Showcase Section ===== */
.ily-product-showcase {
    padding: 90px 0;
    background:
        radial-gradient(circle at 8% 18%, rgba(196,0,24,0.07), transparent 28%),
        linear-gradient(180deg, #fffafa 0%, #ffffff 100%);
    border-top: 1px solid rgba(8,13,24,0.06);
    border-bottom: 1px solid rgba(8,13,24,0.06);
}

.ily-product-container {
    width: min(100% - 72px, 1380px);
    margin: 0 auto;
}

.ily-product-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.7fr);
    gap: 60px;
    align-items: end;
    margin-bottom: 42px;
}

.ily-product-eyebrow {
    margin: 0 0 14px;
    color: #c40018;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ily-product-head h2 {
    margin: 0;
    max-width: 680px;
    color: #080d18;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.045em;
    font-weight: 650;
}

.ily-product-head p {
    margin: 0;
    color: #657083;
    font-size: 17px;
    line-height: 1.75;
}

.ily-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ily-product-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: 24px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 20px 54px rgba(8,13,24,0.055);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ily-product-card:hover {
    transform: translateY(-7px);
    border-color: rgba(196,0,24,0.22);
    box-shadow: 0 30px 70px rgba(8,13,24,0.10);
}

.ily-product-featured {
    border-color: rgba(196,0,24,0.25);
    box-shadow: 0 28px 70px rgba(196,0,24,0.09);
}

.ily-product-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 18px;
    background: #fff1f3;
    color: #c40018;
    font-size: 24px;
}

.ily-product-tag {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff1f3;
    color: #c40018;
    font-size: 12px;
    font-weight: 850;
}

.ily-product-card h3 {
    margin: 0 0 12px;
    color: #080d18;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.ily-product-card p {
    margin: 0 0 24px;
    color: #657083;
    font-size: 15px;
    line-height: 1.68;
}

.ily-product-links {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ily-product-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.10);
    color: #101828;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    transition: 0.22s ease;
}

.ily-product-links a:hover {
    background: #c40018;
    border-color: #c40018;
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 1180px) {
    .ily-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ily-product-head {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 760px) {
    .ily-product-showcase {
        padding: 62px 0;
    }

    .ily-product-container {
        width: min(100% - 28px, 1380px);
    }

    .ily-product-grid {
        grid-template-columns: 1fr;
    }

    .ily-product-card {
        min-height: auto;
    }
}



/* =========================================================
   PRODUCT SHOWCASE — SCREENSHOT BACKGROUND CARDS
========================================================= */

.ily-product-card--bg {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: #ffffff !important;
}

.ily-product-card--bg::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -2 !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    transform: scale(1.05) !important;
    opacity: 0.34 !important;
    filter: saturate(0.96) contrast(1.02) !important;
    transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease !important;
}

.ily-product-card--bg::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    background:
        linear-gradient(
            180deg,
            rgba(255,250,251,0.58) 0%,
            rgba(255,255,255,0.78) 24%,
            rgba(255,255,255,0.94) 52%,
            rgba(255,255,255,0.99) 78%,
            #ffffff 100%
        ),
        radial-gradient(
            circle at 85% 10%,
            rgba(196,0,24,0.14),
            transparent 38%
        ) !important;
}

.ily-product-card--bg:hover::before {
    transform: scale(1.10) !important;
    opacity: 0.44 !important;
    filter: saturate(1.05) contrast(1.05) !important;
}

.ily-product-card--bg > * {
    position: relative !important;
    z-index: 2 !important;
}

.ily-product-card--bg .ily-product-icon {
    background: rgba(255,241,243,0.92) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 12px 28px rgba(196,0,24,0.10) !important;
}

.ily-product-card--bg .ily-product-tag {
    background: rgba(255,241,243,0.92) !important;
    border: 1px solid rgba(196,0,24,0.10) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.ily-product-card--bg p,
.ily-product-card--bg h3 {
    text-shadow: 0 1px 0 rgba(255,255,255,0.55) !important;
}

.ily-product-card--bg .ily-product-links a {
    background: rgba(255,255,255,0.86) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.ily-product-card--bg .ily-product-links a:hover {
    background: #c40018 !important;
    color: #ffffff !important;
    border-color: #c40018 !important;
}

.ily-card-coinup::before {
    background-image: url("../images/coinup.png") !important;
}

.ily-card-school::before {
    background-image: url("../images/ilytixschool.png") !important;
}

.ily-card-punto::before {
    background-image: url("../images/punto.png") !important;
}

.ily-card-ekonty::before {
    background-image: url("../images/ekonty.png") !important;
}

.ily-product-featured.ily-product-card--bg {
    border-color: rgba(196,0,24,0.24) !important;
    box-shadow: 0 28px 70px rgba(196,0,24,0.10) !important;
}

/* ===== FINAL FIX: Make product card screenshots more visible ===== */
.ily-product-card--bg::before {
    opacity: 3 !important;
    filter: saturate(1.12) contrast(1.08) brightness(0.98) !important;
    transform: scale(1.04) !important;
}

.ily-product-card--bg:hover::before {
    opacity: 0.68 !important;
    filter: saturate(1.18) contrast(1.12) brightness(1) !important;
    transform: scale(1.08) !important;
}

/* Reduce white overlay so screenshot is visible but text still readable */
.ily-product-card--bg::after {
    background:
        linear-gradient(
            180deg,
            rgba(255,250,251,0.34) 0%,
            rgba(255,255,255,0.54) 28%,
            rgba(255,255,255,0.78) 56%,
            rgba(255,255,255,0.94) 82%,
            #ffffff 100%
        ),
        radial-gradient(
            circle at 85% 10%,
            rgba(196,0,24,0.10),
            transparent 42%
        ) !important;
}

/* Make text area slightly stronger readable */
.ily-product-card--bg p {
    color: #344054 !important;
    font-weight: 500 !important;
}

.ily-product-card--bg h3 {
    color: #080d18 !important;
}

.ily-product-card--bg .ily-product-links a {
    background: rgba(255,255,255,0.92) !important;
    border-color: rgba(8,13,24,0.12) !important;
}


/* ===== FINAL FIX: Make product card screenshots more visible ===== */
.ily-product-card--bg::before {
    opacity: 0.58 !important;
    filter: saturate(1.12) contrast(1.08) brightness(0.98) !important;
    transform: scale(1.04) !important;
}

.ily-product-card--bg:hover::before {
    opacity: 0.68 !important;
    filter: saturate(1.18) contrast(1.12) brightness(1) !important;
    transform: scale(1.08) !important;
}

/* Reduce white overlay so screenshot is visible but text still readable */
.ily-product-card--bg::after {
    background:
        linear-gradient(
            180deg,
            rgba(255,250,251,0.34) 0%,
            rgba(255,255,255,0.54) 28%,
            rgba(255,255,255,0.78) 56%,
            rgba(255,255,255,0.94) 82%,
            #ffffff 100%
        ),
        radial-gradient(
            circle at 85% 10%,
            rgba(196,0,24,0.10),
            transparent 42%
        ) !important;
}

/* Make text area slightly stronger readable */
.ily-product-card--bg p {
    color: #344054 !important;
    font-weight: 500 !important;
}

.ily-product-card--bg h3 {
    color: #080d18 !important;
}

.ily-product-card--bg .ily-product-links a {
    background: rgba(255,255,255,0.92) !important;
    border-color: rgba(8,13,24,0.12) !important;
}


/* =========================================================
   PRODUCT PREVIEW SHOWCASE — WEBSITE PREVIEW + INFO CARD
========================================================= */

.ily-product-preview-section {
    padding: 92px 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(196,0,24,0.08), transparent 34%),
        linear-gradient(180deg, #fffafa 0%, #ffffff 100%);
    border-top: 1px solid rgba(8,13,24,0.06);
    border-bottom: 1px solid rgba(8,13,24,0.06);
}

.ily-product-preview-container {
    width: min(100% - 72px, 1380px);
    margin: 0 auto;
}

.ily-product-preview-head {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.65fr);
    gap: 52px;
    align-items: end;
    margin-bottom: 46px;
}

.ily-product-preview-head h2 {
    margin: 0;
    max-width: 720px;
    color: #080d18;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.055em;
    font-weight: 650;
}

.ily-product-preview-head p {
    margin: 0;
    color: #657083;
    font-size: 17px;
    line-height: 1.75;
}

.ily-product-preview-list {
    display: grid;
    gap: 26px;
}

.ily-product-preview-card {
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.55fr);
    gap: 24px;
    align-items: stretch;
    padding: 18px;
    border-radius: 30px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(8,13,24,0.08);
    box-shadow: 0 24px 70px rgba(8,13,24,0.065);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ily-product-preview-card:hover {
    transform: translateY(-5px);
    border-color: rgba(196,0,24,0.22);
    box-shadow: 0 34px 90px rgba(8,13,24,0.10);
}

.ily-product-browser-card {
    display: block;
    overflow: hidden;
    min-height: 360px;
    border-radius: 22px;
    background: #071120;
    border: 1px solid rgba(8,13,24,0.12);
    text-decoration: none;
    color: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.ily-browser-top {
    height: 54px;
    display: grid;
    grid-template-columns: 14px 14px 14px minmax(0, 1fr) 20px;
    gap: 9px;
    align-items: center;
    padding: 0 18px;
    background: #0b1220;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ily-browser-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #273244;
}

.ily-browser-top strong {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    border-radius: 7px;
    background: #070d18;
    border: 1px solid rgba(255,255,255,0.10);
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
}

.ily-browser-top i {
    color: rgba(255,255,255,0.42);
    font-size: 13px;
}

.ily-browser-shot {
    min-height: 306px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.ily-browser-shot::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(7,17,32,0.36));
}

.ily-product-browser-card:hover .ily-browser-shot {
    transform: scale(1.035);
    filter: saturate(1.08) contrast(1.04);
}

.ily-product-info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    padding: 34px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 10%, rgba(196,0,24,0.08), transparent 34%),
        #ffffff;
    border: 1px solid rgba(8,13,24,0.08);
}

.ily-product-tag {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #fff1f3;
    color: #c40018;
    font-size: 12px;
    font-weight: 850;
}

.ily-product-info-card h3 {
    margin: 0 0 14px;
    color: #080d18;
    font-size: clamp(28px, 2vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.ily-product-info-card p {
    margin: 0 0 26px;
    color: #657083;
    font-size: 16px;
    line-height: 1.7;
}

.ily-product-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ily-product-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(8,13,24,0.10);
    color: #101828;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    transition: 0.22s ease;
}

.ily-product-links a:hover {
    background: #c40018;
    border-color: #c40018;
    color: #ffffff;
    transform: translateY(-2px);
}

.ily-product-preview-card-small {
    grid-template-columns: minmax(300px, 0.48fr) minmax(360px, 0.52fr);
}

.ily-product-mini-preview {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 34px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 20% 20%, rgba(196,0,24,0.22), transparent 28%),
        linear-gradient(145deg, #071120, #160a12 52%, #b80018);
    color: #ffffff;
}

.ily-product-mini-preview i {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    font-size: 24px;
}

.ily-product-mini-preview strong {
    color: #ffffff;
    font-size: 24px;
}

.ily-product-preview-card-small .ily-product-info-card {
    min-height: 260px;
}

@media (max-width: 1050px) {
    .ily-product-preview-head,
    .ily-product-preview-card,
    .ily-product-preview-card-small {
        grid-template-columns: 1fr;
    }

    .ily-product-browser-card,
    .ily-product-info-card {
        min-height: auto;
    }

    .ily-browser-shot {
        min-height: 280px;
    }
}

@media (max-width: 760px) {
    .ily-product-preview-section {
        padding: 64px 0;
    }

    .ily-product-preview-container {
        width: min(100% - 28px, 1380px);
    }

    .ily-product-preview-card {
        padding: 12px;
        border-radius: 22px;
    }

    .ily-product-info-card {
        padding: 24px;
    }

    .ily-browser-top strong {
        font-size: 12px;
    }

    .ily-browser-shot {
        min-height: 230px;
    }
}


/* ===== FINAL FIX: Product preview screenshots consistent visibility ===== */
.ily-product-preview-card .ily-browser-shot {
    min-height: 330px !important;
    background-size: cover !important;
    background-position: center top !important;
}

.ily-product-preview-card:nth-child(even) .ily-browser-shot {
    background-position: center top !important;
}

.ily-product-preview-card:hover .ily-browser-shot {
    transform: scale(1.04) !important;
}

@media (max-width: 760px) {
    .ily-product-preview-card .ily-browser-shot {
        min-height: 235px !important;
    }
}


/* ===== FINAL FIX: Services product section should not hide behind sticky navbar ===== */
html body .ily-product-preview-section,
html body #our-products {
    scroll-margin-top: 150px !important;
}

html body .ily-product-preview-section {
    padding-top: 130px !important;
}

/* When coming from dropdown anchor, keep title safely below navbar */
html body .ily-product-preview-head {
    padding-top: 10px !important;
}

/* Services dropdown should stay above content but not affect layout */
.site-header .dropdown-menu,
.site-header .nav-dropdown,
.site-header .dropdown {
    z-index: 10050 !important;
}


/* =========================================================
   DARK PRODUCT GALLERY — WEBSITE PREVIEW GRID
========================================================= */

.ily-product-dark-gallery {
    scroll-margin-top: 150px !important;
    padding: 120px 0 110px !important;
    background:
        radial-gradient(circle at 20% 0%, rgba(196,0,24,0.13), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05), transparent 24%),
        #071120 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ily-product-dark-container {
    width: min(100% - 72px, 1380px);
    margin: 0 auto;
}

.ily-product-dark-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr);
    gap: 64px;
    align-items: end;
    margin-bottom: 38px;
}

.ily-product-dark-head .ily-product-eyebrow {
    color: #ff5b6f !important;
}

.ily-product-dark-head h2 {
    margin: 0;
    max-width: 780px;
    color: #ffffff !important;
    font-size: clamp(40px, 4.4vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.06em;
    font-weight: 650;
}

.ily-product-dark-head p {
    margin: 0;
    color: rgba(255,255,255,0.72) !important;
    font-size: 17px;
    line-height: 1.75;
}

.ily-product-filter-tabs {
    width: fit-content;
    display: flex;
    gap: 8px;
    padding: 8px;
    margin-bottom: 28px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
}

.ily-product-filter-tabs button {
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.72);
    font-weight: 700;
    cursor: pointer;
}

.ily-product-filter-tabs button.is-active,
.ily-product-filter-tabs button:hover {
    background: #ffffff;
    color: #071120;
}

.ily-product-filter-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 34px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
}

.ily-product-filter-row div {
    min-height: 60px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.025);
    border-right: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    font-weight: 700;
}

.ily-product-filter-row div:last-child {
    border-right: 0;
}

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

.ily-site-preview-card {
    overflow: hidden;
    border-radius: 14px;
    background: #0b1220;
    border: 1px solid rgba(255,255,255,0.11);
    box-shadow: 0 22px 60px rgba(0,0,0,0.34);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.ily-site-preview-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255,255,255,0.24);
    box-shadow: 0 34px 86px rgba(0,0,0,0.48);
}

.ily-site-preview-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ily-site-browser-bar {
    height: 50px;
    display: grid;
    grid-template-columns: 9px 9px 9px minmax(0, 1fr) 18px;
    gap: 8px;
    align-items: center;
    padding: 0 14px;
    background: #0f1724;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.ily-site-browser-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2b3648;
}

.ily-site-browser-bar strong {
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    border-radius: 5px;
    background: #070d18;
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    font-size: 15px;
    font-weight: 650;
}

.ily-site-browser-bar i {
    color: rgba(255,255,255,0.32);
    font-size: 13px;
}

.ily-site-shot {
    height: 330px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.38s ease, filter 0.38s ease;
}

.ily-site-shot::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(7,17,32,0.66));
}

.ily-site-preview-card:hover .ily-site-shot {
    transform: scale(1.035);
    filter: saturate(1.08) contrast(1.04);
}

.ily-site-card-info {
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(11,18,32,0.96), #071120);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.ily-site-card-info span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(196,0,24,0.18);
    color: #ff6677;
    font-size: 11px;
    font-weight: 850;
}

.ily-site-card-info h3 {
    margin: 0 0 8px;
    color: #ffffff !important;
    font-size: 22px;
    line-height: 1.15;
}

.ily-site-card-info p {
    margin: 0 0 16px;
    color: rgba(255,255,255,0.72) !important;
    font-size: 14px;
    line-height: 1.55;
}

.ily-site-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ily-site-card-links a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
}

.ily-site-card-links a:hover {
    background: #c40018;
    border-color: #c40018;
}

@media (max-width: 1180px) {
    .ily-product-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ily-product-dark-head {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ily-product-filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .ily-product-dark-gallery {
        padding: 86px 0 72px !important;
    }

    .ily-product-dark-container {
        width: min(100% - 28px, 1380px);
    }

    .ily-product-gallery-grid,
    .ily-product-filter-row {
        grid-template-columns: 1fr;
    }

    .ily-product-filter-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .ily-product-filter-tabs button {
        white-space: nowrap;
    }

    .ily-site-shot {
        height: 250px;
    }
}


/* =========================================================
   FORCE FINAL PRODUCT SHOWCASE DARK GALLERY
========================================================= */

html body .ily-product-dark-gallery {
    scroll-margin-top: 150px !important;
    padding: 120px 0 110px !important;
    background:
        radial-gradient(circle at 18% 0%, rgba(196,0,24,0.12), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(255,255,255,0.05), transparent 26%),
        #071120 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

html body .ily-product-dark-container {
    width: min(100% - 72px, 1380px) !important;
    margin: 0 auto !important;
}

html body .ily-product-dark-head {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr) !important;
    gap: 64px !important;
    align-items: end !important;
    margin-bottom: 38px !important;
}

html body .ily-product-dark-head .ily-product-eyebrow {
    margin: 0 0 14px !important;
    color: #ff5b6f !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
}

html body .ily-product-dark-head h2 {
    margin: 0 !important;
    max-width: 780px !important;
    color: #ffffff !important;
    font-size: clamp(40px, 4.4vw, 68px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.06em !important;
    font-weight: 650 !important;
}

html body .ily-product-dark-head p {
    margin: 0 !important;
    color: rgba(255,255,255,0.72) !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
}

html body .ily-product-filter-tabs {
    width: fit-content !important;
    display: flex !important;
    gap: 8px !important;
    padding: 8px !important;
    margin-bottom: 28px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
}

html body .ily-product-filter-tabs button {
    height: 38px !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(255,255,255,0.72) !important;
    font-weight: 700 !important;
}

html body .ily-product-filter-tabs button.is-active,
html body .ily-product-filter-tabs button:hover {
    background: #ffffff !important;
    color: #071120 !important;
}

html body .ily-product-filter-row {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    margin-bottom: 34px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
}

html body .ily-product-filter-row div {
    min-height: 60px !important;
    padding: 0 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(255,255,255,0.025) !important;
    border-right: 1px solid rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

html body .ily-product-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
}

html body .ily-site-preview-card {
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #0b1220 !important;
    border: 1px solid rgba(255,255,255,0.11) !important;
    box-shadow: 0 22px 60px rgba(0,0,0,0.34) !important;
    transition: 0.28s ease !important;
}

html body .ily-site-preview-card:hover {
    transform: translateY(-7px) !important;
    border-color: rgba(255,255,255,0.24) !important;
    box-shadow: 0 34px 86px rgba(0,0,0,0.48) !important;
}

html body .ily-site-preview-link {
    display: block !important;
    color: inherit !important;
    text-decoration: none !important;
}

html body .ily-site-browser-bar {
    height: 50px !important;
    display: grid !important;
    grid-template-columns: 9px 9px 9px minmax(0, 1fr) 18px !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 0 14px !important;
    background: #0f1724 !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

html body .ily-site-browser-bar span {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #2b3648 !important;
}

html body .ily-site-browser-bar strong {
    height: 31px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 8px !important;
    border-radius: 5px !important;
    background: #070d18 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 650 !important;
}

html body .ily-site-browser-bar i {
    color: rgba(255,255,255,0.32) !important;
    font-size: 13px !important;
}

html body .ily-site-shot {
    height: 330px !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    transition: 0.38s ease !important;
}

html body .ily-site-shot::after {
    content: "" !important;
    position: absolute !important;
    inset: auto 0 0 !important;
    height: 34% !important;
    background: linear-gradient(180deg, transparent, rgba(7,17,32,0.66)) !important;
}

html body .ily-site-preview-card:hover .ily-site-shot {
    transform: scale(1.035) !important;
    filter: saturate(1.08) contrast(1.04) !important;
}

html body .ily-site-card-info {
    padding: 22px !important;
    background: linear-gradient(180deg, rgba(11,18,32,0.96), #071120) !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}

html body .ily-site-card-info span {
    display: inline-flex !important;
    width: fit-content !important;
    margin-bottom: 10px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: rgba(196,0,24,0.18) !important;
    color: #ff6677 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

html body .ily-site-card-info h3 {
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
}

html body .ily-site-card-info p {
    margin: 0 0 16px !important;
    color: rgba(255,255,255,0.72) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

html body .ily-site-card-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

html body .ily-site-card-links a {
    min-height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

html body .ily-site-card-links a:hover {
    background: #c40018 !important;
    border-color: #c40018 !important;
}

@media (max-width: 1180px) {
    html body .ily-product-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body .ily-product-dark-head {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    html body .ily-product-filter-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 760px) {
    html body .ily-product-dark-gallery {
        padding: 86px 0 72px !important;
    }

    html body .ily-product-dark-container {
        width: min(100% - 28px, 1380px) !important;
    }

    html body .ily-product-gallery-grid,
    html body .ily-product-filter-row {
        grid-template-columns: 1fr !important;
    }

    html body .ily-product-filter-tabs {
        width: 100% !important;
        overflow-x: auto !important;
    }

    html body .ily-product-filter-tabs button {
        white-space: nowrap !important;
    }

    html body .ily-site-shot {
        height: 250px !important;
    }
}


/* =========================================================
   FINAL FIX: Services product showcase back to light iLytix theme
   Keep only browser-preview card style, not dark reference theme
========================================================= */

html body .ily-product-dark-gallery {
    scroll-margin-top: 150px !important;
    padding: 110px 0 100px !important;
    background:
        radial-gradient(circle at 10% 8%, rgba(196,0,24,0.08), transparent 32%),
        linear-gradient(180deg, #fff7f8 0%, #ffffff 48%, #ffffff 100%) !important;
    color: #080d18 !important;
    border-top: 1px solid rgba(8,13,24,0.06) !important;
    border-bottom: 1px solid rgba(8,13,24,0.06) !important;
}

html body .ily-product-dark-container {
    width: min(100% - 72px, 1380px) !important;
    margin: 0 auto !important;
}

html body .ily-product-dark-head {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr) !important;
    gap: 64px !important;
    align-items: end !important;
    margin-bottom: 38px !important;
}

html body .ily-product-dark-head .ily-product-eyebrow {
    margin: 0 0 14px !important;
    color: #c40018 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
}

html body .ily-product-dark-head h2 {
    margin: 0 !important;
    max-width: 780px !important;
    color: #080d18 !important;
    font-size: clamp(38px, 4vw, 62px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.055em !important;
    font-weight: 650 !important;
}

html body .ily-product-dark-head p {
    margin: 0 !important;
    color: #657083 !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
}

/* Light tabs, matching site theme */
html body .ily-product-filter-tabs {
    width: fit-content !important;
    display: flex !important;
    gap: 8px !important;
    padding: 8px !important;
    margin-bottom: 28px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.84) !important;
    border: 1px solid rgba(8,13,24,0.08) !important;
    box-shadow: 0 18px 44px rgba(8,13,24,0.06) !important;
}

html body .ily-product-filter-tabs button {
    height: 38px !important;
    padding: 0 16px !important;
    border-radius: 11px !important;
    border: 0 !important;
    background: transparent !important;
    color: #344054 !important;
    font-weight: 750 !important;
}

html body .ily-product-filter-tabs button.is-active,
html body .ily-product-filter-tabs button:hover {
    background: #c40018 !important;
    color: #ffffff !important;
}

/* Light filter row */
html body .ily-product-filter-row {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    margin-bottom: 34px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid rgba(8,13,24,0.08) !important;
    box-shadow: 0 18px 48px rgba(8,13,24,0.055) !important;
}

html body .ily-product-filter-row div {
    min-height: 60px !important;
    padding: 0 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border-right: 1px solid rgba(8,13,24,0.08) !important;
    color: #101828 !important;
    font-weight: 750 !important;
}

html body .ily-product-filter-row div:last-child {
    border-right: 0 !important;
}

/* Preview cards like reference, but in iLytix light section */
html body .ily-product-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
}

html body .ily-site-preview-card {
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(8,13,24,0.09) !important;
    box-shadow: 0 24px 70px rgba(8,13,24,0.08) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

html body .ily-site-preview-card:hover {
    transform: translateY(-7px) !important;
    border-color: rgba(196,0,24,0.24) !important;
    box-shadow: 0 34px 90px rgba(8,13,24,0.13) !important;
}

html body .ily-site-preview-link {
    display: block !important;
    color: inherit !important;
    text-decoration: none !important;
}

/* Keep browser preview top dark only */
html body .ily-site-browser-bar {
    height: 50px !important;
    display: grid !important;
    grid-template-columns: 9px 9px 9px minmax(0, 1fr) 18px !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 0 14px !important;
    background: #071120 !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

html body .ily-site-browser-bar span {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #2b3648 !important;
}

html body .ily-site-browser-bar strong {
    height: 31px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 8px !important;
    border-radius: 6px !important;
    background: #0b1220 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 650 !important;
}

html body .ily-site-browser-bar i {
    color: rgba(255,255,255,0.42) !important;
    font-size: 13px !important;
}

html body .ily-site-shot {
    height: 330px !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    transition: transform 0.38s ease, filter 0.38s ease !important;
}

html body .ily-site-shot::after {
    content: "" !important;
    position: absolute !important;
    inset: auto 0 0 !important;
    height: 24% !important;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.82)) !important;
}

html body .ily-site-preview-card:hover .ily-site-shot {
    transform: scale(1.035) !important;
    filter: saturate(1.08) contrast(1.04) !important;
}

/* Product info should be light, not dark */
html body .ily-site-card-info {
    padding: 22px !important;
    background:
        radial-gradient(circle at 92% 8%, rgba(196,0,24,0.07), transparent 34%),
        #ffffff !important;
    border-top: 1px solid rgba(8,13,24,0.08) !important;
}

html body .ily-site-card-info span {
    display: inline-flex !important;
    width: fit-content !important;
    margin-bottom: 10px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: #fff1f3 !important;
    color: #c40018 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

html body .ily-site-card-info h3 {
    margin: 0 0 8px !important;
    color: #080d18 !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
}

html body .ily-site-card-info p {
    margin: 0 0 16px !important;
    color: #657083 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

html body .ily-site-card-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

html body .ily-site-card-links a {
    min-height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid rgba(8,13,24,0.10) !important;
    color: #101828 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

html body .ily-site-card-links a:hover {
    background: #c40018 !important;
    border-color: #c40018 !important;
    color: #ffffff !important;
}

@media (max-width: 1180px) {
    html body .ily-product-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body .ily-product-dark-head {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    html body .ily-product-filter-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 760px) {
    html body .ily-product-dark-gallery {
        padding: 86px 0 72px !important;
    }

    html body .ily-product-dark-container {
        width: min(100% - 28px, 1380px) !important;
    }

    html body .ily-product-gallery-grid,
    html body .ily-product-filter-row {
        grid-template-columns: 1fr !important;
    }

    html body .ily-product-filter-tabs {
        width: 100% !important;
        overflow-x: auto !important;
    }

    html body .ily-product-filter-tabs button {
        white-space: nowrap !important;
    }

    html body .ily-site-shot {
        height: 250px !important;
    }
}


/* ===== FINAL FIX: Remove product showcase tabs and filter row ===== */
html body .ily-product-filter-tabs,
html body .ily-product-filter-row {
    display: none !important;
}

/* Reduce extra gap after removing filters */
html body .ily-product-dark-head {
    margin-bottom: 42px !important;
}

html body .ily-product-gallery-grid {
    margin-top: 0 !important;
}


/* ===== FINAL FIX: Services dropdown anchor navigation ===== */
html {
    scroll-behavior: smooth !important;
}

html body #custom-software,
html body #ai-solutions,
html body #web-development,
html body #mobile-development,
html body #cloud-devops,
html body #data-engineering,
html body #resource-augmentation,
html body #technology-consulting,
html body .service-scroll-anchor {
    scroll-margin-top: 155px !important;
}

.service-scroll-anchor {
    display: block !important;
    height: 1px !important;
    visibility: hidden !important;
}


/* FINAL FIX: service anchor offset below sticky header */
.service-anchor-point,
#custom-software,
#ai-solutions,
#web-development,
#mobile-development,
#cloud-devops,
#data-engineering,
#resource-augmentation,
#technology-consulting {
    scroll-margin-top: 165px !important;
}

.service-anchor-point {
    display: block !important;
    height: 1px !important;
    visibility: hidden !important;
}

/* Services product website previews */
html body .ily-site-shot {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    display: grid !important;
    place-items: start center !important;
    overflow: hidden !important;
    background: #f4f6f8 !important;
}

html body .ily-site-shot::after {
    display: none !important;
}

html body .ily-site-shot img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: top center !important;
}

html body .ily-site-preview-card:hover .ily-site-shot {
    transform: none !important;
    filter: none !important;
}

/* Dedicated service landing sections */
body.inner-page .services-hub-page .svc-detail-section {
    padding: 96px 0;
    scroll-margin-top: 128px;
    border-top: 1px solid rgba(8, 13, 24, 0.07);
    background: #ffffff;
}

body.inner-page .services-hub-page .svc-detail-section-soft {
    background: linear-gradient(135deg, #fff8f9 0%, #ffffff 56%, #f7faff 100%);
}

body.inner-page .svc-detail-container {
    width: min(100% - 72px, 1280px);
    margin: 0 auto;
}

body.inner-page .svc-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
    gap: clamp(38px, 6vw, 94px);
    align-items: center;
}

body.inner-page .svc-detail-layout-reverse .svc-detail-copy { order: 2; }
body.inner-page .svc-detail-layout-reverse > :last-child { order: 1; }

body.inner-page .svc-detail-eyebrow {
    margin: 0 0 14px;
    color: #c40018;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

body.inner-page .svc-detail-copy h2 {
    max-width: 720px;
    margin: 0 0 18px;
    color: #080d18;
    font-size: clamp(38px, 4vw, 60px);
    line-height: 1.04;
    letter-spacing: -.05em;
}

body.inner-page .svc-detail-copy > p:not(.svc-detail-eyebrow) {
    max-width: 670px;
    margin: 0 0 26px;
    color: #5d6778;
    font-size: 17px;
    line-height: 1.72;
}

body.inner-page .svc-detail-copy h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 15px;
}

body.inner-page .svc-detail-copy ul {
    display: grid;
    gap: 9px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

body.inner-page .svc-detail-copy li {
    position: relative;
    padding-left: 23px;
    color: #445064;
    line-height: 1.55;
}

body.inner-page .svc-detail-copy li::before {
    content: "";
    position: absolute;
    top: .52em;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c40018;
    box-shadow: 0 0 0 5px rgba(196, 0, 24, .08);
}

body.inner-page .svc-detail-meta,
body.inner-page .svc-detail-panel > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.inner-page .svc-detail-meta { margin: 0 0 28px; }

body.inner-page .svc-detail-meta span,
body.inner-page .svc-detail-panel > div span {
    padding: 8px 11px;
    border: 1px solid rgba(8, 13, 24, .10);
    border-radius: 999px;
    background: #ffffff;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

body.inner-page .svc-detail-cta {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    padding: 0 22px;
    border-radius: 14px;
    background: #a90a1a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(169, 10, 26, .18);
    transition: transform .2s ease, background .2s ease;
}

body.inner-page .svc-detail-cta:hover { color: #ffffff; background: #850715; transform: translateY(-2px); }

body.inner-page .svc-detail-panel,
body.inner-page .svc-detail-work {
    margin: 0;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(8, 13, 24, .09);
    border-radius: 24px;
    background: #f7f9fc;
    box-shadow: 0 22px 54px rgba(8, 13, 24, .07);
}

body.inner-page .svc-detail-illustration {
    position: relative;
    height: 128px;
    margin: -12px 0 28px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #edf4ff, #fdfdff);
}

body.inner-page .svc-detail-illustration i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: #254c78;
    box-shadow: 0 12px 24px rgba(37, 76, 120, .22);
    font-size: 23px;
    transform: translate(-50%, -50%);
}

body.inner-page .svc-detail-illustration span {
    position: absolute;
    width: 56px;
    height: 34px;
    border: 1px solid rgba(37, 76, 120, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .88);
}

body.inner-page .svc-detail-illustration span:nth-of-type(1) { top: 22px; left: 28px; }
body.inner-page .svc-detail-illustration span:nth-of-type(2) { right: 30px; bottom: 22px; }
body.inner-page .svc-detail-illustration span:nth-of-type(3) { top: 34px; right: 70px; width: 34px; height: 22px; }
body.inner-page .svc-detail-illustration-ai { background: radial-gradient(circle at 50% 50%, #ffd9df, #fff7f8 58%, #ffffff); }
body.inner-page .svc-detail-illustration-ai i, body.inner-page .svc-detail-illustration-team i { background: #c40018; }
body.inner-page .svc-detail-illustration-mobile { background: linear-gradient(135deg, #eff2ff, #fdfdff); }
body.inner-page .svc-detail-illustration-mobile i { border-radius: 12px; background: #5546b9; }
body.inner-page .svc-detail-illustration-cloud { background: linear-gradient(135deg, #122137, #274e76); }
body.inner-page .svc-detail-illustration-cloud i { background: #45a3df; }
body.inner-page .svc-detail-illustration-cloud span { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.12); }
body.inner-page .svc-detail-illustration-data { background: linear-gradient(135deg, #edf9f4, #ffffff); }
body.inner-page .svc-detail-illustration-data i { background: #148664; }
body.inner-page .svc-detail-illustration-team { background: linear-gradient(135deg, #fff0f2, #fffaf6); }
body.inner-page .svc-detail-illustration-consulting { background: linear-gradient(135deg, #f3f0ff, #ffffff); }
body.inner-page .svc-detail-illustration-consulting i { background: #6e4cb5; }

/* Compact product-style preview UIs inside service visual cards. */
body.inner-page .svc-detail-illustration > div {
    position: absolute;
    box-sizing: border-box;
    color: #334155;
    font-family: inherit;
}

body.inner-page .svc-mini-window,
body.inner-page .svc-mini-chart,
body.inner-page .svc-mini-chat,
body.inner-page .svc-mini-team,
body.inner-page .svc-mini-roadmap {
    inset: 16px 24px;
    padding: 13px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

body.inner-page .svc-detail-illustration b { display: block; margin-bottom: 10px; color: #172033; font-size: 10px; font-weight: 800; }
body.inner-page .svc-mini-window span { display: inline-block; width: 31%; height: 42px; margin-right: 2%; border-radius: 6px; background: #e8eef7; }
body.inner-page .svc-mini-window span:nth-of-type(2) { background: #fce7eb; }
body.inner-page .svc-mini-window em { display: block; width: 58%; height: 7px; margin-top: 10px; border-radius: 99px; background: #b7c7da; }

body.inner-page .svc-mini-chat { padding: 12px 18px; }
body.inner-page .svc-mini-chat span { display: block; width: 68%; margin: 7px 0; padding: 7px 9px; border-radius: 8px; background: #f1f4f8; font-size: 9px; }
body.inner-page .svc-mini-chat span:nth-of-type(2) { width: 78%; margin-left: auto; background: #ffe2e7; color: #a20a1a; }
body.inner-page .svc-mini-chat em { position: absolute; top: 24px; right: 18px; width: 22px; height: 22px; border-radius: 50%; background: #c40018; box-shadow: 0 0 0 7px rgba(196,0,24,.10); }

body.inner-page .svc-detail-illustration-mobile { display: flex; align-items: end; justify-content: center; gap: 12px; }
body.inner-page .svc-mini-phone { position: relative; width: 48px; height: 90px; padding: 9px 6px; border: 3px solid #283553; border-radius: 12px; background: #ffffff; box-shadow: 0 8px 16px rgba(40, 53, 83, .16); }
body.inner-page .svc-mini-phone:nth-child(2) { height: 104px; }
body.inner-page .svc-mini-phone b { width: 18px; height: 3px; margin: 0 auto 9px; border-radius: 99px; background: #cbd5e1; }
body.inner-page .svc-mini-phone span { display: block; height: 35px; border-radius: 5px; background: #e8edff; }
body.inner-page .svc-mini-phone:nth-child(2) span { background: #ffe4e8; }
body.inner-page .svc-mini-phone em { display: block; width: 65%; height: 5px; margin: 7px auto 0; border-radius: 99px; background: #b4c0d1; }

body.inner-page .svc-mini-pipeline { inset: 36px 18px; display: flex; align-items: center; justify-content: center; gap: 7px; }
body.inner-page .svc-mini-pipeline b { width: 48px; margin: 0; padding: 9px 2px; border-radius: 7px; background: rgba(255,255,255,.14); color: #ffffff; text-align: center; font-size: 9px; }
body.inner-page .svc-mini-pipeline i { position: static; display: block; width: 15px; height: 2px; border-radius: 0; background: #75c7f3; box-shadow: none; transform: none; }
body.inner-page .svc-mini-pipeline em { position: absolute; right: 26px; bottom: -18px; width: 56px; height: 4px; border-radius: 99px; background: #45a3df; }

body.inner-page .svc-mini-chart span { display: inline-block; width: 14%; margin: 18px 4% 0 0; border-radius: 4px 4px 0 0; background: #8bd2bd; vertical-align: bottom; }
body.inner-page .svc-mini-chart span:nth-of-type(1) { height: 26px; } body.inner-page .svc-mini-chart span:nth-of-type(2) { height: 46px; background: #4aab8a; } body.inner-page .svc-mini-chart span:nth-of-type(3) { height: 62px; background: #168665; }
body.inner-page .svc-mini-chart em { position: absolute; top: 42px; right: 16px; width: 46%; height: 2px; background: #c40018; transform: rotate(-18deg); }

body.inner-page .svc-mini-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; text-align: center; }
body.inner-page .svc-mini-team b { grid-column: span 4; margin: 0; text-align: left; }
body.inner-page .svc-mini-team span { display: grid; height: 29px; place-items: center; border-radius: 50%; background: #ffe4e8; color: #b10b1b; font-size: 9px; font-weight: 800; }
body.inner-page .svc-mini-team em { grid-column: span 4; height: 5px; border-radius: 99px; background: #e7b1ba; }

body.inner-page .svc-mini-roadmap { display: flex; flex-wrap: wrap; align-content: center; gap: 9px; }
body.inner-page .svc-mini-roadmap b { width: 100%; margin: 0 0 3px; }
body.inner-page .svc-mini-roadmap span { padding: 7px 8px; border-radius: 6px; background: #eee9ff; color: #5d43a4; font-size: 9px; font-weight: 700; }
body.inner-page .svc-mini-roadmap span:nth-of-type(2) { background: #ffe6ea; color: #ad1628; } body.inner-page .svc-mini-roadmap span:nth-of-type(3) { background: #e5f4eb; color: #287858; }
body.inner-page .svc-mini-roadmap em { width: 100%; height: 4px; border-radius: 99px; background: #d8cfef; }

/* Strengthen the preview content so each visual reads as a real compact product UI. */
body.inner-page .svc-detail-illustration b { font-size: 11px !important; }
body.inner-page .svc-mini-window span { width: 31% !important; height: 42px !important; margin-right: 2% !important; padding: 0 !important; border: 0 !important; border-radius: 6px !important; background: #e8eef7 !important; }
body.inner-page .svc-mini-window span::after { content: ""; display: block; width: 55%; height: 5px; margin: 10px 8px; border-radius: 99px; background: #9ab1cc; }
body.inner-page .svc-mini-window span:nth-of-type(2)::after { background: #df91a1; }
body.inner-page .svc-mini-chat span { display: block !important; height: auto !important; padding: 7px 9px !important; border: 0 !important; border-radius: 8px !important; background: #f1f4f8 !important; color: #334155 !important; font-size: 9px !important; }
body.inner-page .svc-mini-chat span:nth-of-type(2) { background: #ffe2e7 !important; color: #a20a1a !important; }
body.inner-page .svc-mini-phone span { display: block !important; width: auto !important; height: 35px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 5px !important; background: #e8edff !important; }
body.inner-page .svc-mini-phone span::after { content: ""; display: block; width: 60%; height: 4px; margin: 8px auto; border-radius: 99px; background: #8898c2; }
body.inner-page .svc-mini-chart span { width: 14% !important; margin: 18px 4% 0 0 !important; padding: 0 !important; border: 0 !important; background: #8bd2bd !important; }
body.inner-page .svc-mini-team span { display: grid !important; width: auto !important; height: 29px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #ffe4e8 !important; color: #b10b1b !important; }
body.inner-page .svc-mini-roadmap span { display: inline-block !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 7px 8px !important; border: 0 !important; border-radius: 6px !important; background: #eee9ff !important; color: #5d43a4 !important; }
body.inner-page .svc-mini-roadmap span:nth-of-type(2) { background: #ffe6ea !important; color: #ad1628 !important; }
body.inner-page .svc-mini-roadmap span:nth-of-type(3) { background: #e5f4eb !important; color: #287858 !important; }

body.inner-page .svc-detail-panel strong { display: block; margin-bottom: 14px; color: #080d18; font-size: 20px; }
body.inner-page .svc-detail-panel p { margin: 0 0 24px; color: #5d6778; font-size: 16px; line-height: 1.7; }
body.inner-page .svc-detail-panel-red { background: linear-gradient(145deg, #fff1f3, #ffffff); }
body.inner-page .svc-detail-panel-dark { background: linear-gradient(145deg, #101827, #47101a); }
body.inner-page .svc-detail-panel-dark strong,
body.inner-page .svc-detail-panel-dark p { color: #ffffff; }
body.inner-page .svc-detail-panel-dark > div span { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #ffffff; }

body.inner-page .svc-detail-work { padding: 12px; background: #ffffff; }
body.inner-page .svc-detail-work img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; object-position: top center; background: #f5f7fa; border-radius: 16px; }
body.inner-page .svc-detail-work figcaption { padding: 16px 10px 4px; color: #5d6778; font-size: 13px; line-height: 1.5; }

body.inner-page .svc-detail-reference {
    position: relative;
    margin: -12px 0 26px;
    padding: 30px 35px 12px;
    overflow: hidden;
    border: 1px solid rgba(8, 13, 24, .11);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f1f5fa);
    box-shadow: 0 18px 34px rgba(8, 13, 24, .10), inset 0 1px rgba(255,255,255,.8);
}

body.inner-page .svc-detail-reference::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d5dce7;
    box-shadow: 10px 0 #d5dce7, 20px 0 #d5dce7;
}

body.inner-page .svc-detail-reference::after {
    content: "PROJECT REFERENCE";
    position: absolute;
    top: 8px;
    right: 12px;
    color: #8190a4;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}

body.inner-page .svc-detail-reference img {
    display: block;
    width: 100%;
    height: 148px;
    object-fit: contain;
    object-position: top center;
    background: linear-gradient(135deg, #f9fbfd, #edf2f7);
    border: 1px solid rgba(8,13,24,.06);
    border-radius: 10px;
}

body.inner-page .svc-detail-reference figcaption {
    padding: 10px 4px 1px;
    color: #526178;
    font-size: 10px;
    font-weight: 700;
}

body.inner-page .svc-detail-panel-dark .svc-detail-reference { background: rgba(255,255,255,.96); }
body.inner-page #ai-solutions .svc-detail-reference { background: linear-gradient(135deg, #fff8f9, #f4f0ff); }
body.inner-page #mobile-development .svc-detail-reference { background: linear-gradient(135deg, #f3f5ff, #eef9ff); }
body.inner-page #cloud-devops .svc-detail-reference { background: linear-gradient(135deg, #ffffff, #edf5ff); }
body.inner-page #data-engineering .svc-detail-reference { background: linear-gradient(135deg, #f0fbf6, #edf7ff); }
body.inner-page #resource-augmentation .svc-detail-reference { background: linear-gradient(135deg, #fff4f5, #fffaf7); }
body.inner-page #technology-consulting .svc-detail-reference { background: linear-gradient(135deg, #f5f2ff, #f8fbff); }

body.inner-page .svc-detail-work {
    position: relative;
    padding: 30px 12px 12px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(8, 13, 24, .10);
}

body.inner-page .svc-detail-work::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d5dce7;
    box-shadow: 10px 0 #d5dce7, 20px 0 #d5dce7;
}

html body .site-footer .footer-contact-item svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: none !important;
}

@media (max-width: 900px) {
    body.inner-page .services-hub-page .svc-detail-section { padding: 70px 0; }
    body.inner-page .svc-detail-container { width: min(100% - 40px, 1280px); }
    body.inner-page .svc-detail-layout { grid-template-columns: 1fr; gap: 30px; }
    body.inner-page .svc-detail-layout-reverse .svc-detail-copy,
    body.inner-page .svc-detail-layout-reverse > :last-child { order: initial; }
}

@media (max-width: 560px) {
    body.inner-page .services-hub-page .svc-detail-section { padding: 58px 0; }
    body.inner-page .svc-detail-container { width: calc(100% - 28px); }
    body.inner-page .svc-detail-copy h2 { font-size: 38px; }
    body.inner-page .svc-detail-copy > p:not(.svc-detail-eyebrow) { font-size: 15px; }
    body.inner-page .svc-detail-panel { padding: 26px; border-radius: 18px; }
    body.inner-page .svc-detail-cta { display: flex; width: 100%; justify-content: center; }
}
