:root {
    --csmx-ink: #071a33;
    --csmx-muted: #5d6d7e;
    --csmx-line: #dbe6f1;
    --csmx-blue: #006ee6;
    --csmx-cyan: #00c8f4;
    --csmx-navy: #061b36;
    --csmx-amber: #ff9f1c;
    --csmx-surface: #f4f8fc;
    --csmx-white: #ffffff;
    --csmx-shadow: 0 22px 60px rgba(5, 35, 73, .11);
}

/* Font Awesome is declared by the parent stylesheet; do not redeclare it here. */

.csmx-corporate-site .container-fluid.container-header,
.csmx-corporate-site .navbar {
    border-bottom-color: rgba(16, 71, 127, .08);
}

/* Keep the global header and footer aligned with the 1180px corporate grid.
 * Zibll defaults these two containers to main width + 180px (1380px). */
.container-fluid.container-header,
.container-fluid.container-footer {
    max-width: 1180px;
}

.csmx-main {
    overflow: hidden;
    color: var(--csmx-ink);
    background: var(--csmx-white);
}

.csmx-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.csmx-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 28%, rgba(0, 200, 244, .17), transparent 28%),
        radial-gradient(circle at 5% 90%, rgba(0, 110, 230, .1), transparent 30%),
        linear-gradient(145deg, #f8fbff 0%, #eef7ff 52%, #ffffff 100%);
}

.csmx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 75, 150, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 75, 150, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    pointer-events: none;
}

.csmx-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 64px;
    padding: 86px 0 96px;
}

.csmx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--csmx-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.csmx-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--csmx-blue), var(--csmx-cyan));
}

.csmx-hero h1,
.csmx-section h2,
.csmx-page-hero h1,
.csmx-cta h2 {
    margin: 0;
    color: var(--csmx-ink);
    font-weight: 800;
    letter-spacing: -.04em;
}

.csmx-hero h1 {
    max-width: 720px;
    font-size: clamp(46px, 5.3vw, 76px);
    line-height: 1.02;
}

.csmx-hero-copy > p {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--csmx-muted);
    font-size: 18px;
    line-height: 1.8;
}

.csmx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.csmx-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.csmx-button:hover {
    transform: translateY(-2px);
}

.csmx-button-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--csmx-blue), #0356bb);
    box-shadow: 0 12px 30px rgba(0, 92, 200, .25);
}

.csmx-button-ghost {
    color: var(--csmx-ink) !important;
    border-color: #b8cbe0;
    background: rgba(255, 255, 255, .68);
}

.csmx-contact-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    color: #6b7f94;
    font-size: 13px;
}

.csmx-contact-line a { color: inherit; }

.csmx-hero-mark {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.csmx-hero-mark img {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    height: auto;
    filter: drop-shadow(0 24px 26px rgba(0, 55, 120, .22));
}

.csmx-mark-halo {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(0, 110, 230, .22);
    border-radius: 50%;
    box-shadow: inset 0 0 80px rgba(0, 200, 244, .08);
}

.csmx-mark-halo::before,
.csmx-mark-halo::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(0, 110, 230, .12);
    border-radius: 50%;
}

.csmx-mark-halo::before { inset: 40px; }
.csmx-mark-halo::after { inset: 95px; }

.csmx-signal-card {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 32px;
    width: 235px;
    padding: 17px 20px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 12px;
    background: rgba(255, 255, 255, .84);
    box-shadow: var(--csmx-shadow);
    backdrop-filter: blur(14px);
}

.csmx-signal-card span,
.csmx-signal-card strong { display: block; }
.csmx-signal-card span { color: var(--csmx-blue); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.csmx-signal-card strong { margin-top: 5px; font-size: 14px; }

.csmx-orbit { position: absolute; border: 1px solid rgba(0, 110, 230, .1); border-radius: 50%; }
.csmx-orbit-one { width: 620px; height: 620px; right: -310px; top: -180px; }
.csmx-orbit-two { width: 360px; height: 360px; left: -220px; bottom: -150px; }

.csmx-section { padding: 104px 0; }
.csmx-products { background: #fff; }

.csmx-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 44px;
    margin-bottom: 46px;
}

.csmx-section h2,
.csmx-cta h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }

.csmx-section-heading > p {
    width: min(420px, 100%);
    margin: 0;
    color: var(--csmx-muted);
    line-height: 1.75;
}

