/* Pharmabot experience layer — shared visual and interaction system.
   It intentionally sits after the legacy theme so all existing markup,
   Bootstrap controls, links and forms remain operational. */
@import url("footer-redesign.css");
:root {
    --pbx-ink: #10243e;
    --pbx-deep: #08172a;
    --pbx-blue: #1769e0;
    --pbx-sky: #eaf3ff;
    --pbx-paper: #f7f9fc;
    --pbx-line: rgba(16, 36, 62, .13);
    --pbx-muted: #526273;
    --pbx-ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; }
body.pb-apple { background: var(--pbx-paper); color: var(--pbx-ink); }
body.pb-apple a:focus-visible, body.pb-apple button:focus-visible, body.pb-apple input:focus-visible,
body.pb-apple textarea:focus-visible, body.pb-apple select:focus-visible {
    outline: 3px solid rgba(23, 105, 224, .65); outline-offset: 3px;
}
/* Header chrome stays genuinely fixed to the viewport. */
body.pb-apple .header.header-1 { position: fixed !important; top: 0; z-index: 1000; }
body.pb-apple .header.header-1.pbx-header-is-scrolled { box-shadow: none; }
body.pb-apple .header.header-1 .main-header-wraper,
body.pb-apple .header.header-1.pbx-header-is-scrolled .main-header-wraper { background: #fff !important; border-bottom: 1px solid rgba(16,36,62,.08); box-shadow: none !important; backdrop-filter: none !important; }
body.pb-apple .main-menu > ul > li > a { letter-spacing: -.01em; }
body.pb-apple .main-menu > ul > li > a::after { display: block; width: 0; height: 2px; margin-top: 5px; background: var(--pbx-blue); content: ""; transition: width .3s var(--pbx-ease); }
body.pb-apple .main-menu > ul > li:hover > a::after, body.pb-apple .main-menu > ul > li > a:focus::after { width: calc(100% - 18px); }
body.pb-apple .main-menu > ul > li.pbx-nav-current > a { color: var(--pbx-blue); }
body.pb-apple .main-menu > ul > li.pbx-nav-current > a::after { width: calc(100% - 18px); }
/* Contact remains a normal navigation destination, not a coloured button.
   These selectors intentionally override older header skins. */
body.pb-next .header-right .main-menu > ul > li > a[href="/contact"],
body.pb-site-refresh .header-right .main-menu > ul > li > a[href="/contact"] { margin-left: 0; padding: 10px 13px !important; border-radius: 0; background: transparent !important; box-shadow: none !important; color: var(--pbx-ink) !important; transform: none !important; }
body.pb-next .header-right .main-menu > ul > li > a[href="/contact"]:hover,
body.pb-site-refresh .header-right .main-menu > ul > li > a[href="/contact"]:hover { background: #edf3ff !important; color: var(--pbx-blue) !important; }
body.pb-apple .main-menu li ul { border: 1px solid var(--pbx-line); border-radius: 14px; box-shadow: 0 18px 50px rgba(8,23,42,.17); overflow: hidden; }
body.pb-apple .main-menu li ul a { transition: background .2s ease, color .2s ease; }
body.pb-apple .main-menu li ul a:hover { background: var(--pbx-sky); color: var(--pbx-blue); }
body.pb-apple .main-menu li ul a.pbx-nav-current { background: var(--pbx-sky); color: var(--pbx-blue); font-weight: 800; }

/* Keep the useful contact strip above the main navigation. It is deliberately
   factual and compact, while phone and email now remain real touch targets. */
body.pb-apple .top-header { position: relative; z-index: 1; background: var(--pbx-deep); }
body.pb-apple .top-header .header-right-socail h6 { margin: 0 13px 0 0; font-size: .74rem; letter-spacing: .075em; text-transform: uppercase; }
body.pb-apple .top-header .header-cta ul { gap: clamp(15px, 2vw, 31px); }
body.pb-apple .top-header .header-cta a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.86); font-size: .83rem; transition: color .2s ease; }
body.pb-apple .top-header .header-cta a:hover { color: #8bc0ff; }
body.pb-apple .top-header .header-cta i { color: #8bc0ff; }
body.pb-apple .mobile-nav a.pbx-nav-current, body.pb-apple .mobile-nav li.pbx-nav-current > a { color: #fff; }

/* Narrative page headers */
body.pb-apple .page-banner { position: relative; min-height: clamp(280px, 34vw, 490px); display: flex; align-items: end; isolation: isolate; overflow: hidden; background-color: var(--pbx-deep); }
body.pb-apple .page-banner::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(104deg, rgba(4,15,30,.88) 0%, rgba(4,15,30,.52) 46%, rgba(4,15,30,.12) 100%); content: ""; }
body.pb-apple .page-banner .page-header { padding-bottom: clamp(38px, 6vw, 88px); }
body.pb-apple .page-banner .page-header h1 { max-width: 12ch; color: #fff; font-size: clamp(2.65rem, 6.5vw, 6.2rem); line-height: .96; letter-spacing: -.057em; text-wrap: balance; }
body.pb-apple .page-banner .breadcrumb-wrapper { margin-top: 20px; }
body.pb-apple .page-banner .breadcrumb-wrapper li, body.pb-apple .page-banner .breadcrumb-wrapper a { color: rgba(255,255,255,.76); }

/* Services: turn the existing document into a legible, paced story. */
body.pb-service-story .services-details { position: relative; padding-top: clamp(68px, 9vw, 145px) !important; padding-bottom: clamp(72px, 9vw, 140px) !important; background: linear-gradient(180deg, #fff 0%, var(--pbx-paper) 100%); }
body.pb-service-story .services-details__content { padding-right: clamp(0px, 3vw, 36px); }
body.pb-service-story .services-details__content > h2, body.pb-service-story .services-details__content > h3 { max-width: 14ch; margin-top: 0; color: var(--pbx-ink); font-size: clamp(2rem, 4vw, 4.35rem); line-height: 1.02; letter-spacing: -.05em; }
body.pb-service-story .services-details__content > h3, body.pb-service-story .services-details__content > h4 { margin-top: clamp(44px, 7vw, 92px); }
body.pb-service-story .services-details__content > h4 { color: var(--pbx-ink); font-size: clamp(1.6rem, 2.8vw, 2.65rem); line-height: 1.08; letter-spacing: -.04em; }
body.pb-service-story .services-details__content p { max-width: 68ch; color: var(--pbx-muted); font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.82; }
body.pb-service-story .services-details__content img, body.pb-service-story .services-details__content video { width: 100%; height: auto; border: 1px solid var(--pbx-line); border-radius: 22px; box-shadow: 0 22px 55px rgba(13,43,78,.12); }
body.pb-service-story .services-details__content .pb-outcome-panel { margin: clamp(26px, 4vw, 54px) 0; }
body.pb-service-story .services-details__content .faq { margin-top: 30px !important; border-top: 1px solid var(--pbx-line); }
body.pb-service-story .services-details__content .accordion-item { overflow: clip; border: 0; border-bottom: 1px solid var(--pbx-line); border-radius: 0; background: transparent; }
body.pb-service-story .services-details__content .accordion-button { padding: 24px 52px 24px 0; background: transparent; color: var(--pbx-ink); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 700; box-shadow: none; }
body.pb-service-story .services-details__content .accordion-button:not(.collapsed) { background: transparent; color: var(--pbx-blue); }
body.pb-service-story .services-details__content .accordion-button::after { width: 30px; height: 30px; border: 1px solid var(--pbx-line); border-radius: 50%; background-position: center; background-size: 12px; }
body.pb-service-story .services-details__content .accordion-body { padding: 0 30px 25px 0; color: var(--pbx-muted); font-size: 1rem; line-height: 1.75; }
body.pb-service-story .services-details .main-sidebar { top: 118px !important; }
body.pb-service-story .services-details .single-sidebar-widget { border: 1px solid var(--pbx-line); border-radius: 18px; background: #fff; box-shadow: 0 14px 36px rgba(18,47,82,.07); }
body.pb-service-story .services-details .wid-title { color: var(--pbx-ink); }
body.pb-service-story .services-details .widget_categories li a { position: relative; padding: 13px 20px 13px 0; color: var(--pbx-muted); transition: color .25s ease, padding .3s var(--pbx-ease); }
body.pb-service-story .services-details .widget_categories li a:hover, body.pb-service-story .services-details .widget_categories li a.active { padding-left: 9px; color: var(--pbx-blue); }
body.pb-service-story .cta-banner { overflow: visible; background: var(--pbx-paper); }
body.pb-service-story .cta-banner .container { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 52px rgba(7,30,62,.17); }
/* The lead service film lives behind the title and breadcrumb. It is the
   original video element, so there is no competing duplicate video load. */
body.pb-service-story .page-banner { min-height: clamp(390px, 48vw, 620px); }
body.pb-service-story .page-banner .pbx-service-hero-video { position: absolute; z-index: -2; inset: 0; display: block; margin: 0 !important; overflow: hidden; }
body.pb-service-story .page-banner .pbx-service-hero-video > video,
body.pb-service-story .page-banner .pbx-service-hero-video .pbx-video-shell,
body.pb-service-story .page-banner .pbx-service-hero-video .pbx-video-shell > video { width: 100% !important; height: 100% !important; max-height: none !important; }
body.pb-service-story .page-banner .pbx-service-hero-video > video,
body.pb-service-story .page-banner .pbx-service-hero-video .pbx-video-shell > video { display: block; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; object-fit: cover; }
body.pb-service-story .page-banner .pbx-service-hero-video .pbx-video-shell { border: 0; border-radius: 0; box-shadow: none; }
body.pb-service-story .page-banner .pbx-service-hero-video .pbx-video-shell::before { opacity: 0; }
body.pb-service-story .page-banner .page-banner__media { display: none; }
body.pb-service-story .page-banner::after { background: linear-gradient(104deg, rgba(4,15,30,.91) 0%, rgba(4,15,30,.66) 48%, rgba(4,15,30,.42) 100%); }
body.pb-service-story .page-banner .pbx-video-control { opacity: 0; transform: translateY(6px); }
body.pb-service-story .page-banner:hover .pbx-video-control,
body.pb-service-story .page-banner:focus-within .pbx-video-control { opacity: 1; transform: none; }
body.pb-service-story .pbx-video-shell { position: relative; overflow: hidden; border: 1px solid var(--pbx-line); border-radius: 22px; background: var(--pbx-deep); box-shadow: 0 22px 55px rgba(13,43,78,.12); }
body.pb-service-story .pbx-video-shell video { display: block !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
body.pb-service-story .pbx-video-shell::before { position: absolute; z-index: 2; inset: 0; background: linear-gradient(135deg, rgba(8,23,42,.68), rgba(8,23,42,.16)); content: ""; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
body.pb-service-story .pbx-video-shell.is-loading::before { opacity: 1; }
body.pb-service-story .pbx-video-status { position: absolute; z-index: 3; right: 15px; bottom: 15px; display: inline-flex; align-items: center; min-height: 33px; padding: 0 11px; border-radius: 999px; background: rgba(7,20,37,.8); color: #fff; font-size: .73rem; font-weight: 800; letter-spacing: .035em; transition: opacity .3s ease; }
body.pb-service-story .pbx-video-shell.is-loading .pbx-video-status::before { width: 8px; height: 8px; margin-right: 7px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; content: ""; animation: pbx-spin .8s linear infinite; }
body.pb-service-story .pbx-video-shell.is-ready .pbx-video-status { opacity: 0; pointer-events: none; }
body.pb-service-story .pbx-video-shell.has-error .pbx-video-status { left: 15px; right: auto; max-width: calc(100% - 30px); opacity: 1; }
body.pb-service-story .pbx-video-control { position: absolute; z-index: 4; left: 15px; bottom: 15px; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; background: rgba(7,20,37,.82); color: #fff; font-size: .76rem; font-weight: 800; cursor: pointer; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s var(--pbx-ease), background .2s ease; }
body.pb-service-story .pbx-video-shell:hover .pbx-video-control, body.pb-service-story .pbx-video-shell:focus-within .pbx-video-control { opacity: 1; transform: none; }
body.pb-service-story .pbx-video-control:hover { background: var(--pbx-blue); }
body.pb-service-story .pbx-video-control:focus-visible { opacity: 1; transform: none; outline: 2px solid #fff; outline-offset: 2px; }
.pbx-service-progress { position: fixed; z-index: 900; top: 50%; right: 22px; width: 120px; padding: 13px 14px; border: 1px solid rgba(16,36,62,.12); border-radius: 12px; background: rgba(255,255,255,.9); box-shadow: 0 12px 28px rgba(10,39,74,.1); opacity: 0; transform: translateX(14px); pointer-events: none; transition: opacity .25s ease, transform .25s var(--pbx-ease); }
.pbx-service-progress.is-active { opacity: 1; transform: none; }
.pbx-service-progress span { display: block; color: var(--pbx-muted); font-size: .64rem; font-weight: 800; letter-spacing: .055em; line-height: 1.25; text-transform: uppercase; }
.pbx-service-progress__track { height: 4px; margin: 10px 0 7px; overflow: hidden; border-radius: 999px; background: #dce6f1; }
.pbx-service-progress__track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--pbx-blue); transition: width .1s linear; }
.pbx-service-progress b { color: var(--pbx-ink); font-size: .78rem; }
@keyframes pbx-spin { to { transform: rotate(360deg); } }

/* Homepage emphasises each existing card while keeping every destination unchanged. */
body.pb-home-story .banner-home { position: relative; min-height: min(730px, 82vh); display: flex; align-items: center; }
body.pb-home-story .banner-home__content { max-width: 650px; }
body.pb-home-story .banner-home .title { text-wrap: balance; }
/* Fold Text-inspired hero entrance: each editorial line opens forward on a
   horizontal hinge, then settles flat. The readable source heading remains
   available through its accessible label. */
body.pb-home-story .banner-home .title.pbx-hero-fold { max-width: 14ch; text-wrap: initial; }
body.pb-home-story .pbx-hero-fold__clip { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; perspective: 760px; }
body.pb-home-story .pbx-hero-fold__line { display: block; opacity: 0; transform: rotateX(-88deg) translateY(.52em); transform-origin: 50% 100%; transform-style: preserve-3d; animation: pbx-hero-fold-open .78s var(--pbx-ease) forwards; }
body.pb-home-story .pbx-hero-fold__clip:nth-child(1) .pbx-hero-fold__line { animation-delay: .52s; }
body.pb-home-story .pbx-hero-fold__clip:nth-child(2) .pbx-hero-fold__line { animation-delay: .65s; }
body.pb-home-story .pbx-hero-fold__clip:nth-child(3) .pbx-hero-fold__line { animation-delay: .78s; }
body.pb-home-story .pbx-hero-fold__clip:nth-child(4) .pbx-hero-fold__line { animation-delay: .91s; }
@keyframes pbx-hero-fold-open {
    0% { opacity: 0; transform: rotateX(-88deg) translateY(.52em); }
    58% { opacity: 1; transform: rotateX(7deg) translateY(-.04em); }
    100% { opacity: 1; transform: rotateX(0) translateY(0); }
}
/* The strategic statement folds on entry; service titles arrive word by word
   once, while the Home Hero unfolds line by line. */
body.pb-apple .pbx-split-text__word { display: inline-block; color: inherit; opacity: 0; transform: translateY(.7em) rotateX(-55deg); transform-origin: 50% 100%; transition: opacity .58s ease var(--pbx-text-delay), transform .72s var(--pbx-ease) var(--pbx-text-delay); }
body.pb-apple .pbx-split-text.is-text-visible .pbx-split-text__word { opacity: 1; transform: none; }
body.pb-apple .page-banner .page-title h1 .pbx-split-text__word { color: inherit; }
body.pb-apple .page-banner .page-title h1 .pbx-split-text__word.is-accent { color: #b8d5ff; }
body.pb-apple .pbx-fold-text__clip { display: inline-block; overflow: hidden; vertical-align: bottom; }
body.pb-apple .pbx-fold-text__word { display: inline-block; opacity: 0; transform: perspective(680px) rotateX(-86deg) translateY(.58em); transform-origin: 50% 100%; transition: opacity .35s ease var(--pbx-text-delay), transform .74s var(--pbx-ease) var(--pbx-text-delay); }
body.pb-apple .pbx-fold-text.is-text-visible .pbx-fold-text__word { opacity: 1; transform: none; }
body.pb-home-story .why-choose__item { will-change: transform; }
body.pb-home-story .why-choose__item:focus-within { transform: translateY(-5px); border-color: rgba(23,105,224,.55); }
body.pb-home-story .upcoming-event-card { overflow: hidden; }
/* Event artwork is bright and inviting at rest. The darker treatment appears
   only when someone hovers or tabs into the card to reveal its full context. */
body.pb-home-story .upcoming-event-card { filter: brightness(1.13) saturate(1.04); transition: transform .4s var(--pbx-ease), box-shadow .4s var(--pbx-ease), filter .4s var(--pbx-ease); }
body.pb-home-story .upcoming-event-card::before { position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(4,20,37,.13), rgba(4,20,37,.04) 62%, transparent); content: ""; opacity: 1; transition: background .4s var(--pbx-ease); }
body.pb-home-story .upcoming-event-card::after { background: linear-gradient(180deg, transparent 45%, rgba(4,20,37,.18) 100%); transition: background .4s var(--pbx-ease); }
body.pb-home-story .upcoming-event-card:is(:hover, :focus-visible) { filter: brightness(.94) saturate(1.02); }
body.pb-home-story .upcoming-event-card:is(:hover, :focus-visible)::before { background: linear-gradient(90deg, rgba(4,20,37,.9), rgba(4,20,37,.5) 58%, rgba(4,20,37,.14)); }
body.pb-home-story .upcoming-event-card:is(:hover, :focus-visible)::after { background: linear-gradient(180deg, rgba(4,20,37,.12), rgba(4,20,37,.48) 100%); }

/* About is a people-and-principles story rather than a service document. */
body.pb-apple.pb-about-page .page-banner { min-height: clamp(390px, 42vw, 570px); align-items: center; background: radial-gradient(circle at 86% 22%, rgba(72,146,255,.34), transparent 24%), linear-gradient(118deg, #071629 0%, #0c3157 100%); }
body.pb-apple.pb-about-page .page-banner .transparent-text { color: rgba(255,255,255,.08); font-size: clamp(4.2rem, 10vw, 10rem); letter-spacing: -.08em; }
body.pb-apple.pb-about-page .page-banner .page-title h1 { max-width: 10ch; margin: 0; color: #fff; font-size: clamp(3rem, 6.2vw, 6rem); line-height: .96; letter-spacing: -.06em; }
body.pb-apple.pb-about-page .page-banner .page-title h1 span { color: #b9d4ff; }
body.pb-apple.pb-about-page .page-banner__media { display: block; position: relative; max-width: 470px; margin-left: auto; }
body.pb-apple.pb-about-page .page-banner__media .start { display: none; }
body.pb-apple.pb-about-page .page-banner__media > img:not(.start) { display: block; width: 100%; min-height: 360px; border: 1px solid rgba(255,255,255,.2); border-radius: 28px 28px 96px 28px; object-fit: cover; box-shadow: 26px 26px 0 rgba(112,174,255,.18), 0 28px 60px rgba(1,12,29,.32); }
body.pb-apple.pb-about-page .our-company { position: relative; padding-top: clamp(84px, 10vw, 150px) !important; padding-bottom: clamp(84px, 10vw, 142px) !important; background: #fff; }
body.pb-apple.pb-about-page .our-company__content { padding-left: clamp(0px, 3vw, 48px); }
body.pb-apple.pb-about-page .our-company__content .title { max-width: 13ch; color: var(--pbx-ink); font-size: clamp(2.25rem, 4.3vw, 4.6rem); line-height: 1.02; letter-spacing: -.055em; }
body.pb-apple.pb-about-page .our-company__content .descriiption p { max-width: 60ch; color: var(--pbx-muted); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.8; }
body.pb-apple.pb-about-page .pb-mission-note { margin-top: 34px; padding: 23px 25px; border-left: 3px solid var(--pbx-blue); border-radius: 0 14px 14px 0; background: var(--pbx-sky); }
body.pb-apple.pb-about-page .pb-mission-note h4 { margin: 0 0 8px; color: var(--pbx-ink); font-size: 1.08rem; }
body.pb-apple.pb-about-page .pb-mission-note p { margin: 0; }
body.pb-apple.pb-about-page .pb-approach { position: relative; overflow: hidden; background: var(--pbx-deep); }
body.pb-apple.pb-about-page .pb-approach::before { position: absolute; width: min(55vw, 700px); height: min(55vw, 700px); top: -45%; right: -20%; border: 1px solid rgba(170,211,255,.13); border-radius: 50%; box-shadow: 0 0 0 72px rgba(170,211,255,.035), 0 0 0 144px rgba(170,211,255,.02); content: ""; }
body.pb-apple.pb-about-page .pb-approach .container { position: relative; }
body.pb-apple.pb-about-page .pb-approach__intro { max-width: 760px; }
body.pb-apple.pb-about-page .pb-approach__intro h2 { max-width: 13ch; font-size: clamp(2.25rem, 4.3vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
body.pb-apple.pb-about-page .pb-approach__card { min-height: 250px; transition: transform .4s var(--pbx-ease), border-color .3s ease, background .3s ease; }
body.pb-apple.pb-about-page .pb-approach__card:hover { border-color: rgba(145,194,255,.65); background: rgba(34,82,133,.4); transform: translateY(-7px); }
body.pb-apple.pb-about-page .employee__wrapper { padding-top: clamp(82px, 10vw, 145px) !important; padding-bottom: clamp(82px, 10vw, 145px) !important; }
body.pb-apple.pb-about-page .employee__wrapper .section-title h2 { color: var(--pbx-ink); font-size: clamp(2.4rem, 4.5vw, 4.8rem); letter-spacing: -.055em; }
body.pb-apple.pb-about-page .employee__wrapper .single_card_item { height: 100%; transition: transform .4s var(--pbx-ease), box-shadow .4s var(--pbx-ease), border-color .3s ease; }
body.pb-apple.pb-about-page .employee__wrapper .single_card_item:hover { border-color: rgba(23,105,224,.35); box-shadow: 0 24px 48px rgba(10,45,84,.13); transform: translateY(-8px); }
body.pb-apple.pb-about-page .employee__wrapper .single_card_item .card_img { height: 154px; margin-bottom: 30px; }
body.pb-apple.pb-about-page .employee__wrapper .single_card_item .card_img img { width: 104px; max-height: 104px; object-fit: contain; transform: scale(1.32); }
body.pb-apple.pb-about-page .pb-team-rotator__controls { align-items: center; gap: 8px; padding: 8px 10px; }
body.pb-apple.pb-about-page .pb-team-rotator__dots { display: flex; align-items: center; gap: 7px; }
body.pb-apple.pb-about-page .pb-team-rotator__button, body.pb-apple.pb-about-page .pb-team-rotator__pause { display: inline-flex; min-width: 30px; height: 30px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.13); color: #fff; cursor: pointer; transition: background .2s ease, transform .2s ease; }
body.pb-apple.pb-about-page .pb-team-rotator__pause { min-width: auto; gap: 5px; padding: 0 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; }
body.pb-apple.pb-about-page .pb-team-rotator__button:hover, body.pb-apple.pb-about-page .pb-team-rotator__pause:hover { background: rgba(255,255,255,.28); transform: translateY(-1px); }
body.pb-apple.pb-about-page .pb-team-rotator__button:focus-visible, body.pb-apple.pb-about-page .pb-team-rotator__pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.pb-error-story .pb-404-services { margin-left: 10px; border: 1px solid var(--pbx-line); background: #fff; color: var(--pbx-ink); }
body.pb-error-story .pb-404-services:hover { background: var(--pbx-sky); color: var(--pbx-blue); }

/* Contact prioritises reassurance and a low-friction route to the right person. */
body.pb-apple .page-banner .page-title h1 { max-width: 11ch; color: #fff; font-size: clamp(2.7rem, 6vw, 5.6rem); line-height: .97; letter-spacing: -.058em; text-wrap: balance; }
body.pb-apple .page-banner .page-title h1 span { color: #b8d5ff; }
body.pb-contact-story .page-banner__media { display: block; max-width: 440px; margin-left: auto; }
body.pb-contact-story .page-banner__media .start { display: none; }
body.pb-contact-story .page-banner__media > img:not(.start) { display: block; min-height: 330px; border: 1px solid rgba(255,255,255,.22); border-radius: 24px 24px 82px 24px; object-fit: cover; box-shadow: 22px 24px 0 rgba(88,158,255,.17), 0 24px 56px rgba(2,15,35,.28); }
body.pb-contact-story .contact-us { padding-top: clamp(80px, 10vw, 145px) !important; padding-bottom: clamp(68px, 8vw, 116px) !important; background: #fff; }
body.pb-contact-story .contact-us__content { max-width: 600px; }
body.pb-contact-story .contact-us__content .title { max-width: 12ch; color: var(--pbx-ink); font-size: clamp(2.25rem, 4.3vw, 4.6rem); line-height: 1.02; letter-spacing: -.055em; }
body.pb-contact-story .pb-contact-lead p { color: var(--pbx-muted); font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.8; }
body.pb-contact-story .pb-contact-reassurance { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--pbx-sky); color: var(--pbx-ink); font-size: .94rem; line-height: 1.5; }
body.pb-contact-story .pb-contact-reassurance i { margin-top: 3px; color: var(--pbx-blue); }
body.pb-contact-story .pb-contact-card { height: calc(100% - 40px); padding: clamp(25px, 3vw, 38px); border: 1px solid var(--pbx-line); border-radius: 19px; background: #fff; box-shadow: 0 15px 38px rgba(14,45,80,.08); transition: transform .4s var(--pbx-ease), box-shadow .4s var(--pbx-ease); }
body.pb-contact-story .pb-contact-card:hover { box-shadow: 0 24px 48px rgba(14,45,80,.14); transform: translateY(-5px); }
body.pb-contact-story .pb-contact-card .contact-info-row { padding: 11px 0; border-top: 1px solid var(--pbx-line); }
body.pb-contact-story .pb-contact-card .contact-info-row:last-child { border-bottom: 1px solid var(--pbx-line); }
body.pb-contact-story .pb-contact-card .contact-info-row .icon { color: var(--pbx-blue) !important; }
body.pb-contact-story .contact-form { position: relative; margin-bottom: 0 !important; padding-bottom: clamp(74px, 10vw, 138px); background: var(--pbx-paper); }
body.pb-contact-story .pb-contact-map { overflow: hidden; border-radius: 22px 22px 0 0; }
body.pb-contact-story .contact-form .contact-form { max-width: 920px; margin: -45px auto 0; border: 1px solid var(--pbx-line); border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 24px 64px rgba(8,35,70,.16); }
body.pb-contact-story .contact-form .contact-form__header h2 { color: var(--pbx-ink); font-size: clamp(2rem, 3.7vw, 3.7rem); letter-spacing: -.045em; }
body.pb-contact-story .contact-form .form-check { min-height: 42px; margin-bottom: 10px; padding: 10px 12px 10px 38px; border: 1px solid var(--pbx-line); border-radius: 10px; }
/* The map stays visible as a real location surface; the enquiry card occupies
   the left reading column instead of covering the centre of the map. */
body.pb-contact-story section.contact-form { min-height: 760px; margin-bottom: clamp(72px, 9vw, 140px) !important; padding: clamp(74px, 8vw, 128px) 0 !important; background: var(--pbx-paper); }
body.pb-contact-story section.contact-form .pb-contact-map { border-radius: 0; }
body.pb-contact-story section.contact-form .pb-contact-map::after { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(247,249,252,.48) 0%, rgba(247,249,252,.18) 40%, transparent 70%); content: ""; pointer-events: none; }
body.pb-contact-story section.contact-form > .container { position: relative; z-index: 2; max-width: 1340px; margin-top: 0 !important; }
body.pb-contact-story section.contact-form > .container .contact-form { max-width: min(610px, 46%); margin: 0 auto 0 0; }
body.pb-contact-story .pb-map-address { position: absolute; z-index: 2; right: clamp(24px, 5vw, 84px); bottom: clamp(24px, 5vw, 68px); width: min(300px, 30vw); padding: 19px 21px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; background: rgba(8,23,42,.89); box-shadow: 0 14px 36px rgba(0,0,0,.24); color: #fff; backdrop-filter: blur(12px); }
body.pb-contact-story .pb-map-address span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.68); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body.pb-contact-story .pb-map-address strong { display: block; font-size: 1rem; line-height: 1.45; }
body.pb-contact-story .pb-map-address a { display: inline-flex; gap: 7px; margin-top: 13px; color: #b9d8ff; font-size: .86rem; font-weight: 800; }
body.pb-contact-story .pb-map-address a:hover { color: #fff; }
body.pb-contact-story .cta-banner { margin-top: 0; }
body.pb-contact-story .pb-form-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 0; margin: 25px 0 0; list-style: none; }
body.pb-contact-story .pb-form-next li { min-height: 76px; padding: 13px 10px 12px 15px; border-left: 2px solid #bdd8ff; color: var(--pbx-muted); font-size: .81rem; line-height: 1.45; }
body.pb-contact-story .pb-form-next span { display: block; margin-bottom: 5px; color: var(--pbx-blue); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
body.pb-contact-story .pb-service-choice { gap: 12px; }
body.pb-contact-story .pb-service-choice .form-check { min-height: 58px; align-items: center; border-radius: 12px; box-shadow: 0 2px 0 rgba(12,43,78,.02); cursor: pointer; transition: transform .25s var(--pbx-ease), border-color .25s ease, background .25s ease, box-shadow .25s ease; }
body.pb-contact-story .pb-service-choice .form-check:hover { border-color: rgba(23,105,224,.45); box-shadow: 0 8px 18px rgba(14,64,123,.08); transform: translateY(-2px); }
body.pb-contact-story .pb-service-choice .form-check:has(input:checked) { border-color: var(--pbx-blue); background: #edf5ff; box-shadow: 0 8px 18px rgba(14,64,123,.1); }
body.pb-contact-story .pb-service-choice .form-check-input { accent-color: var(--pbx-blue); }
body.pb-contact-story .pb-whatsapp-note { max-width: 42ch; margin: 8px 0 0; color: rgba(255,255,255,.74); font-size: .98rem; line-height: 1.55; }

/* Articles are editorial surfaces: image-led entries, an uncluttered body and a quiet sidebar. */
body.pb-blog-story .blog { padding-top: clamp(76px, 9vw, 135px) !important; padding-bottom: clamp(78px, 10vw, 140px) !important; background: var(--pbx-paper); }
body.pb-blog-story .blog-item { overflow: hidden; border: 1px solid var(--pbx-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(14,43,77,.06); transition: box-shadow .4s var(--pbx-ease), transform .4s var(--pbx-ease); }
body.pb-blog-story .blog-item:hover { box-shadow: 0 24px 54px rgba(14,43,77,.13); transform: translateY(-5px); }
body.pb-blog-story .blog-featured-thumb { margin: 0 !important; overflow: hidden; }
body.pb-blog-story .blog-featured-thumb img { width: 100%; transition: transform .7s var(--pbx-ease); }
body.pb-blog-story .blog-item:hover .blog-featured-thumb img { transform: scale(1.04); }
body.pb-blog-story .blog-item .content { padding: clamp(24px, 4vw, 46px) !important; }
body.pb-blog-story .blog-item .content h3 { max-width: 21ch; color: var(--pbx-ink); font-size: clamp(1.55rem, 2.5vw, 2.75rem); line-height: 1.12; letter-spacing: -.04em; }
body.pb-blog-story .blog-item .content p { color: var(--pbx-muted); line-height: 1.78; }
body.pb-blog-story .post-meta a { color: var(--pbx-muted); font-size: .82rem; }
body.pb-blog-story .post-meta a:hover { color: var(--pbx-blue); }
body.pb-blog-story .blog-post-details { box-shadow: 0 18px 45px rgba(14,43,77,.09); }
body.pb-blog-story .blog-post-details blockquote { margin: 38px 0; padding: 26px 30px; border-left: 3px solid var(--pbx-blue); border-radius: 0 14px 14px 0; background: var(--pbx-sky); }
body.pb-blog-story .blog-post-details figure { gap: 16px; }
body.pb-blog-story .blog-post-details figure img { border-radius: 14px; }
body.pb-blog-story .main-sidebar { top: 118px !important; }
body.pb-blog-story .main-sidebar .single-sidebar-widget { padding: 26px !important; border: 1px solid var(--pbx-line); border-radius: 17px; background: #fff; box-shadow: 0 12px 32px rgba(14,43,77,.06); }
body.pb-blog-story .main-sidebar .wid-title { color: var(--pbx-ink); }
body.pb-blog-story .main-sidebar .widget_categories li a { color: var(--pbx-muted); }
body.pb-blog-story .main-sidebar .widget_categories li a:hover { color: var(--pbx-blue); }

/* Xpodium remains visually distinct, with more depth around its event and partner interactions. */
body.pb-xpodium-story .xpodium-hero { min-height: min(780px, 88vh); display: flex; align-items: center; border-radius: 0 0 38px 38px; }
body.pb-xpodium-story .xpodium-hero::before { background: linear-gradient(118deg, rgba(3,15,35,.83), rgba(3,15,35,.35)); }
body.pb-xpodium-story .xpodium-hero__content .title { letter-spacing: -.06em; }
body.pb-xpodium-story .xpodium-partner-carousel, body.pb-xpodium-story .xpodium-content-card, body.pb-xpodium-story .xpodium-profile__card, body.pb-xpodium-story .ispe-cta__card { border-radius: 22px; box-shadow: 0 18px 46px rgba(7,31,62,.1); }
body.pb-xpodium-story .xpodium-partner-card, body.pb-xpodium-story .client-brand__item { transition: transform .4s var(--pbx-ease), box-shadow .4s var(--pbx-ease); }
body.pb-xpodium-story .xpodium-partner-card:hover, body.pb-xpodium-story .client-brand__item:hover { box-shadow: 0 20px 42px rgba(11,45,93,.16); transform: translateY(-6px); }
body.pb-xpodium-story .xpodium-profile__card, body.pb-xpodium-story .ispe-cta__card { overflow: hidden; }

/* A digital business card is intentionally compact, tactile and phone-first. */
body.pb-vcard-story { background: radial-gradient(circle at 18% 0%, #e6f2ff, transparent 36%), #edf2f8; }
body.pb-vcard-story .xpodium-vcard { padding: clamp(20px, 6vw, 64px) 16px; }
body.pb-vcard-story .xpodium-vcard__card { overflow: hidden; border: 1px solid rgba(20,67,120,.14); border-radius: 24px; box-shadow: 0 26px 68px rgba(13,43,79,.16); }
body.pb-vcard-story .xpodium-vcard__hero { background: linear-gradient(135deg, #092341, #1769b5); }
body.pb-vcard-story .xpodium-vcard__actions a, body.pb-vcard-story .xpodium-vcard__toggle { min-height: 48px; border-radius: 12px; transition: transform .3s var(--pbx-ease), box-shadow .3s var(--pbx-ease); }
body.pb-vcard-story .xpodium-vcard__actions a:hover, body.pb-vcard-story .xpodium-vcard__toggle:hover { box-shadow: 0 10px 22px rgba(10,52,99,.18); transform: translateY(-2px); }

body.pb-error-story .error { min-height: 64vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 0%, #e5f1ff, transparent 45%), var(--pbx-paper); }
body.pb-error-story .error__content .media img { max-width: min(440px, 88vw); filter: drop-shadow(0 18px 32px rgba(19,69,124,.16)); }
body.pb-error-story .error__content .title { color: var(--pbx-ink); font-size: clamp(2.25rem, 5vw, 4.7rem); letter-spacing: -.06em; }
body.pb-error-story .error__content .description p { max-width: 48ch; margin-inline: auto; color: var(--pbx-muted); }

/* System-wide components: cards, contact and footer share the same material language. */
body.pb-apple .contact-form input, body.pb-apple .contact-form textarea, body.pb-apple .contact-form select {
    border: 1px solid var(--pbx-line); border-radius: 12px; background: #fff; color: var(--pbx-ink); font-size: 1rem;
}
body.pb-apple .contact-form input:focus, body.pb-apple .contact-form textarea:focus, body.pb-apple .contact-form select:focus { border-color: var(--pbx-blue); box-shadow: 0 0 0 4px rgba(23,105,224,.12); }
body.pb-apple .theme-btn, body.pb-apple .pb-button { border-radius: 999px; transition: transform .35s var(--pbx-ease), box-shadow .35s var(--pbx-ease), background .25s ease; }
body.pb-apple .theme-btn:hover, body.pb-apple .pb-button:hover { box-shadow: 0 13px 28px rgba(7,50,109,.23); transform: translateY(-3px); }
body.pb-apple .footer-1 { position: relative; overflow: hidden; }
body.pb-apple .footer-1::before { position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(38,116,232,.22), transparent 32%); content: ""; pointer-events: none; }
body.pb-apple .footer-1 .container { position: relative; }
body.pb-apple .footer-1 iframe { border-radius: 13px; filter: saturate(.75) contrast(1.04); }
body.pb-apple .footer-1 .footer-bottom-content { gap: 14px; }
body.pb-apple .pbx-back-top { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 13px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; background: transparent; color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 800; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s var(--pbx-ease); }
body.pb-apple .pbx-back-top:hover { border-color: #8bc0ff; background: rgba(120,183,255,.14); transform: translateY(-2px); }
/* Do not transform body: transformed ancestors break viewport-fixed header
   and reading-progress elements in Chromium. */
body.pb-main-site.pbx-page-ready { animation: pbx-page-arrive .36s cubic-bezier(.16, 1, .3, 1) both; }
body.pb-main-site.pbx-route-leaving { opacity: 0; pointer-events: none; transition: opacity .34s cubic-bezier(.4, 0, 1, 1); }
@keyframes pbx-page-arrive { from { opacity: 0; } to { opacity: 1; } }
html.pbx-page-entering::before {
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: #f7f9fc;
    content: "";
    opacity: 1;
    pointer-events: auto;
    transition: opacity .38s cubic-bezier(.16, 1, .3, 1);
}
html.pbx-page-entered::before { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
    html.pbx-page-entering::before, html.pbx-page-entered::before { display: none; }
}

/* Xpodium's custom desktop and phone navigation keeps the same current-page
   signal as the main Pharmabot navigation. */
body.pb-xpodium-story .xpodium-card-nav__item.pbx-nav-current > .xpodium-card-nav__link,
body.pb-xpodium-story .xpodium-card-nav__submenu-link.pbx-nav-current { color: #0d5ca7; }
body.pb-xpodium-story .xpodium-card-nav__item.pbx-nav-current > .xpodium-card-nav__link::after { width: 100%; }
body.pb-xpodium-story .xpodium-staggered-menu__item.pbx-nav-current,
body.pb-xpodium-story .xpodium-staggered-menu__submenu-link.pbx-nav-current { color: #8bc0ff; }

/* Gentle reveal is applied only to content sections after they enter the viewport. */
body.pb-apple .pbx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--pbx-ease) var(--pbx-reveal-delay, 0ms), transform .7s var(--pbx-ease) var(--pbx-reveal-delay, 0ms); }
body.pb-apple .pbx-reveal.pbx-visible { opacity: 1; transform: none; }

@media (max-width: 1199px) {
    body.pb-apple .top-header { display: none !important; }
    body.pb-apple .header.header-1 { position: sticky; }
    body.pb-service-story .services-details__content { padding-right: 0; }
    /* Below the desktop navigation breakpoint, use the shared hamburger
       sidebar only. This prevents a second service-specific menu from
       appearing beneath the service content. */
    body.pb-service-story .services-details .main-sidebar { display: none !important; }
    body.pb-blog-story .main-sidebar { position: static !important; margin-top: 36px; }
    body.pb-contact-story section.contact-form > .container .contact-form { max-width: min(720px, 68%); }
}
@media (max-width: 767px) {
    body.pb-apple .main-header-wraper { min-height: 68px; }
    body.pb-apple .header-logo img { max-height: 37px; width: auto; }
    body.pb-apple .page-banner { min-height: 340px; align-items: end; }
    body.pb-apple .page-banner .page-header { padding-bottom: 46px; }
    body.pb-apple .page-banner .page-header h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
    body.pb-service-story .services-details { padding-top: 68px !important; }
    body.pb-service-story .services-details__content > h2, body.pb-service-story .services-details__content > h3 { font-size: clamp(2.1rem, 11vw, 3.15rem); }
    body.pb-service-story .services-details__content > h4 { margin-top: 48px; }
    body.pb-service-story .services-details__content img, body.pb-service-story .services-details__content video { border-radius: 16px; }
    body.pb-service-story .services-details__content .accordion-button { min-height: 68px; padding: 17px 44px 17px 0; font-size: 1.04rem; line-height: 1.32; }
    body.pb-service-story .services-details__content .accordion-body { padding: 0 4px 22px 0; }
    body.pb-service-story .page-banner { min-height: 420px; }
    body.pb-service-story .page-banner::after { background: linear-gradient(180deg, rgba(4,15,30,.48) 0%, rgba(4,15,30,.88) 100%); }
    /* Phone visitors use the global hamburger menu — the same menu as Home. */
    body.pb-service-story .services-details .single-sidebar-widget,
    body.pb-service-story .services-details .pb-service-nav-toggle { display: none !important; }
    body.pb-home-story .banner-home { min-height: auto; }
    body.pb-home-story .banner-home__media { margin-top: 20px; }
    body.pb-apple.pb-about-page .page-banner { min-height: 390px; align-items: end; }
    body.pb-apple.pb-about-page .page-banner .page-banner__media { display: none; }
    body.pb-apple.pb-about-page .page-banner .page-title h1 { font-size: clamp(2.85rem, 14vw, 4.25rem); }
    body.pb-apple.pb-about-page .our-company__content { padding: 40px 0 0; }
    body.pb-apple.pb-about-page .our-company__content .title, body.pb-apple.pb-about-page .pb-approach__intro h2 { font-size: clamp(2.2rem, 11vw, 3.35rem); }
    body.pb-apple.pb-about-page .pb-approach__card { min-height: 0; }
    body.pb-apple.pb-about-page .employee__wrapper .single_card_item .card_img { height: 132px; margin-bottom: 24px; }
    body.pb-apple.pb-about-page .employee__wrapper .single_card_item .card_img img { width: 88px; max-height: 88px; transform: scale(1.25); }
    body.pb-contact-story .page-banner__media { display: none; }
    body.pb-contact-story .contact-us__content .title { font-size: clamp(2.2rem, 11vw, 3.35rem); }
    body.pb-contact-story .pb-contact-card { height: auto; }
    body.pb-contact-story .contact-form .contact-form { margin-top: -26px; border-radius: 16px; }
    body.pb-blog-story .blog-item .content { padding: 24px !important; }
    body.pb-blog-story .blog-item .content h3 { font-size: 1.62rem; }
    body.pb-xpodium-story .xpodium-hero { min-height: 620px; border-radius: 0 0 24px 24px; }
    body.pb-vcard-story .xpodium-vcard__card { border-radius: 19px; }
    body.pb-apple .mobile-nav { width: min(88vw, 370px); }
    body.pb-apple .footer-1 iframe { min-height: 230px; }
    .pbx-service-progress { display: none; }
    body.pb-service-story .pbx-video-control { opacity: 1; transform: none; }
    body.pb-apple .footer-1 .footer-bottom-content { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body.pb-apple *, body.pb-apple *::before, body.pb-apple *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
    body.pb-apple .pbx-reveal { opacity: 1; transform: none; }
    body.pb-home-story .pbx-hero-fold__line { opacity: 1; transform: none; animation: none !important; }
}

/* The form sits above the map visually, but its full-width layout wrapper
   must not block map pan and zoom in the exposed area. */
@media (min-width: 768px) {
    body.pb-contact-story section.contact-form > .container { pointer-events: none; }
    body.pb-contact-story section.contact-form > .container .contact-form { pointer-events: auto; }
}

@media (max-width: 767px) {
    /* On phones the map becomes its own readable location section before the
       form. This avoids a cramped overlap while keeping the address visible. */
    body.pb-contact-story section.contact-form { min-height: 0; margin-bottom: 58px !important; padding: 0 0 58px !important; }
    body.pb-contact-story section.contact-form #contact-map { position: relative; height: 340px !important; border-radius: 0 0 20px 20px; }
    body.pb-contact-story section.contact-form .pb-contact-map::after { background: linear-gradient(180deg, transparent 40%, rgba(8,23,42,.24)); }
    body.pb-contact-story section.contact-form > .container { margin-top: 26px !important; }
    body.pb-contact-story section.contact-form > .container .contact-form { max-width: none; margin: 0; }
    body.pb-contact-story .pb-map-address { top: auto; right: 16px; bottom: 16px; width: auto; max-width: calc(100% - 32px); padding: 14px 16px; }
    body.pb-contact-story .pb-map-address strong { font-size: .9rem; }
    body.pb-contact-story .pb-form-next { grid-template-columns: 1fr; gap: 0; }
    body.pb-contact-story .pb-form-next li { min-height: 0; padding: 11px 12px; }
    body.pb-contact-story .pb-service-choice { grid-template-columns: 1fr; }
}

body.pb-service-story .services-details .pbx-service-roadmap {
    display: grid;
    gap: 10px;
    margin-top: 28px !important;
    border: 0;
}
body.pb-service-story .services-details .pbx-service-roadmap__item {
    overflow: hidden;
    border: 1px solid #d9e4f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(13, 43, 78, .035);
    transition: border-color .24s ease, box-shadow .24s ease;
}
body.pb-service-story .services-details .pbx-service-roadmap__item:has(.accordion-button:not(.collapsed)) {
    border-color: #a9c8ef;
    box-shadow: 0 16px 34px rgba(13, 43, 78, .08);
}
body.pb-service-story .services-details .pbx-service-roadmap .accordion-button {
    display: grid;
    grid-template-columns: 36px 1fr 32px;
    gap: 14px;
    min-height: 76px;
    padding: 17px 18px !important;
    align-items: center;
    background: #fff !important;
    color: var(--pbx-ink) !important;
    font-size: 1.02rem !important;
    line-height: 1.2;
}
body.pb-service-story .services-details .pbx-service-roadmap .accordion-button:not(.collapsed) { background: #f4f8ff !important; color: var(--pbx-blue) !important; }
body.pb-service-story .services-details .pbx-service-roadmap__number {
    display: grid;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    place-items: center;
    background: #e7f0ff;
    color: var(--pbx-blue);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .05em;
}
body.pb-service-story .services-details .pbx-service-roadmap__title { font-weight: 750; }
body.pb-service-story .services-details .pbx-service-roadmap .accordion-button::after {
    display: grid;
    width: 30px;
    height: 30px;
    margin: 0;
    border: 1px solid #cddded;
    border-radius: 50%;
    place-items: center;
    background-image: none !important;
    color: var(--pbx-blue);
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    transform: none !important;
}
body.pb-service-story .services-details .pbx-service-roadmap .accordion-button:not(.collapsed)::after {
    border-color: var(--pbx-blue);
    background: var(--pbx-blue);
    color: #fff;
    content: "−";
}
body.pb-service-story .services-details .pbx-service-roadmap .accordion-body {
    position: relative;
    margin: 0 18px;
    padding: 0 0 20px 50px !important;
    border-left: 1px solid #cfe0f5;
    color: var(--pbx-muted);
}
body.pb-service-story .services-details .pbx-service-roadmap .accordion-body + .accordion-body { padding-top: 7px !important; }
body.pb-service-story .services-details .pbx-service-roadmap .accordion-body::before {
    position: absolute;
    top: 3px;
    left: -6px;
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--pbx-blue);
    box-shadow: 0 0 0 1px #b8d0ed;
    content: "";
}
body.pb-service-story .services-details .pbx-service-roadmap .accordion-body h6 { margin-bottom: 4px; color: var(--pbx-ink); font-size: .88rem; font-weight: 800; }
body.pb-service-story .services-details .pbx-service-roadmap .accordion-body p { margin: 0; font-size: .91rem; line-height: 1.62; }

@media (max-width: 767px) {
    body.pb-service-story .services-details .pbx-service-roadmap .accordion-button { grid-template-columns: 34px 1fr 29px; gap: 11px; min-height: 68px; padding: 15px !important; }
    body.pb-service-story .services-details .pbx-service-roadmap .accordion-body { margin: 0 15px; padding-left: 40px !important; }
}

/* Outcome panels on the strategy, sustainability and technology pages follow
   a reading order: visual first, then a balanced list of client results. */
body.pb-service-story .services-details__content .pb-outcome-panel--stacked {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(250px, 350px) auto;
    min-height: 0;
    margin-top: 24px;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual {
    position: relative;
    display: block;
    min-height: 250px;
    padding: 0;
    overflow: hidden;
    background: #eaf2fb;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual::after { display: none; }
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual > img,
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual > video,
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual > .pbx-video-shell,
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual > .pbx-video-shell > video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 250px;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual > .pbx-video-shell {
    position: relative;
    overflow: hidden;
    background: #071d36;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual > .pbx-video-shell > video { object-fit: cover; }
body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset .pb-outcome-panel__visual {
    min-height: 0;
    margin: 22px 22px 0;
    border-radius: 16px;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset .pb-outcome-panel__visual > img {
    min-height: 260px;
    border-radius: inherit !important;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: start;
    padding: 10px 28px 22px;
    background: #fff;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__copy ul {
    display: grid;
    align-content: start;
    padding: 0 24px 0 0;
    margin: 0;
    list-style: none;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__copy ul + ul {
    padding: 0 0 0 24px;
    border-left: 1px solid #dce6f1;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__copy li {
    min-height: 59px;
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: .91rem;
    line-height: 1.4;
}

/* GMP keeps its diagram in the same panel, but gives the different-coloured
   graphic its own rounded surface before the two-column control list. */
body.pb-service-story .services-details__content .pb-outcome-panel--gmp {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
}
body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__visual--inset {
    display: grid;
    min-height: 300px;
    margin: 22px 22px 0;
    padding: 22px;
    overflow: hidden;
    border-radius: 16px;
    place-items: center;
    background: #eef4ed;
}
body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__visual--inset::after { display: none; }
body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__visual--inset img {
    display: block;
    width: 100%;
    max-width: none !important;
    height: 100%;
    margin: 0;
    border-radius: 10px;
    object-fit: contain;
}
body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 22px 28px 26px;
    background: #fff;
}
body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__copy ul {
    padding: 0 24px 0 0;
    margin: 0;
    list-style: none;
}
body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__copy ul + ul {
    padding: 0 0 0 24px;
    border-left: 1px solid #dce6f1;
}
body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__copy li {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: .88rem;
    line-height: 1.35;
}

/* The service CTA sits directly on the page's paper surface. The card owns
   its own depth, rather than its outer container creating a pale frame. */
body.pb-service-story .services-details + .cta-banner {
    background: var(--pbx-paper) !important;
}
body.pb-service-story .services-details + .cta-banner .container {
    overflow: visible !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.pb-service-story .services-details + .cta-banner .cta-banner__content {
    box-shadow: 0 20px 52px rgba(7,30,62,.17);
}
body.pb-service-story .services-details + .cta-banner .row {
    --bs-gutter-x: 0;
    margin-right: 0 !important;
    margin-left: 0 !important;
}
body.pb-service-story .services-details + .cta-banner .col-12 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* The legacy sidebar card adds a dark pseudo-element behind its content.
   Keep the card's blue surface, but remove that unnecessary inner block. */
body.pb-service-story .services-details .have-any__item::after {
    display: none;
    content: none;
}

@media (max-width: 767px) {
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked { grid-template-rows: 220px auto; }
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual,
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual > img,
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual > video,
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual > .pbx-video-shell,
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__visual > .pbx-video-shell > video { min-height: 220px; }
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset .pb-outcome-panel__visual { margin: 16px 16px 0; }
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset .pb-outcome-panel__visual > img { min-height: 220px; }
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__copy,
    body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__copy { grid-template-columns: 1fr; padding: 12px 20px 20px; }
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__copy ul,
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked .pb-outcome-panel__copy ul + ul,
    body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__copy ul,
    body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__copy ul + ul { padding: 0; border-left: 0; }
    body.pb-service-story .services-details__content .pb-outcome-panel--gmp .pb-outcome-panel__visual--inset { min-height: 225px; margin: 16px 16px 0; padding: 16px; }
}

/* Sustainability and technology diagrams are intentionally separate from the
   result list: two distinct cards with a real gap, not one shared outline. */
body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset {
    grid-template-rows: auto auto;
    gap: 24px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset .pb-outcome-panel__visual {
    min-height: 300px;
    height: clamp(300px, 31vw, 365px);
    margin: 0;
    border: 1px solid #d8e3ef;
    border-radius: 18px;
    background: #f5f8fc;
    box-shadow: 0 14px 34px rgba(13, 43, 78, .07);
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset .pb-outcome-panel__visual > img {
    min-height: 0;
    height: 100%;
    object-fit: contain;
}
body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset .pb-outcome-panel__copy {
    border: 1px solid #d8e3ef;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(13, 43, 78, .05);
}

@media (max-width: 767px) {
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset { gap: 18px; }
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset .pb-outcome-panel__visual { min-height: 220px; height: 220px; }
    body.pb-service-story .services-details__content .pb-outcome-panel--stacked.pb-outcome-panel--visual-inset .pb-outcome-panel__visual > img { min-height: 0; }
}

/* Small-screen navigation: a single, calm drawer instead of the legacy
   two-stage menu. Desktop navigation remains untouched. */
@media (max-width: 1199px) {
    body.pb-apple .mobile-nav {
        width: min(100vw, 440px) !important;
        height: 100dvh;
        padding: 0 !important;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: radial-gradient(circle at 88% 8%, #1e568d 0, #0d345d 25%, transparent 52%), linear-gradient(160deg, #061b33 0%, #082744 100%) !important;
        box-shadow: -22px 0 60px rgba(1, 14, 29, .36) !important;
        transition: right .32s cubic-bezier(.22, .61, .36, 1) !important;
    }
    body.pb-apple .mobile-nav:not(.show) { right: -110vw !important; left: auto !important; }
    body.pb-apple .mobile-nav.show { right: 0 !important; left: auto !important; }
    body.pb-apple .mobile-nav .close-nav {
        top: 24px !important;
        right: 24px !important;
        left: auto !important;
        display: grid;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .26) !important;
        border-radius: 50%;
        place-items: center;
        background: rgba(255, 255, 255, .1) !important;
        box-shadow: none !important;
        color: #fff !important;
    }
    body.pb-apple .mobile-nav .close-nav i { color: #fff !important; }
    body.pb-apple .mobile-nav .close-nav:hover { background: rgba(255, 255, 255, .2) !important; }
    body.pb-apple .mobile-nav .pbx-mobile-drawer {
        display: flex;
        min-height: 100%;
        padding: 31px 30px 27px;
        flex-direction: column;
        color: #fff;
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__brand {
        display: block;
        width: min(205px, calc(100% - 68px));
        margin: 3px 0 48px;
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__brand img,
    body.pb-apple .footer-redesign__wordmark img {
        display: block;
        width: 100%;
        height: auto;
        padding: 7px 10px;
        border-radius: 7px;
        background: #fff;
    }
    body.pb-apple .footer-redesign__wordmark { width: min(205px, 100%); }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__eyebrow {
        margin: 0 0 12px;
        color: #7ddcea;
        font-size: .68rem;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__menu,
    body.pb-apple .mobile-nav .pbx-mobile-drawer__service-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__menu > li { border-top: 1px solid rgba(255, 255, 255, .15); }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__menu > li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .15); }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__menu > li > a,
    body.pb-apple .mobile-nav .pbx-mobile-drawer__services-toggle {
        display: flex;
        width: 100%;
        min-height: 54px;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        border: 0;
        background: transparent;
        color: rgba(255, 255, 255, .9) !important;
        font: inherit;
        font-size: 1.02rem;
        font-weight: 700;
        text-align: left;
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__menu > li > a:hover,
    body.pb-apple .mobile-nav .pbx-mobile-drawer__menu > li > a.pbx-nav-current,
    body.pb-apple .mobile-nav .pbx-mobile-drawer__services.is-current > .pbx-mobile-drawer__services-toggle { color: #fff !important; }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__menu > li > a.pbx-nav-current::after {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #60dbe8;
        content: '';
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__services-toggle { cursor: pointer; }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__services-toggle i { color: #7ddcea; font-size: .92rem; transition: transform .2s ease; }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__services.is-open > .pbx-mobile-drawer__services-toggle i { transform: rotate(45deg); }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__service-list {
        display: grid;
        gap: 5px;
        margin: -1px 0 14px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 13px;
        background: rgba(1, 14, 29, .26);
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__service-list[hidden] { display: none; }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__service-list a {
        display: block;
        padding: 10px 11px;
        border-radius: 8px;
        color: rgba(255, 255, 255, .75) !important;
        font-size: .82rem;
        font-weight: 650;
        line-height: 1.3;
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__service-list a:hover,
    body.pb-apple .mobile-nav .pbx-mobile-drawer__service-list a.pbx-nav-current {
        background: #fff;
        color: #0b2d50 !important;
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__footer {
        margin-top: auto;
        padding-top: 30px;
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__footer p {
        margin: 0 0 11px;
        color: rgba(255, 255, 255, .7);
        font-size: .83rem;
        font-weight: 600;
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__cta {
        display: flex;
        min-height: 49px;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px;
        border-radius: 999px;
        background: #fff;
        color: #092848 !important;
        font-size: .88rem;
        font-weight: 800;
    }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__cta i { font-size: 1rem; }
    body.pb-apple .mobile-nav .pbx-mobile-drawer__email {
        display: block;
        width: max-content;
        margin-top: 15px;
        color: #8ce3ed !important;
        font-size: .78rem;
        font-weight: 650;
    }
    body.pb-apple .offcanvas-overlay.overlay-open {
        opacity: 1;
        background: rgba(0, 12, 27, .56);
        backdrop-filter: blur(3px);
    }
}

@media (max-width: 767px) {
    body.pb-apple .mobile-nav { width: 100vw !important; }
    body.pb-apple .mobile-nav .pbx-mobile-drawer { padding: 30px 25px 24px; }
}

/* Keep the supplied logo artwork legible wherever the redesigned footer is
   placed over its dark surface. */
body.pb-apple .footer-redesign__wordmark { width: min(205px, 100%); }
body.pb-apple .footer-redesign__wordmark img {
    display: block;
    width: 100%;
    height: auto;
    padding: 7px 10px;
    border-radius: 7px;
    background: #fff;
}

/* Keep the home hero inside its two columns and use the tablet width fully. */
@media (min-width: 1200px) {
    body.pb-home-story .banner-home__media { margin-left: 0; }
    body.pb-home-story .banner-home__content { max-width: min(100%, 600px); }
}
@media (min-width: 768px) and (max-width: 1199px) {
    body.pb-home-story .banner-home .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(24px, 3vw, 40px);
        align-items: center;
    }
    body.pb-home-story .banner-home .row > .col-xl-6 { width: auto; min-width: 0; max-width: none; padding: 0; }
    body.pb-home-story .banner-home__content { max-width: 100%; padding-bottom: 0 !important; }
    body.pb-home-story .banner-home .title { font-size: clamp(2.7rem, 4.7vw, 3.8rem); }
    body.pb-home-story .banner-home__media { max-width: 100%; margin: 0 !important; padding-left: 0; }
    body.pb-home-story .banner-home__media > img:not(.start) { min-height: 430px; }
    body.pb-home-story .banner-home__media .start { left: -25px; }
    body.pb-home-story .pb-hero-signals { margin-top: 28px; }
}

/* Event identity must be visible before hover, including on touch screens. */
body.pb-home-story .upcoming-event-card__content { justify-content: flex-end; }
body.pb-home-story .upcoming-event-card__title {
    max-width: 75%;
    margin-bottom: 0;
    opacity: 1;
    transform: none;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .65);
}
body.pb-home-story .upcoming-event-card:hover .upcoming-event-card__title,
body.pb-home-story .upcoming-event-card:focus-visible .upcoming-event-card__title { margin-bottom: 12px; }

/* Keep contact details readable and remove the cropped banner portrait. */
@media (max-width: 1440px) {
    body.pb-contact-story .page-banner .page-banner__media { display: none; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    body.pb-contact-story .pb-contact-card { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    body.pb-contact-story .pb-contact-company .contact-us__item-body,
    body.pb-contact-story .pb-contact-person .contact-us__item-body { grid-template-columns: minmax(0, 1fr); }
    body.pb-contact-story .pb-contact-card .contact-info-row,
    body.pb-contact-story .pb-contact-person .contact-info-row:nth-of-type(1) { grid-column: auto; }
}
body.pb-contact-story .pb-contact-jump {
    display: none;
    width: fit-content;
    min-height: 46px;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #f55485;
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
}
body.pb-contact-story .pb-contact-jump:hover,
body.pb-contact-story .pb-contact-jump:focus-visible { background: #e84372; color: #fff; }
body.pb-contact-story #contactForm { scroll-margin-top: 90px; }
header.header-1 .main-menu ul > li > a[role="button"] { cursor: pointer; }
header.header-1 .main-menu ul > li > a[role="button"]:focus-visible { outline: 2px solid #4069ff; outline-offset: -5px; }
@media (max-width: 767px) {
    body.pb-contact-story .pb-contact-jump { display: inline-flex; }
    body.pb-home-story .upcoming-event-card__title { font-size: 1.4rem; }
}
