.xpodium-page {
    --xp-primary: #4069FF;
    --xp-dark: #0e1e36;
    --xp-dark-2: #1a2f52;
    --xp-light: #f4f7ff;
    --xp-radius: 20px;
    --xp-shadow: 0 24px 60px rgba(14, 30, 54, 0.08);
    --xp-section-y: clamp(60px, 8vw, 100px);
}

.xpodium-page .section-padding {
    padding-top: var(--xp-section-y);
    padding-bottom: var(--xp-section-y);
}

/* Header */
header.header-xpodium-glass,
header.header-xpodium-glass .main-header-wraper,
header.header-xpodium-glass .main-header-wraper .main_wrapper,
header.header-xpodium-glass.stop .main-header-wraper {
    background: rgba(10, 12, 16, 0.65) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

/* Mobile / tablet — keep the navbar's glass (backdrop blur) but remove the
   dark/black block the glass header background creates behind the navbar. */
@media (max-width: 1023px) {
    header.header-xpodium-glass,
    header.header-xpodium-glass .main-header-wraper,
    header.header-xpodium-glass.stop .main-header-wraper {
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    header.header-xpodium-glass .main-header-wraper .main_wrapper {
        background: rgba(10, 12, 16, 0.78) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
        padding: 8px 16px;
        margin: 8px 12px;
    }
}

/* The shared pb-apple header paints a 1px white wrapper on this page.
   Keep the full-width wrapper transparent; the inner nav retains its glass. */
body.xpodium-page.pb-apple header.header-xpodium-glass .main-header-wraper {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

header.header-xpodium-glass .main-menu ul > li > a,
header.header-xpodium-glass .main-menu.main-menu_4 ul > li > a {
    color: #fff !important;
}

header.header-xpodium-glass .main-menu ul > li.active > a,
header.header-xpodium-glass .main-menu.main-menu_4 ul > li.active > a {
    color: var(--xp-primary) !important;
}

header.header-xpodium-glass #hamburger {
    color: #fff !important;
}

header.header-xpodium-glass .header-logo .logo img.xpodium-header-logo {
    max-height: clamp(48px, 7vw, 72px);
    width: auto;
    max-width: min(240px, 46vw);
    object-fit: contain;
    display: block;
}

/* Shared section heading */
.xpodium-section-head .sub-title {
    letter-spacing: 0.08em;
}

.xpodium-section-head h2,
.xpodium-section-head h3 {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.2;
}

.xpodium-section-head h2 span,
.xpodium-section-head h3 span {
    color: var(--xp-primary);
    font-weight: 600;
}

.xpodium-section-head--light h2,
.xpodium-section-head--light h3,
.xpodium-section-head--light h5,
.xpodium-section-head--light p {
    color: #fff;
}

.xpodium-section-head--light h2 span,
.xpodium-section-head--light h3 span {
    color: #8eb0ff;
}

.xpodium-section-head--light .xpodium-lead {
    opacity: 0.85;
}

/* Hero */
.xpodium-page .xpodium-hero {
    min-height: clamp(520px, 82vh, 760px);
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.xpodium-page .xpodium-hero--inner {
    min-height: clamp(360px, 52vh, 480px);
    padding-top: 120px;
    padding-bottom: 80px;
}

.xpodium-page .xpodium-hero::after {
    background: linear-gradient(180deg, rgba(10, 18, 32, 0.22) 0%, rgba(10, 18, 32, 0.42) 100%) !important;
}

.xpodium-page .xpodium-hero.banner__2::after {
    background: rgba(10, 18, 32, 0.18) !important;
}

.xpodium-page .xpodium-hero__content {
    max-width: 820px;
    padding: 28px 0;
}

.xpodium-page .xpodium-hero__content--wide {
    max-width: 900px;
}

.xpodium-page .xpodium-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}

.xpodium-page .xpodium-hero .title {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.xpodium-page .xpodium-hero--inner .title {
    font-size: clamp(32px, 5vw, 52px);
}

.xpodium-page .xpodium-hero .description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.92;
}

.xpodium-page .xpodium-hero .theme-btn {
    box-shadow: 0 12px 30px rgba(64, 105, 255, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xpodium-page .xpodium-hero .theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(64, 105, 255, 0.45);
}

/* People / Testimonial — compact horizontal carousel */
.xpodium-page .xpodium-people {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.xpodium-page .xpodium-people .testimonial-slider {
    --xp-people-gap: 14px;
    margin-left: calc(var(--xp-people-gap) * -0.5);
    margin-right: calc(var(--xp-people-gap) * -0.5);
}

.xpodium-page .xpodium-people .testimonial-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

.xpodium-page .xpodium-people .testimonial-slider .slick-slide {
    height: auto;
}

.xpodium-page .xpodium-people .testimonial-slider .slick-slide > div {
    height: 100%;
}

.xpodium-page .xpodium-people .testimonial-slider .slider-item {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(64, 105, 255, 0.1);
    box-shadow: var(--xp-shadow);
    margin: 0 calc(var(--xp-people-gap) * 0.5);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-style: preserve-3d;
    will-change: auto;
}

.xpodium-page .xpodium-people .testimonial-slider .slider-item:hover {
    box-shadow: 0 28px 50px rgba(14, 30, 54, 0.12);
}

@media (hover: hover) and (pointer: fine) {
    .xpodium-page .xpodium-people .testimonial-slider .slider-item:hover {
        transform: none;
    }
}

@media (hover: none), (pointer: coarse) {
    .xpodium-page .xpodium-people .testimonial-slider .slider-item:hover {
        transform: translateY(-6px);
    }
}

/* Phase 2 — People card spotlight */
.xpodium-page .xpodium-people-card {
    position: relative;
}

.xpodium-page .xpodium-people-card__spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: radial-gradient(
        180px circle at var(--xpodium-spot-x, 50%) var(--xpodium-spot-y, 50%),
        rgba(64, 105, 255, 0.07) 0%,
        rgba(64, 105, 255, 0.02) 40%,
        transparent 70%
    );
}

.xpodium-page .xpodium-people-card.is-tilted .xpodium-people-card__spotlight {
    opacity: 1;
}

.xpodium-page .xpodium-people-card > *:not(.xpodium-people-card__spotlight) {
    position: relative;
    z-index: 0;
}

/* Phase 2 fix — People card inner wrapper (isolates entrance animation
   from Slick's horizontal track transform and the tilt transform) */
.xpodium-page .xpodium-people-card__inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}

/* Phase 2 fix — People To Meet entrance animation */
.xpodium-page .xpodium-people:not(.is-revealed) .xpodium-people-card__inner {
    opacity: 0;
    transform: translateY(18px);
}

.xpodium-page .xpodium-people.is-revealed .xpodium-people-card__inner {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--xpodium-people-i, 0) * 80ms + 40ms);
}

.xpodium-page .xpodium-people .testimonial__item {
    display: flex;
    flex-direction: column;
    background: transparent;
    border-top: 3px solid var(--xp-primary);
    padding: 16px 14px 12px;
    flex: 1 1 auto;
}

