/* ==========================================================================
   I CIM Marketing — front-end stylesheet (light, modern, responsive)
   Layered on top of nexus-theme. Only affects the homepage + marketing
   pages. Does not touch the portal dashboards (those live in beyonderp plugin).
   ========================================================================== */

:root{
    --icim-primary:        #2872fa;
    --icim-primary-hover:  #1559ed;
    --icim-text-dark:      #192a3d;
    --icim-text-mid:       #3a4f66;
    --icim-text-muted:     #6b7c93;
    --icim-bg-page:        #ffffff;
    --icim-bg-soft:        #f6f8fb;
    --icim-bg-softer:      #fafbfc;
    --icim-border:         #e1e8ed;
    --icim-radius:         12px;
    --icim-radius-sm:      8px;
    --icim-shadow-sm:      0 1px 3px rgba(16,30,54,.05), 0 2px 8px rgba(16,30,54,.04);
    --icim-shadow-lg:      0 12px 32px rgba(16,30,54,.10);
    --icim-font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --icim-font-head:      'Syne', 'Inter', sans-serif;
}

/* ── Reset (scoped to marketing main only — don't touch portal pages) ──── */
.icim-home, .icim-page{ font-family: var(--icim-font-body); color: var(--icim-text-mid); line-height: 1.6; }
.icim-home *, .icim-page *{ box-sizing: border-box; }

/* ── Main nav layout fix (parent theme misses the ul/li flattening) ────
   The parent nexus-theme styles .main-nav as a flex container but doesn't
   flatten the <ul><li> wp_nav_menu wraps items in, so items render vertically.
   Force the <ul> to also be flex and remove list-item bullet styling. */
.main-nav > ul,
.main-nav > div > ul,
.main-nav .menu {
    display: flex !important;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.main-nav ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.main-nav ul li > a {
    display: block;
    white-space: nowrap;
}

/* Desktop dropdown chevron — appears next to parent menu items with children
   (Introduction, Products, Sales Agent Partner, Partners/Users). Rotates from
   ▼ to ▲ when the user hovers the parent and the submenu opens. The mobile
   version is handled separately inside the @media block below (absolute-
   positioned at the right edge of the row). */
.main-nav ul li.menu-item-has-children > a::after{
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .22s ease, opacity .22s ease;
    opacity: 0.65;
    vertical-align: middle;
}
.main-nav ul li.menu-item-has-children:hover > a::after,
.main-nav ul li.menu-item-has-children:focus-within > a::after{
    transform: translateY(1px) rotate(-135deg);
    opacity: 1;
}
/* Nested submenu items shouldn't show a parent caret */
.main-nav ul li .sub-menu li.menu-item-has-children > a::after,
.main-nav ul li ul li.menu-item-has-children > a::after{
    display: none;
}

/* Dropdown submenus (Introduction, Products, Partners/Users) */
.main-nav ul li .sub-menu,
.main-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0D1850;
    min-width: 240px;
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
    z-index: 100;
    margin: 0;
    list-style: none;
}
.main-nav ul li:hover > .sub-menu,
.main-nav ul li:hover > ul,
.main-nav ul li:focus-within > .sub-menu,
.main-nav ul li:focus-within > ul {
    display: block;
}
.main-nav ul li .sub-menu li,
.main-nav ul li ul li {
    display: block;
    width: 100%;
}
.main-nav ul li .sub-menu a,
.main-nav ul li ul a {
    padding: 10px 18px;
    width: 100%;
    border-radius: 0;
}
.main-nav ul li .sub-menu a:hover,
.main-nav ul li ul a:hover {
    background: rgba(255,255,255,.06);
}

/* Mobile (parent's breakpoint is 768px) — stack everything vertically
   and make the slide-out drawer reliable on touch devices.
   Drawer uses position:fixed so it doesn't depend on any ancestor
   creating a containing block. */
@media (max-width: 768px) {
    /* Make sure the trigger is clearly tappable + above any overlapping element */
    .nav-toggle{
        position: relative;
        z-index: 10001;
        pointer-events: auto;
    }

    /* Drawer: hidden by default, shown when .open is toggled by JS */
    nav.main-nav{
        display: none !important;
        position: fixed !important;
        top: 68px;       /* matches parent .header-inner height */
        left: 0;
        right: 0;
        background: #0D1235 !important;
        flex-direction: column !important;
        padding: 14px 18px 22px !important;
        border-top: 1px solid rgba(255,255,255,.10);
        box-shadow: 0 18px 40px -10px rgba(0,0,0,.55);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 10000 !important;
        margin: 0 !important;
    }
    /* WP admin bar shifts everything down 46px on mobile */
    .admin-bar nav.main-nav{ top: 114px; }

    nav.main-nav.open{
        display: flex !important;
        animation: icim-slidedown .22s ease-out both;
    }
    @keyframes icim-slidedown{
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Stack list items */
    .main-nav > ul,
    .main-nav > div > ul,
    .main-nav .menu{
        flex-direction: column !important;
        align-items: stretch;
        width: 100%;
        gap: 2px;
    }
    .main-nav ul li{ width: 100%; }
    .main-nav ul li > a{
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 8px;
    }

    /* Submenus: accordion style instead of position:absolute hover */
    .main-nav ul li .sub-menu,
    .main-nav ul li ul{
        position: static;
        display: none;
        background: rgba(255,255,255,.04);
        box-shadow: none;
        margin: 4px 0 6px 12px;
        padding: 4px 0;
        min-width: 0;
        border-radius: 8px;
    }
    /* Disable the parent-theme's hover-open rule on touch screens —
       we want tap-to-open via the .submenu-open class added by JS. */
    .main-nav ul li:hover > .sub-menu,
    .main-nav ul li:hover > ul,
    .main-nav ul li:focus-within > .sub-menu,
    .main-nav ul li:focus-within > ul{
        display: none;
    }
    .main-nav ul li.submenu-open > .sub-menu,
    .main-nav ul li.submenu-open > ul{
        display: block;
    }

    /* Caret indicator on parent items */
    .main-nav ul li.menu-item-has-children > a{
        position: relative;
        padding-right: 36px;
    }
    .main-nav ul li.menu-item-has-children > a::after{
        content: "";
        position: absolute;
        right: 14px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-70%) rotate(45deg);
        transition: transform .22s ease;
        opacity: 0.7;
    }
    .main-nav ul li.menu-item-has-children.submenu-open > a::after{
        transform: translateY(-30%) rotate(-135deg);
    }
}

/* ── Logo size guard (parent theme leaves custom_logo uncapped) ───────── */
.custom-logo,
.site-logo img,
.site-branding img,
.ct-header-logo img,
header img.custom-logo,
header .site-branding a img {
    max-height: 56px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}
@media (max-width: 768px) {
    .custom-logo, .site-logo img, .site-branding img, .ct-header-logo img {
        max-height: 44px !important;
        max-width: 160px !important;
    }
}

