/*
 * Pharmabot page enhancements
 *
 * These rules are intentionally opt-in.  They apply only to pages carrying
 * .pb-site-refresh, so legacy pages and third-party page sections retain
 * their existing component styles.
 */

.pb-site-refresh {
    --pb-ink: #0e1e36;
    --pb-primary: #4069ff;
    --pb-primary-dark: #2c50e0;
    --pb-muted: #5c6b7d;
    --pb-line: #dce3ed;
}

/* Navigation: a contained visual refresh that preserves the existing menu. */
.pb-site-refresh .header.header-1:not(.header-xpodium-glass) .main-header-wraper {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(14, 30, 54, 0.08);
    box-shadow: 0 6px 24px rgba(14, 30, 54, 0.07);
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
    .pb-site-refresh .header.header-1:not(.header-xpodium-glass) .main-header-wraper {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

.pb-site-refresh .header-logo .logo a {
    display: inline-flex;
    align-items: center;
}

.pb-site-refresh .header-logo .logo img {
    width: auto;
    height: 42px;
    max-width: 205px;
    object-fit: contain;
}

.pb-site-refresh .header-right .main-menu > ul > li > a {
    border-radius: 8px;
    padding: 10px 12px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.pb-site-refresh .header-right .main-menu > ul > li > a:hover,
.pb-site-refresh .header-right .main-menu > ul > li > a:focus-visible {
    background: #f1f4ff;
    color: var(--pb-primary-dark) !important;
}

.pb-site-refresh .header-right .main-menu > ul > li > a[href="/contact"] {
    border-radius: 999px;
    box-shadow: 0 5px 12px rgba(64, 105, 255, 0.2);
}

.pb-site-refresh .header-right .main-menu > ul > li > a[href="/contact"]:hover,
.pb-site-refresh .header-right .main-menu > ul > li > a[href="/contact"]:focus-visible {
    background: var(--pb-primary-dark);
    color: #fff !important;
}

.pb-site-refresh .mobile-call-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #d8e1ff;
}

.pb-site-refresh .mobile-nav-bar #hamburger {
    display: grid;
    width: 40px;
    height: 40px;
    border: 1px solid #dce3ed;
    border-radius: 10px;
    place-items: center;
}

.pb-site-refresh .mobile-nav-bar #hamburger i {
    line-height: 1;
}

@media (max-width: 575px) {
    .pb-site-refresh .header-logo .logo img {
        height: 36px;
        max-width: 165px;
    }

    .pb-site-refresh .mobile-header-actions {
        gap: 9px;
    }
}

/* Footer brand treatment.  No layout or link structure is replaced. */
.pb-site-refresh footer .site_info_box > a:first-child,
.pb-site-refresh footer .widget-description > a:first-child {
    display: inline-flex !important;
    align-items: center;
    min-height: 64px;
}