.xpodium-page .xpodium-people .testimonial__item-header {
    margin-bottom: 10px !important;
}

.xpodium-page .xpodium-people .testimonial__image {
    order: -1;
    flex: none;
}

.xpodium-page .xpodium-people .testimonial__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 0;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 4 / 5) {
    .xpodium-page .xpodium-people .testimonial__image img {
        height: clamp(200px, 34vw, 480px);
    }
}

.xpodium-page .xpodium-people .testimonial__item .name {
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 0.02em;
}

.xpodium-page .xpodium-people .testimonial__item .name span {
    display: block;
    font-size: 11px;
    text-transform: none;
    font-weight: 400;
    color: rgba(14, 30, 54, 0.7);
    margin-top: 3px;
    letter-spacing: 0;
}

.xpodium-page .xpodium-people .testimonial__item .logo-stack {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 6px;
}

.xpodium-page .xpodium-people .testimonial__item .logo-stack > span {
    width: auto !important;
    max-width: 160px;
    flex-shrink: 1;
}

.xpodium-page .xpodium-people .testimonial__item .logo-stack > span:last-child {
    max-width: 160px;
    flex-shrink: 0;
}

.xpodium-page .xpodium-people .testimonial__item .logo-stack img {
    max-height: 150px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.xpodium-page .xpodium-people .testimonial__item .logo-stack > span:last-child img {
    max-height: 150px;
}

.xpodium-page .xpodium-people .testimonial__item .logo-stack .position {
    display: inline-flex;
    align-items: center;
    margin-top: 0;
}

.xpodium-page .xpodium-people .testimonial__item .position img {
    max-height: 28px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.xpodium-page .xpodium-people .testimonial__item .position img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 14px rgba(14, 30, 54, 0.16));
}

.xpodium-page .xpodium-people .testimonial__item .description {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(14, 30, 54, 0.78);
    margin-bottom: 12px !important;
}

.xpodium-page .xpodium-people .testimonial__item .description p {
    margin-bottom: 0;
    flex: 1 1 auto;
}

.xpodium-page .xpodium-people .testimonial__item-footer {
    margin-top: auto;
}

.xpodium-page .xpodium-people .testimonial__item-footer .quote {
    font-size: 20px;
}

/* Dark sections */
.xpodium-page .xpodium-dark-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--xp-section-y) !important;
}

.xpodium-page .xpodium-dark-section::before {
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.88) 0%, rgba(14, 30, 54, 0.78) 100%) !important;
}

.xpodium-page .xpodium-bridge {
    background: linear-gradient(135deg, var(--xp-dark) 0%, var(--xp-dark-2) 100%);
}

.xpodium-page .xpodium-concept {
    background-size: cover;
    background-position: center;
}

.xpodium-page .xpodium-glass-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: clamp(24px, 4vw, 36px);
    backdrop-filter: blur(8px);
}

.xpodium-page .xpodium-glass-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.8;
    margin-bottom: 16px;
}

.xpodium-page .xpodium-glass-card p:last-child {
    margin-bottom: 0;
}

.xpodium-page .xpodium-media-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.xpodium-page .xpodium-media-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Accordion (mobile / tablet only) */
.xpodium-page .xpodium-accordion-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.xpodium-page .xpodium-accordion-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.xpodium-page .xpodium-accordion-toggle:focus-visible {
    outline: 2px solid var(--xp-primary);
    outline-offset: 2px;
}

.xpodium-page .xpodium-accordion-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
}

.xpodium-page .xpodium-accordion-toggle[aria-expanded="true"] .xpodium-accordion-toggle__icon {
    transform: rotate(180deg);
}

.xpodium-page .xpodium-accordion-toggle__icon {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.xpodium-page .xpodium-accordion-content {
    display: block;
}

/* Concept section — white background */
.xpodium-page .xpodium-concept {
    background-color: #ffffff;
}

.xpodium-page .xpodium-concept .xpodium-section-head--light h2 {
    color: var(--xp-dark);
}

.xpodium-page .xpodium-concept .xpodium-section-head--light h2 span {
    color: var(--xp-primary);
}

.xpodium-page .xpodium-concept .xpodium-glass-card {
    background: rgba(14, 30, 54, 0.04);
    border: 1px solid rgba(14, 30, 54, 0.1);
}

.xpodium-page .xpodium-concept .xpodium-glass-card p {
    color: rgba(14, 30, 54, 0.85);
}

.xpodium-page .xpodium-concept .xpodium-media-frame {
    border: 1px solid rgba(14, 30, 54, 0.1);
    box-shadow: 0 20px 50px rgba(14, 30, 54, 0.12);
}

/* Concept section — white background (override dark overlay) */
.xpodium-page .xpodium-concept.xpodium-dark-section::before {
    background: #ffffff !important;
}

/* Concept section — accordion button on white background */
.xpodium-page .xpodium-concept .xpodium-accordion-toggle {
    border-color: rgba(14, 30, 54, 0.2);
    background: rgba(14, 30, 54, 0.06);
    color: var(--xp-dark);
}

.xpodium-page .xpodium-concept .xpodium-accordion-toggle:hover {
    background: rgba(14, 30, 54, 0.1);
    border-color: rgba(14, 30, 54, 0.35);
}

.xpodium-page .xpodium-concept .xpodium-accordion-toggle[aria-expanded="true"] {
    background: rgba(14, 30, 54, 0.12);
    border-color: rgba(14, 30, 54, 0.4);
}

/* Partners listing */
.xpodium-page .xpodium-partners {
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.xpodium-page .xpodium-partners .client-brand__item,
.xpodium-page .xpodium-partner-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(64, 105, 255, 0.08);
    box-shadow: 0 8px 24px rgba(14, 30, 54, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.xpodium-page .xpodium-partners .client-brand__item {
    padding: 20px;
    min-height: 110px;
}

.xpodium-page .xpodium-partners .client-brand__item:hover,
.xpodium-page .xpodium-partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(64, 105, 255, 0.25);
    box-shadow: 0 16px 32px rgba(64, 105, 255, 0.12);
}

.xpodium-page .xpodium-partners .client-brand__item-media img {
    max-height: 56px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

.xpodium-page .xpodium-partner-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
}

.xpodium-page .xpodium-partner-card__logo {
    min-height: 88px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.xpodium-page .xpodium-partner-card__logo img {
    max-height: clamp(64px, 8vw, 80px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.xpodium-page .xpodium-partner-card__logo--featured {
    min-height: clamp(140px, 22vw, 220px);
    margin-bottom: clamp(20px, 3vw, 32px);
    justify-content: center;
    width: 100%;
}

.xpodium-page .xpodium-partner-card__logo--featured img {
    max-height: clamp(120px, 18vw, 200px);
    max-width: min(100%, 420px);
    width: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.xpodium-page .xpodium-partner-card h4 {
    font-size: 18px;
    line-height: 1.35;
    color: var(--xp-dark);
    margin-bottom: 10px;
}

.xpodium-page .xpodium-partner-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(14, 30, 54, 0.68);
    margin-bottom: 18px;
    flex: 1;
}

.xpodium-page .xpodium-partner-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--xp-primary);
}

/* Partner detail */
.xpodium-page .xpodium-content-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.xpodium-page .xpodium-content-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(64, 105, 255, 0.1);
    box-shadow: var(--xp-shadow);
    padding: clamp(28px, 4vw, 40px);
    height: 100%;
}

.xpodium-page .xpodium-content-card h3,
.xpodium-page .xpodium-content-card h4 {
    color: var(--xp-dark);
    margin-bottom: 16px;
}

.xpodium-page .xpodium-content-card p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(14, 30, 54, 0.78);
    margin-bottom: 14px;
}

.xpodium-page .xpodium-content-card p:last-child {
    margin-bottom: 0;
}

.xpodium-page .xpodium-content-card--dark {
    background: linear-gradient(135deg, var(--xp-dark) 0%, var(--xp-dark-2) 100%);
    border: none;
}

.xpodium-page .xpodium-content-card--dark h3,
.xpodium-page .xpodium-content-card--dark li {
    color: #fff;
}

.xpodium-page .xpodium-content-card--dark ul {
    opacity: 0.9;
    line-height: 2;
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.xpodium-page .xpodium-cta-note {
    font-size: 14px;
    opacity: 0.65;
}

.xpodium-page .xpodium-cta-desc {
    opacity: 0.75;
}

.xpodium-page .xpodium-feature-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(64, 105, 255, 0.1);
    box-shadow: 0 12px 32px rgba(14, 30, 54, 0.06);
    padding: 32px 24px;
    height: 100%;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xpodium-page .xpodium-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(64, 105, 255, 0.12);
}

.xpodium-page .xpodium-feature-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: rgba(64, 105, 255, 0.1);
    color: var(--xp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.xpodium-page .xpodium-feature-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--xp-dark);
}