.csmx-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.csmx-product-card {
    position: relative;
    min-height: 290px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--csmx-line);
    border-radius: 13px;
    color: var(--csmx-ink) !important;
    background: linear-gradient(155deg, #fff, #f6faff);
    text-decoration: none !important;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.csmx-product-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -55px;
    bottom: -60px;
    border: 20px solid rgba(0, 110, 230, .06);
    border-radius: 50%;
}

.csmx-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 110, 230, .38);
    box-shadow: 0 20px 45px rgba(5, 35, 73, .1);
}

.csmx-product-code {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(145deg, var(--csmx-blue), var(--csmx-cyan));
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.csmx-product-card h3 { margin: 28px 0 11px; font-size: 22px; }
.csmx-product-card p { margin: 0; color: var(--csmx-muted); line-height: 1.7; }
.csmx-card-link { position: absolute; left: 30px; bottom: 25px; color: var(--csmx-blue); font-size: 13px; font-weight: 800; }

.csmx-process {
    color: #fff;
    background: var(--csmx-navy);
}

.csmx-process-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 86px;
    align-items: center;
}

.csmx-process h2 { color: #fff; }
.csmx-process .csmx-eyebrow { color: #8ceaff; }
.csmx-process .csmx-eyebrow::before { background: #8ceaff; }
.csmx-process-copy > p { margin: 24px 0; color: #a9bdd2; font-size: 16px; line-height: 1.8; }
.csmx-text-link { color: #63ddff !important; font-weight: 800; }

.csmx-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .13); }
.csmx-steps li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.csmx-steps li > span { color: var(--csmx-cyan); font-family: monospace; font-size: 13px; }
.csmx-steps strong { color: #fff; font-size: 17px; }
.csmx-steps p { margin: 4px 0 0; color: #91a8bf; }

.csmx-applications { background: var(--csmx-surface); }
.csmx-application-row { display: flex; flex-wrap: wrap; gap: 12px; }
.csmx-application-row span { padding: 14px 18px; border: 1px solid #cbdbea; border-radius: 6px; color: #274866; background: #fff; font-weight: 700; }

.csmx-cta { padding: 72px 0; color: #fff; background: linear-gradient(120deg, #006ee6, #00469b 70%, #052d58); }
.csmx-cta .csmx-eyebrow { color: #8ceaff; }
.csmx-cta .csmx-eyebrow::before { background: #8ceaff; }
.csmx-cta h2 { color: #fff; }
.csmx-cta p { max-width: 720px; margin: 16px 0 0; color: #d7eaff; }
.csmx-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.csmx-button-light { flex: 0 0 auto; color: var(--csmx-blue) !important; background: #fff; }

.csmx-page-hero { padding: 94px 0 82px; background: linear-gradient(140deg, #eff7ff, #fff); border-bottom: 1px solid var(--csmx-line); }
.csmx-page-hero h1 { max-width: 900px; font-size: clamp(42px, 5vw, 68px); }
.csmx-page-hero p { max-width: 720px; margin: 20px 0 0; color: var(--csmx-muted); font-size: 18px; line-height: 1.75; }
.csmx-page-content { padding-top: 76px; padding-bottom: 92px; font-size: 16px; line-height: 1.8; }
.csmx-page-content h2 { margin: 54px 0 18px; color: var(--csmx-ink); font-size: 34px; letter-spacing: -.025em; }
.csmx-page-content h3 { margin: 35px 0 12px; color: var(--csmx-ink); font-size: 23px; }
.csmx-page-content p { color: #4e6276; }
.csmx-page-content ul { display: grid; gap: 12px; padding-left: 20px; color: #4e6276; }
.csmx-page-content .csmx-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0; }
.csmx-page-content .csmx-info-card { padding: 26px; border: 1px solid var(--csmx-line); border-radius: 12px; background: #f8fbff; }
.csmx-page-content .csmx-info-card h3 { margin-top: 0; }
.csmx-page-content .csmx-spec-table { width: 100%; margin: 28px 0; border-collapse: collapse; }
.csmx-page-content .csmx-spec-table th,
.csmx-page-content .csmx-spec-table td { padding: 15px 16px; border-bottom: 1px solid var(--csmx-line); text-align: left; }
.csmx-page-content .csmx-spec-table th { color: var(--csmx-ink); background: #f2f7fc; }
.csmx-page-cta { margin-top: 0; }

.csmx-feature-figure {
    margin: 0 0 46px;
    overflow: hidden;
    border: 1px solid var(--csmx-line);
    border-radius: 16px;
    background: #f3f8fd;
}
.csmx-feature-figure img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.csmx-feature-figure figcaption { padding: 10px 16px; color: var(--csmx-muted); font-size: 13px; }
.csmx-content-section { margin: 0 0 52px; }
.csmx-page-content table { width: 100%; margin: 28px 0; border-collapse: collapse; }
.csmx-page-content th,
.csmx-page-content td { padding: 14px 16px; border: 1px solid var(--csmx-line); text-align: left; vertical-align: top; }
.csmx-page-content th { color: var(--csmx-ink); background: #eef5fc; }
.csmx-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
.csmx-link-card { display: grid; gap: 8px; min-height: 116px; padding: 22px; border: 1px solid var(--csmx-line); border-radius: 12px; color: var(--csmx-ink) !important; background: #f8fbff; text-decoration: none !important; }
.csmx-link-card:hover { border-color: rgba(0, 110, 230, .4); box-shadow: 0 12px 32px rgba(5, 35, 73, .08); }
.csmx-link-card strong { font-size: 17px; }
.csmx-link-card span { color: var(--csmx-muted); font-size: 14px; }
.csmx-evidence-module,
.csmx-review-box { margin: 40px 0; padding: 28px 30px; border: 1px solid #bed8ef; border-left: 5px solid var(--csmx-blue); border-radius: 12px; color: #334e67; background: linear-gradient(145deg, #eef7ff, #fbfdff); }
.csmx-review-box { border-color: #d6e0ea; border-left-color: #476581; background: #f7f9fb; }
.csmx-evidence-module h2,
.csmx-review-box h2 { margin: 0 0 15px !important; font-size: 25px !important; }
.csmx-evidence-module p:last-child,
.csmx-review-box p:last-child { margin-bottom: 0; }
.csmx-method-note { padding-top: 14px; border-top: 1px solid #cddfec; font-size: 14px; }
.csmx-contact-box { margin: 26px 0; padding: 22px 26px; border-radius: 12px; background: #eef7ff; }

.csmx-whatsapp {
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 7px 17px 7px 8px;
    border-radius: 999px;
    color: #fff !important;
    background: #129c63;
    box-shadow: 0 14px 36px rgba(10, 90, 58, .28);
    text-decoration: none !important;
}
.csmx-whatsapp span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #097a4b; background: #fff; font-size: 10px; font-weight: 900; }

/* Zibll lowers footer text opacity; explicit colors retain the design while
 * meeting WCAG contrast requirements in both theme modes. */
.footer .muted-color,
.footer .muted-2-color,
.footer .opacity5,
.footer .opacity8 {
    opacity: 1 !important;
}

body.white-theme .footer,
body.white-theme .footer .muted-color,
body.white-theme .footer .muted-2-color,
body.white-theme .footer .opacity5,
body.white-theme .footer .opacity8,
body.white-theme .footer a {
    color: #334b62 !important;
}

body.dark-theme .footer,
body.dark-theme .footer .muted-color,
body.dark-theme .footer .muted-2-color,
body.dark-theme .footer .opacity5,
body.dark-theme .footer .opacity8,
body.dark-theme .footer a {
    color: #c8d5e1 !important;
}

.csmx-main a:focus-visible,
.header a:focus-visible,
.header button:focus-visible,
.footer a:focus-visible {
    outline: 3px solid #ff9f1c;
    outline-offset: 3px;
}

body.home img.lazyload,
body.home img.lazyloading,
body.home img.lazyloaded,
body.home img.lazyloadafter {
    filter: none !important;
}

.translate-button {
    transition-property: background-color, transform !important;
}

@media (max-width: 980px) {
    .csmx-hero-grid,
    .csmx-process-grid { grid-template-columns: 1fr; }
    .csmx-hero-grid { gap: 20px; }
    .csmx-hero-mark { min-height: 330px; }
    .csmx-product-grid { grid-template-columns: repeat(2, 1fr); }
    .csmx-process-grid { gap: 48px; }
    .csmx-page-content .csmx-info-grid { grid-template-columns: 1fr; }
    .csmx-link-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .csmx-wrap { width: min(100% - 28px, 1180px); }
    .csmx-hero { min-height: 0; }
    .csmx-hero-grid { padding: 62px 0 72px; }
    .csmx-hero h1 { font-size: 43px; }
    .csmx-hero-copy > p { font-size: 16px; }
    .csmx-hero-mark { min-height: 260px; }
    .csmx-mark-halo { width: 260px; height: 260px; }
    .csmx-signal-card { right: 0; bottom: 0; width: 205px; }
    .csmx-section { padding: 76px 0; }
    .csmx-section-heading,
    .csmx-cta-inner { align-items: flex-start; flex-direction: column; }
    .csmx-product-grid { grid-template-columns: 1fr; }
    .csmx-product-card { min-height: 265px; }
    .csmx-page-hero { padding: 64px 0 58px; }
    .csmx-page-content { padding-top: 52px; padding-bottom: 66px; }
    .csmx-page-content .csmx-spec-table { display: block; overflow-x: auto; white-space: nowrap; }
    .csmx-page-content table { display: block; overflow-x: auto; }
    .csmx-evidence-module,
    .csmx-review-box { padding: 22px 20px; }
    .csmx-whatsapp strong { display: none; }
    .csmx-whatsapp { padding-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .csmx-button,
    .csmx-product-card,
    .translate-button,
    body.home img.lazyload,
    body.home img.lazyloading,
    body.home img.lazyloaded,
    body.home img.lazyloadafter {
        animation: none !important;
        transition: none !important;
    }
}


/* Lighthouse cleanup: use compositor-safe/no entrance effects on homepage media. */
body.home img.lazyload,
body.home img.lazyloading,
body.home img.lazyloaded,
body.home img.lazyloadafter {
    animation: none !important;
    transition: none !important;
}

/* The 48px brand asset stays sharp at Lighthouse's 1.5x device scale. */
body.home .navbar-brand .navbar-logo img {
    width: 32px !important;
    height: 32px !important;
}

/* WCAG AA contrast for the floating contact label. */
.csmx-whatsapp { background: #08784a; }


/* Replace the 96 KiB icon font on the homepage with an immediate system-font subset. */
body.home .fa {
    display: inline-block;
    font-family: Arial, sans-serif !important;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    text-rendering: auto;
}
body.home .fa::before { font-family: inherit !important; }
body.home .fa-angle-down::before { content: "\25BE"; }
body.home .fa-angle-right::before { content: "\203A"; }
body.home .fa-toggle-theme::before { content: "\25D0"; }
body.home .fa-check-circle::before { content: "\2713"; }
body.home .fa-sign-in::before { content: "\21AA"; }
body.home .fa-eye::before { content: "\25C9"; }

/* Avoid expensive LCP filter painting and non-composited slider transitions. */
body.home .csmx-hero-mark img { filter: none !important; }
body.home .swiper-button-prev,
body.home .swiper-button-next {
    animation: none !important;
    transition-property: opacity, transform !important;
}


/* Preserve square intrinsic ratios for footer brand and QR images. */
body.home a.footer-logo img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
}
.footer-miniimg img {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover;
}


/* Center social sign-in providers in the compact logged-out user menu. */
.sub-user-box > .social-separator { display: none !important; }
.sub-user-box > .social_loginbar {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 10px 0 0;
    text-align: center;
}
.sub-user-box > .social_loginbar > .xh-social-item,
.sub-user-box > .social_loginbar > .social-login-item {
    float: none !important;
    display: inline-flex !important;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    border-radius: 50%;
}
.sub-user-box > .social_loginbar > .xh-social-item .icon,
.sub-user-box > .social_loginbar > .social-login-item .icon {
    width: 18px;
    height: 18px;
}

/* PageSettings admin panel + checkin icons: system-font Unicode subset (2026-09-02). */
body.home .fa-cog::before { content: "\2699"; }
body.home .fa-sliders::before { content: "\2261"; }
body.home .fa-wordpress::before { content: "\24C6"; }
body.home .fa-check::before { content: "\2713"; }
body.home .fa-calendar-check-o::before { content: "\1F4C5"; }
body.home .fa-question-circle::before { content: "\2753"; }