.icim-container{ max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.icim-btn{
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 15px;
    text-decoration: none; transition: all .18s ease; cursor: pointer;
    border: 2px solid transparent; font-family: var(--icim-font-body);
}
.icim-btn--primary{ background: var(--icim-primary); color: #fff !important; }
.icim-btn--primary:hover{ background: var(--icim-primary-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(40,114,250,.25); }
.icim-btn--ghost{ background: rgba(255,255,255,.10); color: #fff !important; border-color: rgba(255,255,255,.4); }
.icim-btn--ghost:hover{ background: rgba(255,255,255,.18); border-color: #fff; }
.icim-btn--white{ background: #fff; color: var(--icim-primary) !important; }
.icim-btn--white:hover{ background: #f3f6fb; transform: translateY(-1px); }
.icim-btn--big{ padding: 16px 32px; font-size: 16px; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.icim-hero{
    background: linear-gradient(135deg, #081e44 0%, #1559ed 60%, #2872fa 100%);
    color: #fff;
    padding: 64px 0 72px;       /* tightened from 92/110 -> 64/72 */
    position: relative; overflow: hidden;
    box-shadow: 0 10px 36px rgba(8, 30, 68, 0.18);    /* soft outer drop shadow */
}
.icim-hero--has-image{ background-size: cover; background-position: center; }
.icim-hero::after{
    content: ""; position: absolute; inset: auto 0 -1px 0; height: 36px;
    background: linear-gradient(to bottom, transparent, var(--icim-bg-page));
    pointer-events: none;
}

/* Single "My Dashboard" button on right side of header (child override) */
.icim-dashboard-btn{
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 20px;
    background: var(--icim-dash-color, #2872fa);
    color: #fff !important;
    text-decoration: none;
    border-radius: 999px;
    font-size: 14px; font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.icim-dashboard-btn:hover{
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* Hide the BeyondERP plugin's auto-injected "🚀 My Dashboard" pill inside
   the nav menu — duplicate of the dedicated button on the right. */
.bep-dashboard-nav-item{ display: none !important; }
.icim-hero__eyebrow{
    font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,.75); margin: 0 0 18px;
}
.icim-hero__headline{
    font-family: var(--icim-font-head);
    font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.15;
    margin: 0 0 22px; color: #fff; max-width: 880px;
}
.icim-hero__subhead{
    font-size: clamp(15px, 1.5vw, 18px); line-height: 1.65; color: rgba(255,255,255,.85);
    max-width: 720px; margin: 0 0 32px;
}
.icim-hero__ctas{ display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Section heading shared component ───────────────────────────────── */
.icim-section-head{ text-align: center; max-width: 720px; margin: 0 auto 48px; }
.icim-section-head__title{
    font-family: var(--icim-font-head);
    font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2;
    color: var(--icim-text-dark); margin: 0 0 12px;
}
.icim-section-head__sub{ font-size: 16px; color: var(--icim-text-muted); margin: 0; }

/* ── Value props ─────────────────────────────────────────────────────── */
.icim-values{ background: var(--icim-bg-page); padding: 56px 0; } /* tightened v2.4.9 — was 80 */
.icim-values__grid{
    display: grid; gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.icim-value{
    background: var(--icim-bg-softer); border: 1px solid var(--icim-border);
    border-radius: var(--icim-radius); padding: 32px 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.icim-value:hover{ transform: translateY(-3px); box-shadow: var(--icim-shadow-lg); }
.icim-value__icon{ font-size: 38px; margin-bottom: 16px; line-height: 1; }
.icim-value__title{
    font-family: var(--icim-font-head); font-weight: 700;
    font-size: 1.25rem; color: var(--icim-text-dark); margin: 0 0 12px;
}
.icim-value__desc{ font-size: 15px; color: var(--icim-text-mid); margin: 0; }

/* ── Products grid ───────────────────────────────────────────────────── */
.icim-products{ background: var(--icim-bg-soft); padding: 56px 0; } /* tightened v2.4.9 */
.icim-products__grid{
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.icim-product-card{
    display: block; background: #fff; border: 1px solid var(--icim-border);
    border-radius: var(--icim-radius); overflow: hidden; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    color: inherit;
}
.icim-product-card:hover{
    transform: translateY(-4px); box-shadow: var(--icim-shadow-lg);
    border-color: var(--icim-primary);
}
.icim-product-card__img{ height: 180px; background-size: cover; background-position: center; background-color: var(--icim-bg-soft); }
.icim-product-card__img--placeholder{
    background: linear-gradient(135deg, #2872fa22, #1559ed11);
    display: flex; align-items: center; justify-content: center;
}
.icim-product-card__img--placeholder::after{
    content: "📦"; font-size: 48px; opacity: .5;
}
.icim-product-card__body{ padding: 22px 22px 26px; }
.icim-product-card__title{
    font-family: var(--icim-font-head); font-weight: 700; font-size: 1.1rem;
    color: var(--icim-text-dark); margin: 0 0 10px;
}
.icim-product-card__excerpt{ font-size: 14px; color: var(--icim-text-muted); margin: 0 0 14px; line-height: 1.55; }
.icim-product-card__more{ font-size: 14px; font-weight: 600; color: var(--icim-primary); }

/* ── News / Posts grid ───────────────────────────────────────────────── */
.icim-news{ background: var(--icim-bg-page); padding: 56px 0; } /* tightened v2.4.9 */
.icim-news__grid{
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.icim-news-card{
    background: var(--icim-bg-softer); border: 1px solid var(--icim-border);
    border-radius: var(--icim-radius); overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.icim-news-card:hover{ transform: translateY(-3px); box-shadow: var(--icim-shadow-lg); }
.icim-news-card__link{ display: block; text-decoration: none; color: inherit; }
.icim-news-card__img{ height: 170px; background-size: cover; background-position: center; background-color: var(--icim-bg-soft); }
.icim-news-card__img--placeholder{ background: linear-gradient(135deg, #2872fa22, #1559ed11); }
.icim-news-card__body{ padding: 20px 22px 24px; }
.icim-news-card__tag{
    display: inline-block; padding: 3px 10px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .8px;
    background: var(--icim-primary); color: #fff; border-radius: 20px; margin-bottom: 12px;
}
.icim-news-card__title{
    font-family: var(--icim-font-head); font-weight: 700; font-size: 1.05rem;
    color: var(--icim-text-dark); margin: 0 0 8px; line-height: 1.35;
}
.icim-news-card__excerpt{ font-size: 14px; color: var(--icim-text-muted); margin: 0 0 12px; line-height: 1.55; }
.icim-news-card__date{ font-size: 12px; color: var(--icim-text-muted); }

/* ── CTA band ────────────────────────────────────────────────────────── */
.icim-cta-band{
    background: linear-gradient(135deg, #1559ed, #2872fa);
    color: #fff; padding: 60px 0; margin-top: 0;
}
.icim-cta-band__inner{
    display: flex; align-items: center; justify-content: space-between;
    gap: 28px; flex-wrap: wrap;
}
.icim-cta-band__title{
    font-family: var(--icim-font-head); font-weight: 800; color: #fff;
    margin: 0 0 6px; font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}
.icim-cta-band__sub{ margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }

/* ──────────────────────────────────────────────────────────────────────
   Single post + single page template — hero / content / related
   ────────────────────────────────────────────────────────────────────── */

/* ── Page hero (image-backed) ──────────────────────────────────────── */
.icim-page-hero{
    background: linear-gradient(135deg, #081e44 0%, #1559ed 60%, #2872fa 100%);
    background-size: cover; background-position: center;
    color: #fff;
    padding: 92px 0 80px;
    position: relative; overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 36px rgba(8, 30, 68, 0.18);
}
.icim-page-hero--has-image{ background-size: cover; background-position: center; }
.icim-page-hero__inner{ position: relative; z-index: 2; }
.icim-page-hero__title{
    font-family: var(--icim-font-head);
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 800; line-height: 1.2; margin: 12px 0 14px; color: #fff;
}
.icim-page-hero__sub{
    font-size: clamp(15px, 1.4vw, 17px);
    color: rgba(255,255,255,.85); margin: 0 auto; max-width: 700px;
}

/* Breadcrumb */
.icim-breadcrumb{
    display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
    font-size: 13px; color: rgba(255,255,255,.7);
}
.icim-breadcrumb__link{
    color: rgba(255,255,255,.75); text-decoration: none;
    border-bottom: 1px dotted rgba(255,255,255,.3);
    transition: color .15s ease;
}
.icim-breadcrumb__link:hover{ color: #fff; }
.icim-breadcrumb__sep{ color: rgba(255,255,255,.4); margin: 0 2px; }
.icim-breadcrumb__current{ color: rgba(255,255,255,.95); font-weight: 600; }

/* ── Article body typography ──────────────────────────────────────── */
.icim-article{ background: var(--icim-bg-page); padding: 56px 0 80px; }
/* v2.99.12 — Julia wants article__inner at 1024px (was 820px). Gives the
   Solution Packages page + any icim-article layout more breathing room
   for the two-column form rows to sit comfortably. */
.icim-article__inner{ max-width: 1024px; }
.icim-article__content{
    font-family: var(--icim-font-body);
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--icim-text-mid);
}
.icim-article__content > * + *{ margin-top: 18px; }
.icim-article__content p{ margin: 0; }
.icim-article__content h2{
    font-family: var(--icim-font-head);
    font-size: 1.6rem; font-weight: 700; line-height: 1.25;
    color: var(--icim-text-dark); margin-top: 36px;
}
.icim-article__content h3{
    font-family: var(--icim-font-head);
    font-size: 1.25rem; font-weight: 700;
    color: var(--icim-text-dark); margin-top: 26px;
}
.icim-article__content ul,
.icim-article__content ol{ padding-left: 22px; }
.icim-article__content li{ margin: 6px 0; }
.icim-article__content a{
    color: var(--icim-primary);
    text-decoration: underline;
    text-decoration-color: rgba(40,114,250,.4);
    text-underline-offset: 3px;
}
.icim-article__content a:hover{ text-decoration-color: var(--icim-primary); }
.icim-article__content blockquote{
    border-left: 4px solid var(--icim-primary);
    background: var(--icim-bg-softer);
    padding: 14px 22px;
    margin: 22px 0;
    font-size: 17px; font-style: italic;
    color: var(--icim-text-dark);
    border-radius: 0 8px 8px 0;
}
.icim-article__content img{
    max-width: 100%; height: auto;
    border-radius: var(--icim-radius);
    margin: 12px 0;
}
.icim-article__content strong{ color: var(--icim-text-dark); }

/* ── Related posts / pages ────────────────────────────────────────── */
.icim-related{ background: var(--icim-bg-soft); padding: 72px 0 90px; }
.icim-related__grid{
    display: grid; gap: 22px;
    grid-template-columns: repeat(3, 1fr);   /* 3 columns on desktop */
}
@media (max-width: 900px) {
    .icim-related__grid{ grid-template-columns: repeat(2, 1fr); }   /* 2 cols on tablet */
}
@media (max-width: 560px) {
    .icim-related__grid{ grid-template-columns: 1fr; }              /* 1 col on phone */
}
.icim-related-card{
    background: #fff;
    border: 1px solid var(--icim-border);
    border-radius: var(--icim-radius);
    overflow: hidden;
    text-decoration: none; color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex; flex-direction: column;
}
.icim-related-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--icim-shadow-lg);
    border-color: var(--icim-primary);
}
.icim-related-card__img{
    height: 160px; background-size: cover; background-position: center;
    background-color: var(--icim-bg-soft);
}
.icim-related-card__img--placeholder{
    background: linear-gradient(135deg, #2872fa18, #1559ed0c);
}
.icim-related-card__body{ padding: 16px 18px 20px; }
.icim-related-card__tag{
    display: inline-block; padding: 2px 9px;
    background: var(--icim-primary); color: #fff;
    border-radius: 20px;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .6px;
    margin-bottom: 10px;
}
.icim-related-card__title{
    font-family: var(--icim-font-head);
    font-weight: 700; font-size: 1rem;
    color: var(--icim-text-dark);
    margin: 0 0 8px;
    line-height: 1.35;
    /* Allow up to 3 lines, then ellipsis — keeps cards even when titles vary */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.icim-related-card__excerpt{
    font-size: 13px; color: var(--icim-text-muted);
    margin: 0 0 10px; line-height: 1.55;
    /* Clamp to 3 lines so all cards line up evenly */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.icim-related-card__more{
    font-size: 14px; font-weight: 600;
    color: var(--icim-primary);
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .icim-page-hero{ padding: 64px 0 56px; }
    .icim-article{ padding: 40px 0 60px; }
    .icim-related{ padding: 50px 0 70px; }
    .icim-page-hero__title{ font-size: 1.7rem; }
}

/* ──────────────────────────────────────────────────────────────────────
   Product Page Builder — flexible-content sections (page-product.php)
   ────────────────────────────────────────────────────────────────────── */

.icim-product { background: var(--icim-bg-page); }
.icim-product__body { background: var(--icim-bg-page); }

/* Generic spacing for every section */
.icim-prod-section { padding: 56px 0; }
.icim-prod-section + .icim-prod-section { padding-top: 0; }   /* tighter when stacked */

/* ── Intro Block ───────────────────────────────────────────────────── */
.icim-prod-intro__inner { max-width: 880px; }
.icim-prod-intro--center .icim-prod-intro__inner { text-align: center; margin: 0 auto; }
.icim-prod-intro__heading {
    font-family: var(--icim-font-head);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800; line-height: 1.25;
    color: var(--icim-text-dark);
    margin: 0 0 14px;
}
.icim-prod-intro__body {
    font-size: 16.5px; line-height: 1.75;
    color: var(--icim-text-mid);
}
.icim-prod-intro__body p { margin: 0 0 14px; }
.icim-prod-intro__body p:last-child { margin-bottom: 0; }

/* ── Package Tier card ─────────────────────────────────────────────── */
.icim-prod-tier { padding: 28px 0; }
.icim-prod-tier:first-child { padding-top: 56px; }
.icim-prod-tier:last-of-type { padding-bottom: 80px; }

.icim-tier-card {
    background: #fff;
    border: 1px solid var(--icim-border);
    border-radius: 14px;
    padding: 36px 38px;
    max-width: 880px; margin: 0 auto;
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease;
    box-shadow: 0 2px 8px rgba(16,30,54,.04);
}
.icim-tier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16,30,54,.10);
}
.icim-tier-card--highlight {
    border-color: var(--icim-primary);
    box-shadow: 0 0 0 1px var(--icim-primary), 0 12px 28px rgba(40,114,250,.12);
    background: linear-gradient(180deg, #fff 0%, #f6faff 100%);
}
.icim-tier-card__badge {
    position: absolute; top: -12px; right: 24px;
    background: var(--icim-primary); color: #fff;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(40,114,250,.30);
}
.icim-tier-card__head { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--icim-border); }
.icim-tier-card__name {
    font-family: var(--icim-font-head);
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 800; line-height: 1.2;
    color: var(--icim-text-dark);
    margin: 0 0 4px;
}
.icim-tier-card__tagline {
    font-size: 14px; color: var(--icim-text-muted);
    margin: 0;
}
.icim-tier-card__body {
    font-size: 15.5px; line-height: 1.7;
    color: var(--icim-text-mid);
}
.icim-tier-card__body p { margin: 0 0 12px; }
.icim-tier-card__body p:last-child { margin-bottom: 0; }
.icim-tier-card__body a {
    color: var(--icim-primary);
    word-break: break-word;
}
.icim-tier-card__cta {
    margin-top: 22px; padding-top: 18px;
    border-top: 1px dashed var(--icim-border);
}
.icim-tier-card__cta .icim-btn { gap: 4px; }

/* ── Image + Text (2-col) ──────────────────────────────────────────── */
.icim-prod-imgtxt__inner {
    display: grid;
    gap: 36px;
    align-items: center;
    /* Default 50/50 — overridden by ratio modifiers below */
    grid-template-columns: 1fr 1fr;
}
.icim-prod-imgtxt--ratio-33 .icim-prod-imgtxt__inner { grid-template-columns: 33% 1fr; }
.icim-prod-imgtxt--ratio-66 .icim-prod-imgtxt__inner { grid-template-columns: 66% 1fr; }
.icim-prod-imgtxt--right .icim-prod-imgtxt__img  { order: 2; }
.icim-prod-imgtxt--right .icim-prod-imgtxt__body { order: 1; }
.icim-prod-imgtxt__pic {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(16,30,54,.08);
}
.icim-prod-imgtxt__body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--icim-text-mid);
}
.icim-prod-imgtxt__body p { margin: 0 0 14px; }
.icim-prod-imgtxt__body p:last-child { margin-bottom: 0; }
.icim-prod-imgtxt__body strong { color: var(--icim-text-dark); }
@media (max-width: 768px) {
    .icim-prod-imgtxt__inner,
    .icim-prod-imgtxt--ratio-33 .icim-prod-imgtxt__inner,
    .icim-prod-imgtxt--ratio-66 .icim-prod-imgtxt__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .icim-prod-imgtxt--right .icim-prod-imgtxt__img,
    .icim-prod-imgtxt--right .icim-prod-imgtxt__body { order: initial; }
}

/* ── Comparison Columns ────────────────────────────────────────────── */
.icim-prod-cmp__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.icim-cmp-col {
    background: #fff;
    border: 1px solid var(--icim-border);
    border-radius: 12px;
    padding: 28px 28px 22px;
    box-shadow: 0 2px 8px rgba(16,30,54,.04);
}
.icim-cmp-col__head {
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--icim-primary);
}
.icim-cmp-col__title {
    font-family: var(--icim-font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--icim-text-dark);
    margin: 0;
    text-align: center;
}
.icim-cmp-col__list {
    list-style: none;
    counter-reset: cmp-counter;
    padding: 0;
    margin: 0;
}
.icim-cmp-item {
    counter-increment: cmp-counter;
    position: relative;
    padding: 12px 0 12px 42px;
    border-bottom: 1px solid var(--icim-border);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--icim-text-mid);
}
.icim-cmp-item:last-child { border-bottom: 0; }
.icim-cmp-item::before {
    content: counter(cmp-counter);
    position: absolute;
    left: 0; top: 12px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--icim-primary);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icim-cmp-item__title {
    display: inline;
    color: var(--icim-text-dark);
    font-weight: 700;
}
.icim-cmp-item__desc { color: var(--icim-text-muted); }
@media (max-width: 768px) {
    .icim-prod-cmp__grid { grid-template-columns: 1fr; }
}

/* ── Centered Image ────────────────────────────────────────────────── */
.icim-prod-cimg__figure {
    margin: 0;
    text-align: center;
}
.icim-prod-cimg__pic {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16,30,54,.10);
}
.icim-prod-cimg__caption {
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--icim-text-muted);
    font-style: italic;
}

/* ── Image Grid ────────────────────────────────────────────────────── */
.icim-prod-igrid__grid {
    display: grid;
    gap: 20px;
}
.icim-prod-igrid--cols-2 .icim-prod-igrid__grid { grid-template-columns: repeat(2, 1fr); }
.icim-prod-igrid--cols-3 .icim-prod-igrid__grid { grid-template-columns: repeat(3, 1fr); }
.icim-prod-igrid--cols-4 .icim-prod-igrid__grid { grid-template-columns: repeat(4, 1fr); }
.icim-prod-igrid__cell { margin: 0; }
.icim-prod-igrid__pic {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(16,30,54,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.icim-prod-igrid__cell:hover .icim-prod-igrid__pic {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(16,30,54,.14);
}
.icim-prod-igrid__caption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--icim-text-muted);
    text-align: center;
}
@media (max-width: 1024px) {
    .icim-prod-igrid--cols-4 .icim-prod-igrid__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .icim-prod-igrid--cols-3 .icim-prod-igrid__grid,
    .icim-prod-igrid--cols-4 .icim-prod-igrid__grid { grid-template-columns: 1fr; }
    .icim-prod-igrid--cols-2 .icim-prod-igrid__grid { grid-template-columns: 1fr; }
}

/* ── Rich Text Section ─────────────────────────────────────────────── */
.icim-prod-rich__inner { max-width: 820px; }
.icim-prod-rich__heading {
    font-family: var(--icim-font-head);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800; line-height: 1.25;
    color: var(--icim-text-dark);
    margin: 0 0 18px;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .icim-prod-section { padding: 40px 0; }
    .icim-tier-card { padding: 26px 22px; }
    .icim-tier-card__badge { right: 14px; }
}

/* ── Click2claim gated download component ──────────────────────────── */
.c2c-gate, .c2c-card{
    max-width: 640px; margin: 40px auto; padding: 40px 32px;
    background: var(--icim-bg-softer); border: 1px solid var(--icim-border);
    border-radius: var(--icim-radius); text-align: center;
    font-family: var(--icim-font-body);
}
.c2c-gate__icon{ font-size: 56px; margin-bottom: 16px; }
.c2c-gate__title, .c2c-card__title{
    font-family: var(--icim-font-head); font-weight: 700;
    color: var(--icim-text-dark); margin: 0 0 12px; font-size: 1.4rem;
}
.c2c-gate__copy{ color: var(--icim-text-mid); margin: 0 0 24px; }
.c2c-gate__actions{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.c2c-gate__small{ font-size: 13px; color: var(--icim-text-muted); margin: 16px 0 0; }
.c2c-card__meta{ display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; color: var(--icim-text-mid); font-size: 14px; }
.c2c-card__meta strong{ color: var(--icim-text-dark); }
.c2c-card__pending{ background: #fff8e1; color: #8a6d00; padding: 12px 16px; border-radius: var(--icim-radius-sm); margin-bottom: 16px; font-size: 14px; }
.c2c-card__hint{ font-size: 13px; color: var(--icim-text-muted); margin: 20px 0 0; }
.c2c-btn{
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 14px;
    text-decoration: none; transition: all .18s ease;
}
.c2c-btn--primary{ background: var(--icim-primary); color: #fff; }
.c2c-btn--primary:hover{ background: var(--icim-primary-hover); }
.c2c-btn--ghost{ background: #fff; color: var(--icim-text-dark); border: 1px solid var(--icim-border); }
.c2c-btn--ghost:hover{ background: #f3f6fb; }
.c2c-btn--big{ padding: 16px 30px; font-size: 16px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .icim-hero{ padding: 60px 0 70px; }
    .icim-values, .icim-products, .icim-news{ padding: 60px 0; }
    .icim-cta-band{ padding: 50px 0; }
    .icim-cta-band__inner{ flex-direction: column; text-align: center; align-items: center; }
}
@media (max-width: 480px) {
    .icim-container{ padding: 0 16px; }
    .icim-btn{ padding: 12px 22px; font-size: 14px; }
    .icim-hero__ctas{ flex-direction: column; }
    .icim-hero__ctas .icim-btn{ width: 100%; }
}

/* =========================================================
   BEM — Business Expense Management post (Click2Claim)
   Scoped under .bem-post so it can't leak into other pages.
   Lives inside .icim-article__content (single.php), so the
   default article typography still applies — we only style
   the structural pieces.
   ========================================================= */
.bem-post{ font-size: 17px; line-height: 1.75; color: var(--icim-text-dark, #1f2937); }
.bem-post img{ max-width: 100%; height: auto; display: block; border-radius: 12px; }
.bem-post h2{ font-size: 30px; line-height: 1.25; margin: 0 0 14px; color: #0f172a; letter-spacing: -0.01em; }
.bem-post h3{ font-size: 22px; line-height: 1.3; margin: 0 0 10px; color: #0f172a; }
.bem-post p{ margin: 0 0 14px; }
.bem-post + section, .bem-post section + section{ margin-top: 64px; }

.bem-eyebrow{
    display: inline-block;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--icim-primary, #2563eb);
    margin: 0 0 10px;
}
.bem-eyebrow--light{ color: #93c5fd; }

.bem-section-head{ text-align: center; max-width: 760px; margin: 0 auto 36px; }
.bem-section-head h2{ margin-bottom: 8px; }
.bem-lede{ color: #54607a; font-size: 17px; }

/* ---------- Intro: image + copy ---------- */
.bem-intro{
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: center;
    margin: 8px 0 64px;
}
.bem-intro__media{ margin: 0; }
.bem-intro__media img{
    box-shadow: 0 28px 60px -28px rgba(15, 23, 42, 0.35);
    max-height: 560px;
    width: auto;
    margin: 0 auto;
}
.bem-intro__body h2{ margin-bottom: 16px; }
.bem-checklist{ list-style: none; padding: 0; margin: 18px 0 0; }
.bem-checklist li{
    position: relative;
    padding: 10px 0 10px 34px;
    border-bottom: 1px solid #eef1f6;
    font-size: 16px;
}
.bem-checklist li:last-child{ border-bottom: 0; }
.bem-checklist li::before{
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--icim-primary, #2563eb) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
}

/* ---------- Workflow comparison ---------- */
.bem-workflow__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 48px;
}
.bem-flow{
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    padding: 30px 28px;
    box-shadow: 0 12px 32px -22px rgba(15, 23, 42, 0.25);
    transition: transform .25s ease, box-shadow .25s ease;
}
.bem-flow:hover{
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -22px rgba(15, 23, 42, 0.35);
}
.bem-flow__tag{
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.bem-flow__tag--basic{ background: #e0e7ff; color: #3730a3; }
.bem-flow__tag--advanced{ background: #dcfce7; color: #166534; }
.bem-flow__steps{
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.bem-flow__steps li{
    position: relative;
    padding: 13px 0 13px 50px;
    border-top: 1px solid #eef1f6;
    font-size: 15.5px;
    line-height: 1.45;
}
.bem-flow__steps li:first-child{ border-top: 0; }
.bem-flow__steps li > span{
    position: absolute;
    left: 0; top: 11px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 700; font-size: 13px;
    display: inline-flex;
    align-items: center; justify-content: center;
    box-shadow: 0 6px 14px -6px rgba(37, 99, 235, 0.6);
}
.bem-flow__note{
    font-size: 13.5px;
    color: #64748b;
    margin: 14px 0 0;
    font-style: italic;
}

.bem-workflow__chart{
    margin: 0;
    padding: 32px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border-radius: 18px;
    text-align: center;
}
.bem-workflow__chart img{
    margin: 0 auto;
    box-shadow: none;
    max-width: 720px;
    width: 100%;
}
.bem-workflow__chart figcaption{
    margin-top: 16px;
    color: #64748b;
    font-size: 14px;
}

/* ---------- Screenshots grid ---------- */
.bem-screens__grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.bem-screens__grid figure{
    margin: 0;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 34px -22px rgba(15, 23, 42, 0.3);
    transition: transform .25s ease, box-shadow .25s ease;
}
.bem-screens__grid figure:hover{
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -22px rgba(15, 23, 42, 0.4);
}
.bem-screens__grid img{
    border-radius: 0;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.bem-screens__grid figcaption{
    padding: 14px 18px 18px;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}
.bem-screens__grid--hero{ grid-template-columns: 1fr; }
.bem-screens__grid--hero figure{ max-width: 920px; margin: 0 auto; }

/* ---------- White paper / CTA ---------- */
.bem-whitepaper{
    margin: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 22px;
    padding: 56px 48px;
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}
.bem-whitepaper::before{
    content: "";
    position: absolute;
    inset: -40% -10% auto auto;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.35), transparent 60%);
    pointer-events: none;
}
.bem-whitepaper__body{ position: relative; max-width: 780px; }
.bem-whitepaper h2{ color: #fff; font-size: 32px; }
.bem-whitepaper h3{ color: #fff; font-size: 20px; margin-top: 24px; }
.bem-whitepaper p{ color: #cbd5e1; }
.bem-whitepaper ol{ counter-reset: bem-wp; list-style: none; padding: 0; margin: 22px 0; }
.bem-whitepaper ol > li{
    position: relative;
    padding: 0 0 22px 56px;
    counter-increment: bem-wp;
    color: #cbd5e1;
}
.bem-whitepaper ol > li::before{
    content: counter(bem-wp);
    position: absolute;
    left: 0; top: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 700; font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center;
}
.bem-whitepaper ol > li strong{ color: #fff; display: block; margin-bottom: 4px; font-size: 17px; }
.bem-btn{
    display: inline-block;
    margin-top: 12px;
    padding: 13px 26px;
    border-radius: 999px;
    background: #fff;
    color: #1e3a8a !important;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.bem-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(255, 255, 255, 0.45);
    color: #1e3a8a !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .bem-intro{ grid-template-columns: 1fr; gap: 28px; text-align: left; }
    .bem-intro__media img{ max-height: 480px; }
    .bem-workflow__grid{ grid-template-columns: 1fr; }
    .bem-whitepaper{ padding: 40px 32px; }
    .bem-whitepaper h2{ font-size: 26px; }
}
@media (max-width: 600px) {
    .bem-post{ font-size: 16px; }
    .bem-post h2{ font-size: 24px; }
    .bem-screens__grid{ grid-template-columns: 1fr; }
    .bem-workflow__chart{ padding: 20px; }
    .bem-whitepaper{ padding: 32px 22px; border-radius: 18px; }
    .bem-whitepaper ol > li{ padding-left: 48px; }
}

/* =========================================================
   SCS — Smart City Solutions post
   Scoped under .scs-post.
   ========================================================= */
.scs-post{ font-size: 17px; line-height: 1.75; color: var(--icim-text-dark, #1f2937); }
.scs-post img{ max-width: 100%; height: auto; display: block; border-radius: 12px; }
.scs-post h2{ font-size: 30px; line-height: 1.25; margin: 0 0 14px; color: #0f172a; letter-spacing: -0.01em; }
.scs-post h3{ font-size: 20px; line-height: 1.3; margin: 0 0 8px; color: #0f172a; }
.scs-post p{ margin: 0 0 14px; }
.scs-post section + section{ margin-top: 64px; }

.scs-eyebrow{
    display: inline-block;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: #0d9488;
    margin: 0 0 10px;
}
.scs-eyebrow--light{ color: #5eead4; }

.scs-section-head{ text-align: center; max-width: 760px; margin: 0 auto 36px; }
.scs-section-head h2{ margin-bottom: 8px; }
.scs-lede{ color: #54607a; font-size: 17px; }

/* ---------- Hero: image + copy ---------- */
.scs-hero{
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    margin: 8px 0 64px;
}
.scs-hero__media{ margin: 0; position: relative; }
.scs-hero__media img{
    box-shadow: 0 28px 60px -28px rgba(15, 23, 42, 0.45);
    border-radius: 18px;
}
.scs-hero__media::after{
    content: "";
    position: absolute;
    inset: -18px -18px auto auto;
    width: 60%; height: 60%;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.18;
}
.scs-hero__body h2{ margin-bottom: 16px; }
.scs-stats{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #e6eaf2;
}
.scs-stats__item strong{
    display: block;
    font-size: 26px; font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}
.scs-stats__item span{
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.35;
}

/* ---------- Pillars: 4-up cards ---------- */
.scs-pillars__grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.scs-pillar{
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    padding: 26px 22px;
    box-shadow: 0 12px 30px -22px rgba(15, 23, 42, 0.25);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}
.scs-pillar:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -22px rgba(15, 23, 42, 0.35);
}
.scs-pillar__icon{
    width: 46px; height: 46px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: #fff;
    margin-bottom: 16px;
    font-size: 22px;
    box-shadow: 0 10px 20px -10px rgba(20, 184, 166, 0.6);
}
.scs-pillar p{
    color: #475569;
    font-size: 14.5px;
    margin: 6px 0 0;
    line-height: 1.55;
}

/* ---------- Scenarios: image + body alternating ---------- */
.scs-scenario{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}
.scs-scenario:last-child{ margin-bottom: 0; }
.scs-scenario--reverse .scs-scenario__media{ order: 2; }
.scs-scenario__media{ margin: 0; }
.scs-scenario__media img{
    box-shadow: 0 24px 50px -22px rgba(15, 23, 42, 0.35);
}
.scs-scenario h3{
    font-size: 24px;
    margin-bottom: 12px;
}
.scs-bullets{
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.scs-bullets li{
    position: relative;
    padding: 6px 0 6px 28px;
    color: #475569;
    font-size: 15.5px;
    line-height: 1.55;
}
.scs-bullets li::before{
    content: "";
    position: absolute;
    left: 0; top: 13px;
    width: 14px; height: 2px;
    background: #14b8a6;
    border-radius: 2px;
}

/* ---------- CTA band ---------- */
.scs-cta{
    margin: 0;
    background: linear-gradient(135deg, #042f2e 0%, #134e4a 60%, #0e7490 100%);
    border-radius: 22px;
    padding: 56px 48px;
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}
.scs-cta::before{
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.32), transparent 60%);
    pointer-events: none;
}
.scs-cta__body{ position: relative; max-width: 780px; }
.scs-cta h2{ color: #fff; font-size: 30px; }
.scs-cta p{ color: #cbd5e1; }
.scs-btn{
    display: inline-block;
    margin-top: 14px;
    padding: 13px 26px;
    border-radius: 999px;
    background: #fff;
    color: #134e4a !important;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.scs-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(255, 255, 255, 0.45);
    color: #134e4a !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .scs-pillars__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .scs-hero{ grid-template-columns: 1fr; gap: 28px; }
    .scs-scenario{ grid-template-columns: 1fr; gap: 24px; }
    .scs-scenario--reverse .scs-scenario__media{ order: 0; }
    .scs-cta{ padding: 40px 32px; }
    .scs-cta h2{ font-size: 24px; }
}
@media (max-width: 600px) {
    .scs-post{ font-size: 16px; }
    .scs-post h2{ font-size: 24px; }
    .scs-pillars__grid{ grid-template-columns: 1fr; }
    .scs-stats{ grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .scs-stats__item strong{ font-size: 20px; }
    .scs-cta{ padding: 32px 22px; border-radius: 18px; }
}

/* =========================================================
   SP — Solution Packages post (Pro / Enterprise / Supreme)
   Scoped under .sp-post.
   ========================================================= */
.sp-post{ font-size: 17px; line-height: 1.75; color: var(--icim-text-dark, #1f2937); }
.sp-post p{ margin: 0 0 14px; }
.sp-post a{ color: var(--icim-primary, #2563eb); word-break: break-all; }

.sp-intro{
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 18px;
    color: #334155;
}

/* Stacked rows — one package per row */
.sp-stack{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sp-card{
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 18px;
    padding: 36px 40px;
    box-shadow: 0 14px 36px -24px rgba(15, 23, 42, 0.3);
    transition: transform .25s ease, box-shadow .25s ease;
}
.sp-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -22px rgba(15, 23, 42, 0.4);
}
.sp-card__head{
    padding-right: 24px;
    border-right: 1px solid #eef1f6;
    min-height: 100%;
}
.sp-card__tag{
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.sp-card--pro .sp-card__tag{ background: #e0e7ff; color: #3730a3; }
.sp-card--enterprise .sp-card__tag{ background: #dcfce7; color: #166534; }
.sp-card--supreme .sp-card__tag{ background: #fde68a; color: #854d0e; }

.sp-card__title{
    font-size: 26px;
    line-height: 1.2;
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.sp-card__body{
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}
.sp-card__body p{ margin: 0 0 14px; }
.sp-card__body p:last-of-type{ margin-bottom: 18px; }
.sp-card__link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--icim-primary, #2563eb);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    word-break: normal;
}
.sp-card__link:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(37, 99, 235, 0.5);
    color: #fff !important;
}

@media (max-width: 800px) {
    .sp-intro{ font-size: 16.5px; margin-bottom: 32px; }
    .sp-card{
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 24px;
    }
    .sp-card__head{
        padding-right: 0;
        border-right: 0;
        padding-bottom: 16px;
        border-bottom: 1px solid #eef1f6;
        min-height: 0;
    }
    .sp-card__title{ font-size: 22px; }
}
@media (max-width: 480px) {
    .sp-post{ font-size: 16px; }
}

/* ── Hide header dashboard button on mobile ──────────────────────────
   Mobile users reach the dashboard from /my-account/ (banner injected
   by inc/header-tweaks.php). Frees up the cramped mobile header bar. */
@media (max-width: 768px) {
    .icim-dashboard-btn{ display: none !important; }
}

/* ── "My Dashboard" banner inside /my-account/ ──────────────────────
   Rendered by inc/header-tweaks.php via woocommerce_before_account_navigation.
   Color picks up the role tint via --icim-dash-color. */
.icim-my-account-dash{
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
    padding: 18px 22px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--icim-dash-color, #2872fa) 18%, #fff) 0%, #fff 100%);
    border: 1px solid color-mix(in srgb, var(--icim-dash-color, #2872fa) 28%, #fff);
    border-radius: 14px;
    text-decoration: none;
    color: var(--icim-text-dark, #0f172a);
    box-shadow: 0 12px 28px -18px color-mix(in srgb, var(--icim-dash-color, #2872fa) 45%, transparent);
    transition: transform .22s ease, box-shadow .22s ease;
}
.icim-my-account-dash:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -18px color-mix(in srgb, var(--icim-dash-color, #2872fa) 55%, transparent);
    color: var(--icim-text-dark, #0f172a);
}
.icim-my-account-dash__icon{
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: var(--icim-dash-color, #2872fa);
    color: #fff;
    border-radius: 12px;
    flex-shrink: 0;
}
.icim-my-account-dash__label{ flex: 1 1 auto; line-height: 1.3; min-width: 0; }
.icim-my-account-dash__label strong{
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.icim-my-account-dash__label small{
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
    text-transform: capitalize;
}
.icim-my-account-dash__arrow{
    font-size: 22px;
    color: var(--icim-dash-color, #2872fa);
    transition: transform .22s ease;
}
.icim-my-account-dash:hover .icim-my-account-dash__arrow{ transform: translateX(4px); }

/* =========================================================
   ABT — About Us page (ACF-driven, 4 sections)
   .abt-hero · .abt-values · .abt-goals · .abt-team
   ========================================================= */
.icim-about{ background: #fff; }
.icim-about .icim-container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.abt-eyebrow{
    display: inline-block;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--icim-primary, #2563eb);
    margin: 0 0 12px;
}
.abt-section-head{ margin: 0 auto 36px; max-width: 760px; }
.abt-section-head h2{
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.abt-section-head--center{ text-align: center; }

/* ---------- Hero ---------- */
.abt-hero{ padding: 56px 0 40px; } /* tightened v2.4.9 */
.abt-hero__inner{
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.abt-hero__media{ position: relative; margin: 0; }
.abt-hero__media img{
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 32px 70px -34px rgba(15, 23, 42, 0.45);
    position: relative;
    z-index: 1;
}
.abt-hero__media::after{
    content: "";
    position: absolute;
    inset: 18px -20px -20px 18px;
    max-width: 440px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 22px;
    opacity: 0.18;
    z-index: 0;
}
.abt-hero__title{
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 18px;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.abt-hero__copy{
    color: #334155;
    font-size: 17px;
    line-height: 1.75;
}
.abt-hero__copy p{ margin: 0 0 14px; }
.abt-hero__copy p:last-child{ margin-bottom: 0; }
.abt-hero__tagline{
    margin: 22px 0 0;
    padding: 14px 18px;
    border-left: 3px solid var(--icim-primary, #2563eb);
    background: #f8fafc;
    color: #1e3a8a;
    font-size: 16.5px;
    border-radius: 0 10px 10px 0;
}

/* ---------- Values ---------- */
.abt-values{ padding: 60px 0 80px; }
.abt-values__grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.abt-value{
    text-align: left;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 14px 36px -24px rgba(15, 23, 42, 0.25);
    transition: transform .25s ease, box-shadow .25s ease;
}
.abt-value:hover{
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -22px rgba(15, 23, 42, 0.35);
}
.abt-value__icon{
    width: 60px; height: 60px;
    margin: 0 0 18px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 14px;
    box-shadow: 0 12px 24px -10px rgba(37, 99, 235, 0.45);
}
.abt-value__icon img{
    width: 32px; height: 32px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}
.abt-value__title{
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #0f172a;
}
.abt-value__body{
    color: #475569;
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0;
}

/* ---------- Goals band ---------- */
.abt-goals{
    padding: 100px 0;
    background-color: #f8f9fb;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 40px 0;
}
.abt-goals .abt-section-head{ margin-bottom: 50px; }
.abt-goals__intro{
    max-width: 720px;
    margin: 0 auto;
    color: #475569;
    font-size: 16.5px;
    line-height: 1.7;
}
.abt-goals__intro p{ margin: 0 0 12px; }

.abt-goals__cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 50px 0;
}
.abt-goal-card{
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 34px -22px rgba(15, 23, 42, 0.35);
    transition: transform .3s ease;
}
.abt-goal-card:hover{ transform: translateY(-4px); }
.abt-goal-card img{
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.abt-goal-card figcaption{
    padding: 14px 18px 18px;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.55;
    text-align: center;
}

.abt-goals__stats{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid #e6eaf2;
}
.abt-stat{ text-align: center; }
.abt-stat__num{
    display: block;
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    color: var(--icim-primary, #2872fa);
    letter-spacing: -0.02em;
}
.abt-stat__label{
    display: block;
    margin-top: 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ---------- Team ---------- */
.abt-team{ padding: 56px 0 72px; } /* tightened v2.4.9 */
.abt-team__grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.abt-member{
    text-align: center;
    background: #f8f9fb;
    border-radius: 18px;
    padding: 50px 28px 36px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.abt-member:hover{
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -22px rgba(15, 23, 42, 0.25);
}
.abt-member__photo{
    width: 150px; height: 150px;
    margin: 0 auto 22px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 14px 30px -16px rgba(15, 23, 42, 0.45);
}
.abt-member__photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.abt-member__name{
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 4px;
    color: #0f172a;
}
.abt-member__role{
    color: var(--icim-primary, #2563eb);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.abt-member__bio{
    color: #475569;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 18px;
}
.abt-member__links{
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.abt-member__links a{
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--icim-primary, #2872fa);
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}
.abt-member__links a:hover{
    background: var(--icim-primary-hover, #1559ed);
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .abt-hero{ padding: 50px 0 40px; }
    .abt-hero__inner{ grid-template-columns: 1fr; gap: 32px; }
    .abt-hero__media img{ max-width: 340px; margin: 0 auto; }
    .abt-hero__media::after{ display: none; }
    .abt-hero__title{ font-size: 32px; }
    .abt-values__grid,
    .abt-goals__cards,
    .abt-team__grid{ grid-template-columns: 1fr 1fr; }
    .abt-goals{ padding: 70px 0; }
    .abt-section-head h2{ font-size: 26px; }
}
@media (max-width: 600px) {
    .abt-hero__title{ font-size: 26px; }
    .abt-values__grid,
    .abt-goals__cards,
    .abt-team__grid{ grid-template-columns: 1fr; }
    .abt-stat__num{ font-size: 36px; }
}

/* =========================================================
   CTC — Contact Us page (ACF-driven, 3 sections)
   .ctc-hero · .ctc-cards · .ctc-split
   ========================================================= */
.icim-contact{ background: #fff; }
.icim-contact .icim-container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ----------
   Three layouts, picked by modifier class on .ctc-hero:
     (default)           : centered image-on-top + text below (legacy)
     .ctc-hero--slim     : text-only, slim padding (no image)
     .ctc-hero--with-image: side-by-side, text LEFT + image RIGHT (~260px)
*/
.ctc-hero{ padding: 70px 0 30px; }
.ctc-hero--slim{ padding: 36px 0 28px; }
.ctc-hero--with-image{ padding: 40px 0 36px; }
.ctc-hero__inner{ text-align: center; }
.ctc-hero__media{
    margin: 0 auto 24px;
    max-width: 500px;
}
.ctc-hero__media img{
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 24px;
}

/* Side-by-side layout: text LEFT, image RIGHT.
   Grid is asymmetric (text gets more room) and aligned centre-vertically
   so the heading sits at the middle of the image height — looks better
   than top-aligned when the image is a tall portrait. */
.ctc-hero--with-image .ctc-hero__inner{
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}
.ctc-hero--with-image .ctc-hero__text{
    /* Override the centered defaults from the legacy hero. */
    text-align: left;
}
.ctc-hero--with-image .ctc-hero__title{
    margin: 0 0 12px;
    max-width: none;
}
.ctc-hero--with-image .ctc-hero__intro{
    max-width: 520px;
    margin: 0;
}
.ctc-hero--with-image .ctc-hero__media{
    margin: 0;
    max-width: 260px;
    justify-self: end;
}
.ctc-hero--with-image .ctc-hero__media img{
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1;
    border-radius: 22px;
}
.ctc-hero__title{
    font-size: 32px;
    line-height: 1.25;
    margin: 0 0 12px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.ctc-hero__intro{
    color: #475569;
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Info cards ---------- */
.ctc-cards{ padding: 50px 0 90px; }
.ctc-cards__grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.ctc-card{
    display: block;
    text-align: center;
    background: #f8f9fb;
    border-radius: 14px;
    padding: 50px 30px;
    color: inherit;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
a.ctc-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -22px rgba(15, 23, 42, 0.3);
    color: inherit;
}
.ctc-card__icon{
    width: 70px; height: 70px;
    margin: 0 auto 22px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 16px;
    box-shadow: 0 14px 26px -12px rgba(37, 99, 235, 0.5);
}
.ctc-card__icon img{
    width: 36px; height: 36px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}
.ctc-card__title{
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #0f172a;
    letter-spacing: 0.01em;
}
.ctc-card__body{
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* ---------- Intro section (between info-cards and split) ----------
   Renders a friendly face + heading + subtitle so mobile visitors get
   the welcome message BEFORE the map (the columns stack map-first on
   narrow screens, otherwise the form heading falls way below the fold).
   The face is a 120px circle, centered above the headline. */
.ctc-intro{ padding: 20px 0 12px; }
.ctc-intro__inner{ text-align: center; max-width: 720px; margin: 0 auto; }
.ctc-intro__photo{
    margin: 0 auto 16px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 18px 36px -22px rgba(15, 23, 42, 0.4);
    border: 4px solid #fff;
    background: #f1f5f9;
}
.ctc-intro__photo img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.ctc-intro__title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.ctc-intro__subtitle{
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}
@media (max-width: 600px) {
    .ctc-intro{ padding: 12px 0 8px; }
    .ctc-intro__photo{ width: 96px; height: 96px; }
    .ctc-intro__title{ font-size: 22px; }
    .ctc-intro__subtitle{ font-size: 15px; }
}

/* ---------- Split: left (map/video) + right (form) ---------- */
/* align-items: start so the form column doesn't vertical-center against
   a tall map iframe — keeps form anchored at the top. */
.ctc-split{ padding: 10px 0 90px; }
.ctc-split__inner{
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 44px;
    align-items: start;
}
.ctc-left{ display: flex; flex-direction: column; gap: 18px; }
.ctc-left__intro{ color: #475569; font-size: 15px; line-height: 1.65; }
.ctc-left__intro p{ margin: 0 0 10px; }
.ctc-left__intro iframe{
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.ctc-video{
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/12;
    background: #0f172a;
}
.ctc-video__poster{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, opacity .35s ease;
}
.ctc-video:hover .ctc-video__poster{
    transform: scale(1.03);
    opacity: 0.92;
}
.ctc-video__play{
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 0;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.55);
    transition: transform .25s ease, background .25s ease;
}
.ctc-video__play::before{
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    animation: ctc-pulse 1.8s ease-out infinite;
}
.ctc-video:hover .ctc-video__play{
    transform: scale(1.06);
    background: var(--icim-primary, #2872fa);
}
.ctc-video__icon{
    margin-left: 4px;
    display: inline-flex;
}
.ctc-video__iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
@keyframes ctc-pulse{
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

.ctc-form__heading{
    font-size: 28px;
    line-height: 1.25;
    margin: 0 0 14px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.ctc-form__intro{
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 26px;
}
.ctc-form__intro p{ margin: 0 0 12px; }
.ctc-form__embed .wpforms-container{ margin: 0 !important; }
.ctc-form__embed .wpforms-field-label{
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}
.ctc-form__embed input[type="text"],
.ctc-form__embed input[type="email"],
.ctc-form__embed textarea{
    border-radius: 10px !important;
    border: 1px solid #e6eaf2 !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
}
.ctc-form__embed input:focus,
.ctc-form__embed textarea:focus{
    border-color: var(--icim-primary, #2872fa) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(40, 114, 250, 0.12) !important;
}
.ctc-form__embed .wpforms-submit{
    background: var(--icim-primary, #2872fa) !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    color: #fff !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}
.ctc-form__embed .wpforms-submit:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(40, 114, 250, 0.5) !important;
    background: var(--icim-primary-hover, #1559ed) !important;
}

/* ---------- Built-in contact form ---------- */
.icim-contact-form{ display: block; }
.icim-contact-form__hp{
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.icim-contact-form label{
    display: block;
    margin-bottom: 16px;
}
.icim-contact-form__row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.icim-contact-form__label{
    display: block;
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
    margin-bottom: 6px;
}
.icim-contact-form__label em{
    color: #ef4444;
    font-style: normal;
}
.icim-contact-form input[type="text"],
.icim-contact-form input[type="email"],
.icim-contact-form textarea{
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e6eaf2;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: #0f172a;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}
.icim-contact-form input:focus,
.icim-contact-form textarea:focus{
    outline: 0;
    border-color: var(--icim-primary, #2872fa);
    box-shadow: 0 0 0 3px rgba(40, 114, 250, 0.12);
}
.icim-contact-form textarea{
    resize: vertical;
    min-height: 120px;
}
/* v2.62.12 — Slide-to-verify puzzle. Legacy .icim-contact-form__chal
   styling only kicks in when the puzzle isn't present (fallback). */
.icim-contact-form__chal:not(.icim-puzzle){
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.icim-contact-form__chal:not(.icim-puzzle) input{
    max-width: 110px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

/* ── Slide-to-verify puzzle ─────────────────────────────────────────── */
.icim-puzzle{
    margin: 6px 0 18px;
}
.icim-puzzle__track{
    position: relative;
    height: 52px;
    border-radius: 999px;
    background: #eef2f7;
    border: 1px solid #d5dbe4;
    overflow: hidden;
    user-select: none;
    cursor: grab;
    touch-action: none;
    transition: background .2s ease, border-color .2s ease;
}
.icim-puzzle__track:focus-visible{
    outline: 3px solid rgba(40, 114, 250, 0.35);
    outline-offset: 2px;
}
.icim-puzzle__fill{
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0;
    background: linear-gradient(90deg, #2872fa 0%, #10b981 100%);
    transition: width .05s linear;
}
.icim-puzzle__label{
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 14.5px;
    color: #64748b;
    pointer-events: none;
    letter-spacing: 0.01em;
}
.icim-puzzle__hint{ display: inline-block; }
.icim-puzzle__ok{ display: none; color: #fff; font-weight: 700; }
.icim-puzzle__handle{
    position: absolute;
    top: 4px; left: 4px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: #2872fa;
    box-shadow: 0 4px 10px -4px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.06);
    cursor: grab;
    transition: box-shadow .15s ease;
    z-index: 2;
}
.icim-puzzle__handle:hover{ box-shadow: 0 6px 14px -4px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.06); }
.icim-puzzle__track.dragging,
.icim-puzzle__track.dragging .icim-puzzle__handle{ cursor: grabbing; }

.icim-puzzle.verified .icim-puzzle__track{
    background: #10b981;
    border-color: #10b981;
    cursor: default;
}
.icim-puzzle.verified .icim-puzzle__hint{ display: none; }
.icim-puzzle.verified .icim-puzzle__ok{ display: inline-block; }
.icim-puzzle.verified .icim-puzzle__handle{
    left: calc(100% - 48px);
    background: #10b981;
    color: #fff;
    cursor: default;
}
.icim-puzzle.verified .icim-puzzle__fill{ width: 100%; }
.icim-puzzle.err .icim-puzzle__track{
    animation: icimPuzzleShake .4s ease;
    border-color: #ef4444;
}
@keyframes icimPuzzleShake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-6px); }
    75%      { transform: translateX(6px); }
}
.icim-contact-form__submit{
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.icim-contact-form__btn{
    background: var(--icim-primary, #2872fa);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 13px 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.icim-contact-form__btn:hover:not(:disabled){
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(40, 114, 250, 0.5);
    background: var(--icim-primary-hover, #1559ed);
}
.icim-contact-form__btn:disabled{
    opacity: 0.7;
    cursor: wait;
}
.icim-contact-form__status{
    margin: 0;
    font-size: 14px;
    color: #64748b;
}
.icim-contact-form--ok .icim-contact-form__status{ color: #15803d; font-weight: 600; }
.icim-contact-form--err .icim-contact-form__status{ color: #b91c1c; font-weight: 600; }
.icim-contact-form--ok > *:not(.icim-contact-form__submit){ display: none; }
.icim-contact-form--ok .icim-contact-form__btn{ display: none; }

/* ---------- Responsive ---------- */
/* 768px keeps the map+form side-by-side on most laptops + tablets.
   Below 768px the columns stack: map on top, form below. */
@media (max-width: 960px) {
    .ctc-hero{ padding: 50px 0 20px; }
    .ctc-hero--slim{ padding: 28px 0 22px !important; }
    .ctc-hero--with-image{ padding: 30px 0 26px !important; }
    .ctc-hero__title{ font-size: 26px; }
    .ctc-cards__grid{ grid-template-columns: 1fr; gap: 20px; }
    .ctc-card{ padding: 36px 24px; }
    .ctc-video{ aspect-ratio: 16/10; }
    .ctc-video__play{ width: 64px; height: 64px; }
}
@media (max-width: 768px) {
    .ctc-split__inner{ grid-template-columns: 1fr; gap: 32px; }
    /* Hero stacks: text on top, image centred below. */
    .ctc-hero--with-image .ctc-hero__inner{
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .ctc-hero--with-image .ctc-hero__text{ text-align: center; }
    .ctc-hero--with-image .ctc-hero__intro{ margin: 0 auto; }
    .ctc-hero--with-image .ctc-hero__media{
        margin: 0 auto;
        justify-self: center;
        max-width: 200px;
    }
    .ctc-hero--with-image .ctc-hero__media img{ max-width: 200px; }
}
@media (max-width: 600px) {
    .ctc-hero__title{ font-size: 22px; }
    .ctc-form__heading{ font-size: 24px; }
    .icim-contact-form__row{ grid-template-columns: 1fr; }
}

/* =========================================================
   PL — Products Listing page (page-products.php)
   ========================================================= */
.icim-products-listing{ background: #fff; }
.icim-products-listing .icim-container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.pl-eyebrow{
    display: inline-block;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--icim-primary, #2563eb);
    margin: 0 0 12px;
}

.pl-header{ padding: 56px 0 36px; text-align: center; } /* tightened v2.4.9 */
.pl-header__inner{ max-width: 780px; margin: 0 auto; }
.pl-header__title{
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.pl-header__intro{
    color: #475569;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

.pl-list{ padding: 30px 0 100px; }

/* Standalone use (e.g. homepage) — section heading sits above the rows */
.pl-list--standalone{ padding: 60px 0 80px; background: #fff; }
.pl-section-head{
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}
.pl-section-head__title{
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.pl-section-head__intro{
    color: #475569;
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}
.pl-empty{
    text-align: center;
    color: #64748b;
    padding: 60px 0;
}

.pl-item{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.pl-item:last-child{ margin-bottom: 0; }
.pl-item--reverse .pl-item__media{ order: 2; }

.pl-item__media{
    display: block;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    box-shadow: 0 24px 60px -32px rgba(15, 23, 42, 0.45);
    transition: transform .35s ease, box-shadow .35s ease;
    position: relative;
}
.pl-item__media:hover{
    transform: translateY(-4px);
    box-shadow: 0 32px 72px -32px rgba(15, 23, 42, 0.55);
}
.pl-item__media img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.pl-item__media:hover img{ transform: scale(1.04); }
.pl-item__placeholder{
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.6), transparent 50%),
        linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
}

.pl-item__tag{
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.pl-item__title{
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #0f172a;
    letter-spacing: -0.015em;
}
.pl-item__title a{
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .25s ease;
}
.pl-item__title a:hover{
    background-size: 100% 2px;
    color: var(--icim-primary, #2563eb);
}
.pl-item__excerpt{
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 22px;
}
.pl-item__cta{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--icim-primary, #2563eb);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.pl-item__cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(37, 99, 235, 0.5);
    background: var(--icim-primary-hover, #1559ed);
    color: #fff !important;
}
.pl-item__cta span{ transition: transform .2s ease; }
.pl-item__cta:hover span{ transform: translateX(4px); }

@media (max-width: 900px) {
    .pl-header{ padding: 50px 0 30px; }
    .pl-header__title{ font-size: 30px; }
    .pl-item{
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 50px;
    }
    .pl-item--reverse .pl-item__media{ order: 0; }
    .pl-item__media{ aspect-ratio: 16/10; }
    .pl-item__title{ font-size: 24px; }
}
@media (max-width: 600px) {
    .pl-header__title{ font-size: 26px; }
    .pl-item__title{ font-size: 22px; }
}

/* =========================================================
   DL — Download page (page-download.php)
   ========================================================= */
.icim-download{ background: #fff; }
.icim-download .icim-container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.dl-hero{
    padding: 60px 0 30px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid #eef1f6;
}

/* Contact page hero — navy blue per Phase 1 review.
   --slim variant (no image) gets a shorter banner per Julia's 2026-05
   review so the form sits closer to the fold. */
.ctc-hero{
    background: linear-gradient(180deg, #0D1850 0%, #1e3a8a 100%) !important;
    color: #fff !important;
    padding: 70px 0 40px !important;
    margin-bottom: 30px;
}
.ctc-hero--slim{
    padding: 32px 0 26px !important;
    margin-bottom: 18px;
}
.ctc-hero--with-image{
    padding: 36px 0 32px !important;
    margin-bottom: 22px;
}
.ctc-hero--with-image .ctc-hero__media img{
    border: 4px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 22px 50px -22px rgba(0, 0, 0, 0.6);
}
.ctc-hero__title{ color: #fff !important; }
.ctc-hero__intro{ color: rgba(255, 255, 255, 0.85) !important; }
.ctc-hero__media img{
    border: 4px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 22px 50px -22px rgba(0, 0, 0, 0.6);
}
.dl-hero__title{
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 6px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.dl-hero__meta{
    margin: 0;
    color: #64748b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.dl-body{ padding: 50px 0 90px; }
.dl-body__grid{
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
    align-items: start;
}

.dl-card{
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 14px 36px -24px rgba(15, 23, 42, 0.3);
    position: sticky;
    top: 24px;
}
.dl-card__btn-wrap{ margin-bottom: 14px; }
.dl-card__btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 12px;
    background: var(--icim-primary, #2872fa);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    text-align: center;
}
.dl-card__btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(40, 114, 250, 0.5);
    background: var(--icim-primary-hover, #1559ed);
    color: #fff !important;
}
.dl-card__btn--disabled{
    background: #94a3b8;
    color: #fff !important;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}
.dl-card__notice{
    margin: 10px 0 0;
    font-size: 13px;
    color: #64748b;
    font-style: italic;
}
.dl-card__meta{
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eef1f6;
}
.dl-card__meta li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid #eef1f6;
    font-size: 14.5px;
}
.dl-card__meta li:last-child{ border-bottom: 0; }
.dl-card__meta li span{ color: #475569; }
.dl-card__meta li strong{
    color: #0f172a;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 3px 10px;
    font-weight: 600;
    font-size: 13px;
}

.dl-content{
    color: #334155;
    font-size: 16px;
    line-height: 1.75;
}
.dl-content p{ margin: 0 0 14px; }
.dl-content h2, .dl-content h3, .dl-content h4{
    color: #0f172a;
    margin: 24px 0 10px;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .dl-body__grid{ grid-template-columns: 1fr; gap: 28px; }
    .dl-card{ position: static; }
    .dl-hero{ padding: 40px 0 20px; }
    .dl-hero__title{ font-size: 26px; }
}

/* ---------- SCS placeholder + 3-image gallery (Under Construction) ---------- */
.scs-post--placeholder .scs-placeholder{
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
}
.scs-post--placeholder .scs-placeholder h2{
    font-size: 30px;
    color: #0f172a;
    margin: 0 0 10px;
}
.scs-post--placeholder .scs-placeholder p{
    color: #64748b;
    font-size: 16px;
}
.scs-gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.scs-gallery figure{
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 34px -22px rgba(15, 23, 42, 0.3);
}
.scs-gallery img{ display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
    .scs-gallery{ grid-template-columns: 1fr; }
}

/* =========================================================
   PSP — Sales Agent Partner page (page-partner.php)
   Scoped under .icim-partner so it can't leak.
   ========================================================= */
.icim-partner{ background: #fff; }
.icim-partner .icim-container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.psp-eyebrow{
    display: inline-block;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--icim-primary, #2563eb);
    margin: 0 0 12px;
}

.psp-coming-soon{
    display: inline-block;
    background: #fde68a;
    color: #854d0e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin: 0 0 16px;
}

.psp-section-head{ text-align: center; max-width: 760px; margin: 0 auto 40px; }
.psp-section-head h2{
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #0f172a;
    letter-spacing: -0.01em;
}

/* ---------- Hero ---------- */
.psp-hero{
    padding: 56px 0 40px;          /* tightened v2.4.9 — was 80/60 */
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid #eef1f6;
}
/* Default: single centered column. The huge empty right-half on pages
   without a hero image was caused by an unconditional 2-col grid. */
.psp-hero__inner{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    max-width: 820px;
    margin: 0 auto;
}
/* :has() flips back to 2-col when an image is actually present. All
   evergreen browsers support this (Chrome 105+, Safari 15.4+, FF 121+). */
.psp-hero__inner:has(> .psp-hero__media){
    grid-template-columns: 1.2fr 1fr;
    gap: 44px;
    max-width: none;
}
.psp-hero__title{
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 18px;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.psp-hero__intro{
    color: #334155;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 24px;
}
.psp-hero__cta{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    background: var(--icim-primary, #2563eb);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.psp-hero__cta:hover{ transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(37, 99, 235, 0.5); }
.psp-hero__media{ margin: 0; }
.psp-hero__media img{
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 28px 60px -28px rgba(15, 23, 42, 0.45);
    display: block;
    margin-left: auto;
}

/* ---------- Benefits ---------- */
.psp-benefits{ padding: 48px 0; } /* tightened v2.4.9 — was 70 */
.psp-benefits__grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.psp-benefit{
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 14px 36px -24px rgba(15, 23, 42, 0.25);
    transition: transform .25s ease, box-shadow .25s ease;
}
.psp-benefit:hover{
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -22px rgba(15, 23, 42, 0.35);
}
.psp-benefit__icon{
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 12px;
    margin-bottom: 16px;
}
.psp-benefit__icon img{
    width: 28px; height: 28px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}
.psp-benefit__title{
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 8px;
    color: #0f172a;
}
.psp-benefit__body{
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* ---------- Requirements ---------- */
.psp-reqs{ padding: 40px 0; background: #f8fafc; } /* tightened v2.4.9 */
.psp-reqs__list{
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 760px;
}
.psp-reqs__list li{
    position: relative;
    padding: 12px 0 12px 36px;
    border-bottom: 1px solid #e6eaf2;
    color: #334155;
    font-size: 16px;
    line-height: 1.55;
}
.psp-reqs__list li:last-child{ border-bottom: 0; }
.psp-reqs__list li::before{
    content: "✓";
    position: absolute;
    left: 0; top: 12px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--icim-primary, #2563eb);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Process ---------- */
.psp-process{ padding: 48px 0; } /* tightened v2.4.9 */
.psp-process__list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: psp;
}
.psp-step{
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 12px 30px -22px rgba(15, 23, 42, 0.25);
    position: relative;
}
.psp-step__num{
    position: absolute;
    top: 22px; right: 22px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--icim-primary, #2563eb);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: inline-flex;
    align-items: center; justify-content: center;
    box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.5);
}
.psp-step__title{
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #0f172a;
    padding-right: 44px;
}
.psp-step__body p{ color: #475569; font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ---------- Form section ---------- */
.psp-form-section{ padding: 48px 0 70px; background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); } /* tightened v2.4.9 */
.psp-form-section__inner{ max-width: 780px; margin: 0 auto; }
.psp-form-section__intro{ color: #475569; font-size: 16px; }
.psp-form-section__module{
    color: #0f172a;
    font-size: 14px;
    margin: 8px 0 24px;
    padding: 10px 16px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 10px;
    display: inline-block;
}

/* ---------- Partner form ---------- */
.icim-partner-form{ display: block; }
.icim-partner-form__hp{
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important; height: 1px !important;
    overflow: hidden !important;
}
/* v2.99.14 — Partner form field-box parity with demo form. Each label
   becomes a soft-grey card so the layout matches /beyonderps-solution-
   packages/. Also aligns the phone group + splits Email/Phone onto
   their own rows via the template edit. */
.icim-partner-form__row{ display: grid; gap: 18px; margin-bottom: 18px; }
.icim-partner-form__row--2{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
.icim-partner-form__row--2 > label{ min-width: 0; }
.icim-partner-form__row--2 span.icim-phone-group{ max-width: 100% !important; }
.icim-partner-form label{
    display: block;
    margin-bottom: 0;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px 16px 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.icim-partner-form label:focus-within{
    background: #fff;
    border-color: var(--icim-primary, #2872fa);
    box-shadow: 0 0 0 4px rgba(40, 114, 250, 0.14), 0 4px 14px -6px rgba(40,114,250,.25);
}
.icim-partner-form__label{
    display: block;
    font-weight: 700;
    color: #0f172a;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.icim-partner-form__label em{ color: #ef4444; font-style: normal; margin-left: 2px; }
.icim-partner-form input[type="text"],
.icim-partner-form input[type="email"],
.icim-partner-form input[type="tel"],
.icim-partner-form input[type="number"],
.icim-partner-form input[type="url"],
.icim-partner-form select,
.icim-partner-form textarea{
    width: 100%;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 11px 13px;
    font: inherit; font-size: 15px;
    color: #0f172a;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}
.icim-partner-form input:focus,
.icim-partner-form select:focus,
.icim-partner-form textarea:focus{
    outline: 0;
    border-color: var(--icim-primary, #2872fa);
    box-shadow: 0 0 0 2px rgba(40, 114, 250, 0.18);
}
.icim-partner-form textarea{ resize: vertical; min-height: 110px; }
/* Partner Type + KYC document upload (v2.3.0) */
.icim-partner-form__type{
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px 8px;
    margin: 6px 0 18px;
}
.icim-partner-form__type legend{
    padding: 0 6px;
    font-weight: 600;
}
.icim-partner-form__radio{
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 8px !important;
    cursor: pointer;
}
.icim-partner-form__radio input[type="radio"]{
    margin-top: 4px;
    accent-color: #2872fa;
}
.icim-partner-form__radio span{ font-size: 14px; color: #334155; }
.icim-partner-form__docs{
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.icim-partner-form__docs[hidden]{ display: none !important; }
.icim-partner-form__docs-title{
    margin: 0 0 10px;
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
}
.icim-partner-form__file input[type="file"]{
    display: block;
    width: 100%;
    padding: 8px 10px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
}
.icim-partner-form__file input[type="file"]::file-selector-button{
    background: #e0e7ff;
    color: #3730a3;
    border: 0;
    padding: 6px 12px;
    border-radius: 6px;
    margin-right: 12px;
    cursor: pointer;
    font-weight: 600;
}
.icim-partner-form__file small{
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
}
.icim-partner-form__file--optional{
    border-left: 3px solid #cbd5e1;
    padding-left: 12px;
    margin-bottom: 16px;
}
.icim-partner-form__privacy{
    display: flex !important;
    gap: 10px;
    align-items: flex-start;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.icim-partner-form__privacy input[type="checkbox"]{
    margin-top: 3px;
    accent-color: #ea580c;
}
.icim-partner-form__privacy span{
    font-size: 13px;
    line-height: 1.55;
    color: #7c2d12;
}
.icim-partner-form__chal{
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.icim-partner-form__chal input{ max-width: 110px; text-align: center; font-weight: 700; font-size: 16px; }

/* =========================================================
   Partner Success page (v2.4.0)
   ========================================================= */
.icim-partner-success{ background: #fff; }
.icim-partner-success .icim-container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ps-hero{
    padding: 60px 0 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    text-align: center;
}
.ps-hero__eyebrow{
    font-size: 12px;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.ps-hero__title{
    font-size: 36px;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 auto 14px;
    letter-spacing: -0.01em;
    max-width: 760px;
}
.ps-hero__intro{
    color: #475569;
    font-size: 17px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 680px;
}

.ps-grid-wrap{ padding: 50px 0 100px; }
/* Flex with justify-content: center so 1-3 partner cards land in the
   middle of the page instead of pinned to the left. With 4+ partners,
   they fill the row naturally and overflow wraps centered. */
.ps-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
}
.ps-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    padding: 30px 22px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    min-height: 200px;
    flex: 0 1 270px;        /* fixed-ish width, won't grow past 270px */
    max-width: 320px;
    width: 100%;
}
.ps-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -22px rgba(15, 23, 42, 0.3);
    border-color: #cbd5e1;
}
.ps-card__logo{
    flex: 0 0 auto;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.ps-card__logo img{
    max-width: 80%;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.78;
    transition: filter .3s ease, opacity .3s ease;
}
.ps-card:hover .ps-card__logo img{
    filter: grayscale(0%);
    opacity: 1;
}
.ps-card__name{
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.01em;
}
.ps-card__quote{
    margin: 6px 0 14px;
    padding: 14px 12px;
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    border-radius: 6px;
    text-align: left;
    width: 100%;
}
.ps-card__quote p{
    margin: 0 0 8px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #334155;
    font-style: italic;
}
.ps-card__quote footer{
    font-size: 12px;
    color: #64748b;
}
.ps-card__quote footer strong{ color: #0f172a; display: block; }
.ps-empty{
    text-align: center;
    color: #64748b;
    padding: 60px 0;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}
@media (max-width: 960px) {
    .ps-grid{ gap: 18px; }
    .ps-hero__title{ font-size: 28px; }
}
@media (max-width: 520px) {
    .ps-card{ flex: 0 1 100%; max-width: 360px; }
}

/* =========================================================
   Footer social icons (v2.4.0)
   ========================================================= */
.icim-social-icons{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.icim-social-icons__link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    transition: background .2s ease, color .2s ease, transform .2s ease;
    text-decoration: none;
}
.icim-social-icons__link:hover{
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateY(-2px);
}
/* Per-platform brand colours on hover (subtle accent). */
.icim-social-icons__link--linkedin:hover  { background: #0a66c2; color: #fff; }
.icim-social-icons__link--youtube:hover   { background: #ff0000; color: #fff; }
.icim-social-icons__link--facebook:hover  { background: #1877f2; color: #fff; }
.icim-social-icons__link--twitter:hover   { background: #0f172a; color: #fff; }
.icim-social-icons__link--instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); color: #fff; }
.icim-partner-form__submit{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.icim-partner-form__btn{
    background: var(--icim-primary, #2872fa);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 13px 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.icim-partner-form__btn:hover:not(:disabled){
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(40, 114, 250, 0.5);
    background: var(--icim-primary-hover, #1559ed);
}
.icim-partner-form__btn:disabled{ opacity: 0.7; cursor: wait; }
.icim-partner-form__status{ margin: 0; font-size: 14px; color: #64748b; }
.icim-partner-form--err .icim-partner-form__status{ color: #b91c1c; font-weight: 600; }

/* v2.99.15 — Julia flagged the ugly success state: the consent checkbox
   stayed visible after submit while everything else disappeared, leaving
   a tiny "Thanks…" line hanging under an orphan checkbox. Now the whole
   form is replaced with a proper celebration card: big green tick, a
   headline, the message text, and the submit button hidden. Selector is
   `.icim-partner-form--ok > *` (not `> *:not(.submit)`) so every direct
   child of the form goes away — consent block included. */
.icim-partner-form--ok > *{ display: none !important; }
.icim-partner-form--ok::before{
    content: "🎉";
    display: block;
    font-size: 56px;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1;
    animation: icimBounce .5s ease;
}
.icim-partner-form--ok::after{
    content: "Application received!";
    display: block;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.icim-partner-form--ok .icim-partner-form__status{
    display: block !important;
    text-align: center;
    color: #334155 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 0 auto !important;
    max-width: 560px;
    line-height: 1.55;
}
@keyframes icimBounce{
    0%   { transform: scale(0.3); opacity: 0; }
    60%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

/* =========================================================
   Top utility bar (Phase 7 polish)
   slim strip above the main header — Translate + contact
   ========================================================= */
.icim-topbar{
    background: #070b1f;
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.icim-topbar__inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    min-height: 36px;
}
.icim-topbar__contact{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.icim-topbar__contact a{
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    transition: color .2s ease;
    font-weight: 500;
}
.icim-topbar__contact a:hover{ color: #fff; }
.icim-topbar__sep{ opacity: 0.4; }
.icim-topbar__lang{ display: inline-flex; align-items: center; }

@media (max-width: 760px){
    .icim-topbar__contact .icim-topbar__phone,
    .icim-topbar__sep{ display: none; }
    .icim-topbar{ font-size: 12px; }
}

/* =========================================================
   Custom language dropdown (drives Google Translate under the hood)
   ========================================================= */
.icim-lang{ position: relative; display: inline-block; }
.icim-lang__current{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    padding: 5px 12px 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
    line-height: 1;
}
.icim-lang__current:hover{
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.3);
}
.icim-lang__flag{ font-size: 14px; line-height: 1; }
.icim-lang__name{ font-size: 12px; }
.icim-lang__caret{ font-size: 9px; opacity: 0.7; margin-left: 2px; }
.icim-lang__menu{
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 220px;
    max-height: 360px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 12px;
    box-shadow: 0 18px 40px -16px rgba(0,0,0,0.4);
    list-style: none;
    padding: 6px;
    margin: 0;
    z-index: 9999;
    display: none;
}
.icim-lang--open .icim-lang__menu{ display: block; animation: icimLangIn .18s ease-out; }
@keyframes icimLangIn{
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.icim-lang__item{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: #0f172a;
    font-size: 13px;
    transition: background .15s ease;
}
.icim-lang__item:hover, .icim-lang__item:focus{
    background: #f1f5f9;
    outline: 0;
}
.icim-lang__item[aria-selected="true"]{
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 600;
}
.icim-lang__item .icim-lang__name{
    flex: 1 1 auto;
    font-size: 13px;
}
.icim-lang__item .icim-lang__en{
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}
.icim-lang__item[aria-selected="true"] .icim-lang__en{ color: #6366f1; }

/* Plugin-rendered translator (Google Language Translator).
   We prepend a 🌐 + "Translate" label so visitors recognise the
   dropdown as a translator. CSS also restyles the plugin's bare
   <select> to fit the navy utility bar. */
.icim-lang--plugin{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    color: #fff;
    line-height: 1;
}
.icim-lang--plugin .icim-lang__prefix{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.icim-lang--plugin .icim-lang__prefix svg{ display: block; }
@media (max-width: 600px){
    .icim-lang--plugin .icim-lang__prefix-text{ display: none; }
}
/* Restyle the plugin's <select> so it sits flush in the pill */
.icim-lang--plugin select,
.icim-lang--plugin .glt-translate-trigger,
.icim-lang--plugin .goog-te-gadget-simple,
.icim-lang--plugin .skiptranslate select{
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    color: #fff !important;
    border: 0 !important;
    padding: 4px 22px 4px 4px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-family: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='white' d='M0 0l5 6 5-6z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
}
.icim-lang--plugin select option{ color: #0f172a; background: #fff; }

/* =========================================================
   Tighter main-nav so all top-level items fit on one row
   ========================================================= */
.main-nav ul li > a{
    padding: 7px 11px !important;
    font-size: 13px;
    letter-spacing: 0.01em;
}
.main-nav > ul,
.main-nav > div > ul,
.main-nav .menu{
    gap: 1px !important;
}
@media (max-width: 1100px) and (min-width: 769px){
    .main-nav ul li > a{ padding: 6px 8px !important; font-size: 12.5px; }
}

/* =========================================================
   Creative Products showcase (Phase 7)
   [icim_creative_products] shortcode
   ========================================================= */
.icim-cp{ padding: 56px 0; background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); } /* tightened v2.4.9 */
.icim-cp .icim-container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.icim-cp__head{ text-align: center; max-width: 760px; margin: 0 auto 50px; }
.icim-cp__heading{
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.icim-cp__subhead{ color: #475569; font-size: 17px; line-height: 1.7; margin: 0; }
.icim-cp__grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.icim-cp__card{
    position: relative;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 20px;
    padding: 32px 28px;
    overflow: hidden;
    box-shadow: 0 18px 44px -24px rgba(15, 23, 42, 0.25);
    transition: transform .3s ease, box-shadow .3s ease;
}
.icim-cp__card::before{
    content: "";
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: linear-gradient(135deg, var(--cp-c1), var(--cp-c2));
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(20px);
    transition: opacity .3s ease, transform .4s ease;
}
.icim-cp__card:hover{
    transform: translateY(-6px);
    box-shadow: 0 28px 50px -22px rgba(15, 23, 42, 0.4);
}
.icim-cp__card:hover::before{
    opacity: 0.18;
    transform: scale(1.15);
}
.icim-cp__shape{
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.icim-cp__svg{
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.15));
    transition: transform .35s ease;
}
.icim-cp__card:hover .icim-cp__svg{
    transform: rotate(6deg) scale(1.04);
}
.icim-cp__body{ position: relative; z-index: 1; }
.icim-cp__tag{
    display: inline-block;
    background: color-mix(in srgb, var(--cp-c1) 16%, #fff);
    color: color-mix(in srgb, var(--cp-c1) 80%, #0f172a);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.icim-cp__title{
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.icim-cp__text{
    color: #475569;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0 0 18px;
}
.icim-cp__link{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cp-c1);
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    border-bottom: 2px solid transparent;
    transition: border-color .2s ease, gap .2s ease;
}
.icim-cp__link:hover{
    border-bottom-color: var(--cp-c1);
    gap: 10px;
}

@media (max-width: 960px){
    .icim-cp__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
    .icim-cp__grid{ grid-template-columns: 1fr; }
    .icim-cp{ padding: 50px 0; }
    .icim-cp__heading{ font-size: 26px; }
}

/* =========================================================
   Login page enhancements (Phase 6)
   ========================================================= */
.icim-login-layout{
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    max-width: 1320px;
    margin: 30px auto 50px;
    align-items: start;
    padding: 0 24px;
}
/* Some WooCommerce templates wrap account content in a narrow .container.
   Force a wider canvas for the login page only — scoped by parent class. */
.woocommerce-account .woocommerce,
.woocommerce-account .container,
.woocommerce-account .icim-container,
.woocommerce-account main,
.woocommerce-account #main,
.woocommerce-account .page-content,
.woocommerce-account .entry-content{
    max-width: none !important;
    width: 100% !important;
}
.icim-login-info{
    background: linear-gradient(180deg, #0D1850 0%, #1e3a8a 100%);
    color: #e2e8f0;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 18px 44px -28px rgba(15, 23, 42, 0.5);
}
/* !important on the colour — parent-theme h3 rules win on specificity
   over our class selector and turn the heading dark on the navy card. */
.icim-login-info .icim-login-info__title,
h3.icim-login-info__title{
    color: #fff !important;
    font-size: 22px;
    margin: 0 0 8px;
    line-height: 1.25;
    font-weight: 700;
}
.icim-login-info__intro{
    color: rgba(255, 255, 255, 0.82);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 22px;
}
.icim-product-info{
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.icim-product-info li{
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 14px;
    transition: background .2s ease;
}
.icim-product-info li:hover{ background: rgba(255, 255, 255, 0.10); }
.icim-product-info__head{
    display: flex;
    align-items: center;
    gap: 14px;
}
.icim-product-info__icon{
    width: 40px; height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
}
.icim-product-info__head strong{
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 2px;
}
.icim-product-info__head span{
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.4;
}
.icim-login-info__footer{
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.icim-login-info__footer a{
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}
.icim-login-info__footer a:hover{ text-decoration: underline; }

.icim-login-pane{
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 18px 44px -28px rgba(15, 23, 42, 0.3);
}

.icim-login-extras{ margin-top: 16px; }
.icim-passkey-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background .2s ease, border-color .2s ease;
}
.icim-passkey-btn:hover{ background: #e0e7ff; border-color: #818cf8; }
.icim-passkey-btn--disabled{ opacity: 0.65; cursor: default; }
.icim-passkey-btn__icon{ font-size: 18px; }
.icim-passkey-note{
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #854d0e;
    margin: 0 0 16px;
}
/* Quick-login hint. The previous version used `display:flex` directly on the
   <p> with raw text + an inline <em> as children, which the parent theme's
   typography rules broke into a 3-column layout. Now the icon and the text
   live in two clean spans so the layout is predictable. */
.icim-quick-login-note{
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #075985;
    margin: 0 0 16px;
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.icim-quick-login-note__icon{
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1.5;
}
.icim-quick-login-note__text{
    flex: 1 1 auto;
    min-width: 0;
}
.icim-quick-login-note__text strong{ color: #0c4a6e; font-weight: 700; }
.icim-login-extras__sep{ border: 0; border-top: 1px solid #eef1f6; margin: 18px 0; }
.icim-case-register-cta{
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: #0f172a;
    margin: 0;
    line-height: 1.55;
}
.icim-case-register-cta strong{ display: block; color: #166534; margin-bottom: 2px; }
.icim-case-register-cta a{ color: #166534; font-weight: 700; text-decoration: none; }
.icim-case-register-cta a:hover{ text-decoration: underline; }

@media (max-width: 900px) {
    .icim-login-layout{ grid-template-columns: 1fr; gap: 24px; }
    .icim-login-pane{ padding: 24px; }
}

/* =========================================================
   Brochures (Phase 5) — [icim_brochures] shortcode
   ========================================================= */
.icim-brochures{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 24px 0;
}
.icim-brochure{
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px -22px rgba(15, 23, 42, 0.3);
    transition: transform .25s ease, box-shadow .25s ease;
}
.icim-brochure:hover{
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -22px rgba(15, 23, 42, 0.4);
}
.icim-brochure__media{
    aspect-ratio: 4/3;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px;
    color: #94a3b8;
    position: relative; /* ribbon anchor */
    overflow: hidden;
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
}
/* object-fit: contain so the entire image is visible — earlier `cover`
   was cropping the bottom of the brochure illustration. */
.icim-brochure__media img{
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.icim-brochure__ribbon{
    position: absolute;
    top: 12px; right: -34px;
    transform: rotate(35deg);
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 40px;
    box-shadow: 0 4px 10px -2px rgba(239, 68, 68, 0.45);
}
/* Double-class chain `.icim-brochure__btn.icim-brochure__btn--soon` bumps
   the specificity so it beats the base `.icim-brochure__btn` rule no
   matter which appears later in the file. Without this, the base rule's
   `color: #fff !important` won and the "Coming soon" text was invisible
   on the light-gray background. */
.icim-brochure__btn.icim-brochure__btn--soon{
    background: #f1f5f9 !important;
    color: #475569 !important;
    cursor: default;
    border: 1px solid #cbd5e1;
    font-weight: 700;
}
.icim-brochure__btn.icim-brochure__btn--soon:hover{ transform: none; box-shadow: none; }
.icim-brochure__soon-note{
    color: #94a3b8;
    font-size: 12px;
    font-style: italic;
    margin: 2px 0 0;
}
.icim-brochure__body{
    padding: 18px 20px;
    display: flex; flex-direction: column; gap: 8px;
    flex: 1 1 auto;
}
.icim-brochure__tag{
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
}
.icim-brochure__title{
    font-size: 17px;
    line-height: 1.3;
    margin: 0;
    color: #0f172a;
}
.icim-brochure__summary{
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    flex: 1 1 auto;
}
.icim-brochure__btn{
    align-self: flex-start;
    margin-top: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--icim-primary, #2563eb);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.icim-brochure__btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(37, 99, 235, 0.5);
}
.icim-brochures__empty{ text-align: center; color: #64748b; padding: 40px 0; }
@media (max-width: 900px) {
    .icim-brochures{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .icim-brochures{ grid-template-columns: 1fr; }
}

/* =========================================================
   Register Cases page (Phase 5, partner-gated)
   ========================================================= */
.icim-register-cases{ background: #fff; }
.icim-register-cases .icim-container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.rc-eyebrow{
    display: inline-block;
    background: #fde68a;
    color: #854d0e;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.rc-hero{ padding: 60px 0 30px; background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.rc-hero__title{ font-size: 34px; line-height: 1.2; margin: 0 0 10px; color: #0f172a; }
.rc-hero__intro{ color: #475569; font-size: 17px; max-width: 720px; }
.rc-body{ padding: 30px 0; }
.rc-body__inner{
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}
.rc-info{
    background: #f8fafc;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e6eaf2;
}
.rc-info h3{ font-size: 18px; color: #0f172a; margin: 0 0 12px; }
.rc-info ol{ padding-left: 20px; color: #475569; font-size: 15px; line-height: 1.6; margin: 0; }
.rc-form-section{ padding: 50px 0 90px; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.rc-form-section__title{ font-size: 26px; color: #0f172a; margin: 0 0 8px; }
.rc-form-section__intro{ color: #475569; margin: 0 0 24px; }

/* Partner gate: shown to non-partner visitors in place of the form. */
.rc-gate{
    padding: 50px 0 90px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.rc-gate__inner{
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 32px;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 18px;
    box-shadow: 0 18px 44px -28px rgba(15, 23, 42, 0.35);
    text-align: center;
}
.rc-gate__icon{
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 26px -12px rgba(37, 99, 235, 0.5);
}
.rc-gate__title{
    font-size: 26px;
    color: #0f172a;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.rc-gate__intro{
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 auto 26px;
    max-width: 540px;
}
.rc-gate__actions{
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.rc-gate__btn{
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    line-height: 1.2;
}
.rc-gate__btn--primary{
    background: var(--icim-primary, #2563eb);
    color: #fff !important;
}
.rc-gate__btn--primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(37, 99, 235, 0.5);
}
.rc-gate__btn--secondary{
    background: #f1f5f9;
    color: #0f172a !important;
    border: 1px solid #e2e8f0;
}
.rc-gate__btn--secondary:hover{
    background: #e2e8f0;
    transform: translateY(-2px);
}
.rc-gate__hint{
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.rc-gate__hint a{ color: #2563eb; text-decoration: underline; }
@media (max-width: 600px) {
    .rc-gate__inner{ padding: 32px 22px; }
    .rc-gate__title{ font-size: 22px; }
    .rc-gate__btn{ width: 100%; }
}
@media (max-width: 900px) {
    .rc-body__inner{ grid-template-columns: 1fr; }
}

/* =========================================================
   News & Events page (Phase 4)
   ========================================================= */
.icim-news-events{ background: #fff; }
.icim-news-events .icim-container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.ne-eyebrow{
    display: inline-block;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--icim-primary, #2563eb);
    margin: 0 0 12px;
}

.ne-hero{
    padding: 70px 0 30px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid #eef1f6;
    text-align: center;
}
.ne-hero__title{
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.ne-hero__intro{
    color: #475569;
    font-size: 17px;
    max-width: 680px;
    margin: 0 auto;
}

.ne-list{ padding: 50px 0 100px; }
/* Row layout: event text on the LEFT, image on the RIGHT at ~360px
   so it renders close to its natural aspect ratio (no full-width
   stretch). Stacks to image-on-top on screens below 760px. */
.ne-card{
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: center;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 12px 32px -24px rgba(15, 23, 42, 0.3);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ne-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -22px rgba(15, 23, 42, 0.4);
}
.ne-card__media{
    margin: 0;
    order: 2;            /* HTML has media first — push it to RIGHT col */
    border-radius: 12px;
    overflow: hidden;
    max-height: none;
    background: #f1f5f9;
}
.ne-card__media img{
    display: block;
    width: 100%;
    height: auto;        /* preserve intrinsic aspect — no stretching */
    max-height: 260px;
    object-fit: contain; /* if container is bigger, image stays unstretched */
}
.ne-card__body{
    order: 1;            /* stay on the LEFT */
    display: flex;
    flex-direction: column;
}
.ne-card__meta{ display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.ne-badge{
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #e0e7ff;
    color: #3730a3;
}
.ne-badge--event   { background: #e0e7ff; color: #3730a3; }
.ne-badge--webinar { background: #dcfce7; color: #166534; }
.ne-badge--launch  { background: #fde68a; color: #854d0e; }
.ne-badge--press   { background: #fee2e2; color: #991b1b; }
.ne-badge--other   { background: #e2e8f0; color: #475569; }
.ne-card__date{
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}
.ne-card__title{
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #0f172a;
}
.ne-card__body-text{
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 8px;
}
.ne-card__loc{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
    margin: 0 0 12px;
}
.ne-card__link{
    align-self: flex-start;
    margin-top: auto;
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--icim-primary, #2563eb);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.ne-card__link:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(37, 99, 235, 0.5);
}
.ne-empty{ text-align: center; color: #64748b; padding: 60px 0; }

@media (max-width: 760px) {
    /* Stack: image-on-top, text-below — same as old behaviour on phones. */
    .ne-card{
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .ne-card__media{ max-height: 220px; order: 1; }
    .ne-card__media img{ max-height: 220px; }
    .ne-card__body{ order: 2; }
}

/* =========================================================
   Advanced Search (Phase 4) — [icim_search] shortcode
   ========================================================= */
.icim-search{
    max-width: 860px;
    margin: 24px auto;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 12px 28px -22px rgba(15, 23, 42, 0.25);
}
.icim-search__row{
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.icim-search__icon{
    position: absolute;
    left: 14px;
    color: #64748b;
    pointer-events: none;
}
.icim-search__input{
    flex: 1 1 auto;
    border: 0;
    padding: 12px 14px 12px 42px;
    border-radius: 10px;
    font-size: 15px;
    background: #f8fafc;
    color: #0f172a;
}
.icim-search__input:focus{
    outline: 0;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--icim-primary, #2872fa);
}
.icim-search__toggle,
.icim-search__submit{
    border: 0;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.icim-search__toggle{
    background: #f1f5f9;
    color: #334155;
}
.icim-search__toggle:hover{ background: #e2e8f0; }
.icim-search__submit{
    background: var(--icim-primary, #2872fa);
    color: #fff;
}
.icim-search__submit:hover{ background: var(--icim-primary-hover, #1559ed); }
.icim-search__advanced{
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 12px 4px 4px;
    border-top: 1px solid #eef1f6;
    margin-top: 12px;
}
.icim-search--open .icim-search__advanced{ display: grid; }
.icim-search__field{
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 0 0 0 12px;
}
.icim-search__field-icon{
    color: #64748b;
    flex-shrink: 0;
    display: inline-flex;
}
.icim-search__field select,
.icim-search__field input{
    flex: 1 1 auto;
    border: 0;
    background: transparent;
    padding: 10px 14px 10px 6px;
    font-size: 14px;
    color: #0f172a;
    appearance: none;
    -webkit-appearance: none;
}
.icim-search__field select:focus,
.icim-search__field input:focus{ outline: 0; }

@media (max-width: 700px){
    .icim-search__advanced{ grid-template-columns: 1fr; }
    .icim-search__toggle span{ display: none; }
}

/* =========================================================
   Demo Request form (Phase 3) — [icim_demo_form] shortcode
   ========================================================= */
.icim-demo{
    max-width: 820px;
    margin: 40px auto;
    padding: 36px;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 18px;
    box-shadow: 0 18px 44px -28px rgba(15, 23, 42, 0.35);
}
/* With-aside variant — friendly-face photo on the left to drive
   conversion (image="..." attribute on the shortcode). The card grows
   to ~1080px wide to give the form room next to the photo. */
.icim-demo--with-aside{
    max-width: 1080px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 44px;
    align-items: start;
}
.icim-demo__aside{
    position: sticky;
    top: 24px;
}
.icim-demo__photo{
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #f1f5f9;
}
.icim-demo__photo img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.icim-demo__aside-text{ margin-top: 18px; }
.icim-demo__aside-name{
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.005em;
}
.icim-demo__aside-role{
    font-size: 14px;
    color: #2563eb;
    font-weight: 600;
    margin: 0 0 10px;
}
.icim-demo__aside-caption{
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}
@media (max-width: 768px) {
    .icim-demo--with-aside{
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 820px;
    }
    .icim-demo__aside{ position: static; }
    .icim-demo__photo{
        max-width: 220px;
        margin: 0 auto;
        aspect-ratio: 1;
    }
    .icim-demo__aside-text{ text-align: center; }
}
.icim-demo__head{ margin-bottom: 24px; }
.icim-demo__eyebrow{
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--icim-primary, #2563eb);
    margin: 0 0 8px;
}
.icim-demo__title{
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 8px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.icim-demo__intro{ color: #475569; font-size: 15px; line-height: 1.6; margin: 0; }

.icim-demo-form{ display: block; }
.icim-demo-form__hp{
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important; height: 1px !important;
    overflow: hidden !important;
}
/* v2.99.9 — Demo form field-boxes redesign (Julia's ask: each field should
   sit inside a clearly visible box). Every <label> is now a card: light
   surface, a real border, generous padding, subtle shadow — so the eye
   groups "Contact name * + input" into one obvious block. Focus lifts the
   whole card and paints the accent ring around the input, so users always
   know where their cursor is on long forms. */
.icim-demo-form__row{ display: grid; gap: 18px; margin-bottom: 18px; }
/* v2.99.12 — minmax(0, 1fr) instead of plain 1fr. Julia reported Email
   (col-1) shrinking and Phone (col-2) bulging on the Email/Phone row:
   the phone-group's content was hitting the grid's default "min-content"
   sizing and pushing its cell wider than its 1fr share. minmax(0,…)
   overrides that min-content floor so both cells stay exactly 50/50
   regardless of what's inside. Applied via !important so any older
   inline rule (e.g. from a legacy page) can't win the cascade. */
.icim-demo-form__row--2{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
.icim-demo-form__row--2 > label{ min-width: 0; }
/* Belt-and-braces: the phone pill must not grow past its parent cell. */
.icim-demo-form__row--2 span.icim-phone-group{ max-width: 100% !important; }
.icim-demo-form label{
    display: block;
    margin-bottom: 0;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px 16px 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.icim-demo-form label:focus-within{
    background: #fff;
    border-color: var(--icim-primary, #2872fa);
    box-shadow: 0 0 0 4px rgba(40, 114, 250, 0.14), 0 4px 14px -6px rgba(40,114,250,.25);
}
.icim-demo-form__label{
    display: block;
    font-weight: 700;
    color: #0f172a;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.icim-demo-form__label em{ color: #ef4444; font-style: normal; margin-left: 2px }
.icim-demo-form input[type="text"],
.icim-demo-form input[type="email"],
.icim-demo-form input[type="tel"],
.icim-demo-form input[type="number"],
.icim-demo-form input[type="url"],
.icim-demo-form select,
.icim-demo-form textarea{
    width: 100%;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 11px 13px;
    font: inherit; font-size: 15px;
    color: #0f172a;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}
.icim-demo-form input:focus,
.icim-demo-form select:focus,
.icim-demo-form textarea:focus{
    outline: 0;
    border-color: var(--icim-primary, #2872fa);
    box-shadow: 0 0 0 2px rgba(40, 114, 250, 0.18);
}
.icim-demo-form textarea{ resize: vertical; min-height: 100px; }

/* v2.99.10 — Phone-group polish (Julia's ask). Was a raw <select>+<input>
   with an inline 170px grid — code column was too wide and the two
   controls looked visually disconnected. Now they sit inside a single
   pill with a divider between them.
   v2.99.11 — hardened with !important + flex fallback because the <span>
   parent was defaulting to inline layout on some cached pages, dropping
   the phone number input onto a second row. */
span.icim-phone-group{
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    align-items: stretch !important;
    background: #fff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box !important;
}
span.icim-phone-group:focus-within{
    border-color: var(--icim-primary, #2872fa) !important;
    box-shadow: 0 0 0 2px rgba(40, 114, 250, 0.18) !important;
}
span.icim-phone-group > .icim-phone-code{
    flex: 0 0 130px !important;
    width: 130px !important;
    max-width: 130px !important;
    border: 0 !important;
    border-right: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    padding: 11px 12px !important;
    font: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
span.icim-phone-group > .icim-phone-number{
    flex: 1 1 auto !important;
    width: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 11px 14px !important;
    font: inherit !important;
    font-size: 15px !important;
    color: #0f172a !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
span.icim-phone-group > .icim-phone-code:focus,
span.icim-phone-group > .icim-phone-number:focus{
    outline: 0 !important;
    background: transparent !important;
}
span.icim-phone-group > .icim-phone-code:focus{ background: #fff !important; }
@media (max-width: 480px) {
    span.icim-phone-group > .icim-phone-code{ flex: 0 0 100px !important; width: 100px !important; }
}
.icim-demo-form__chal{
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.icim-demo-form__chal input{ max-width: 110px; text-align: center; font-weight: 700; font-size: 16px; }
.icim-demo-form__submit{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.icim-demo-form__btn{
    background: var(--icim-primary, #2872fa);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 13px 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.icim-demo-form__btn:hover:not(:disabled){
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(40, 114, 250, 0.5);
    background: var(--icim-primary-hover, #1559ed);
}
.icim-demo-form__btn:disabled{ opacity: 0.7; cursor: wait; }
.icim-demo-form__status{ margin: 0; font-size: 14px; color: #64748b; }
.icim-demo-form--err .icim-demo-form__status{ color: #b91c1c; font-weight: 600; }

/* v2.99.15 — matching celebration state for the demo form. */
.icim-demo-form--ok > *{ display: none !important; }
.icim-demo-form--ok::before{
    content: "🎉";
    display: block;
    font-size: 56px;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1;
    animation: icimBounce .5s ease;
}
.icim-demo-form--ok::after{
    content: "Demo request received!";
    display: block;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.icim-demo-form--ok .icim-demo-form__status{
    display: block !important;
    text-align: center;
    color: #334155 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 0 auto !important;
    max-width: 560px;
    line-height: 1.55;
}

@media (max-width: 700px) {
    .icim-demo{ padding: 24px; margin: 24px auto; }
    .icim-demo__title{ font-size: 22px; }
    .icim-demo-form__row--2{ grid-template-columns: 1fr; }
}

/* ---------- Placeholder template ---------- */
.icim-partner--placeholder .psp-placeholder{ padding: 90px 0; }
.psp-placeholder__inner{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.psp-placeholder__media img{
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 28px 60px -28px rgba(15, 23, 42, 0.5);
    display: block;
}
.psp-placeholder__title{
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.psp-placeholder__intro{
    color: #475569;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 18px;
}
.psp-placeholder__cta-line{
    color: #64748b;
    font-size: 15px;
    margin: 0 0 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .psp-hero__inner,
    .psp-placeholder__inner{ grid-template-columns: 1fr; gap: 28px; }
    .psp-hero__title,
    .psp-placeholder__title{ font-size: 28px; }
    .psp-benefits__grid{ grid-template-columns: 1fr 1fr; }
    .psp-process__list{ grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .psp-section-head h2{ font-size: 24px; }
    .psp-benefits__grid{ grid-template-columns: 1fr; }
    .icim-partner-form__row--2{ grid-template-columns: 1fr; }
}

/* =========================================================
   Cookie consent banner (v2.5.0)
   ========================================================= */
.icim-cookie-banner{
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translate(-50%, calc(100% + 32px));
    width: calc(100% - 24px);
    max-width: 760px;
    z-index: 99998;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 26px 60px -28px rgba(15, 23, 42, 0.5);
    transition: transform .26s ease-out;
}
.icim-cookie-banner--in{ transform: translate(-50%, 0); }
.icim-cookie-banner__inner{ padding: 22px 24px; }
.icim-cookie-banner__title{
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}
.icim-cookie-banner__msg{
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 8px;
}
.icim-cookie-banner__links{ margin: 0 0 12px; font-size: 13px; }
.icim-cookie-banner__links a{
    color: #2563eb; text-decoration: underline;
}
.icim-cookie-banner__choices{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 12px 0 16px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.icim-cookie-banner__choice{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
}
.icim-cookie-banner__choice input{ margin-top: 3px; accent-color: #2563eb; }
.icim-cookie-banner__choice strong{ display: block; color: #0f172a; font-weight: 700; }
.icim-cookie-banner__choice small{ display: block; color: #64748b; line-height: 1.4; }
.icim-cookie-banner__actions{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.icim-cookie-banner__btn{
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.icim-cookie-banner__btn--primary  { background: #2563eb; color: #fff; }
.icim-cookie-banner__btn--primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.icim-cookie-banner__btn--secondary{ background: #e2e8f0; color: #0f172a; }
.icim-cookie-banner__btn--secondary:hover{ background: #cbd5e1; }
.icim-cookie-banner__btn--ghost    { background: transparent; color: #64748b; }
.icim-cookie-banner__btn--ghost:hover { color: #0f172a; }
.icim-cookie-reopen{
    position: fixed;
    left: 16px; bottom: 16px;
    z-index: 99997;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #2563eb;
    box-shadow: 0 14px 30px -12px rgba(15, 23, 42, 0.4);
    font-size: 20px;
    cursor: pointer;
    transition: transform .2s ease;
}
.icim-cookie-reopen:hover{ transform: translateY(-2px) scale(1.05); }
@media (max-width: 640px){
    .icim-cookie-banner__choices{ grid-template-columns: 1fr; }
    .icim-cookie-banner__actions{ justify-content: stretch; }
    .icim-cookie-banner__btn{ flex: 1 1 auto; }
}