.xpodium-page .xpodium-feature-card p {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(14, 30, 54, 0.72);
    margin: 0;
}

.xpodium-page .xpodium-partner-intro {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--xp-radius);
    padding: clamp(28px, 4vw, 44px);
    margin-bottom: clamp(40px, 6vw, 60px);
    overflow: hidden;
}

.xpodium-page .xpodium-partner-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 247, 255, 0.88) 100%);
    z-index: 0;
}

.xpodium-page .xpodium-partner-intro .row {
    position: relative;
    z-index: 1;
}

.xpodium-page .xpodium-feature-card--image {
    position: relative;
    background-color: var(--xp-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: clamp(340px, 42vw, 440px);
    padding: 0;
    border: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.xpodium-page .xpodium-feature-card--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 30, 54, 0.1) 0%, rgba(14, 30, 54, 0.88) 100%);
    z-index: 0;
    transition: opacity 0.3s ease;
}

.xpodium-page .xpodium-feature-card--image:hover::before {
    background: linear-gradient(180deg, rgba(14, 30, 54, 0.05) 0%, rgba(14, 30, 54, 0.92) 100%);
}

.xpodium-page .xpodium-feature-card--image .xpodium-feature-card__body {
    position: relative;
    z-index: 1;
    padding: clamp(20px, 3vw, 28px);
}

.xpodium-page .xpodium-feature-card--image .xpodium-feature-card__icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    margin: 0 0 16px;
    backdrop-filter: blur(4px);
}

.xpodium-page .xpodium-feature-card--image h4 {
    color: #fff;
    font-size: clamp(17px, 2vw, 20px);
}

.xpodium-page .xpodium-feature-card--image p {
    color: rgba(255, 255, 255, 0.9);
}

.xpodium-page .xpodium-profile {
    background: linear-gradient(135deg, var(--xp-dark) 0%, var(--xp-dark-2) 100%);
}

.xpodium-page .xpodium-profile__card {
    background: #fff;
    border-radius: var(--xp-radius);
    overflow: hidden;
    box-shadow: var(--xp-shadow);
}

.xpodium-page .xpodium-profile__photo img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.xpodium-page .xpodium-profile__body {
    padding: clamp(28px, 4vw, 40px);
}

.xpodium-page .xpodium-profile__logo {
    margin-bottom: 16px;
}