.pb-site-refresh footer .site_info_box > a:first-child img,
.pb-site-refresh footer .widget-description > a:first-child img {
    display: block;
    width: min(100%, 242px);
    height: auto;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.pb-site-refresh footer .site_info_box .description p,
.pb-site-refresh footer .widget-description .description p {
    max-width: 32rem;
    color: rgba(255, 255, 255, 0.82);
}

/* About: isolated content hierarchy and an additive approach section. */
.pb-about-page .page-title h1,
.pb-contact-page .page-title h1 {
    max-width: 11ch;
}

.pb-about-page .our-company__content .title {
    max-width: 18ch;
}

.pb-about-page .descriiption h4 {
    color: var(--pb-ink);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.pb-about-page .single_card_item {
    border: 1px solid rgba(14, 30, 54, 0.08);
    box-shadow: 0 10px 30px rgba(14, 30, 54, 0.07);
}

.pb-about-page .single_card_item:hover {
    box-shadow: 0 18px 38px rgba(14, 30, 54, 0.12);
}

.pb-approach {
    background: #f5f7fb;
}

.pb-approach__intro {
    max-width: 42rem;
}

.pb-approach__eyebrow {
    color: var(--pb-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pb-approach__card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--pb-line);
    border-radius: 14px;
    background: #fff;
}

.pb-approach__number {
    display: inline-flex;
    width: 36px;
    height: 36px;
    margin-bottom: 20px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #e9eeff;
    color: var(--pb-primary-dark);
    font-size: 0.8125rem;
    font-weight: 700;
}

.pb-approach__card h3 {
    margin-bottom: 9px;
    color: var(--pb-ink);
    font-size: 1.25rem;
    font-weight: 700;
}

.pb-approach__card p {
    margin: 0;
    color: var(--pb-muted);
    line-height: 1.7;
}

/* Contact: lead with the action, keep the original form endpoint intact. */
.pb-contact-page .contact-us__content .title {
    max-width: 15ch;
}

.pb-contact-page .pb-contact-lead {
    max-width: 34rem;
    color: var(--pb-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.pb-contact-page .pb-contact-reassurance {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    color: var(--pb-ink);
    font-size: 0.9375rem;
    font-weight: 600;
}

.pb-contact-page .pb-contact-reassurance i {
    color: var(--pb-primary);
    line-height: 1.5;
}

.pb-contact-page .contact-us__item {
    height: calc(100% - 40px);
    padding: 24px;
    border: 1px solid var(--pb-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(14, 30, 54, 0.05);
}

.pb-contact-page .contact-us__item-body > p:first-child {
    color: var(--pb-muted);
    font-size: 0.875rem;
}

.pb-contact-page .contact-form__header .title {
    margin-bottom: 8px;
}

.pb-contact-page .pb-form-note {
    margin: 0;
    color: var(--pb-muted);
}

.pb-contact-page .pb-service-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pb-contact-page .pb-service-choice .form-check {
    min-height: 48px;
    margin: 0;
    padding: 10px 12px 10px 38px;
    border: 1px solid var(--pb-line);
    border-radius: 9px;
    background: #fff;
}

.pb-contact-page .pb-service-choice .form-check:has(input:checked) {
    border-color: var(--pb-primary);
    background: #f2f5ff;
}

.pb-contact-page .pb-service-choice .form-check-input {
    margin-left: -25px;
}

.pb-contact-page .pb-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.pb-contact-page .pb-form-status {
    margin: 0;
    color: var(--pb-muted);
    font-size: 0.9375rem;
}

.pb-contact-page .pb-form-status.is-success {
    color: #137333;
}

.pb-contact-page .pb-form-status.is-error {
    color: #b3261e;
}

.pb-contact-page .pb-form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    .pb-contact-page .pb-service-choice {
        grid-template-columns: 1fr;
    }

    .pb-contact-page .contact-us__item {
        height: auto;
    }
}

/* Desktop-only enhancement: the native pointer is deliberately retained. */
@media (hover: hover) and (pointer: fine) {
    .pb-smooth-cursor-dot,
    .pb-smooth-cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 2147483647;
        pointer-events: none;
        opacity: 0;
        transform: translate3d(-100px, -100px, 0);
        transition: opacity 0.16s ease, width 0.18s ease, height 0.18s ease, border-color 0.18s ease;
    }

    .pb-smooth-cursor-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--pb-primary);
    }

    .pb-smooth-cursor-ring {
        width: 28px;
        height: 28px;
        border: 1.5px solid rgba(64, 105, 255, 0.72);
        border-radius: 50%;
    }

    .pb-smooth-cursor-visible .pb-smooth-cursor-dot,
    .pb-smooth-cursor-visible .pb-smooth-cursor-ring {
        opacity: 1;
    }

    .pb-smooth-cursor-active .pb-smooth-cursor-ring {
        width: 38px;
        height: 38px;
        border-color: var(--pb-primary);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pb-smooth-cursor-dot,
    .pb-smooth-cursor-ring {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   2026 brand layer — shared only by the three rebuilt decision pages.
   This intentionally sits after the legacy theme so the old template remains
   available to specialist and event pages without a risky site-wide rewrite.
   -------------------------------------------------------------------------- */
.pb-next {
    --pb-navy: #071d36;
    --pb-ink: #10243e;
    --pb-blue: #3772ff;
    --pb-blue-deep: #2454d6;
    --pb-sky: #dceaff;
    --pb-coral: #f65784;
    --pb-paper: #f7f9fc;
    --pb-line: rgba(16, 36, 62, .13);
    --pb-muted: #627188;
    color: var(--pb-ink);
    background: #fff;
    overflow-x: clip;
}

.pb-next .header.header-1:not(.header-xpodium-glass) .main-header-wraper {
    padding: 13px 0;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(16, 36, 62, .08);
    box-shadow: 0 10px 30px rgba(7, 29, 54, .07);
}

.pb-next .header-logo .logo img { height: 38px; max-width: 190px; }
.pb-next .header-right .main-menu > ul { gap: 3px; display: flex; align-items: center; }
.pb-next .header-right .main-menu > ul > li { margin: 0; }
.pb-next .header-right .main-menu > ul > li > a {
    padding: 10px 13px;
    color: var(--pb-ink) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
}
.pb-next .header-right .main-menu > ul > li > a::after { display: none; }
.pb-next .header-right .main-menu > ul > li > a:hover { color: var(--pb-blue) !important; background: #edf3ff; }
.pb-next .header-right .main-menu ul li ul {
    overflow: hidden;
    min-width: 285px;
    padding: 10px;
    border: 1px solid var(--pb-line);
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 45px rgba(7,29,54,.14);
}
.pb-next .header-right .main-menu ul li ul li a { padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.pb-next .header-right .main-menu ul li ul li a:hover { background: #edf3ff; color: var(--pb-blue) !important; }

.pb-next .banner-home {
    position: relative;
    isolation: isolate;
    padding-top: clamp(82px, 11vw, 150px) !important;
    padding-bottom: clamp(72px, 9vw, 128px) !important;
    background: radial-gradient(circle at 88% 24%, rgba(55,114,255,.41), transparent 25%), linear-gradient(123deg, #061b33 0%, #0a2c50 56%, #123d66 100%);
}
.pb-next .banner-home::before,
.pb-next .banner-home::after {
    position: absolute; z-index: -1; content: ""; pointer-events: none;
}
.pb-next .banner-home::before {
    width: 54vw; height: 54vw; left: -27vw; bottom: -39vw; border: 1px solid rgba(255,255,255,.13); border-radius: 50%;
    box-shadow: 0 0 0 54px rgba(255,255,255,.035), 0 0 0 108px rgba(255,255,255,.025);
}
.pb-next .banner-home::after {
    width: 26rem; height: 26rem; right: 7%; top: -15rem; opacity: .52;
    background-image: radial-gradient(rgba(255,255,255,.75) 1px, transparent 1px); background-size: 16px 16px;
    -webkit-mask-image: linear-gradient(135deg, transparent 18%, #000 48%, transparent 77%); mask-image: linear-gradient(135deg, transparent 18%, #000 48%, transparent 77%);
    transform: rotate(16deg);
}
.pb-next .banner-home__content { position: relative; z-index: 2; max-width: 620px; }
.pb-next .pb-kicker {
    display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: #b8d1ff;
    font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase;
}
.pb-next .pb-kicker::before { width: 28px; height: 1px; background: var(--pb-coral); content: ""; }
.pb-next .banner-home .title { max-width: 11ch; font-size: clamp(2.55rem, 5vw, 5.1rem); line-height: .98; letter-spacing: -.052em; }
.pb-next .banner-home .description { max-width: 34rem; font-size: 1.06rem; line-height: 1.75; color: rgba(255,255,255,.82) !important; }
.pb-next .pb-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.pb-next .pb-button {
    display: inline-flex; align-items: center; gap: 19px; padding: 14px 18px 14px 22px; border-radius: 999px;
    font-size: 13px; font-weight: 800; letter-spacing: .01em; transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.pb-next .pb-button span { display: grid; width: 25px; height: 25px; border-radius: 50%; place-items: center; background: rgba(255,255,255,.19); font-size: 17px; }
.pb-next .pb-button--primary { background: var(--pb-coral); color: #fff; box-shadow: 0 13px 27px rgba(246,87,132,.25); }
.pb-next .pb-button--primary:hover { color: #fff; background: #e84372; transform: translateY(-2px); box-shadow: 0 17px 32px rgba(246,87,132,.34); }
.pb-next .pb-text-link { color: #fff; font-size: 13px; font-weight: 750; }
.pb-next .pb-text-link:hover { color: #c8dcff; }
.pb-next .pb-text-link span { padding-left: 8px; color: var(--pb-coral); }
.pb-next .pb-hero-signals { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 45px 0 0; list-style: none; color: rgba(255,255,255,.68); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pb-next .pb-hero-signals li::before { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--pb-coral); content: ""; vertical-align: 1px; }
.pb-next .banner-home__media { position: relative; isolation: isolate; padding: 22px 0 0 25px; }
.pb-next .banner-home__media > img:not(.start) { width: 100%; min-height: 460px; border-radius: 28px 28px 28px 120px; object-fit: cover; filter: saturate(.82) contrast(1.06); box-shadow: 25px 28px 0 rgba(55,114,255,.2), 0 25px 50px rgba(0,0,0,.26); }
.pb-next .banner-home__media .start { z-index: 2; width: 137px; left: -6px; top: -2px; opacity: .95; }

.pb-next .why-choose { position: relative; background: var(--pb-paper); }
.pb-next .why-choose::before { position: absolute; width: 38vw; height: 38vw; top: 9%; right: -19vw; border-radius: 50%; background: #e9f0ff; content: ""; }
.pb-next .why-choose .container { position: relative; }
.pb-next .why-choose__text .sub-title { color: #ef0548 !important; font-size: 11px; letter-spacing: .13em; }
.pb-next .why-choose__text .sub-title img { filter: none; }
.pb-next .why-choose .title { max-width: 12ch; font-size: clamp(2.2rem, 4vw, 3.75rem); line-height: 1.02; letter-spacing: -.045em; }
.pb-next .why-choose .description p { max-width: 31rem; color: var(--pb-muted); line-height: 1.75; }
.pb-next .why-choose__item-wrapper { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pb-next .why-choose__item {
    position: relative; min-height: 290px; padding: 28px 25px !important; overflow: hidden; border: 1px solid rgba(16,36,62,.08);
    border-radius: 18px; background-color: #fff !important; background-position: right bottom !important; box-shadow: none; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.pb-next .why-choose__item::after { position: absolute; right: 19px; bottom: -31px; color: rgba(55,114,255,.08); font-size: 6rem; font-weight: 800; line-height: 1; content: "+"; }
.pb-next .why-choose__item:hover { border-color: rgba(55,114,255,.35); box-shadow: 0 22px 38px rgba(16,36,62,.11); transform: translateY(-7px); }
.pb-next .why-choose__item .icon { display: grid; width: 42px; height: 42px; border-radius: 12px; place-items: center; background: #edf3ff; color: var(--pb-blue) !important; font-size: 22px; }
.pb-next .why-choose__item .title { max-width: 12ch; font-size: 1.13rem; line-height: 1.25; letter-spacing: -.02em; }
.pb-next .why-choose__item .description p { font-size: .89rem; line-height: 1.65; }
.pb-next .why-choose__item > a { position: relative; z-index: 1; color: var(--pb-blue) !important; font-size: 12px; font-weight: 800; }
.pb-next .pb-card-index { position: absolute; top: 24px; right: 22px; color: rgba(16,36,62,.32); font-size: 11px; font-weight: 800; letter-spacing: .08em; }

.pb-next .upcoming-events { padding: clamp(70px, 8vw, 112px) 0; background: #fff; }
.pb-next .upcoming-events__heading .sub-title { color: var(--pb-coral) !important; font-size: 11px; letter-spacing: .13em; }
.pb-next .upcoming-events__heading .title { font-size: clamp(2.15rem,4vw,3.65rem); letter-spacing: -.045em; }
.pb-next .upcoming-events__list { display: grid; grid-template-columns: minmax(0, 1fr); }
.pb-next .upcoming-event-card { min-height: 360px; border-radius: 22px; background-position: center; overflow: hidden; box-shadow: 0 18px 45px rgba(7,29,54,.14); }
.pb-next .upcoming-event-card::before { background: linear-gradient(90deg, rgba(4,20,37,.92), rgba(4,20,37,.49) 55%, rgba(4,20,37,.08)); }
.pb-next .upcoming-event-card__content { max-width: 480px; padding: 42px; }
.pb-next .upcoming-event-card__title { font-size: clamp(1.75rem,3vw,2.6rem); letter-spacing: -.035em; }

.pb-next .page-banner { position: relative; padding-top: clamp(72px, 8vw, 105px) !important; padding-bottom: clamp(60px, 8vw, 108px); background: linear-gradient(130deg, var(--pb-navy), #123e66); }
.pb-next .page-banner::before { position: absolute; width: 44vw; height: 44vw; top: -34vw; right: -11vw; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.04), 0 0 0 96px rgba(255,255,255,.025); content: ""; }
.pb-next .page-banner .container { position: relative; }
.pb-next .page-banner .transparent-text { color: rgba(255,255,255,.09); font-size: clamp(4rem,10vw,9rem); letter-spacing: -.08em; }
.pb-next .page-banner .page-title h1 { max-width: 12ch; color: #fff; font-size: clamp(2.55rem,5vw,4.8rem); line-height: 1; letter-spacing: -.055em; }
.pb-next .page-banner .page-title h1 span { color: #a9c6ff; }
.pb-next .page-banner .breadcrumb { background: transparent; }
.pb-next .page-banner .breadcrumb a, .pb-next .page-banner .breadcrumb-item.active { color: rgba(255,255,255,.7); font-size: 13px; }
.pb-next .page-banner__media { display: none; }

.pb-next .our-company { padding-top: clamp(72px,9vw,120px) !important; padding-bottom: clamp(72px,9vw,120px) !important; }
.pb-next .company-skill__media { position: relative; max-width: 480px; }
.pb-next .company-skill__media::before { position: absolute; width: 90%; height: 90%; right: -22px; bottom: -22px; z-index: -1; border-radius: 20px; background: var(--pb-sky); content: ""; }
.pb-next .company-skill__media .slide-img { display: block !important; border-radius: 18px; box-shadow: 0 20px 45px rgba(7,29,54,.13); }
.pb-next .company-skill__media .slide-img:not(:first-child) { display: none !important; }
.pb-next .our-company__content { max-width: 570px; }
.pb-next .our-company__content .sub-title, .pb-next .section-title h5 { color: var(--pb-blue) !important; font-size: 11px; letter-spacing: .14em; }
.pb-next .our-company__content .title { max-width: 12ch; font-size: clamp(2.2rem,4vw,3.55rem); line-height: 1.04; letter-spacing: -.05em; }
.pb-next .our-company__content .descriiption p { color: var(--pb-muted); line-height: 1.78; }
.pb-next .pb-mission-note { padding: 20px 23px; border-left: 3px solid var(--pb-coral); border-radius: 0 12px 12px 0; background: #fff4f7; }
.pb-next .pb-mission-note h4 { margin-bottom: 7px; color: var(--pb-ink); font-size: 1rem; }

.pb-next .pb-approach { position: relative; overflow: hidden; background: var(--pb-paper); }
.pb-next .pb-approach::after { position: absolute; width: 500px; height: 500px; right: -300px; bottom: -350px; border-radius: 50%; background: var(--pb-sky); content: ""; }
.pb-next .pb-approach .container { position: relative; z-index: 1; }
.pb-next .pb-approach__intro h2 { max-width: 14ch; font-size: clamp(2rem,4vw,3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.pb-next .pb-approach__intro > p:last-child { max-width: 45rem; color: var(--pb-muted); line-height: 1.75; }
.pb-next .pb-approach__card { position: relative; padding: 30px; border: 1px solid var(--pb-line); border-radius: 17px; background: rgba(255,255,255,.83); box-shadow: none; transition: transform .3s ease, box-shadow .3s ease; }
.pb-next .pb-approach__card:hover { box-shadow: 0 17px 30px rgba(16,36,62,.09); transform: translateY(-5px); }
.pb-next .pb-approach__number { background: var(--pb-blue); color: #fff; }
.pb-next .employee__wrapper { padding: clamp(72px,9vw,110px) 0 !important; background: #fff; }
.pb-next .section-title h2 { font-size: clamp(2.15rem,4vw,3.5rem); letter-spacing: -.045em; }
.pb-next .single_card_item { min-height: 100%; padding: 34px 25px 30px; border-radius: 18px; background: #fff; }
.pb-next .single_card_item .card_img { height: 115px; display: grid; place-items: center; }
.pb-next .single_card_item .card_img img { max-height: 95px; width: auto; }
.pb-next .single_card_item hr { border-color: var(--pb-line); }
.pb-next .single_card_item .content p { max-width: 26rem; margin: 0 auto; color: var(--pb-muted); line-height: 1.7; }

/* Service detail pages: turn the old boxed template into a calmer editorial layout. */
.pb-next .services-details { position: relative; padding-top: clamp(68px, 8vw, 108px) !important; padding-bottom: clamp(70px, 8vw, 110px) !important; background: #fff; }
.pb-next .services-details .col-xl-8 > .media { position: relative; margin-bottom: 48px !important; overflow: hidden; border-radius: 20px; background: var(--pb-navy); box-shadow: 0 20px 42px rgba(7,29,54,.14); }
.pb-next .services-details .col-xl-8 > .media::after { position: absolute; inset: auto 0 0; height: 26%; background: linear-gradient(transparent, rgba(4,20,37,.24)); content: ""; pointer-events: none; }
.pb-next .services-details .col-xl-8 > .media > img,
.pb-next .services-details .col-xl-8 > .media > video { display: block; width: 100% !important; max-width: none !important; max-height: 510px !important; margin: 0 !important; object-fit: cover; }
.pb-next .services-details__content { max-width: 760px; }
.pb-next .services-details__content h2 { margin-bottom: 22px; color: var(--pb-ink); font-size: clamp(2.25rem,4vw,3.55rem); line-height: 1.03; letter-spacing: -.05em; }
.pb-next .services-details__content h2 + p { max-width: 44rem; color: var(--pb-muted); font-size: 1.08rem; line-height: 1.8; }
.pb-next .services-details__content h4 { margin: 44px 0 19px; color: var(--pb-ink); font-size: 1.12rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.pb-next .services-details__content hr { width: 100%; margin: 42px 0 0; border-color: var(--pb-line); opacity: 1; }
.pb-next .services-details__content p { color: var(--pb-muted); line-height: 1.78; }
.pb-next .services-details__content a { color: var(--pb-blue); font-weight: 750; }
.pb-next .services-details__content figure { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 27px; align-items: center; margin: 0; padding: 25px; border: 1px solid var(--pb-line); border-radius: 17px; background: var(--pb-paper); }
.pb-next .services-details__content figure > img,
.pb-next .services-details__content > img { max-width: min(100%, 420px) !important; margin: 6px 0 20px; border-radius: 12px; }
.pb-next .services-details__content figure > img { margin: 0; }
.pb-next .services-details__content figure ul { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.pb-next .services-details__content figure li { position: relative; padding: 0 0 0 27px; color: var(--pb-ink); font-size: .94rem; font-weight: 650; line-height: 1.5; }
.pb-next .services-details__content figure li::before { position: absolute; top: .17em; left: 0; display: grid; width: 17px; height: 17px; border-radius: 50%; place-items: center; background: var(--pb-blue); color: #fff; content: "✓"; font-size: 10px; }
.pb-next .services-details .faq { margin-top: 30px !important; }
.pb-next .services-details .accordion-item { overflow: hidden; margin-bottom: 11px; border: 1px solid var(--pb-line); border-radius: 12px; background: #fff; }
.pb-next .services-details .accordion-button { padding: 19px 21px; background: #fff; color: var(--pb-ink); font-size: 1rem; font-weight: 780; box-shadow: none; }
.pb-next .services-details .accordion-button:not(.collapsed) { background: #edf3ff; color: var(--pb-blue-deep); }
.pb-next .services-details .accordion-button::after { filter: hue-rotate(175deg) saturate(2); }
.pb-next .services-details .accordion-body { padding: 4px 25px 16px 56px; }
.pb-next .services-details .accordion-body h6 { color: var(--pb-ink); font-size: .89rem; font-weight: 800; }
.pb-next .services-details .accordion-body p { margin-bottom: 0; color: var(--pb-muted); line-height: 1.68; }
.pb-next .services-details .main-sidebar { top: 118px !important; }
.pb-next .services-details .single-sidebar-widget { overflow: hidden; padding: 28px !important; border: 1px solid var(--pb-line); border-radius: 16px; background: var(--pb-paper); box-shadow: none; }
.pb-next .services-details .single-sidebar-widget .wid-title { margin-bottom: 18px !important; color: var(--pb-ink) !important; font-size: .77rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase !important; }
.pb-next .services-details .widget_categories ul { display: grid; gap: 5px; }
.pb-next .services-details .widget_categories li { border: 0; }
.pb-next .services-details .widget_categories li a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; color: var(--pb-ink); font-size: .9rem; font-weight: 700; line-height: 1.38; }
.pb-next .services-details .widget_categories li a:hover { color: var(--pb-blue); transform: translateX(3px); }
.pb-next .services-details .widget_categories li a i { color: var(--pb-blue); }
.pb-next .services-details .have-any { position: relative; min-height: 220px; padding: 0 !important; border: 0 !important; background: var(--pb-navy) !important; }
.pb-next .services-details .have-any .media { position: absolute; inset: 0; margin: 0; }
.pb-next .services-details .have-any .media::after { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,29,54,.91), rgba(23,78,136,.7)); content: ""; }
.pb-next .services-details .have-any .media img { width: 100%; height: 100%; object-fit: cover; }
.pb-next .services-details .have-any__item { position: relative; z-index: 1; display: flex; min-height: 220px; padding: 28px; flex-direction: column; align-items: flex-start; justify-content: flex-end; text-align: left !important; }
.pb-next .services-details .have-any__item .wid-title { max-width: 12ch; color: #fff !important; font-size: 1.65rem; letter-spacing: -.035em; text-transform: none !important; }
.pb-next .services-details .have-any__item .theme-btn { border-radius: 999px; background: var(--pb-coral); box-shadow: none; }
.pb-next .services-details + .cta-banner { padding: 0 0 84px; background: #fff; }
.pb-next .services-details + .cta-banner .cta-banner__content { min-height: 175px; border-radius: 20px; background: linear-gradient(112deg, var(--pb-navy), #154f88) !important; }
.pb-next .services-details + .cta-banner .title { max-width: 20ch; font-size: clamp(1.65rem,3vw,2.45rem); letter-spacing: -.035em; }

.pb-next .contact-us { padding-top: clamp(72px,9vw,116px) !important; padding-bottom: clamp(56px,7vw,90px) !important; background: var(--pb-paper); }
.pb-next .contact-us__content .title { max-width: 13ch; font-size: clamp(2.25rem,4vw,3.65rem); line-height: 1.04; letter-spacing: -.05em; }
.pb-next .contact-us__item-wrapper { margin-top: 0 !important; }
.pb-next .contact-us__item { height: auto !important; min-height: 0; padding: 26px !important; overflow: visible; border-radius: 16px; background: #fff; }
.pb-next .contact-us__item .title { font-size: 1rem; }
.pb-next .contact-info-row { align-items: flex-start !important; }
.pb-next .contact-info-row .icon { padding-top: 3px; }
.pb-next #contact-map { position: relative; height: 290px; margin: 0; overflow: hidden; background: var(--pb-navy); }
.pb-next #contact-map iframe { width: 100%; height: 100%; filter: saturate(.55) contrast(.96); }
.pb-next .contact-form { margin: 0; padding-top: clamp(70px,9vw,110px) !important; padding-bottom: clamp(74px,9vw,112px) !important; background: #fff; }
.pb-next .contact-form > .container { max-width: 1020px; }
.pb-next .contact-form .contact-form { padding: clamp(28px,5vw,55px) !important; border: 1px solid var(--pb-line); border-radius: 22px; background: #fff; box-shadow: 0 25px 55px rgba(7,29,54,.08); }
.pb-next .contact-form__header .title { font-size: clamp(2rem,4vw,3.2rem); letter-spacing: -.045em; }
.pb-next .contact-form .single-personal-info label { color: var(--pb-ink); font-size: 12px; font-weight: 800; }
.pb-next .contact-form .single-personal-info input, .pb-next .contact-form .single-personal-info textarea { border: 1px solid var(--pb-line); border-radius: 9px; background: #fbfcfe; color: var(--pb-ink); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.pb-next .contact-form .single-personal-info input:focus, .pb-next .contact-form .single-personal-info textarea:focus { border-color: var(--pb-blue); background: #fff; box-shadow: 0 0 0 4px rgba(55,114,255,.11); }
.pb-next .contact-form .theme-btn { padding: 14px 21px; border: 0; border-radius: 999px; background: var(--pb-blue); box-shadow: 0 10px 22px rgba(55,114,255,.22); }
.pb-next .contact-form .theme-btn:hover { background: var(--pb-blue-deep); }
/* The legacy template uses a negative bottom margin to overlap the footer.
   It is the cause of the footer logo being covered on Contact and services. */
.pb-next .cta-banner { margin-bottom: 0 !important; padding: 0 0 88px; background: #fff; }
.pb-next .cta-banner__content { min-height: 180px; border-radius: 21px; background: linear-gradient(112deg, var(--pb-navy), #154f88) !important; }
.pb-next .cta-banner__content .title { font-size: clamp(1.7rem,3vw,2.55rem); letter-spacing: -.035em; }
.pb-next .cta-banner__content .btn-white { border-radius: 999px; font-weight: 800; }

.pb-next footer.footer-1, .pb-next footer.footer-3 { position: relative; padding: 72px 0 0; background: var(--pb-navy) !important; }
.pb-next footer.footer-1::before { position: absolute; width: 440px; height: 440px; top: -330px; right: -130px; border-radius: 50%; background: rgba(55,114,255,.2); content: ""; }
.pb-next footer .overly { display: none; }
.pb-next footer .container { position: relative; }
.pb-next footer .single-footer-wid { margin-bottom: 38px; }
.pb-next footer .site_info_box, .pb-next footer .widget-description { max-width: 325px; }
.pb-next footer .site_info_box > a:first-child, .pb-next footer .widget-description > a:first-child { min-height: auto; margin-bottom: 20px !important; }
.pb-next footer .site_info_box > a:first-child img, .pb-next footer .widget-description > a:first-child img { width: min(100%, 240px); max-height: 56px; object-fit: contain; object-position: left; }
.pb-next footer .description p { color: rgba(255,255,255,.72) !important; font-size: .91rem; line-height: 1.7; }
.pb-next footer .wid-title { position: relative; padding-bottom: 14px; margin-bottom: 17px !important; color: #fff; font-size: .91rem; letter-spacing: .08em; text-transform: uppercase; }
.pb-next footer .wid-title::after { position: absolute; width: 28px; height: 2px; bottom: 0; left: 0; background: var(--pb-coral); content: ""; }
.pb-next footer ul li { margin-bottom: 9px; }
.pb-next footer ul li a { color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.45; }
.pb-next footer ul li a:hover { color: #fff; }
.pb-next footer iframe { width: 100%; max-width: 260px; height: 132px; border-radius: 10px; filter: saturate(.55); }
.pb-next footer .theme-btn { border-radius: 999px; }
.pb-next footer .footer-bottom { margin-top: 22px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.13); background: transparent; }
.pb-next footer .coppyright { color: rgba(255,255,255,.58); font-size: 12px; }
.pb-next footer .coppyright a { color: #b8d1ff; }

.pb-next .pb-reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.pb-next .pb-reveal.is-visible { opacity: 1; transform: translateY(0); }
.pb-next .pb-reveal:nth-child(2) { transition-delay: .07s; }
.pb-next .pb-reveal:nth-child(3) { transition-delay: .14s; }
.pb-next .pb-reveal:nth-child(4) { transition-delay: .21s; }

@media (min-width: 1200px) {
    /* The legacy drawer is positioned outside the canvas at desktop widths.
       Hiding it here prevents it from extending the document's scroll width. */
    .pb-next .mobile-nav,
    .pb-next .offcanvas-overlay { display: none !important; }
}

@media (max-width: 1199px) {
    .pb-next .header.header-1 .main-header-wraper { padding: 12px 0; }
    .pb-next .mobile-header-actions { gap: 9px; }
    .pb-next .mobile-call-btn, .pb-next .mobile-nav-bar #hamburger { width: 42px; height: 42px; border-radius: 50%; }
    .pb-next .mobile-nav-bar #hamburger { background: var(--pb-blue); border-color: var(--pb-blue); }
    .pb-next .mobile-nav-bar #hamburger i { color: #fff; }
    .pb-next .mobile-nav { width: min(100%, 420px) !important; padding: 78px 34px 34px !important; background: var(--pb-navy) !important; box-shadow: -22px 0 60px rgba(0,0,0,.22); }
    /* Do not hide a drawer with percentage offsets: they leak at some tablet widths. */
    .pb-next .mobile-nav:not(.show) { right: -100vw !important; left: auto !important; }
    .pb-next .mobile-nav.show { right: 0 !important; left: auto !important; }
    .pb-next .mobile-nav .close-nav { top: 22px; right: 26px; }
    .pb-next .mobile-nav .consulter-mobile-nav > ul > li { border-color: rgba(255,255,255,.13); }
    .pb-next .mobile-nav .consulter-mobile-nav > ul > li > a { padding: 15px 0; color: #fff !important; font-size: 1.1rem; font-weight: 700; }
    .pb-next .mobile-nav .consulter-mobile-nav > ul > li > ul { padding: 2px 0 10px 12px; }
    .pb-next .mobile-nav .consulter-mobile-nav > ul > li > ul > li > a { color: rgba(255,255,255,.7) !important; }
    .pb-next .mobile-nav .sidebar-nav__bottom { padding-top: 22px; }
    .pb-next .pb-generated-overlay { position: fixed; inset: 0; z-index: 999; display: block; background: rgba(4,16,30,.52); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
    .pb-next.pb-menu-open .pb-generated-overlay { opacity: 1; pointer-events: auto; }
    .pb-next .pb-generated-nav { z-index: 1000; }
    /* Legacy sticky-kit and overflow rules are unstable once the sidebar stacks. */
    .pb-next .services-details,
    .pb-next .services-details[data-sticky_parent] { overflow: visible !important; height: auto !important; }
    .pb-next .services-details [data-sticky_column] { position: static !important; top: auto !important; right: auto !important; left: auto !important; width: auto !important; transform: none !important; }
    .pb-next .services-details .main-sidebar { width: 100% !important; }
}
@media (max-width: 991px) {
    .pb-next .banner-home__media { margin-top: 35px; max-width: 650px; }
    .pb-next .why-choose__item-wrapper { grid-template-columns: repeat(2, 1fr); }
    .pb-next .why-choose__item { min-height: 255px; }
    .pb-next .contact-us__item-wrapper { margin-top: 35px !important; }
    .pb-next .services-details .main-sidebar { position: static !important; margin-top: 36px; }
}
@media (max-width: 767px) {
    .pb-next .header-logo .logo img { height: 32px; max-width: 157px; }
    .pb-next .banner-home { padding-top: 76px !important; }
    .pb-next .banner-home .title { font-size: clamp(2.6rem, 14vw, 4rem); }
    .pb-next .banner-home__media > img:not(.start) { min-height: 310px; border-radius: 20px 20px 20px 76px; }
    .pb-next .pb-hero-actions { gap: 17px; margin-top: 26px; }
    .pb-next .pb-hero-signals { gap: 9px 14px; margin-top: 32px; font-size: 9px; }
    .pb-next .why-choose .title, .pb-next .our-company__content .title, .pb-next .contact-us__content .title { max-width: 15ch; }
    .pb-next .why-choose__item-wrapper { grid-template-columns: 1fr; margin-top: 36px !important; }
    .pb-next .why-choose__item { min-height: 0; }
    .pb-next .upcoming-event-card { min-height: 300px; }
    .pb-next .upcoming-event-card__content { padding: 27px; }
    .pb-next .page-banner .page-title h1 { font-size: clamp(2.5rem, 13vw, 3.65rem); }
    .pb-next .our-company__content { margin-top: 54px !important; }
    .pb-next .company-skill__media { margin: 0 auto; }
    .pb-next .contact-us { padding-bottom: 35px !important; }
    .pb-next .contact-us__item { height: auto !important; min-height: 0 !important; overflow: visible !important; }
    .pb-next .contact-info-row { gap: 10px; }
    .pb-next .contact-info-row .icon { display: grid; width: 32px; height: 32px; padding: 0; flex: 0 0 32px; border-radius: 9px; place-items: center; background: #edf3ff; color: var(--pb-blue) !important; }
    .pb-next .contact-info-row .icon i { font-size: 15px !important; line-height: 1; }
    .pb-next .services-details__content figure { grid-template-columns: 1fr; padding: 18px; }
    .pb-next .services-details .accordion-body { padding-left: 21px; }
    .pb-next #contact-map { height: 230px; }
    .pb-next .contact-form .contact-form { border-radius: 15px; }
    .pb-next .cta-banner { padding-bottom: 56px; }
    .pb-next .cta-banner__content { min-height: 220px; padding: 30px !important; align-items: flex-start !important; }
    .pb-next footer.footer-1, .pb-next footer.footer-3 { position: relative; z-index: 2; clear: both; padding-top: 55px; overflow: hidden !important; }
    .pb-next footer .footer-top { overflow: visible !important; margin-bottom: 0 !important; }
    .pb-next footer .site_info_box, .pb-next footer .widget-description { overflow: visible !important; }
    .pb-next footer .site_info_box > a:first-child, .pb-next footer .widget-description > a:first-child { min-height: 58px; margin-top: 0; overflow: visible !important; }
    .pb-next footer .site_info_box > a:first-child img, .pb-next footer .widget-description > a:first-child img { display: block !important; max-height: 58px; object-position: left center; }
    .pb-next footer .contact-wrapper .icon { display: grid; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; place-items: center; background: rgba(255,255,255,.08); }
    .pb-next footer .contact-wrapper .icon i { font-size: 13px !important; }
    .pb-next footer .single-footer-wid { margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .pb-next *, .pb-next *::before, .pb-next *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .pb-next .pb-reveal { opacity: 1; transform: none; }
}

/* Final polish: replace legacy interactions that can visually leak into layouts. */
.pb-smooth-cursor-dot,
.pb-smooth-cursor-ring { display: none !important; }

.pb-next .pb-contact-map { height: clamp(270px, 32vw, 430px); margin: 0; background: var(--pb-navy); }
.pb-next .pb-contact-map iframe { width: 100%; height: 100%; display: block; filter: saturate(.58) contrast(.96); }

/* Restore the About portrait rotation without allowing slides to affect layout width. */
.pb-next .company-skill__media { width: 100%; min-height: 0; aspect-ratio: 1.18 / 1; overflow: hidden; border-radius: 18px; }
.pb-next .company-skill__media .slide-img { position: absolute !important; inset: 0; display: block !important; width: 100%; height: 100%; margin: 0; object-fit: cover; opacity: 0; visibility: hidden; transform: scale(1.025); transition: opacity .7s ease, transform 4.8s ease; }
.pb-next .company-skill__media .slide-img:first-child,
.pb-next .company-skill__media .slide-img.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.pb-next .company-skill__media.is-slideshow .slide-img { opacity: 0; visibility: hidden; transform: scale(1.025); }
.pb-next .company-skill__media.is-slideshow .slide-img.is-active { opacity: 1; visibility: visible; transform: scale(1); }

/* Values: remove the nested border-card look and give each value a clear visual anchor. */
.pb-next .employee__wrapper .single_card_item { padding: 30px 28px; border: 1px solid var(--pb-line); border-radius: 18px; background: #fff; box-shadow: 0 16px 34px rgba(7,29,54,.07); text-align: left !important; }
.pb-next .employee__wrapper .single_card_item:hover { transform: translateY(-4px); border-color: rgba(55,114,255,.32); box-shadow: 0 20px 38px rgba(7,29,54,.11); }
.pb-next .employee__wrapper .single_card_item .card_img { width: 68px; height: 68px; margin: 0 0 25px; border-radius: 16px; background: #edf3ff; }
.pb-next .employee__wrapper .single_card_item .card_img img { max-width: 47px; max-height: 47px; }
.pb-next .employee__wrapper .single_card_item hr { display: none; }
.pb-next .employee__wrapper .single_card_item .card_content { padding: 0; border: 0; background: transparent; }
.pb-next .employee__wrapper .single_card_item h4 { margin: 0 0 10px; color: var(--pb-ink); font-size: 1.35rem; letter-spacing: -.025em; }
.pb-next .employee__wrapper .single_card_item .content p { max-width: none; margin: 0; font-size: .96rem; text-align: left; }

/* Service cards and accordion must never inherit the old saturated hover state. */
.pb-next .services-details .widget_categories li a,
.pb-next .services-details .widget_categories li a:hover,
.pb-next .services-details .widget_categories li a:focus { background: #fff !important; color: var(--pb-ink) !important; }
.pb-next .services-details .widget_categories li a:hover,
.pb-next .services-details .widget_categories li a:focus { background: #edf3ff !important; color: var(--pb-blue-deep) !important; }
.pb-next .services-details .widget_categories li a i,
.pb-next .services-details .widget_categories li a:hover i,
.pb-next .services-details .widget_categories li a:focus i { color: var(--pb-blue) !important; }
.pb-next .services-details__content figure li { display: block; padding-left: 30px; font-size: .95rem; font-weight: 600; line-height: 1.5; }
.pb-next .services-details__content figure li::before { width: 19px; height: 19px; top: .14em; font-size: 10px; }
.pb-next .services-details .accordion-button,
.pb-next .services-details .accordion-button:not(.collapsed) { min-height: 58px; padding: 17px 20px; background: #fff; color: var(--pb-ink); }
.pb-next .services-details .accordion-button:not(.collapsed) { background: #edf3ff; color: var(--pb-blue-deep); }
.pb-next .services-details .accordion-button:focus { box-shadow: inset 0 0 0 2px rgba(55,114,255,.35); }
.pb-next .services-details .accordion-item { margin-bottom: 12px; }
.pb-next .services-details .have-any { min-height: 240px; isolation: isolate; }
.pb-next .services-details .have-any .media { display: block !important; }
.pb-next .services-details .have-any__item { margin: 0 !important; transform: none !important; }

/* Restore the animated red marker that gives the Home hero its recognisable
   editorial "sticker" detail without competing with the hero image. */
.pb-next .banner-home__media .start { display: block; pointer-events: none; }
.pb-next .banner-home .container::after,
.pb-next .banner-home__media::before,
.pb-next .banner-home__media::after { display: none; }
.pb-next .banner-home__media { z-index: 1; margin-right: 0 !important; }
.pb-next .banner-home::after { opacity: .25; }
.pb-next .upcoming-events .container { width: 100%; max-width: 1200px; padding-inline: 24px; }
.pb-next .upcoming-events__heading { margin: 0 0 36px; }
.pb-next .upcoming-events__heading .title { max-width: none; }
.pb-next .upcoming-event-card { max-width: 920px; }
.pb-next .services-details__content figure > video { display: block; width: 100%; min-height: 200px; margin: 0; border-radius: 12px; object-fit: cover; background: var(--pb-navy); pointer-events: none; }

@media (max-width: 1199px) {
    .pb-next .mobile-nav .close-nav { top: 18px !important; right: 22px !important; left: auto !important; display: grid; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; place-items: center; background: transparent; color: #fff !important; font-size: 20px; }
    .pb-next .mobile-nav .navigation { padding-top: 22px; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li { margin-bottom: 4px; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li:hover { background: transparent; transform: none; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li > a { color: #fff !important; font-size: 1rem; font-weight: 750; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li > a::before { display: none; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li.dropdown .dropdown-menu { padding-top: 8px; background: transparent !important; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li.dropdown .dropdown-menu li { margin-bottom: 5px; background: transparent !important; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li.dropdown .dropdown-menu li > a { padding: 12px 15px 12px 18px; border-radius: 9px; background: rgba(255,255,255,.09) !important; color: rgba(255,255,255,.92) !important; font-size: .88rem; font-weight: 650; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li.dropdown .dropdown-menu li > a::before { display: none; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li.dropdown .dropdown-menu li:hover a { padding-left: 18px; background: rgba(255,255,255,.16) !important; color: #fff !important; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li.dropdown .dropdown-menu li.dropdown-back { padding: 9px 2px; background: transparent !important; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li.dropdown .dropdown-menu li.dropdown-back .control { color: rgba(255,255,255,.7) !important; font-size: .82rem; }
    .pb-next .mobile-nav .navigation ul:not(.dropdown-menu) > li.dropdown .dropdown-menu li.dropdown-back .control i { color: rgba(255,255,255,.7) !important; font-size: 13px !important; }
}
@media (max-width: 767px) {
    .pb-next .company-skill__media { max-width: 460px; margin-inline: auto; }
    .pb-next .employee__wrapper .single_card_item { padding: 25px; }
    .pb-next .employee__wrapper .single_card_item .card_img { margin-bottom: 18px; }
    .pb-next .pb-contact-map { height: 245px; }
}

/* Contact map is a backdrop to the enquiry card, not a detached section. */
.pb-next .contact-form { position: relative; isolation: isolate; padding-top: 0 !important; overflow: visible !important; background: #fff; }
.pb-next .contact-form .pb-contact-map { height: clamp(310px, 32vw, 430px); position: relative; z-index: 0; margin: 0; overflow: hidden; }
.pb-next .contact-form > .container { position: relative; z-index: 1; margin-top: clamp(-175px, -13vw, -115px); }
.pb-next .contact-form > .container .contact-form { margin: 0 auto; }

/* The About carousel owns its image visibility. Never hide its non-first
   slides here: doing so leaves the card showing only its blue fallback. */
.pb-next.pb-about-page .company-skill__media .slide-img { display: block !important; }

/* Contact directory: company details and the person responsible are two clear roles. */
.pb-next .contact-us__item-wrapper { align-items: stretch; }
.pb-next .contact-us__item-wrapper > [class*="col-"] { display: flex; }
.pb-next .contact-us__item { width: 100%; display: flex; flex-direction: column; gap: 18px; padding: 30px !important; }
.pb-next .contact-us__item-header { margin: 0 !important; }
.pb-next .contact-us__item-header .title { color: var(--pb-ink) !important; font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.pb-next .contact-us__item-body { display: grid; gap: 12px; }
.pb-next .contact-us__item-body > p { margin: 0 !important; color: var(--pb-muted); font-size: .92rem; line-height: 1.55; }
.pb-next .contact-us__item .contact-info-row { display: grid !important; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start !important; margin: 0 !important; }
.pb-next .contact-us__item .contact-info-row .icon { width: 32px; height: 32px; padding: 0; display: grid; flex: 0 0 32px; border-radius: 9px; place-items: center; background: #edf3ff; color: var(--pb-blue) !important; }
.pb-next .contact-us__item .contact-info-row .icon i { font-size: 15px !important; line-height: 1; }
.pb-next .contact-us__item .contact-info-row p,
.pb-next .contact-us__item .contact-info-row a { min-width: 0; margin: 4px 0 0 !important; overflow-wrap: anywhere; line-height: 1.45; }
.pb-next .contact-us__item-wrapper > [class*="col-"]:nth-child(2) .contact-us__item { border-color: transparent; background: var(--pb-navy); box-shadow: 0 18px 34px rgba(7,29,54,.18); }
.pb-next .contact-us__item-wrapper > [class*="col-"]:nth-child(2) .title,
.pb-next .contact-us__item-wrapper > [class*="col-"]:nth-child(2) .contact-us__item-body > p,
.pb-next .contact-us__item-wrapper > [class*="col-"]:nth-child(2) .contact-info-row a { color: #fff !important; }
.pb-next .contact-us__item-wrapper > [class*="col-"]:nth-child(2) .contact-info-row .icon { background: rgba(255,255,255,.12); color: #b8d1ff !important; }

/* Keep service side content in normal document flow. Sticky-kit caused the CTA collision. */
.pb-next .services-details [data-sticky_column],
.pb-next .services-details .main-sidebar { position: static !important; top: auto !important; right: auto !important; left: auto !important; width: auto !important; transform: none !important; }
.pb-next .services-details { overflow: visible !important; }
.pb-next .services-details + .cta-banner { position: relative; z-index: 1; clear: both; margin-top: 0; }
.pb-next .services-details .have-any { min-height: 210px; padding: 28px !important; border: 0 !important; background: linear-gradient(135deg, var(--pb-navy), #174e82) !important; }
.pb-next .services-details .have-any .media { display: none !important; }
.pb-next .services-details .have-any__item { min-height: 0; padding: 0; align-items: flex-start; justify-content: center; }
.pb-next .services-details .have-any__item .wid-title { max-width: 16ch; margin-bottom: 20px !important; }
.pb-next .services-details .have-any__item .theme-btn { padding: 12px 18px; background: #fff; color: var(--pb-navy); }
.pb-next .services-details__content figure { grid-template-columns: minmax(220px, .84fr) minmax(0, 1.16fr); min-height: 340px; padding: 0; overflow: hidden; background: var(--pb-paper); }
.pb-next .services-details__content figure > video { align-self: stretch; height: 100%; min-height: 340px; border-radius: 0; object-fit: cover; }
.pb-next .services-details__content figure > ul { align-content: center; padding: 30px 30px 30px 4px; }
.pb-next .services-details__content figure li { padding-left: 28px; color: var(--pb-ink); font-size: .93rem; font-weight: 600; }
.pb-next .services-details__content figure li::before { width: 18px; height: 18px; background: #e3edff; color: var(--pb-blue-deep); font-size: 10px; }

@media (max-width: 767px) {
    .pb-next .contact-form .pb-contact-map { height: 275px; }
    .pb-next .contact-form > .container { margin-top: -86px; }
    .pb-next .contact-us__item-wrapper > [class*="col-"] { display: block; }
    .pb-next .contact-us__item { padding: 25px !important; }
    .pb-next .services-details__content figure { grid-template-columns: 1fr; min-height: 0; }
    .pb-next .services-details__content figure > video { min-height: 225px; }
    .pb-next .services-details__content figure > ul { padding: 24px; }
}

/* Scope the map treatment to the outer section. The nested form card keeps
   its own breathing room rather than inheriting the section's zero top pad. */
.pb-next section.contact-form {
    position: relative;
    isolation: isolate;
    padding-top: 0 !important;
    overflow: visible !important;
    background: #fff;
}
.pb-next section.contact-form > .container {
    position: relative;
    z-index: 1;
    margin-top: clamp(-175px, -13vw, -115px);
}
.pb-next section.contact-form > .container .contact-form {
    position: relative;
    padding: clamp(28px, 5vw, 55px) !important;
    overflow: hidden !important;
}
@media (max-width: 767px) {
    .pb-next section.contact-form > .container { margin-top: -86px; }
    .pb-next section.contact-form > .container .contact-form { padding: 28px 20px !important; }

    .pb-next .contact-us__item { width: 100% !important; max-width: none !important; }

    /* The controls remain easy to tap without dominating a compact header. */
    .pb-next .mobile-call-btn,
    .pb-next .mobile-nav-bar #hamburger {
        width: 40px;
        height: 40px;
    }
    .pb-next .mobile-nav-bar #hamburger { font-size: 22px; }
    .pb-next .mobile-nav-bar #hamburger i { font-size: 22px; }
    .pb-next .mobile-call-btn { font-size: 14px; }
}

/* Use a simple, high-contrast close control rather than the thin legacy
   circled glyph, which was easy to lose against the drawer background. */
.pb-next .mobile-nav .close-nav {
    z-index: 3;
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.pb-next .mobile-nav .close-nav,
.pb-next .mobile-nav .close-nav i { color: var(--pb-navy) !important; }
.pb-next .mobile-nav .close-nav i { font-size: 17px !important; }
.pb-next .mobile-nav .close-nav i::before { content: "\f00d"; }

/* The source menu writes a black inline colour onto its nested back label. */
.pb-next .mobile-nav .dropdown-menu .dropdown-back .title a,
.pb-next .mobile-nav .dropdown-menu .dropdown-back .control,
.pb-next .mobile-nav .dropdown-menu .dropdown-back .control i {
    color: #d7e4ff !important;
}

/* Sticky-kit used an inline width, but resetting it to `auto` also erased
   Bootstrap's desktop column widths. Restore the intended 8/4 split while
   keeping both columns in normal flow. */
@media (min-width: 1200px) {
    .pb-next .services-details > .container > .row > .col-xl-8[data-sticky_column] {
        flex: 0 0 auto !important;
        width: 66.666667% !important;
    }
    .pb-next .services-details > .container > .row > .col-xl-4[data-sticky_column] {
        flex: 0 0 auto !important;
        width: 33.333333% !important;
    }
}

/* Contact: the location map is the full-height layer behind the enquiry,
   rather than a short strip that ends halfway through the form card. */
.pb-next section.contact-form {
    padding: clamp(72px, 8vw, 118px) 0 !important;
    background: var(--pb-paper);
}
.pb-next section.contact-form #contact-map {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100% !important;
    margin: 0;
    border: 0;
}
.pb-next section.contact-form .pb-contact-map iframe {
    width: 100%;
    height: 100%;
    filter: saturate(.62) contrast(.93) brightness(1.03);
}
.pb-next section.contact-form > .container {
    z-index: 1;
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .pb-next section.contact-form { padding: 54px 0 !important; }
}

/* Contact directory: landscape information panels keep long details legible.
   Company information and the primary contact stay distinct, while their
   internal layout reads as a compact dossier rather than two tall business
   cards. */
.pb-next .contact-us__item-wrapper {
    display: grid;
    gap: 18px;
    margin-right: 0 !important;
    margin-left: 0 !important;
}
.pb-next .contact-us__item-wrapper > .col-12 {
    width: 100%;
    padding: 0;
}
.pb-next .pb-contact-card {
    display: grid;
    grid-template-columns: minmax(145px, .72fr) minmax(0, 1.45fr);
    width: 100% !important;
    max-width: none !important;
    min-height: 194px;
    gap: 26px;
    padding: 28px 30px !important;
    border-radius: 18px;
}
.pb-next .pb-contact-card > .contact-us__item-header {
    align-self: start;
    padding-top: 3px;
}
.pb-next .pb-contact-company-logo {
    display: block;
    width: min(100%, 158px);
    height: auto;
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
}
.pb-next .pb-contact-card > .contact-us__item-body {
    min-width: 0;
    gap: 11px;
}
.pb-next .pb-contact-card .contact-us__item-body > p:first-child {
    margin: 0 !important;
    font-size: .98rem;
    font-weight: 750;
}
.pb-next .pb-contact-card .contact-us__item-body > p:nth-child(2) {
    margin: -6px 0 2px !important;
}
.pb-next .pb-contact-company .contact-us__item-body {
    grid-template-columns: minmax(0, 1fr) minmax(138px, .8fr);
    column-gap: 18px;
}
.pb-next .pb-contact-company .contact-us__item-body > p,
.pb-next .pb-contact-company .contact-info-row:first-of-type {
    grid-column: 1 / -1;
}
.pb-next .pb-contact-person .contact-us__item-body {
    grid-template-columns: minmax(0, 1fr) minmax(135px, .8fr);
    column-gap: 18px;
}
.pb-next .pb-contact-person .contact-us__item-body > p {
    grid-column: 1 / -1;
}
.pb-next .pb-contact-person .contact-info-row:nth-of-type(1) {
    grid-column: 1 / -1;
}
.pb-next .pb-contact-card .contact-info-row {
    min-width: 0;
}
.pb-next .pb-contact-card .contact-info-row a,
.pb-next .pb-contact-card .contact-info-row p {
    font-size: .91rem;
}

@media (max-width: 767px) {
    .pb-next .pb-contact-card {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 17px;
        padding: 25px !important;
    }
    .pb-next .pb-contact-company .contact-us__item-body,
    .pb-next .pb-contact-person .contact-us__item-body {
        grid-template-columns: 1fr;
    }
    .pb-next .pb-contact-card .contact-info-row,
    .pb-next .pb-contact-person .contact-info-row:nth-of-type(1) {
        grid-column: auto;
    }
    .pb-next .pb-contact-company-logo { width: 148px; max-height: 44px; }
}

/* Homepage: bring the hero's message closer to the top without crowding the
   compact breakpoints. */
.pb-next .banner-home {
    padding-top: clamp(64px, 7vw, 105px) !important;
}

/* Events use a photo-first resting state. Full event context is revealed on
   hover or keyboard focus, so the card stays calm while still discoverable. */
.pb-next .upcoming-event-card {
    position: relative;
    display: block;
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 0;
    isolation: isolate;
    background-size: cover;
    background-position: center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.pb-next .upcoming-event-card::after {
    z-index: 0;
    background: linear-gradient(180deg, rgba(4,20,37,.04) 28%, rgba(4,20,37,.38) 100%);
    transition: background .35s ease;
}
.pb-next .upcoming-event-card__content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    padding: 42px;
    pointer-events: none;
}
.pb-next .upcoming-event-card__title,
.pb-next .upcoming-event-card__desc,
.pb-next .upcoming-event-card__content .upcoming-event-card__cta {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .28s ease, transform .35s ease;
}
.pb-next .upcoming-event-card__title { color: #fff; }
.pb-next .upcoming-event-card__desc { color: rgba(255,255,255,.9); }
.pb-next .upcoming-event-card__content .upcoming-event-card__cta {
    align-self: flex-start;
    color: var(--pb-coral);
}
.pb-next .upcoming-event-card__compact-cta {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .01em;
    text-shadow: 0 1px 10px rgba(0,0,0,.5);
    transition: opacity .22s ease, transform .3s ease;
}
.pb-next .upcoming-event-card:is(:hover, :focus-visible) {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(7,29,54,.22);
}
.pb-next .upcoming-event-card:is(:hover, :focus-visible)::after {
    background: linear-gradient(90deg, rgba(4,20,37,.92), rgba(4,20,37,.54) 58%, rgba(4,20,37,.20));
}
.pb-next .upcoming-event-card:is(:hover, :focus-visible) .upcoming-event-card__title,
.pb-next .upcoming-event-card:is(:hover, :focus-visible) .upcoming-event-card__desc,
.pb-next .upcoming-event-card:is(:hover, :focus-visible) .upcoming-event-card__content .upcoming-event-card__cta {
    opacity: 1;
    transform: translateY(0);
}
.pb-next .upcoming-event-card:is(:hover, :focus-visible) .upcoming-event-card__compact-cta {
    opacity: 0;
    transform: translateY(6px);
}

@media (max-width: 991px) {
    .pb-next .banner-home { padding-top: clamp(58px, 8vw, 76px) !important; }
}
@media (max-width: 767px) {
    .pb-next .banner-home { padding-top: 64px !important; }
    .pb-next .upcoming-event-card__content { padding: 27px; }
    .pb-next .upcoming-event-card__compact-cta { right: 22px; bottom: 20px; }
}

/* Services: a quiet, purposeful desktop companion. CSS sticky stops naturally
   with its content row, avoiding the old script-driven overlap with the CTA. */
.pb-next .services-details .main-sidebar {
    display: grid;
    gap: 16px;
}
.pb-next .services-details .main-sidebar > .single-sidebar-widget {
    margin: 0 !important;
}
/* Keep the service navigator crisp against the page: the former grey panel
   made the list feel heavy, especially when viewed next to the blue CTA. */
.pb-next .services-details .main-sidebar > .single-sidebar-widget:not(.have-any) {
    background: #fff !important;
}
.pb-next .services-details .widget_categories li a[aria-current="page"] {
    padding-right: 12px;
    padding-left: 12px;
    border-radius: 9px;
    background: var(--pb-blue) !important;
    color: #fff !important;
}
.pb-next .services-details .widget_categories li a[aria-current="page"] i {
    color: #fff !important;
}
.pb-next .services-details .have-any {
    min-height: 164px;
    padding: 24px !important;
    border-radius: 16px;
    background: linear-gradient(135deg, #09233e, #15548c) !important;
    box-shadow: 0 16px 32px rgba(7,29,54,.16);
}
.pb-next .services-details .have-any::before {
    display: block;
    margin-bottom: 9px;
    color: #9ec4ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    content: "Need a second opinion?";
}
.pb-next .services-details .have-any__item {
    display: flex;
    min-height: 0;
    padding: 0 !important;
    align-items: flex-start;
    justify-content: flex-start;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.pb-next .services-details .have-any__item .wid-title {
    max-width: none;
    margin-bottom: 16px !important;
    font-size: 1.3rem;
    line-height: 1.1;
}
.pb-next .services-details .have-any__item .theme-btn {
    padding: 10px 16px;
    color: var(--pb-navy);
    font-size: 12px;
}

@media (min-width: 1200px) {
    .pb-next .services-details > .container > .row {
        /* The sidebar's column must stretch to the full content row; otherwise
           native sticky reaches the short column's end immediately. */
        align-items: stretch;
    }
    .pb-next .services-details > .container > .row > .col-xl-4 {
        align-self: stretch;
    }
    .pb-next .services-details .main-sidebar {
        position: sticky !important;
        top: 96px !important;
        z-index: 3;
        width: 100% !important;
        transform: none !important;
    }
}

@media (max-width: 1199px) {
    .pb-next .services-details .main-sidebar {
        position: static !important;
        width: 100% !important;
    }
}

/* Outcome panels: a supporting visual and the client result now carry equal
   weight, rather than leaving a small diagram stranded in a large grey box. */
.pb-next .services-details__content .pb-outcome-panel {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 0;
    min-height: 330px;
    margin: 22px 0 0;
    overflow: hidden;
    border: 1px solid var(--pb-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(7, 29, 54, .055);
}
.pb-next .services-details__content .pb-outcome-panel > img,
.pb-next .services-details__content .pb-outcome-panel > video {
    width: 100%;
    height: 100%;
    min-height: 330px;
    max-width: none !important;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    background: #eaf1ff;
}
.pb-next .services-details__content .pb-outcome-panel > ul {
    display: grid;
    align-content: center;
    gap: 3px;
    padding: 27px 30px;
    margin: 0;
    background: #fff;
    list-style: none;
}
.pb-next .services-details__content .pb-outcome-panel > ul li,
.pb-next .services-details__content .pb-outcome-panel .pb-outcome-panel__copy li {
    position: relative;
    display: block;
    padding: 13px 0 13px 34px;
    border-bottom: 1px solid #e9edf4;
    color: var(--pb-ink);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.48;
}
.pb-next .services-details__content .pb-outcome-panel > ul li:last-child,
.pb-next .services-details__content .pb-outcome-panel .pb-outcome-panel__copy li:last-child { border-bottom: 0; }
.pb-next .services-details__content .pb-outcome-panel > ul li::before,
.pb-next .services-details__content .pb-outcome-panel .pb-outcome-panel__copy li::before {
    position: absolute;
    top: 14px;
    left: 0;
    display: grid;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    place-items: center;
    background: #e8f0ff;
    color: var(--pb-blue-deep);
    content: "✓";
    font-size: 11px;
    font-weight: 800;
}
.pb-next .services-details__content .pb-outcome-panel--engineering {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    min-height: 410px;
}
.pb-next .services-details__content .pb-outcome-panel__copy {
    display: grid;
    align-content: center;
    padding: 28px 30px;
    background: linear-gradient(145deg, #f7faff, #eef4ff);
}
.pb-next .services-details__content .pb-outcome-panel__copy ul { padding: 0; margin: 0; list-style: none; }
.pb-next .services-details__content .pb-outcome-panel__visual {
    position: relative;
    display: grid;
    min-width: 0;
    place-items: center;
    padding: 28px;
    background: #fff;
}
.pb-next .services-details__content .pb-outcome-panel__visual::after {
    position: absolute;
    right: 22px;
    bottom: 18px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(7, 29, 54, .9);
    color: #fff;
    content: "Connected delivery model";
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.pb-next .services-details__content .pb-outcome-panel__visual img {
    display: block;
    width: 100%;
    max-width: none !important;
    height: auto;
    margin: 0;
    border-radius: 0;
}

/* About: turn the body into a deliberate company story rather than a series
   of unrelated templates. The single portrait is stable by design. */
.pb-next.pb-about-page .our-company {
    position: relative;
    background: linear-gradient(106deg, #fff 0%, #fff 57%, #f4f8ff 57%, #f4f8ff 100%);
}
.pb-next.pb-about-page .company-skill__media {
    max-width: 540px;
    aspect-ratio: 1.18 / 1;
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: 22px;
    background: #4057a5;
    box-shadow: 0 24px 58px rgba(7, 29, 54, .16);
}
.pb-next.pb-about-page .company-skill__media::before { display: none; }
.pb-next.pb-about-page .company-skill__media .slide-img,
.pb-next.pb-about-page .company-skill__media .slide-img:first-child {
    position: absolute !important;
    inset: 0;
    display: block !important;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}
.pb-next.pb-about-page .company-skill__media .slide-img:not(:first-child) { display: block !important; }
.pb-next.pb-about-page .our-company__content { padding: 8px 0 8px 34px; }
.pb-next.pb-about-page .pb-approach {
    background: linear-gradient(135deg, #071d36, #123f6d);
}
.pb-next.pb-about-page .pb-approach::after { background: rgba(86, 151, 255, .12); }
.pb-next.pb-about-page .pb-approach__eyebrow,
.pb-next.pb-about-page .pb-approach__intro h2 { color: #fff; }
.pb-next.pb-about-page .pb-approach__intro > p:last-child { color: rgba(255,255,255,.72); }
.pb-next.pb-about-page .pb-approach__card {
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.07);
    box-shadow: none;
}
.pb-next.pb-about-page .pb-approach__card h3 { color: #fff; }
.pb-next.pb-about-page .pb-approach__card p { color: rgba(255,255,255,.74); }
.pb-next.pb-about-page .employee__wrapper { background: #f8faff; }

@media (max-width: 767px) {
    .pb-next .services-details__content .pb-outcome-panel,
    .pb-next .services-details__content .pb-outcome-panel--engineering { grid-template-columns: 1fr; min-height: 0; }
    .pb-next .services-details__content .pb-outcome-panel > img,
    .pb-next .services-details__content .pb-outcome-panel > video { min-height: 220px; }
    .pb-next .services-details__content .pb-outcome-panel > ul,
    .pb-next .services-details__content .pb-outcome-panel__copy { padding: 21px; }
    .pb-next .services-details__content .pb-outcome-panel__visual { padding: 18px; }
    .pb-next .services-details__content .pb-outcome-panel__visual::after { right: 14px; bottom: 12px; font-size: 9px; }
    .pb-next.pb-about-page .our-company { background: #fff; }
    .pb-next.pb-about-page .company-skill__media { max-width: 460px; border-width: 5px; border-radius: 18px; }
    .pb-next.pb-about-page .our-company__content { padding-left: 0; }
}

/* Service visuals should be inspected as diagrams, not cropped as decoration. */
.pb-next .services-details__content .pb-outcome-panel > img {
    padding: clamp(18px, 3vw, 32px);
    object-fit: contain;
    background: #f5f8fd;
}
.pb-next .services-details__content .pb-outcome-panel > video { object-fit: cover; }
.pb-next .services-details__content .pb-outcome-panel > ul,
.pb-next .services-details__content .pb-outcome-panel__copy ul { counter-reset: outcome; }
.pb-next .services-details__content .pb-outcome-panel > ul li,
.pb-next .services-details__content .pb-outcome-panel .pb-outcome-panel__copy li {
    counter-increment: outcome;
    padding-left: 42px;
}
.pb-next .services-details__content .pb-outcome-panel > ul li::before,
.pb-next .services-details__content .pb-outcome-panel .pb-outcome-panel__copy li::before {
    top: 13px;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: #e8f0ff;
    color: var(--pb-blue-deep);
    content: "0" counter(outcome);
    font-size: 9px;
    letter-spacing: 0;
}
.pb-next .services-details__content .pb-outcome-panel.has-zoom { position: relative; }
.pb-next .pb-outcome-panel__zoom {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--pb-navy);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(7,29,54,.2);
    transition: background .2s ease, transform .2s ease;
}
.pb-next .pb-outcome-panel__zoom:hover,
.pb-next .pb-outcome-panel__zoom:focus-visible { background: var(--pb-blue); transform: translateY(-2px); }
.pb-image-viewer {
    width: min(1100px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 18px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.pb-image-viewer::backdrop { background: rgba(3,16,31,.78); backdrop-filter: blur(3px); }
.pb-image-viewer img { display: block; max-width: 100%; max-height: calc(100vh - 105px); margin: 0 auto; object-fit: contain; }
.pb-image-viewer p { margin: 12px 0 0; color: var(--pb-muted); font-size: 12px; text-align: center; }
.pb-image-viewer__close { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--pb-navy); color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }

/* Dense GMP material is a catalogue, not one long column beside a cropped graphic. */
.pb-next .services-details__content .pb-outcome-panel--dense {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(260px, 360px) auto;
}
.pb-next .services-details__content .pb-outcome-panel--dense > img { grid-column: 1 / -1; grid-row: 1; min-height: 0; }
.pb-next .services-details__content .pb-outcome-panel--dense > ul { grid-row: 2; padding: 20px 26px; }
.pb-next .services-details__content .pb-outcome-panel--dense > ul:nth-of-type(1) { grid-column: 1; border-right: 1px solid var(--pb-line); }
.pb-next .services-details__content .pb-outcome-panel--dense > ul:nth-of-type(2) { grid-column: 2; }
.pb-next .services-details__content .pb-outcome-panel--dense > ul li { padding-top: 10px; padding-bottom: 10px; }
.pb-next .services-details__content .pb-outcome-panel--dense > ul li::before { top: 10px; }

/* Values have a graphic anchor and a consistent editorial layout rather than
   three small source images floating in otherwise empty cards. */
.pb-next.pb-about-page .employee__wrapper .single_card_item {
    display: flex;
    flex-direction: column;
    min-height: 315px;
    padding: 30px;
    overflow: hidden;
    background: #fff;
}
.pb-next.pb-about-page .employee__wrapper .single_card_item .card_img {
    position: relative;
    width: 100%;
    height: 112px;
    margin: 0 0 26px;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, #edf3ff, #f7f9ff);
}
.pb-next.pb-about-page .employee__wrapper .single_card_item .card_img::after {
    position: absolute;
    top: -46px;
    right: -28px;
    width: 134px;
    height: 134px;
    border-radius: 50%;
    background: rgba(55,114,255,.12);
    content: "";
}
.pb-next.pb-about-page .employee__wrapper .row > [class*="col-"]:nth-child(2) .card_img { background: linear-gradient(135deg, #f6edff, #fbf8ff); }
.pb-next.pb-about-page .employee__wrapper .row > [class*="col-"]:nth-child(3) .card_img { background: linear-gradient(135deg, #eef9eb, #f8fcf6); }
.pb-next.pb-about-page .employee__wrapper .single_card_item .card_img img {
    position: relative;
    z-index: 1;
    width: 64px;
    max-width: none;
    max-height: 64px;
    transform: scale(1.18);
}
.pb-next.pb-about-page .employee__wrapper .single_card_item .card_content,
.pb-next.pb-about-page .employee__wrapper .single_card_item .card_content .content { display: block !important; padding: 0; text-align: left !important; }
.pb-next.pb-about-page .employee__wrapper .single_card_item h4 { margin-bottom: 10px; font-size: 1.45rem; }

/* Controlled consultant carousel: the card stays still in the layout while
   portraits cross-fade; dots also give visitors a direct way to choose. */
.pb-next.pb-about-page .company-skill__media.is-slideshow .slide-img {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(1.018) !important;
    transition: opacity .55s ease, visibility .55s ease, transform 3.8s ease !important;
}
.pb-next.pb-about-page .company-skill__media.is-slideshow .slide-img.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}
.pb-team-rotator__controls {
    position: absolute;
    z-index: 3;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(7,29,54,.74);
    backdrop-filter: blur(8px);
}
.pb-team-rotator__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.pb-team-rotator__dot[aria-current="true"] { background: #fff; transform: scale(1.28); }
.pb-team-rotator__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* The service sidebar has one pattern everywhere: sticky and scannable on
   desktop; a compact, content-first disclosure on tablet and mobile. */
.pb-service-nav-toggle { display: none; }
@media (max-width: 1199px) {
    .pb-next .services-details .main-sidebar { gap: 12px; margin-top: 42px; }
    .pb-next .services-details .main-sidebar > .single-sidebar-widget:not(.have-any) { padding: 17px !important; border-radius: 14px; }
    .pb-next .services-details .main-sidebar > .single-sidebar-widget:not(.have-any) .wid-title { margin: 0 !important; font-size: 11px; }
    .pb-next .services-details .main-sidebar .have-any { min-height: 145px; padding: 22px !important; border-radius: 14px; }
    .pb-next .services-details .main-sidebar .have-any .wid-title { font-size: 1.2rem; }
    .pb-service-nav-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 11px 0 0;
        border: 0;
        background: transparent;
        color: var(--pb-ink);
        font: inherit;
        font-size: .92rem;
        font-weight: 750;
        text-align: left;
    }
    .pb-service-nav-toggle i { color: var(--pb-blue); transition: transform .2s ease; }
    .pb-next .services-details .main-sidebar .is-collapsed .widget_categories { display: none; }
    .pb-next .services-details .main-sidebar .is-collapsed .pb-service-nav-toggle i { transform: rotate(-90deg); }
    .pb-next .services-details .main-sidebar .widget_categories { margin-top: 14px; }
    .pb-next .services-details .main-sidebar .widget_categories ul { gap: 6px; }
    .pb-next .services-details .main-sidebar .widget_categories li a { min-height: 44px; padding: 10px 12px; border-radius: 8px; }
}

/* Homepage v2: a concise B2B narrative — promise, proof, then the five ways
   Pharmabot helps clients move forward. */
.pb-next .pb-home-proof { position: relative; z-index: 4; margin-top: -1px; padding: 0 0 42px; background: var(--pb-navy); }
.pb-next .pb-home-proof__inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 20px 26px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: rgba(255,255,255,.06); color: #fff; }
.pb-next .pb-home-proof p { margin: 0; font-size: .93rem; font-weight: 750; }
.pb-next .pb-home-proof ul { display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 0; margin: 0; list-style: none; color: rgba(255,255,255,.73); font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.pb-next .pb-home-proof li::before { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--pb-coral); content: ""; vertical-align: 1px; }
.pb-next .why-choose__home { padding-top: clamp(75px, 9vw, 130px) !important; background: #fff; }
.pb-next .why-choose__home::before { width: 420px; height: 420px; top: auto; right: -260px; bottom: 4%; background: #eef4ff; }
.pb-next .why-choose__home .why-choose__item-wrapper { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pb-next .why-choose__home .why-choose__item {
    display: flex;
    min-height: 315px;
    padding: 23px;
    flex-direction: column;
    border: 1px solid var(--pb-line);
    border-radius: 16px;
    background: #fff !important;
    box-shadow: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pb-next .why-choose__home .why-choose__item:hover { border-color: rgba(55,114,255,.35); box-shadow: 0 17px 33px rgba(7,29,54,.09); transform: translateY(-5px); }
.pb-next .why-choose__home .why-choose__item .icon { display: grid; width: 48px; height: 48px; margin-bottom: 28px !important; border-radius: 13px; place-items: center; background: #edf3ff; color: var(--pb-blue) !important; }
.pb-next .why-choose__home .why-choose__item .icon i { font-size: 24px; }
.pb-next .why-choose__home .why-choose__item .pb-card-index { position: static; display: block; margin: 0 0 10px; color: var(--pb-blue); font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.pb-next .why-choose__home .why-choose__item .title { min-height: 48px; margin-bottom: 11px !important; color: var(--pb-ink) !important; font-size: 1.05rem; line-height: 1.28; }
.pb-next .why-choose__home .why-choose__item .description { margin-bottom: 16px !important; }
.pb-next .why-choose__home .why-choose__item .description p { color: var(--pb-muted); font-size: .88rem; line-height: 1.58; }
.pb-next .why-choose__home .why-choose__item > a { margin-top: auto; color: var(--pb-blue) !important; font-size: .84rem; font-weight: 800; }

/* Final service-diagram reset. Legacy themes drew an extra checkmark via a
   pseudo-element; use a restrained rule marker instead, and preserve every
   edge of animated diagrams. */
.pb-next .services-details__content .pb-outcome-panel > video {
    object-fit: contain !important;
    padding: clamp(14px, 2.5vw, 28px);
    background: #f5f8fd;
}
.pb-next .services-details__content .pb-outcome-panel li {
    padding-left: 17px !important;
    border-left: 3px solid #dce8ff;
}
.pb-next .services-details__content .pb-outcome-panel li::before,
.pb-next .services-details__content .pb-outcome-panel li::after {
    display: none !important;
    content: none !important;
}
.pb-next.pb-about-page .company-skill__media.is-slideshow .slide-img,
.pb-next.pb-about-page .company-skill__media.is-slideshow .slide-img:not(:first-child) {
    display: block !important;
}
@media (max-width: 1199px) {
    .pb-next .why-choose__home .why-choose__item-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .pb-next .pb-home-proof { padding: 0 0 28px; }
    .pb-next .pb-home-proof__inner { display: block; padding: 20px; }
    .pb-next .pb-home-proof ul { gap: 10px 14px; margin-top: 14px; font-size: 9px; }
    .pb-next .why-choose__home .why-choose__item-wrapper { grid-template-columns: 1fr; gap: 12px; }
    .pb-next .why-choose__home .why-choose__item { min-height: 0; padding: 22px; }
    .pb-next .why-choose__home .why-choose__item .title { min-height: 0; }
}