.xpodium-page .xpodium-profile__logo img {
    max-height: clamp(64px, 10vw, 88px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.xpodium-page .xpodium-profile__body h3 {
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 6px;
    color: var(--xp-dark);
}

.xpodium-page .xpodium-profile__role {
    color: var(--xp-primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.xpodium-page .xpodium-profile__body p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(14, 30, 54, 0.78);
    margin-bottom: 14px;
}

.xpodium-page .xpodium-profile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.xpodium-page .xpodium-partner-media {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(64, 105, 255, 0.1);
    box-shadow: var(--xp-shadow);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.xpodium-page .xpodium-partner-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.xpodium-page .xpodium-sponsors {
    background: #fff;
}

.xpodium-page .xpodium-sponsors .client-brand__item {
    background: #f8f9fc;
    border-radius: 12px;
    border: 1px solid rgba(64, 105, 255, 0.08);
    padding: 18px;
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xpodium-page .xpodium-sponsors .client-brand__item-media img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.xpodium-page .xpodium-intro-text {
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.8;
    color: rgba(14, 30, 54, 0.78);
    max-width: 820px;
    margin: 0 auto;
}

/* ISPE CTA */
.xpodium-page .ispe-cta {
    position: relative;
    background: linear-gradient(135deg, #f4f7ff 0%, #ffffff 45%, #f8f9fc 100%);
}

.xpodium-page .ispe-cta::before,
.xpodium-page .ispe-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.xpodium-page .ispe-cta::before {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -80px;
    background: rgba(64, 105, 255, 0.08);
}

.xpodium-page .ispe-cta::after {
    width: 220px;
    height: 220px;
    bottom: -80px;
    left: -60px;
    background: rgba(64, 105, 255, 0.06);
}

.xpodium-page .ispe-cta .container {
    position: relative;
    z-index: 1;
}

.xpodium-page .ispe-cta__card {
    background: #fff;
    border-radius: var(--xp-radius);
    overflow: hidden;
    border: 1px solid rgba(64, 105, 255, 0.12);
    box-shadow: var(--xp-shadow);
}

.xpodium-page .ispe-cta__media {
    position: relative;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, var(--xp-dark) 0%, var(--xp-dark-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.xpodium-page .ispe-cta__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(64, 105, 255, 0.35), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08), transparent 40%);
}

.xpodium-page .ispe-cta__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.25));
}

.xpodium-page .ispe-cta__content {
    padding: 56px 48px;
}

.xpodium-page .ispe-cta__content h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
    margin-bottom: 18px;
}

.xpodium-page .ispe-cta__content h2 span {
    color: var(--xp-primary);
}

.xpodium-page .ispe-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(64, 105, 255, 0.08);
    color: var(--xp-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 22px;
}

/* Footer */
.xpodium-page .xpodium-footer.footer-1 {
    padding-top: 0 !important;
}

.xpodium-page .xpodium-footer .footer-top {
    padding-top: clamp(48px, 6vw, 72px);
    padding-bottom: 0;
    margin-bottom: 0 !important;
}

.xpodium-page .xpodium-footer > .container {
    padding-top: clamp(28px, 4vw, 40px);
    padding-bottom: clamp(28px, 4vw, 40px);
}

.xpodium-page .xpodium-footer iframe {
    border-radius: 12px;
    width: 100%;
    min-height: 180px;
    border: 0;
}

.xpodium-page .xpodium-footer-address p {
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 0;
}

.xpodium-page .xpodium-footer-logo {
    max-height: 56px;
    width: auto;
}

.xpodium-page .xpodium-footer-qr {
    max-width: 140px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

.xpodium-page .xpodium-profile__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.xpodium-page .xpodium-profile__identity {
    flex: 1;
    min-width: 220px;
}

.xpodium-page .xpodium-profile__identity .xpodium-profile__logo {
    margin-bottom: 16px;
}

.xpodium-page .xpodium-profile__badge {
    flex-shrink: 0;
}

.xpodium-page .xpodium-profile__badge img {
    max-width: clamp(110px, 18vw, 150px);
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Responsive */
@media (max-width: 1199px) {
    .xpodium-page .xpodium-people .testimonial-slider {
        --xp-people-gap: 12px;
    }

    .xpodium-page .xpodium-people .testimonial__image img {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 991px) {
    .xpodium-page .xpodium-people .testimonial__item .logo-stack > span,
    .xpodium-page .xpodium-people .testimonial__item .logo-stack > span:last-child {
        max-width: 120px;
    }

    .xpodium-page .xpodium-people .testimonial__item .logo-stack img,
    .xpodium-page .xpodium-people .testimonial__item .logo-stack > span:last-child img {
        max-height: 120px;
    }

    .xpodium-page .xpodium-hero {
        min-height: 480px;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .xpodium-page .xpodium-hero--inner {
        min-height: 380px;
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .xpodium-page .ispe-cta__content {
        padding: 40px 28px 44px;
    }

    .xpodium-page .ispe-cta__media {
        min-height: 220px;
        padding: 36px 28px;
    }

    .xpodium-page .xpodium-dark-section .row > [class*="col-"]:not(:last-child) {
        margin-bottom: 24px;
    }

    .xpodium-page .xpodium-profile__photo img {
        min-height: 240px;
    }

    /* Accordion — mobile / tablet only */
    .xpodium-page .xpodium-accordion-toggle {
        display: inline-flex;
    }

    .xpodium-page .xpodium-accordion-content {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition:
            max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.45s ease 0.05s,
            margin-top 0.5s ease;
    }

    /* The JS sets --xp-accordion-max to the content's real height so the
       expand / collapse transition is smooth and precise. */
    .xpodium-page .xpodium-accordion-content.is-open {
        max-height: var(--xp-accordion-max, 1200px);
        opacity: 1;
        margin-top: 20px;
    }

    /* Override scroll-reveal opacity so collapsed content stays hidden */
    .xpodium-page [data-xpodium-reveal].is-revealed .xpodium-accordion-content {
        opacity: 0;
    }

    .xpodium-page [data-xpodium-reveal].is-revealed .xpodium-accordion-content.is-open {
        opacity: 1;
    }

    /* Tablet fix — Bridge: stack the two columns like mobile so the
       "Click for Details" button sits directly above the hidden content. */
    .xpodium-page .xpodium-bridge .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    /* Tablet fix — Concept: stack the two columns full-width like mobile
       so the image, title, "Click for Details" button and hidden content
       flow naturally downwards without broken half-width spacing. */
    .xpodium-page .xpodium-concept .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    /* Concept — mobile reorder: image → title → expandable content */
    .xpodium-page .xpodium-concept .row {
        display: flex;
        flex-direction: column;
    }

    .xpodium-page .xpodium-concept__media-col {
        order: 1;
    }

    .xpodium-page .xpodium-concept__content-col {
        order: 2;
    }
}

@media (max-width: 767px) {
    .xpodium-page .xpodium-people .testimonial__item .logo-stack > span,
    .xpodium-page .xpodium-people .testimonial__item .logo-stack > span:last-child {
        max-width: 100px;
    }

    .xpodium-page .xpodium-people .testimonial__item .logo-stack img,
    .xpodium-page .xpodium-people .testimonial__item .logo-stack > span:last-child img {
        max-height: 100px;
    }

    .xpodium-page .xpodium-hero .title {
        font-size: 34px;
    }

    .xpodium-page .xpodium-hero--inner .title {
        font-size: 30px;
    }

    .xpodium-page .xpodium-people .testimonial-slider {
        --xp-people-gap: 10px;
    }

    /* Phase 2 fix — mobile centering.
       Slick uses centerMode at <768px, so the active slide is centered by
       the track. Compensate the global `.slick-list { margin-left: -15px; }`
       rule in style.css and the slider's own negative margin so the active
       card is visually centered and its left edge is not clipped. */
    .xpodium-page .xpodium-people .testimonial-slider .slick-list {
        margin-left: 0;
        margin-right: 0;
    }

    .xpodium-page .xpodium-people .testimonial-slider {
        margin-left: 0;
        margin-right: 0;
        overflow: visible;
    }

    .xpodium-page .xpodium-people .testimonial-slider .slider-item {
        margin: 0 6px;
    }

    .xpodium-page .xpodium-people .testimonial-slider .slick-center .slider-item {
        margin: 0 6px;
    }

    .xpodium-page .xpodium-people .testimonial__item {
        padding: 14px 12px 10px;
    }

    .xpodium-page .xpodium-people .testimonial__image img {
        aspect-ratio: 4 / 5;
    }

    .xpodium-page .xpodium-people .testimonial__item .name {
        font-size: 11.5px;
    }

    .xpodium-page .xpodium-people .testimonial__item .description {
        font-size: 12px;
    }

    .xpodium-page .xpodium-partners .client-brand__item {
        min-height: 90px;
        padding: 16px;
    }

    .xpodium-page .xpodium-glass-card {
        padding: 20px;
    }

    .xpodium-page .xpodium-partner-card {
        padding: 24px 20px;
    }

    .xpodium-page .xpodium-partner-card__logo--featured {
        min-height: 110px;
    }

    .xpodium-page .xpodium-partner-card__logo--featured img {
        max-height: clamp(96px, 24vw, 120px);
    }

    .xpodium-page .xpodium-profile__logo img {
        max-height: 56px;
    }

    .xpodium-page .xpodium-footer .single-footer-wid.pl-50 {
        padding-left: 0 !important;
    }

    .xpodium-page .xpodium-partner-intro {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .xpodium-page .xpodium-feature-card--image {
        min-height: clamp(280px, 55vw, 360px);
    }

    .xpodium-page .xpodium-profile__header {
        flex-direction: column;
    }

    .xpodium-page .xpodium-profile__badge {
        align-self: flex-start;
    }

    .xpodium-page .xpodium-profile__badge img {
        max-width: 120px;
    }

    .xpodium-page .xpodium-footer-qr {
        max-width: 120px;
    }

    .xpodium-page .xpodium-profile__actions {
        flex-direction: column;
    }

    .xpodium-page .xpodium-profile__actions .theme-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile vcard header logo */
header.header-xpodium-mobile-vcard .header-logo-mobile {
    display: none;
}

@media (max-width: 1199px) {
    header.header-xpodium-mobile-vcard .header-logo-desktop {
        display: none;
    }

    header.header-xpodium-mobile-vcard .header-logo-mobile {
        display: block;
        max-height: 52px;
        width: auto;
    }
}

.xpodium-page .xpodium-feature-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Viscoy service detail blocks */
.xpodium-page .xpodium-service-detail {
    background: #fff;
    border-radius: var(--xp-radius);
    border: 1px solid rgba(64, 105, 255, 0.1);
    box-shadow: var(--xp-shadow);
    padding: clamp(28px, 4vw, 48px);
    margin-bottom: clamp(24px, 4vw, 40px);
}

.xpodium-page .xpodium-service-detail:last-child {
    margin-bottom: 0;
}

.xpodium-page .xpodium-service-detail__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--xp-primary);
    margin-bottom: 12px;
}

.xpodium-page .xpodium-service-detail h3 {
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.25;
    color: var(--xp-dark);
    margin-bottom: 16px;
}

.xpodium-page .xpodium-service-detail p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(14, 30, 54, 0.78);
    margin-bottom: 14px;
}

.xpodium-page .xpodium-service-detail__panel {
    background: linear-gradient(135deg, #f4f7ff 0%, #ffffff 100%);
    border: 1px solid rgba(64, 105, 255, 0.12);
    border-radius: 16px;
    padding: clamp(24px, 3vw, 32px);
    height: 100%;
}

.xpodium-page .xpodium-service-detail__panel h4 {
    font-size: 18px;
    color: var(--xp-dark);
    margin-bottom: 16px;
}

.xpodium-page .xpodium-service-detail__panel ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.xpodium-page .xpodium-service-detail__panel ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: rgba(14, 30, 54, 0.82);
    line-height: 1.6;
}

.xpodium-page .xpodium-service-detail__panel ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--xp-primary);
}

.xpodium-page .xpodium-service-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.xpodium-page .xpodium-service-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: clamp(32px, 5vw, 48px);
}

.xpodium-page .xpodium-service-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(64, 105, 255, 0.2);
    background: #fff;
    color: var(--xp-dark);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.xpodium-page .xpodium-service-nav a:hover,
.xpodium-page .xpodium-service-nav a.active {
    background: var(--xp-primary);
    border-color: var(--xp-primary);
    color: #fff;
}

/* Digital vCard */
.xpodium-vcard-page {
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 45%);
}

.xpodium-vcard-page .xpodium-vcard {
    max-width: 480px;
    margin: 0 auto;
    padding: clamp(32px, 6vw, 56px) 16px clamp(48px, 8vw, 80px);
}

.xpodium-vcard-page .xpodium-vcard__card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(14, 30, 54, 0.12);
    border: 1px solid rgba(64, 105, 255, 0.1);
}

.xpodium-vcard-page .xpodium-vcard__hero {
    position: relative;
    background: linear-gradient(135deg, var(--xp-dark) 0%, var(--xp-dark-2) 100%);
    padding: 32px 24px 72px;
    text-align: center;
}

.xpodium-vcard-page .xpodium-vcard__photo {
    width: clamp(140px, 40vw, 180px);
    height: clamp(140px, 40vw, 180px);
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.xpodium-vcard-page .xpodium-vcard__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.xpodium-vcard-page .xpodium-vcard__logo {
    position: absolute;
    left: 50%;
    bottom: -36px;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    padding: 12px 20px;
    box-shadow: 0 12px 30px rgba(14, 30, 54, 0.12);
    min-width: 140px;
}

.xpodium-vcard-page .xpodium-vcard__logo img {
    max-height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.xpodium-vcard-page .xpodium-vcard__body {
    padding: 56px 28px 32px;
    text-align: center;
}

.xpodium-vcard-page .xpodium-vcard__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--xp-primary);
    margin-bottom: 8px;
}

.xpodium-vcard-page .xpodium-vcard__specialty {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(14, 30, 54, 0.72);
    margin-bottom: 16px;
}

.xpodium-vcard-page .xpodium-vcard__body h1 {
    font-size: clamp(26px, 5vw, 32px);
    line-height: 1.2;
    color: var(--xp-dark);
    margin-bottom: 8px;
}

.xpodium-vcard-page .xpodium-vcard__body h1 small {
    font-size: 0.55em;
    font-weight: 500;
    color: rgba(14, 30, 54, 0.6);
}

.xpodium-vcard-page .xpodium-vcard__role {
    font-size: 16px;
    font-weight: 600;
    color: var(--xp-primary);
    margin-bottom: 24px;
}

.xpodium-vcard-page .xpodium-vcard__qr-wrap {
    margin-bottom: 24px;
}

.xpodium-vcard-page .xpodium-vcard__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.xpodium-vcard-page .xpodium-vcard__actions--secondary {
    margin-bottom: 0;
}

.xpodium-vcard-page .xpodium-vcard__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--xp-primary) 0%, #5b84ff 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(64, 105, 255, 0.25);
}

.xpodium-vcard-page .xpodium-vcard__actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(64, 105, 255, 0.35);
}

.xpodium-vcard-page .xpodium-vcard__actions a.vcard-btn-outline {
    background: #fff;
    color: var(--xp-dark) !important;
    border: 1px solid rgba(64, 105, 255, 0.2);
    box-shadow: none;
}

.xpodium-vcard-page .xpodium-vcard__actions a.vcard-btn-outline:hover {
    border-color: var(--xp-primary);
    color: var(--xp-primary) !important;
}

.xpodium-vcard-page .xpodium-vcard__toggle {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--xp-primary);
    font-weight: 600;
    font-size: 14px;
    padding: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.xpodium-vcard-page .xpodium-vcard__more {
    display: none;
    padding-top: 20px;
    border-top: 1px solid rgba(64, 105, 255, 0.12);
    margin-top: 8px;
}

.xpodium-vcard-page .xpodium-vcard__more.is-open {
    display: block;
}

.xpodium-vcard-page .xpodium-vcard__qr {
    max-width: 180px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
}

.xpodium-vcard-page .xpodium-vcard__more p {
    font-size: 14px;
    color: rgba(14, 30, 54, 0.72);
    margin-bottom: 0;
    word-break: break-word;
}

@media (max-width: 767px) {
    .xpodium-page .xpodium-service-detail__actions {
        flex-direction: column;
    }

    .xpodium-page .xpodium-service-detail__actions .theme-btn {
        width: 100%;
        justify-content: center;
    }

    .xpodium-vcard-page .xpodium-vcard__actions {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   Phase 1 — React Bits-inspired motion (scoped to .xpodium-page)
   ═══════════════════════════════════════════════════════════ */

html.xpodium-nav-open,
body.xpodium-nav-open {
    overflow: hidden;
    touch-action: none;
}

body.xpodium-page.xpodium-nav-open header.header-xpodium-glass {
    z-index: 1020 !important;
}

.xpodium-page .xpodium-nav-mount {
    position: relative;
    z-index: 50;
}

/* ── Card Nav (desktop) — horizontal row + hover submenu ── */
.xpodium-page .xpodium-card-nav {
    position: relative;
}

.xpodium-page .xpodium-card-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xpodium-page .xpodium-card-nav__item {
    position: relative;
}

.xpodium-page .xpodium-card-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.xpodium-page .xpodium-card-nav__link:hover,
.xpodium-page .xpodium-card-nav__item.is-open .xpodium-card-nav__link,
.xpodium-page .xpodium-card-nav__link:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    outline: none;
}

.xpodium-page .xpodium-card-nav__link-caret {
    display: inline-flex;
    font-size: 11px;
    opacity: 0.7;
    transition: transform 0.28s ease;
}

.xpodium-page .xpodium-card-nav__item.is-open .xpodium-card-nav__link-caret {
    transform: rotate(180deg);
}

/* Hover submenu (desktop only) */
.xpodium-page .xpodium-card-nav__submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(14, 22, 38, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transform-origin: top left;
    transition:
        opacity 0.28s ease,
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.28s ease;
    pointer-events: none;
    z-index: 120;
}

.xpodium-page .xpodium-card-nav__item.is-open .xpodium-card-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.xpodium-page .xpodium-card-nav__submenu-inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.xpodium-page .xpodium-card-nav__submenu-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease, padding-left 0.22s ease;
}

.xpodium-page .xpodium-card-nav__submenu-link:hover,
.xpodium-page .xpodium-card-nav__submenu-link:focus-visible {
    background: rgba(64, 105, 255, 0.18);
    color: #fff;
    padding-left: 16px;
    outline: none;
}

/* ── Staggered Menu (mobile / tablet) ── */
.xpodium-page .xpodium-staggered-menu {
    position: relative;
}

.xpodium-page .xpodium-staggered-menu__toggle {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__toggle {
    z-index: 1034;
}

.xpodium-page .xpodium-staggered-menu__toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

.xpodium-page .xpodium-staggered-menu__toggle-text {
    position: relative;
    display: inline-block;
    height: 1em;
    overflow: hidden;
    min-width: 4.5em;
}

.xpodium-page .xpodium-staggered-menu__toggle-line {
    display: block;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.xpodium-page .xpodium-staggered-menu__toggle-line:last-child {
    position: absolute;
    left: 0;
    top: 100%;
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__toggle-line:first-child {
    transform: translateY(-100%);
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__toggle-line:last-child {
    transform: translateY(-100%);
}

.xpodium-page .xpodium-staggered-menu__icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.xpodium-page .xpodium-staggered-menu__icon-h,
.xpodium-page .xpodium-staggered-menu__icon-v {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.32s ease, opacity 0.24s ease;
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__icon-h {
    transform: translate(-50%, -50%) rotate(45deg);
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__icon-v {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.xpodium-page .xpodium-staggered-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 22, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1040;
    pointer-events: none;
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.xpodium-page .xpodium-staggered-menu__prelayers {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
    z-index: 1041;
    opacity: 0;
    visibility: hidden;
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__prelayers {
    opacity: 1;
    visibility: visible;
}

.xpodium-page .xpodium-staggered-menu__prelayer {
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.xpodium-page .xpodium-staggered-menu__prelayer:first-child {
    background: #2d4eb8;
}

.xpodium-page .xpodium-staggered-menu__prelayer:last-child {
    background: var(--xp-primary);
    transition-delay: 0.04s;
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__prelayer {
    transform: translateX(0);
}

.xpodium-page .xpodium-staggered-menu__panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: clamp(88px, 14vw, 120px) clamp(24px, 6vw, 40px) 32px;
    background: #fff;
    z-index: 1042;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    visibility: hidden;
}

.xpodium-page .xpodium-staggered-menu__close {
    position: fixed;
    top: clamp(18px, 4vw, 28px);
    right: clamp(18px, 4vw, 28px);
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(14, 30, 54, 0.12);
    border-radius: 10px;
    background: #fff;
    color: var(--xp-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__close {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.xpodium-page .xpodium-staggered-menu__close:hover,
.xpodium-page .xpodium-staggered-menu__close:focus-visible {
    background: rgba(64, 105, 255, 0.08);
    border-color: rgba(64, 105, 255, 0.35);
    color: var(--xp-primary);
    outline: none;
}

.xpodium-page .xpodium-staggered-menu__close-icon {
    position: relative;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.xpodium-page .xpodium-staggered-menu__close-icon::before,
.xpodium-page .xpodium-staggered-menu__close-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.xpodium-page .xpodium-staggered-menu__close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.xpodium-page .xpodium-staggered-menu__close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.xpodium-page .xpodium-staggered-menu__panel.is-visible {
    visibility: visible;
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__panel {
    transform: translateX(0);
}

.xpodium-page .xpodium-staggered-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.xpodium-page .xpodium-staggered-menu__item-wrap {
    overflow: hidden;
}

.xpodium-page .xpodium-staggered-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding: 10px 0;
    font-family: inherit;
    font-size: clamp(1.15rem, 3.2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--xp-dark);
    text-decoration: none;
    transform: translateY(110%);
    opacity: 0;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--xpodium-stagger-delay, 0ms) + 120ms),
        opacity 0.42s ease calc(var(--xpodium-stagger-delay, 0ms) + 120ms),
        color 0.22s ease;
}

.xpodium-page .xpodium-staggered-menu.is-open .xpodium-staggered-menu__item {
    transform: translateY(0);
    opacity: 1;
}

.xpodium-page .xpodium-staggered-menu__item:hover,
.xpodium-page .xpodium-staggered-menu__item:focus-visible {
    color: var(--xp-primary);
    outline: none;
}

.xpodium-page .xpodium-staggered-menu__item-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
}

.xpodium-page .xpodium-staggered-menu__num {
    font-family: inherit;
    font-size: clamp(12px, 2.2vw, 14px);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--xp-primary);
    opacity: 0.85;
    margin-left: auto;
    padding-left: 12px;
    flex-shrink: 0;
}

/* Submenu parent toggle (mobile / tablet only) */
.xpodium-page .xpodium-staggered-menu__item--toggle {
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
    cursor: pointer;
}

.xpodium-page .xpodium-staggered-menu__item--toggle .xpodium-staggered-menu__item-caret {
    position: static;
    transform: none;
    font-size: clamp(13px, 2.2vw, 16px);
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.xpodium-page .xpodium-staggered-menu__item--toggle[aria-expanded="true"] .xpodium-staggered-menu__item-caret {
    transform: rotate(180deg);
}

/* Submenu (collapsed by default, expands via .is-open) */
.xpodium-page .xpodium-staggered-menu__submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease;
}

.xpodium-page .xpodium-staggered-menu__submenu.is-open {
    max-height: 480px;
    opacity: 1;
}

.xpodium-page .xpodium-staggered-menu__submenu-link {
    position: relative;
    display: block;
    padding: 8px 0 8px 20px;
    font-family: inherit;
    font-size: clamp(0.875rem, 2.2vw, 1rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: rgba(14, 30, 54, 0.78);
    text-decoration: none;
    transition: color 0.22s ease, padding-left 0.22s ease;
}

.xpodium-page .xpodium-staggered-menu__submenu-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--xp-primary);
    opacity: 0.45;
}

.xpodium-page .xpodium-staggered-menu__submenu-link:hover,
.xpodium-page .xpodium-staggered-menu__submenu-link:focus-visible {
    color: var(--xp-primary);
    padding-left: 24px;
    outline: none;
}

.xpodium-page .xpodium-staggered-menu__submenu-link:hover::before,
.xpodium-page .xpodium-staggered-menu__submenu-link:focus-visible::before {
    opacity: 1;
}

/* ── Rotating Text (hero) ── */
.xpodium-page .xpodium-rotating-text {
    display: inline-block;
    position: relative;
    min-height: 1.25em;
    line-height: 1.2;
    vertical-align: bottom;
}

.xpodium-page .xpodium-hero .title .xpodium-rotating-text {
    min-width: min(100%, 14ch);
}

.xpodium-page .xpodium-rotating-text__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.xpodium-page .xpodium-rotating-text__viewport {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    min-height: 1.25em;
    line-height: 1.2;
    padding-bottom: max(0.08em, 3px);
    perspective: 900px;
}

.xpodium-page .xpodium-rotating-text__track {
    display: inline-block;
    position: relative;
}

.xpodium-page .xpodium-rotating-text__line {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    white-space: pre-wrap;
}

.xpodium-page .xpodium-rotating-text__line--exit {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    animation: xpodium-rotate-exit 0.52s cubic-bezier(0.55, 0, 0.45, 1) forwards;
}

.xpodium-page .xpodium-rotating-text__line--enter {
    animation: xpodium-rotate-enter 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.xpodium-page .xpodium-rotating-text__line--active {
    position: relative;
}

.xpodium-page .xpodium-rotating-text__word {
    display: inline-flex;
}

.xpodium-page .xpodium-rotating-text__char {
    display: inline-block;
}

.xpodium-page .xpodium-rotating-text__accent {
    font-weight: 300;
    color: #a8c4ff;
}

.xpodium-page .xpodium-rotating-text__line--enter .xpodium-rotating-text__char,
.xpodium-page .xpodium-rotating-text__line--enter .xpodium-rotating-text__accent {
    animation: xpodium-char-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--xpodium-char-i, 0) * 18ms) both;
}

.xpodium-page .xpodium-rotating-text__line--exit .xpodium-rotating-text__char,
.xpodium-page .xpodium-rotating-text__line--exit .xpodium-rotating-text__accent {
    animation: xpodium-char-out 0.42s cubic-bezier(0.55, 0, 0.45, 1) calc(var(--xpodium-char-i, 0) * 12ms) both;
}

@keyframes xpodium-rotate-enter {
    from {
        opacity: 0;
        transform: translateY(72%) rotateX(-58deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes xpodium-rotate-exit {
    from {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
    to {
        opacity: 0;
        transform: translateY(-62%) rotateX(58deg);
    }
}

@keyframes xpodium-char-in {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes xpodium-char-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-120%);
    }
}



@media (max-width: 1023px) {
    .xpodium-page .xpodium-card-nav {
        display: none;
    }
}

@media (min-width: 1024px) {
    .xpodium-page .xpodium-staggered-menu {
        display: none;
    }
}

@media (max-width: 767px) {
    .xpodium-page .xpodium-hero .title .xpodium-rotating-text {
        min-width: min(100%, 11ch);
    }

    .xpodium-page .xpodium-rotating-text,
    .xpodium-page .xpodium-rotating-text__viewport {
        min-height: 1.28em;
    }

    .xpodium-page .xpodium-rotating-text__viewport {
        padding-bottom: max(0.1em, 4px);
    }

    .xpodium-page .xpodium-rotating-text__line--exit {
        animation-name: xpodium-rotate-exit-mobile;
    }

    .xpodium-page .xpodium-rotating-text__line--enter {
        animation-name: xpodium-rotate-enter-mobile;
    }


}

@media (max-width: 1023px) {
    .xpodium-page .xpodium-staggered-menu__panel,
    .xpodium-page .xpodium-staggered-menu__prelayers {
        width: 100vw;
        max-width: none;
    }
}

@keyframes xpodium-rotate-enter-mobile {
    from {
        opacity: 0;
        transform: translateY(52%) rotateX(-42deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes xpodium-rotate-exit-mobile {
    from {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
    to {
        opacity: 0;
        transform: translateY(-48%) rotateX(42deg);
    }
}

/* ── Phase 2: Scroll Reveal / Stagger ── */
.xpodium-page [data-xpodium-reveal]:not(.is-revealed) .xpodium-reveal-item {
    opacity: 0;
    transform: translateY(18px);
}

.xpodium-page [data-xpodium-reveal].is-revealed .xpodium-reveal-item {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--xpodium-reveal-i, 0) * 70ms + 40ms);
}

/* ── Phase 2: Concept Image Reveal ── */
.xpodium-page [data-xpodium-image-reveal] {
    position: relative;
}

.xpodium-page [data-xpodium-image-reveal]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--xp-dark-2, #1a2f52);
    transform-origin: left center;
    transform: scaleX(1);
    transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 2;
    pointer-events: none;
}

.xpodium-page [data-xpodium-image-reveal].is-revealed::after {
    transform: scaleX(0);
}

.xpodium-page [data-xpodium-image-reveal] img {
    transform: scale(1.03);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.xpodium-page [data-xpodium-image-reveal].is-revealed img {
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .xpodium-page .xpodium-card-nav__submenu,
    .xpodium-page .xpodium-card-nav__submenu-link,
    .xpodium-page .xpodium-staggered-menu__panel,
    .xpodium-page .xpodium-staggered-menu__prelayer,
    .xpodium-page .xpodium-staggered-menu__overlay,
    .xpodium-page .xpodium-staggered-menu__item,
    .xpodium-page .xpodium-staggered-menu__item-caret,
    .xpodium-page .xpodium-staggered-menu__submenu,
    .xpodium-page .xpodium-staggered-menu__submenu-link,
    .xpodium-page .xpodium-staggered-menu__toggle-line,
    .xpodium-page .xpodium-staggered-menu__icon-h,
    .xpodium-page .xpodium-staggered-menu__icon-v {
        transition-duration: 0.01ms !important;
        animation: none !important;
    }

    .xpodium-page .xpodium-rotating-text__line--exit,
    .xpodium-page .xpodium-rotating-text__line--enter,
    .xpodium-page .xpodium-rotating-text__char,
    .xpodium-page .xpodium-rotating-text__accent {
        animation: none !important;
    }

    .xpodium-page .xpodium-staggered-menu__item {
        transform: none;
        opacity: 1;
    }

    .xpodium-page .xpodium-card-nav__item.is-open .xpodium-card-nav__submenu {
        transform: none;
    }

    /* Phase 2 — reduced motion overrides */
    .xpodium-page [data-xpodium-reveal]:not(.is-revealed) .xpodium-reveal-item,
    .xpodium-page [data-xpodium-image-reveal]:not(.is-revealed) img,
    .xpodium-page .xpodium-people:not(.is-revealed) .xpodium-people-card__inner {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }

    .xpodium-page .xpodium-people-card,
    .xpodium-page .xpodium-people-card__spotlight,
    .xpodium-page .xpodium-people-card__inner {
        transition: none !important;
    }

    .xpodium-page .xpodium-people .testimonial-slider .slider-item:hover {
        transform: none !important;
    }

    .xpodium-page .xpodium-accordion-content {
        transition: none !important;
    }

    .xpodium-page .xpodium-accordion-toggle__icon {
        transition: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   Phase 3 — Partners Parallax Carousel
   Scoped to .xpodium-page · Slick-enhanced · subtle depth
   ═══════════════════════════════════════════════════════════ */

/* ── Partners Carousel (clean, responsive) ── */
.xpodium-page .xpodium-partner-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 4px;
}

.xpodium-page .xpodium-partner-carousel__viewport {
    overflow: hidden;
    position: relative;
    padding: 24px 0 16px;
}

.xpodium-page .xpodium-partner-carousel .slick-list {
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
}

.xpodium-page .xpodium-partner-carousel .slick-track {
    display: flex !important;
    align-items: stretch;
}

.xpodium-page .xpodium-partner-carousel .slick-slide {
    height: auto;
    float: none;
}

.xpodium-page .xpodium-partner-carousel .xpodium-partner-carousel__slide {
    height: 100%;
}

.xpodium-page .xpodium-partner-carousel .slick-slide .xpodium-partner-card {
    margin: 0 clamp(8px, 1.2vw, 16px);
    height: 100%;
    transition:
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.xpodium-page .xpodium-partner-carousel .slick-slide .xpodium-partner-card:hover {
    transform: translateY(-4px);
}

/* Cursor affordance */
.xpodium-page .xpodium-partner-carousel__viewport:active .slick-track {
    cursor: grabbing;
}

.xpodium-page .xpodium-partner-carousel .slick-track {
    cursor: grab;
}

/* Controls */
.xpodium-page .xpodium-partner-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 28px);
    margin-top: clamp(16px, 2.4vw, 28px);
}

.xpodium-page .xpodium-partner-carousel__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(64, 105, 255, 0.22);
    background: #fff;
    color: var(--xp-primary);
    font-size: 16px;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
    box-shadow: 0 8px 20px rgba(14, 30, 54, 0.06);
    flex-shrink: 0;
}

.xpodium-page .xpodium-partner-carousel__arrow:hover,
.xpodium-page .xpodium-partner-carousel__arrow:focus-visible {
    background: var(--xp-primary);
    border-color: var(--xp-primary);
    color: #fff;
    box-shadow: 0 12px 28px rgba(64, 105, 255, 0.28);
    transform: translateY(-1px);
    outline: none;
}

.xpodium-page .xpodium-partner-carousel__arrow:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
    background: #fff;
    color: var(--xp-primary);
    box-shadow: none;
}

.xpodium-page .xpodium-partner-carousel__dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.xpodium-page .xpodium-partner-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(64, 105, 255, 0.22);
    cursor: pointer;
    transition:
        background 0.3s ease,
        width 0.3s ease,
        box-shadow 0.3s ease;
}

.xpodium-page .xpodium-partner-carousel__dot:hover,
.xpodium-page .xpodium-partner-carousel__dot:focus-visible {
    background: rgba(64, 105, 255, 0.45);
    outline: none;
}

.xpodium-page .xpodium-partner-carousel__dot.is-active {
    width: 28px;
    background: var(--xp-primary);
    box-shadow: 0 4px 12px rgba(64, 105, 255, 0.35);
}

/* Entrance animation (isolated from WOW.js heading) */
.xpodium-page .xpodium-partner-carousel:not(.is-revealed) .xpodium-partner-carousel__viewport,
.xpodium-page .xpodium-partner-carousel:not(.is-revealed) .xpodium-partner-carousel__controls {
    opacity: 0;
    transform: translateY(18px);
}

.xpodium-page .xpodium-partner-carousel.is-revealed .xpodium-partner-carousel__viewport,
.xpodium-page .xpodium-partner-carousel.is-revealed .xpodium-partner-carousel__controls {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 120ms;
}

/* Keep partner cards consistent on smaller widths */
.xpodium-page .xpodium-partner-carousel .xpodium-partner-card {
    height: 100%;
    justify-content: flex-start;
}

.xpodium-page .xpodium-partner-carousel .xpodium-partner-card__logo {
    justify-content: center;
}

/* Responsive tuning */
@media (min-width: 1024px) {
    .xpodium-page .xpodium-partner-carousel__slider {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: clamp(20px, 3vw, 36px);
    }

    .xpodium-page .xpodium-partner-carousel__slide {
        flex: 0 1 auto;
        min-width: clamp(140px, 15vw, 200px);
    }

    .xpodium-page .xpodium-partner-carousel__controls {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .xpodium-page .xpodium-partner-carousel__controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 24px;
    }

    .xpodium-page .xpodium-partner-carousel__arrow {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 767px) {
    .xpodium-page .xpodium-partner-carousel__viewport {
        padding: 18px 0 12px;
    }

    .xpodium-page .xpodium-partner-carousel .xpodium-partner-card {
        padding: 22px 18px;
    }
}

/* Reduced motion for the partner carousel */
@media (prefers-reduced-motion: reduce) {
    .xpodium-page .xpodium-partner-carousel:not(.is-revealed) .xpodium-partner-carousel__viewport,
    .xpodium-page .xpodium-partner-carousel:not(.is-revealed) .xpodium-partner-carousel__controls {
        opacity: 1 !important;
        transform: none !important;
    }

    .xpodium-page .xpodium-partner-carousel .slick-slide .xpodium-partner-card {
        transition: none !important;
    }
}

/* Accordion animation fix — the scroll-reveal transition on
   .xpodium-reveal-item (opacity/transform only) overrides the accordion's
   own transition list once a section is revealed, which broke max-height /
   margin-top animation and caused the expand/collapse "jump". This rule is
   intentionally last so it wins by source order at equal specificity. */
@media (max-width: 991px) {
    .xpodium-page [data-xpodium-reveal].is-revealed .xpodium-accordion-content {
        transition:
            max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.45s ease 0.05s,
            margin-top 0.5s ease;
    }
}
