/* ================================================================
   AGIVELY CHILD THEME — agively.css
   Brand tokens + custom section styles
   Parent: agively-framework v1.10.0+
================================================================ */

/* ── Brand Token Overrides ───────────────────────────────────── */
:root {
    --color-primary:        #0B1F3A;
    --color-primary-dark:   #071526;
    --color-primary-light:  #F0F4F9;
    --color-accent:         #1E6FD9;
    --color-accent-dark:    #1559B5;
    --color-green:          #059669;
    --color-body:           #334155;
    --color-body-on-dark:   #B8CEDE;
    --color-eyebrow:        #7EB4F0;
    --color-border:         #E2E8F0;
    --color-mid-navy:       #112A4A;
}

/* ── Base Typography ─────────────────────────────────────────── */
body,
h1, h2, h3, h4, h5, h6,
p, a, li, span, button, input, textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    color: var(--color-body);
}

h1, h2, h3, h4 {
    color: var(--color-primary);
}

/* ── Header ──────────────────────────────────────────────────── */
/* ================================================================
   HEADER — dark navy sticky bar
   ================================================================ */

/* Override framework's fixed-height flex header so mobile drawer can expand */
.site-header {
    background-color: #0B1F3A !important;
    border-bottom: 0.5px solid rgba(255,255,255,0.06) !important;
    position: sticky;
    top: 0;
    z-index: 200;
    height: auto !important;   /* framework sets height: var(--header-height) — override it */
    display: block !important; /* framework sets display: flex — block lets drawer stack below nav bar */
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.site-header__logo {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
    line-height: 1;
}
.site-header__logo-dot {
    color: var(--color-accent);   /* #7EB4F0 */
}
.site-header__logo:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Nav links */
.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__menu > li {
    position: relative;
}

/* Force transparent bg so framework rules can't paint a bg on hover */
.site-header .site-nav__menu > li > a,
.site-header .site-nav__menu > li > a:hover,
.site-header .site-nav__menu > li > a:focus {
    background: transparent;
    text-decoration: none;
}

.site-header .site-nav__menu > li > a {
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s;
    white-space: nowrap;
}

.site-header .site-nav__menu > li > a:hover {
    color: #ffffff;
}

/* CSS chevron for items with children (WP adds .menu-item-has-children) */
.site-nav__menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.2s;
}

.site-nav__menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* ── Desktop dropdown ────────────────────────────────────────── */
/*
   Framework CSS: .site-nav .sub-menu { display: none }
   Only shows via .is-open (JS class). We override to display:block
   and use opacity/visibility for the hover animation instead.
*/
.site-header .site-nav .sub-menu {
    display: block !important;  /* override framework display:none */
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 220px;
    background: #0F2847;
    border: 0.5px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    /* Hidden but present in layout — revealed by hover */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
    z-index: 300;
    /* Undo framework's positioning for its white slide-in panel */
    right: auto;
    width: auto;
    height: auto;
    flex-direction: unset;
}

.site-header .site-nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0);
}

/* Override framework's light-theme sub-menu link colours */
.site-header .site-nav .sub-menu li a,
.site-header .site-nav .sub-menu li a:hover,
.site-header .site-nav .sub-menu li a:focus {
    text-decoration: none;
}

.site-header .site-nav .sub-menu li a {
    display: block;
    padding: 8px 18px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.75) !important;
    background: transparent !important;
    transition: color 0.12s, background 0.12s;
}

.site-header .site-nav .sub-menu li a:hover {
    color: #ffffff !important;
    background: rgba(126,180,240,0.08) !important;
}

/* Header CTA button */
.site-header__cta {
    display: inline-block;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
    margin-left: 8px;
    flex-shrink: 0;
}

.site-header__cta:hover {
    background: var(--color-accent-dark);
    color: #ffffff;
    text-decoration: none;
}

/* Hamburger button */
.site-header__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: rgba(255,255,255,0.85);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-left: 4px;
}

.site-header__toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin: 3px 0;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

/* Hamburger → X when open */
.site-header.is-menu-open .site-header__toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.is-menu-open .site-header__toggle-bar:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .site-header__toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu drawer */
.site-header__mobile-menu {
    display: none;
    background: #0B1F3A;
    border-top: 0.5px solid rgba(255,255,255,0.08);
    padding: 1rem 1.5rem 1.5rem;
}

.site-header__mobile-menu[aria-hidden="false"] {
    display: block;
}

/* Mobile flat list — wp_nav_menu() depth:1 means no sub-menus rendered */
.site-nav__mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__mobile-list li {
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.site-nav__mobile-list li a,
.site-nav__mobile-list li a:hover,
.site-nav__mobile-list li a:focus {
    background: transparent;
    text-decoration: none;
}

.site-nav__mobile-list li a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    transition: color 0.15s;
}

.site-nav__mobile-list li a:hover {
    color: #ffffff;
}

/* CTA row at bottom of mobile drawer */
.site-nav__mobile-cta {
    margin-top: 1.25rem;
}

/* Controls row */
.site-header__controls {
    display: flex;
    align-items: center;
}

/* ── Buttons (framework overrides) ───────────────────────────── */
.wp-block-button__link {
    background-color: var(--color-accent);
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.wp-block-button__link:hover {
    background-color: var(--color-accent-dark);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.65);
}

/* ================================================================
   FOOTER — dark 4-column layout
   ================================================================ */

.site-footer {
    background-color: #071526;
    color: var(--color-body-on-dark);
}

.site-footer__body {
    padding: 4rem 1.5rem 3rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1.4fr 1.4fr 1.6fr;
    gap: 2.5rem 3rem;
    max-width: 1120px;
    margin: 0 auto;
}

/* Brand column */
.site-footer__logo {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
    margin-bottom: 0.9rem;
}
.site-footer__logo-dot {
    color: var(--color-accent);
}
.site-footer__logo:hover {
    color: #ffffff;
    text-decoration: none;
}

.site-footer__tagline {
    font-size: 13.5px;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin: 0 0 1.25rem;
    max-width: 260px;
}

/* Social icons */
.site-footer__social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 0.5px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
    font-size: 16px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.site-footer__social-link:hover {
    background: rgba(126,180,240,0.15);
    border-color: rgba(126,180,240,0.4);
    color: #7EB4F0;
}

/* Nav columns */
.site-footer__col-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    margin: 0 0 1rem;
}

.site-footer__col-heading--spaced {
    margin-top: 1.75rem;
}

.site-footer__menu {
    list-style: none;
    margin: 0 0 0.25rem;
    padding: 0;
}

.site-footer__menu li + li {
    margin-top: 0.55rem;
}

.site-footer__menu a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer__menu a:hover {
    color: #ffffff;
}

/* Get in touch CTA */
.site-footer__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer__cta-link:hover {
    color: #ffffff;
}

.site-footer__response-note {
    font-size: 11.5px;
    color: rgba(255,255,255,0.3);
    margin: 0.6rem 0 0;
    line-height: 1.5;
}

/* Legal bar */
.site-footer__legal {
    border-top: 0.5px solid rgba(255,255,255,0.07);
    padding: 1.1rem 1.5rem;
}

.site-footer__legal-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
}

.site-footer__copyright {
    font-size: 12.5px;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

.site-footer__privacy-link {
    font-size: 12.5px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer__privacy-link:hover {
    color: rgba(255,255,255,0.7);
}

/* ================================================================
   FULL-WIDTH PAGE TEMPLATE
   Applied via body class .agively-full-width (page-full-width.php)

   The framework's header.php opens <main class="site-main"> with no
   max-width. Our template calls the_content() directly inside that
   <main>, skipping the .container.layout-page wrapper that page.php
   uses. So alignfull blocks naturally fill 100% of the viewport.

   These rules are a safety net for any edge cases.
================================================================ */

/* Ensure the framework's site-main doesn't add unexpected padding */
.agively-full-width.site-main,
body.agively-full-width .site-main {
    padding: 0;
}

/* Alignfull blocks: guarantee edge-to-edge, no negative margin needed */
body.agively-full-width .wp-block-group.alignfull,
body.agively-full-width .wp-block-cover.alignfull {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ================================================================
   HOME PAGE CUSTOM SECTIONS
================================================================ */

/* ── Section inner container (two-tier layout — classic theme safe) ── */
/*
   Outer wp:group = alignfull background colour + top/bottom padding.
   Inner wp:group.agively-section-inner = max-width centering + side padding.
   No reliance on Gutenberg layout CSS (is-layout-constrained) which is
   unreliable in classic PHP themes.
*/
.agively-section-inner {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

/* CTA section — narrower centred content */
.agively-cta-inner {
    max-width: 680px;
    text-align: center;
}

/* ── Section background + padding — className approach ──────── */
/*
   wp:group uses className only (no style attr) so there are zero
   inline style properties for WP to serialise. No inline styles =
   no block validation mismatch = no "Attempt Block Recovery" prompt.
*/
.agively-section-header { background-color: #0B1F3A; padding-top: 4rem;   padding-bottom: 4rem;   }
.agively-section-dark   { background-color: #0B1F3A; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.agively-section-cta    { background-color: #071526; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.agively-section-light  { background-color: #ffffff; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.agively-section-pale   { background-color: #F0F4F9; padding-top: 5.5rem; padding-bottom: 5.5rem; }

/* Column gap variants on wp:columns className */
.agively-cols-lg { column-gap: 3.5rem; }
.agively-cols-sm { column-gap: 1.5rem; }

/* ── Page typography utility classes ─────────────────────────── */
/*
   Used inside wp:html blocks so styling never touches block attrs.
   Named classes have completely stable serialisation.
*/
.agively-h1          { color: #ffffff;  font-size: clamp(28px,4vw,44px);  font-weight: 700; line-height: 1.15; margin: 0 0 0.75rem; }
.agively-h2          { color: #0B1F3A; font-size: clamp(22px,3vw,34px);  font-weight: 700; line-height: 1.25; margin: 0 0 1.25rem; }
.agively-h2-white    { color: #ffffff;  font-size: clamp(22px,3vw,34px);  font-weight: 700; line-height: 1.25; margin: 0 0 1.25rem; }
.agively-h2-cta      { color: #ffffff;  font-size: clamp(22px,3vw,36px);  font-weight: 700; line-height: 1.25; text-align: center; margin: 0 0 1rem; }
.agively-p           { color: #334155; font-size: 16px; line-height: 1.7; margin: 0 0 1rem; }
.agively-p-end       { color: #334155; font-size: 16px; line-height: 1.7; margin: 0; }
.agively-p-2         { color: #334155; font-size: 16px; line-height: 1.7; margin: 0 0 2rem; }
.agively-p-3         { color: #334155; font-size: 16px; line-height: 1.65; margin: 0 0 3rem; }
.agively-p-muted     { color: #B8CEDE; font-size: 16px; line-height: 1.7; margin: 0 0 1rem; }
.agively-p-muted-end { color: #B8CEDE; font-size: 16px; line-height: 1.7; margin: 0; }
.agively-p-hero-sub  { color: #B8CEDE; font-size: 17px; line-height: 1.6; margin: 0; }
.agively-p-cta       { color: #B8CEDE; font-size: 16px; line-height: 1.7; text-align: center; margin: 0 0 2.5rem; }

/* Breadcrumb in page header */
.agively-breadcrumb { font-size: 12px; color: rgba(184,206,222,0.5); margin: 0 0 14px; }
.agively-breadcrumb a { color: rgba(184,206,222,0.5); text-decoration: none; }
.agively-breadcrumb span { margin: 0 6px; opacity: 0.4; }

/* ── Native wp:button styled via className (no inline styles) ── */
.wp-block-button.agively-btn-primary .wp-block-button__link {
    background-color: #1E6FD9;
    color: #ffffff;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
}
.wp-block-button.agively-btn-primary .wp-block-button__link:hover {
    background-color: #1559B5;
    color: #ffffff;
}
.wp-block-button.agively-btn-outline .wp-block-button__link {
    background: transparent;
    color: #7EB4F0;
    border: none;
    box-shadow: inset 0 0 0 1.5px rgba(126,180,240,0.65);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    width: auto;
    display: inline-block;
}
.wp-block-button.agively-btn-outline .wp-block-button__link:hover {
    box-shadow: inset 0 0 0 1.5px rgba(126,180,240,0.9);
    background: rgba(126,180,240,0.08);
    color: #ffffff;
}
/* Prevent WP flex layout from stretching button wrappers */
.wp-block-buttons.is-layout-flex > .wp-block-button {
    flex: 0 0 auto;
}

/* ── Block-gap reset inside sections ─────────────────────────── */
/*
   WordPress injects --wp--style--block-gap (default ~0.5em–2em) between
   sibling blocks inside groups via .is-layout-flow > * + * rules.
   We control spacing with explicit margin on each block, so zero the gap.
*/
body.agively-full-width .wp-block-group > * + *,
body.agively-full-width .is-layout-flow > * + *,
.agively-section-inner > * + * {
    margin-block-start: 0;
}

/* ── Prevent gap between top-level sections in .site-main ───── */
/*
   alignfull sections are direct children of .site-main (not of a group).
   The .wp-block-group > * + * rule above does not reach them.
   This rule eliminates the inter-section gap on full-width pages.
*/
body.agively-full-width .site-main > * {
    margin-top: 0;
    margin-bottom: 0;
}
body.agively-full-width .site-main > * + * {
    margin-block-start: 0 !important;
}

/* Shared label style (small uppercase tag above headings) */
.agively-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-eyebrow);
    margin-bottom: 20px;
    display: block;
}

/* Eyebrow on white sections */
.agively-eyebrow-light {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-body);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    display: block;
}

/* Section intro text */
.section-intro {
    color: var(--color-body);
    font-size: 16px;
    line-height: 1.65;
    max-width: 680px;
    margin-bottom: 48px;
}

/* ── HERO ────────────────────────────────────────────────────── */
.agively-hero {
    background-color: var(--color-primary);
    padding: 120px 40px 80px;
}

.agively-eyebrow-badge {
    display: inline-block;
    background: rgba(30, 111, 217, 0.15);
    color: var(--color-eyebrow);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 28px;
}

.agively-hero h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
}

.agively-hero-sub {
    color: #B8CEDE;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 640px;
}

.agively-hero-desc {
    color: var(--color-eyebrow);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 620px;
}

.agively-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    align-items: center;
}

.agively-btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: #ffffff;
    padding: 13px 26px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.agively-btn-primary:hover {
    background-color: var(--color-accent-dark);
    color: #ffffff;
    text-decoration: none;
}

.agively-btn-outline {
    display: inline-block;
    background: transparent;
    color: #7EB4F0;
    padding: 12px 26px;
    border-radius: 4px;
    border: 1.5px solid rgba(126,180,240,0.65);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.agively-btn-outline:hover {
    border-color: rgba(126,180,240,0.9);
    background: rgba(126,180,240,0.08);
    color: #ffffff;
    text-decoration: none;
}

.agively-hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.agively-hero-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #B8CEDE;
    font-size: 14px;
}

.agively-hero-bullet::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── STATS + HOW PROJECT STARTS ──────────────────────────────── */
.agively-stats-section {
    background-color: var(--color-primary);
    padding: 60px 40px 72px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.07);
}

.agively-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    margin-top: 40px;
    margin-bottom: 64px;
}

.agively-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agively-stat-number {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent);
}

.agively-stat-number.green {
    color: var(--color-green);
}

.agively-stat-label {
    font-size: 14px;
    color: #B8CEDE; /* readable on dark backgrounds */
}
/* stat-label on light backgrounds */
.agively-section-light .agively-stat-label,
.agively-section-pale .agively-stat-label,
.agively-section-mid .agively-stat-label {
    color: #64748B;
}

.agively-process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.agively-process-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agively-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(30, 111, 217, 0.18);
    color: var(--color-eyebrow);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 4px;
    flex-shrink: 0;
    align-self: flex-start;
}

.agively-step-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.agively-step-desc {
    font-size: 14px;
    color: #B8CEDE;
    line-height: 1.65;
}

/* ── TRUSTED BY ──────────────────────────────────────────────── */
.agively-trusted-by {
    background: #071526;
    padding: 28px 40px;
    text-align: center;
    border-top: 0.5px solid rgba(255, 255, 255, 0.06);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.agively-trusted-text {
    color: #B8CEDE;
    font-size: 15px;
    letter-spacing: 0.03em;
    margin: 0;
}

.agively-trusted-text strong {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

/* ── SERVICES ────────────────────────────────────────────────── */
.agively-services-section {
    background: #ffffff;
    padding: 88px 40px;
}

.agively-services-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 14px;
    line-height: 1.25;
}

.agively-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 44px;
}

.agively-service-card {
    background: #ffffff;
    border: 0.5px solid var(--color-border);
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.agively-service-card:hover {
    border-color: rgba(30, 111, 217, 0.45);
    box-shadow: 0 4px 18px rgba(11, 31, 58, 0.08);
    text-decoration: none;
}

.agively-service-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

.agively-service-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.agively-service-desc {
    font-size: 14px;
    color: var(--color-body);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 18px;
}

.agively-service-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    margin-top: auto;
}

.agively-see-all {
    text-align: center;
}

.agively-see-all a {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 111, 217, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.agively-see-all a:hover {
    border-color: var(--color-accent);
}

/* ── OUR APPROACH ────────────────────────────────────────────── */
.agively-approach-section {
    background: var(--color-primary);
    padding: 88px 40px;
}

.agively-approach-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
    line-height: 1.25;
    max-width: 640px;
}

.agively-approach-section p {
    color: #B8CEDE;
    font-size: 16px;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 16px;
}

.agively-approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.1);
    padding-top: 52px;
}

.agively-approach-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agively-step-week {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-eyebrow);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.agively-step-phase {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.agively-step-body {
    font-size: 14px;
    color: #B8CEDE;
    line-height: 1.65;
    flex: 1;
}

.agively-step-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(30, 111, 217, 0.12);
    padding: 4px 10px;
    border-radius: 3px;
    margin-top: 4px;
    align-self: flex-start;
}

/* ── WHY AGIVELY ─────────────────────────────────────────────── */
.agively-why-section {
    background: #ffffff;
    padding: 88px 40px;
}

.agively-why-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 14px;
    line-height: 1.25;
}

.agively-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.agively-why-box {
    background: var(--color-primary-light);
    border-radius: 8px;
    padding: 28px 28px 32px;
}

.agively-why-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.agively-why-desc {
    font-size: 14px;
    color: var(--color-body);
    line-height: 1.7;
}

/* ── INDUSTRIES ──────────────────────────────────────────────── */
.agively-industries-section {
    background: #112A4A;
    padding: 88px 40px;
}

.agively-industries-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 14px;
    line-height: 1.25;
}

.agively-industries-section .section-intro {
    color: #B8CEDE;
    margin-bottom: 44px;
}

.agively-industry-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.agively-industry-pill {
    display: block;
    background: transparent;
    border: 0.5px solid rgba(30, 111, 217, 0.3);
    border-radius: 6px;
    padding: 14px 20px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    min-width: 170px;
}

.agively-industry-pill:hover {
    border-color: rgba(30, 111, 217, 0.65);
    background: rgba(30, 111, 217, 0.08);
    text-decoration: none;
}

.agively-pill-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-accent);
    display: block;
    margin-bottom: 3px;
}

.agively-pill-sub {
    font-size: 12px;
    color: var(--color-eyebrow);
    display: block;
}

.agively-see-all-white a {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 111, 217, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.agively-see-all-white a:hover {
    border-color: var(--color-accent);
}

/* ── HOW WE WORK ─────────────────────────────────────────────── */
.agively-how-section {
    background: var(--color-primary-light);
    padding: 88px 40px;
}

.agively-how-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 14px;
    line-height: 1.25;
}

.agively-how-section .section-intro {
    margin-bottom: 56px;
}

.agively-how-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 24px;
    position: relative;
    padding-top: 32px;
}

.agively-how-steps::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 1px;
    background: rgba(30, 111, 217, 0.25);
}

.agively-how-step {
    position: relative;
    padding-right: 8px;
}

.agively-how-dot {
    position: absolute;
    top: -24px;
    left: 0;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 3px solid var(--color-primary-light);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.agively-how-week {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    display: block;
}

.agively-how-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.agively-how-desc {
    font-size: 13px;
    color: var(--color-body);
    line-height: 1.65;
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.agively-testimonials-section {
    background: var(--color-primary);
    padding: 88px 40px;
}

.agively-testimonials-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 52px;
    line-height: 1.25;
}

.agively-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.agively-testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 28px;
}

.agively-stars {
    color: #F59E0B;
    font-size: 15px;
    margin-bottom: 18px;
    letter-spacing: 3px;
}

.agively-testimonial-quote {
    color: #B8CEDE;
    font-size: 15px;
    line-height: 1.72;
    margin-bottom: 24px;
    font-style: italic;
}

.agively-testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}

.agively-testimonial-role {
    font-size: 13px;
    color: var(--color-eyebrow);
    margin-bottom: 2px;
}

.agively-testimonial-company {
    font-size: 12px;
    color: rgba(184, 206, 222, 0.55);
}

/* ── BLOG ────────────────────────────────────────────────────── */
.agively-blog-section {
    background: #ffffff;
    padding: 88px 40px;
}

.agively-blog-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 52px;
    line-height: 1.25;
}

.agively-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}

.agively-blog-card {
    border: 0.5px solid var(--color-border);
    border-radius: 8px;
    padding: 28px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}

.agively-blog-card:hover {
    border-color: rgba(30, 111, 217, 0.45);
    text-decoration: none;
}

.agively-blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.agively-blog-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.agively-blog-dot {
    width: 3px;
    height: 3px;
    background: #CBD5E0;
    border-radius: 50%;
    flex-shrink: 0;
}

.agively-blog-date,
.agively-blog-read {
    font-size: 12px;
    color: #94A3B8;
}

.agively-blog-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
    margin-bottom: 12px;
}

.agively-blog-excerpt {
    font-size: 14px;
    color: var(--color-body);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.agively-blog-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: auto;
}

/* ── CTA BANNER ──────────────────────────────────────────────── */
.agively-cta-section {
    background: var(--color-primary);
    padding: 88px 40px;
    text-align: center;
    border-top: 0.5px solid rgba(255, 255, 255, 0.07);
}

.agively-cta-section h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 18px;
    max-width: 680px;
    line-height: 1.25;
}

.agively-cta-section p {
    color: #B8CEDE;
    font-size: 16px;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 40px;
}

.agively-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.agively-btn-secondary {
    display: inline-block;
    color: var(--color-eyebrow);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(126, 180, 240, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.agively-btn-secondary:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

/* ================================================================
   RESPONSIVE
================================================================ */

@media (max-width: 1024px) {
    .agively-services-grid,
    .agively-why-grid,
    .agively-testimonials-grid,
    .agively-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .agively-approach-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .agively-how-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 20px;
    }
    .agively-how-steps::before {
        display: none;
    }
    .agively-how-dot {
        position: static;
        display: block;
        margin-bottom: 12px;
    }
    .agively-how-step {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .agively-hero {
        padding: 80px 24px 60px;
    }
    .agively-stats-section,
    .agively-trusted-by,
    .agively-services-section,
    .agively-approach-section,
    .agively-why-section,
    .agively-industries-section,
    .agively-how-section,
    .agively-testimonials-section,
    .agively-blog-section,
    .agively-cta-section {
        padding: 60px 24px;
    }
    .agively-process-steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .agively-services-grid,
    .agively-why-grid,
    .agively-testimonials-grid,
    .agively-blog-grid {
        grid-template-columns: 1fr;
    }
    .agively-approach-steps {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .agively-how-steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .agively-stats-row {
        gap: 36px;
    }
    .agively-industry-pills {
        gap: 10px;
    }
    .agively-industry-pill {
        min-width: calc(50% - 5px);
        flex: 1 0 calc(50% - 5px);
    }
    .agively-hero-bullets {
        flex-direction: column;
        gap: 14px;
    }
    .agively-hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .agively-industry-pill {
        min-width: 100%;
        flex: 1 0 100%;
    }
}

/* ================================================================
   HOME v2 — Icon + Two-Column Hero + Vertical Timeline
================================================================ */

/* ── Section eyebrow with icon ───────────────────────────────── */
.agively-eyebrow-icon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.agively-eyebrow-icon.light { color: var(--color-eyebrow); }
.agively-eyebrow-icon.dark  { color: var(--color-body); }
.agively-eyebrow-icon i     { font-size: 14px; }

/* ── Hero: two-column row ────────────────────────────────────── */
.agively-hero-row {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}

/* Hero bullets with Tabler check icon */
.agively-hero-bullet i {
    color: var(--color-green);
    font-size: 16px;
    flex-shrink: 0;
}
.agively-hero-bullet:has(i)::before { display: none; }

/* ── Hero right panel ────────────────────────────────────────── */
.agively-hero-right-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 28px;
}
.agively-stats-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}
.agively-stat-compact-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 4px;
}
.agively-stat-compact-num.green { color: var(--color-green); }
.agively-stat-compact-label {
    font-size: 11px;
    color: #B8CEDE;
    line-height: 1.4;
}
.agively-how-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-eyebrow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.agively-how-steps-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.agively-how-step-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.agively-how-step-icon {
    width: 30px;
    height: 30px;
    background: rgba(30, 111, 217, 0.2);
    color: var(--color-eyebrow);
    font-size: 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.agively-how-step-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}
.agively-how-step-desc {
    font-size: 12px;
    color: #B8CEDE;
    line-height: 1.55;
}

/* ── Service card icon ───────────────────────────────────────── */
.agively-service-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--color-accent);
    margin-bottom: 14px;
}
.agively-service-link i { font-size: 13px; vertical-align: middle; }

/* ── Approach v2: sticky left + vertical timeline ────────────── */
.agively-approach-layout { align-items: start !important; }
.agively-approach-left   { position: sticky; top: 80px; }

.agively-approach-sticky-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 111, 217, 0.12);
    color: var(--color-eyebrow);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.agively-vtl {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 26px;
}
.agively-vtl::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: rgba(30, 111, 217, 0.3);
}
.agively-vtl-item {
    position: relative;
    padding-bottom: 36px;
}
.agively-vtl-item:last-child { padding-bottom: 0; }
.agively-vtl-dot {
    position: absolute;
    left: -26px;
    top: 7px;
    width: 13px;
    height: 13px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    z-index: 1;
}
.agively-vtl-week {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-eyebrow);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    display: block;
}
.agively-vtl-phase {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 8px;
}
.agively-vtl-body {
    font-size: 14px;
    color: #B8CEDE;
    line-height: 1.65;
    margin-bottom: 10px;
}
.agively-vtl-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(30, 111, 217, 0.12);
    padding: 4px 10px;
    border-radius: 3px;
}

/* ── Why Agively icon ────────────────────────────────────────── */
.agively-why-icon {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 0.5px solid var(--color-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-accent);
    margin-bottom: 14px;
}

/* ── Industry pills v2 (with icon) ──────────────────────────── */
.agively-industry-pill-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 0.5px solid rgba(30, 111, 217, 0.35);
    border-radius: 6px;
    padding: 12px 18px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    min-width: 180px;
}
.agively-industry-pill-v2:hover {
    border-color: rgba(30, 111, 217, 0.65);
    background: rgba(30, 111, 217, 0.08);
    text-decoration: none;
}
.agively-pill-icon {
    font-size: 20px;
    color: var(--color-eyebrow);
    flex-shrink: 0;
}

/* ── Blog card icon ──────────────────────────────────────────── */
.agively-blog-icon {
    width: 36px;
    height: 36px;
    background: var(--color-primary-light);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: var(--color-accent);
    margin-bottom: 14px;
}
.agively-blog-link i { font-size: 14px; vertical-align: middle; }

/* ── Testimonial: quote icon + star icons ────────────────────── */
.agively-quote-icon {
    font-size: 24px;
    color: rgba(30, 111, 217, 0.4);
    margin-bottom: 10px;
    display: block;
}
.agively-stars i {
    font-size: 14px;
    display: inline-block;
    margin-right: 1px;
}

/* ── CTA large icon ──────────────────────────────────────────── */
.agively-cta-icon {
    font-size: 38px;
    color: var(--color-accent);
    display: block;
    margin: 0 auto 16px;
}

/* ── Footer: social + nav icons ──────────────────────────────── */
.agively-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.agively-footer-soc {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.07);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B8CEDE;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.agively-footer-soc:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    text-decoration: none;
}
.agively-footer-link-icon {
    font-size: 13px;
    color: rgba(126, 180, 240, 0.45);
    vertical-align: middle;
    margin-right: 4px;
}

/* ── How-We-Work: icon inside circle dot ─────────────────────── */
.agively-how-dot-v2 {
    position: absolute;
    top: -28px;
    left: 0;
    width: 18px;
    height: 18px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 2px solid var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.agively-how-dot-v2 i { font-size: 9px; color: #ffffff; line-height: 1; }

/* ── Responsive additions ────────────────────────────────────── */
@media (max-width: 1024px) {
    .agively-hero-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .agively-approach-left { position: static; }
}
@media (max-width: 768px) {
    .agively-stats-compact { grid-template-columns: repeat(3, 1fr); }
    .agively-industry-pill-v2 {
        min-width: calc(50% - 6px);
        flex: 1 0 calc(50% - 6px);
    }
}
@media (max-width: 480px) {
    .agively-industry-pill-v2 { min-width: 100%; flex: 1 0 100%; }
}

/* ================================================================
   HEADER + FOOTER RESPONSIVE
   ================================================================ */

/* Tablet: hide desktop nav + CTA, show hamburger */
@media (max-width: 900px) {
    /* Hide the desktop nav — mobile drawer handles navigation */
    /* Use !important to override framework's fixed-panel slide-in at this breakpoint */
    .site-nav,
    .site-nav.is-open {
        display: none !important;
        position: static !important;
        right: auto !important;
        height: auto !important;
        visibility: hidden !important;
    }

    .site-header__cta { display: none; }
    .site-header__toggle { display: flex; }

    /* Footer: 2 cols */
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile: full single column */
@media (max-width: 540px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .site-footer__tagline {
        max-width: none;
    }
    .site-footer__legal-inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .site-header__inner {
        padding: 0 1rem;
    }
}

/* ============================================================
   AGIVELY CSS EXTENSION — All-Pages Component Styles
   Appended: June 2026
   Covers all custom classes introduced in pages other than
   homepage. Design tokens: see root vars above.
============================================================ */

/* ----------------------------------------------------------
   SECTION BACKGROUNDS (missing variants)
---------------------------------------------------------- */

.agively-section-mid {
  background-color: #F0F4F9;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
.agively-section-accent-bg {
  background-color: #1E6FD9;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
/* accent-bg text overrides */
.agively-section-accent-bg .agively-h2,
.agively-section-accent-bg .wp-block-heading {
  color: #ffffff;
}
.agively-section-accent-bg .agively-p-muted,
.agively-section-accent-bg p {
  color: rgba(255,255,255,0.85);
}

/* ----------------------------------------------------------
   SECTION INNER MODIFIERS
---------------------------------------------------------- */

.agively-section-inner--narrow {
  max-width: 740px !important;
}
.agively-section-inner--center {
  text-align: center;
}
.agively-section-inner--center .wp-block-buttons {
  justify-content: center;
}

/* ----------------------------------------------------------
   COLUMN LAYOUT HELPERS
---------------------------------------------------------- */

.agively-cols-2 { column-gap: 3rem; }
.agively-cols-3 { column-gap: 2rem; }

/* ----------------------------------------------------------
   TYPOGRAPHY ADDITIONS
---------------------------------------------------------- */

.agively-h3 {
  color: #0B1F3A;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1rem;
}
/* h3 inside dark sections */
.agively-section-dark .agively-h3,
.agively-section-cta .agively-h3 {
  color: #ffffff;
}
/* h3 inside mid/accent sections */
.agively-section-mid .agively-h3 {
  color: #0B1F3A;
}

.agively-h2--center {
  text-align: center;
}
.agively-p-center {
  text-align: center;
}
.agively-p-lead {
  color: #B8CEDE;
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
/* p-lead on light sections */
.agively-section-light .agively-p-lead,
.agively-section-mid .agively-p-lead,
.agively-section-pale .agively-p-lead {
  color: #334155;
}

/* ----------------------------------------------------------
   BUTTON: GHOST (dark/mid background)
---------------------------------------------------------- */

.wp-block-button.agively-btn-ghost .wp-block-button__link {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.wp-block-button.agively-btn-ghost .wp-block-button__link:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
/* Ghost on pale/light bg (contact page) */
.agively-section-light .wp-block-button.agively-btn-ghost .wp-block-button__link,
.agively-section-mid .wp-block-button.agively-btn-ghost .wp-block-button__link {
  color: #0B1F3A;
  border-color: rgba(11,31,58,0.25);
}
.agively-section-light .wp-block-button.agively-btn-ghost .wp-block-button__link:hover,
.agively-section-mid .wp-block-button.agively-btn-ghost .wp-block-button__link:hover {
  background: rgba(11,31,58,0.05);
  border-color: rgba(11,31,58,0.5);
}

/* ----------------------------------------------------------
   STATS — class alias fix (pages use -item/-num)
---------------------------------------------------------- */

.agively-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.agively-stat-num {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #1E6FD9;
  line-height: 1;
}
/* stat-num on dark backgrounds */
.agively-section-dark .agively-stat-num,
.agively-section-cta .agively-stat-num {
  color: #7EB4F0;
}
/* stat-num on light backgrounds */
.agively-section-light .agively-stat-num,
.agively-section-pale .agively-stat-num,
.agively-section-mid .agively-stat-num {
  color: #1E6FD9;
}
.agively-stats-row--4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

/* Stat callout (service pages) */
.agively-stat-callout {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #F0F4F9;
  border-left: 4px solid #1E6FD9;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.agively-stat-callout-num {
  font-size: 40px;
  font-weight: 800;
  color: #1E6FD9;
  white-space: nowrap;
  flex-shrink: 0;
}
.agively-stat-callout-text {
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   TAG ROWS & PILLS
---------------------------------------------------------- */

.agively-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.agively-tag {
  display: inline-block;
  background: rgba(30,111,217,0.08);
  color: #1E6FD9;
  border: 1px solid rgba(30,111,217,0.2);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  letter-spacing: 0.02em;
}
.agively-tag--active {
  background: #1E6FD9;
  color: #ffffff;
  border-color: #1E6FD9;
}
/* Tags on dark backgrounds */
.agively-section-dark .agively-tag,
.agively-section-cta .agively-tag {
  background: rgba(126,180,240,0.12);
  color: #7EB4F0;
  border-color: rgba(126,180,240,0.25);
}
.agively-industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.agively-industry-tag {
  background: rgba(255,255,255,0.1);
  color: #B8CEDE;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
}

/* ----------------------------------------------------------
   BLOCKQUOTE
---------------------------------------------------------- */

.agively-blockquote {
  border-left: 3px solid #1E6FD9;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: rgba(30,111,217,0.04);
  border-radius: 0 6px 6px 0;
}
.agively-blockquote p {
  font-size: 16px;
  font-style: italic;
  color: #334155;
  margin: 0 0 0.5rem;
}
.agively-blockquote cite {
  font-size: 13px;
  color: #64748B;
  font-style: normal;
}

/* ----------------------------------------------------------
   HERO PANEL (service page right-side stat card)
---------------------------------------------------------- */

.agively-hero-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  text-align: center;
}
.agively-hero-panel-label {
  font-size: 11px;
  font-weight: 600;
  color: #7EB4F0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.agively-hero-panel-stat {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.agively-hero-panel-sublabel {
  font-size: 13px;
  color: #B8CEDE;
}

/* ----------------------------------------------------------
   CONVICTION CARDS (about / industries)
---------------------------------------------------------- */

.agively-conviction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.agively-conviction-card {
  background: #ffffff;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.75rem;
}
.agively-section-dark .agively-conviction-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.agively-conviction-icon {
  width: 44px;
  height: 44px;
  background: rgba(30,111,217,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #1E6FD9;
  font-size: 20px;
}
.agively-section-dark .agively-conviction-icon {
  background: rgba(126,180,240,0.12);
  color: #7EB4F0;
}
.agively-conviction-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.5rem;
}
.agively-section-dark .agively-conviction-card h3 { color: #ffffff; }
.agively-conviction-card p {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}
.agively-section-dark .agively-conviction-card p { color: #B8CEDE; }

/* ----------------------------------------------------------
   DIFF GRID (what makes us different)
---------------------------------------------------------- */

.agively-diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.agively-diff-item {
  padding: 1.5rem;
  border-radius: 8px;
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
}
.agively-diff-icon {
  font-size: 22px;
  color: #1E6FD9;
  margin-bottom: 0.75rem;
}
.agively-diff-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.4rem;
}
.agively-diff-item p {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

/* ----------------------------------------------------------
   DNA / CULTURE ITEMS (about)
---------------------------------------------------------- */

.agively-dna-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.agively-dna-item:last-child { border-bottom: none; }
.agively-dna-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(126,180,240,0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7EB4F0;
  font-size: 16px;
}
.agively-dna-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem;
}
.agively-dna-item p {
  font-size: 14px;
  color: #B8CEDE;
  margin: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   ADVISORY CARDS
---------------------------------------------------------- */

.agively-advisory-facts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.25rem 0 2rem;
}
.agively-advisory-fact {
  font-size: 14px;
  color: #B8CEDE;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}
.agively-advisory-fact i { color: #7EB4F0; margin-top: 2px; flex-shrink: 0; }
.agively-advisory-card {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.75rem;
}
.agively-advisory-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem;
}
.agively-advisory-card p {
  font-size: 14px;
  color: #B8CEDE;
  line-height: 1.65;
  margin: 0 0 1rem;
}

/* ----------------------------------------------------------
   PRINCIPLE ITEMS (responsible AI section)
---------------------------------------------------------- */

.agively-principle-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.agively-principle-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}
.agively-principle-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.3rem;
}
.agively-principle-item p {
  font-size: 14px;
  color: #B8CEDE;
  margin: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   PAIN GRID (service pages — problem statements)
---------------------------------------------------------- */

.agively-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.agively-pain-item {
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.5rem;
}
.agively-pain-icon {
  font-size: 22px;
  color: #1E6FD9;
  margin-bottom: 0.75rem;
}
.agively-pain-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.agively-pain-item p {
  font-size: 14px;
  color: #334155;
  margin: 0;
  line-height: 1.65;
}

/* ----------------------------------------------------------
   ENGAGEMENT LIST (service pages)
---------------------------------------------------------- */

.agively-engagement-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}
.agively-engagement-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-bottom: 0.5px solid #E2E8F0;
  background: #ffffff;
}
.agively-engagement-item:last-child { border-bottom: none; }
.agively-engagement-num {
  font-size: 28px;
  font-weight: 800;
  color: #1E6FD9;
  opacity: 0.25;
  line-height: 1;
  min-width: 42px;
  padding-top: 4px;
}
.agively-engagement-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.5rem;
}
.agively-engagement-body p {
  font-size: 14px;
  color: #334155;
  margin: 0 0 0.75rem;
  line-height: 1.65;
}
.agively-engagement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.agively-engagement-tags span {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  background: #F0F4F9;
  border-radius: 3px;
  padding: 2px 8px;
}

/* Engagement cards (on-demand resources) */
.agively-engagement-card {
  background: #ffffff;
  border: 0.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 1.75rem;
  position: relative;
}
.agively-engagement-card--featured {
  border-color: #1E6FD9;
  box-shadow: 0 0 0 2px rgba(30,111,217,0.15);
}
.agively-engagement-badge {
  display: inline-block;
  background: #1E6FD9;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}
.agively-engagement-best {
  font-size: 12px;
  color: #64748B;
  margin: 0 0 0.5rem;
}
.agively-engagement-duration {
  font-size: 12px;
  font-weight: 600;
  color: #1E6FD9;
  margin: 0.75rem 0 0;
}
.agively-engagement-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 0.5px solid #E2E8F0;
}
.agively-engagement-details p {
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

/* ----------------------------------------------------------
   BEFORE/AFTER COMPARISONS
---------------------------------------------------------- */

.agively-comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.agively-comparison-col {
  padding: 1.5rem;
}
.agively-comparison-col--bad {
  background: #FFF5F5;
  border-right: 0.5px solid #E2E8F0;
}
.agively-comparison-col--good {
  background: #F0F7FF;
}
.agively-comparison-col-header {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.5px solid #E2E8F0;
}
.agively-comparison-col--bad .agively-comparison-col-header { color: #DC2626; }
.agively-comparison-col--good .agively-comparison-col-header { color: #16A34A; }
.agively-comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 14px;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.agively-comparison-item--bad { color: #334155; }
.agively-comparison-item--bad::before {
  content: "✗";
  color: #DC2626;
  font-weight: 700;
  flex-shrink: 0;
}
.agively-comparison-item--good { color: #334155; }
.agively-comparison-item--good::before {
  content: "✓";
  color: #16A34A;
  font-weight: 700;
  flex-shrink: 0;
}

/* Before/after panel grid */
.agively-before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.agively-before-after-panel {
  border-radius: 8px;
  overflow: hidden;
}
.agively-ba-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.agively-ba-col {
  padding: 1.25rem;
}
.agively-ba-col--before {
  background: #FFF5F5;
  border-right: 0.5px solid #E2E8F0;
}
.agively-ba-col--after {
  background: #F0F7FF;
}
.agively-ba-col-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.agively-ba-col--before .agively-ba-col-label { color: #DC2626; }
.agively-ba-col--after .agively-ba-col-label { color: #16A34A; }
.agively-ba-item {
  font-size: 14px;
  color: #334155;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.agively-ba-title {
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.25rem;
}
.agively-ba-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 0.25rem;
}
.agively-ba-desc {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}
.agively-ba-before, .agively-ba-after {
  padding: 1.25rem;
}
.agively-ba-before {
  background: #FFF5F5;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid #E2E8F0;
}
.agively-ba-after {
  background: #F0F7FF;
  border-radius: 0 0 8px 8px;
}

/* ----------------------------------------------------------
   ROLE GRID (on-demand resources)
---------------------------------------------------------- */

.agively-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.agively-role-card {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}
.agively-role-icon {
  font-size: 28px;
  color: #7EB4F0;
  margin-bottom: 0.75rem;
  display: block;
}
.agively-role-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem;
}
.agively-role-card p {
  font-size: 13px;
  color: #B8CEDE;
  margin: 0 0 0.75rem;
}
.agively-role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

/* ----------------------------------------------------------
   SPECTRUM LIST (engagement model tiers)
---------------------------------------------------------- */

.agively-spectrum-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.agively-spectrum-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}
.agively-spectrum-num {
  font-size: 24px;
  font-weight: 800;
  color: #7EB4F0;
  min-width: 32px;
  line-height: 1;
  padding-top: 3px;
}
.agively-spectrum-level {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.2rem;
}
.agively-spectrum-scope {
  font-size: 12px;
  font-weight: 600;
  color: #7EB4F0;
  margin: 0 0 0.4rem;
}
.agively-spectrum-body {
  font-size: 14px;
  color: #B8CEDE;
  line-height: 1.6;
  margin: 0;
}
.agively-spectrum-body h3 {
  font-size: 16px !important;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.35rem !important;
  line-height: 1.3;
}
.agively-spectrum-body p {
  font-size: 14px;
  color: #B8CEDE;
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   FAQ LIST
---------------------------------------------------------- */

.agively-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.agively-faq-item {
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
}
.agively-faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.5rem;
}
.agively-faq-item p {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

/* ----------------------------------------------------------
   BENEFIT GRID
---------------------------------------------------------- */

.agively-benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.agively-benefit-item {
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
}
/* Benefit items on light sections */
.agively-section-light .agively-benefit-item,
.agively-section-pale .agively-benefit-item,
.agively-section-mid .agively-benefit-item {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
.agively-benefit-icon {
  font-size: 24px;
  color: #7EB4F0;
  margin-bottom: 0.85rem;
  display: block;
}
.agively-section-light .agively-benefit-icon,
.agively-section-pale .agively-benefit-icon,
.agively-section-mid .agively-benefit-icon {
  color: #1E6FD9;
}
.agively-benefit-item h3 {
  font-size: 15px !important;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem !important;
  line-height: 1.3;
}
.agively-section-light .agively-benefit-item h3,
.agively-section-pale .agively-benefit-item h3,
.agively-section-mid .agively-benefit-item h3 {
  color: #0B1F3A !important;
}
.agively-benefit-item p {
  font-size: 14px;
  color: #B8CEDE;
  margin: 0;
  line-height: 1.65;
}
.agively-section-light .agively-benefit-item p,
.agively-section-pale .agively-benefit-item p,
.agively-section-mid .agively-benefit-item p {
  color: #475569;
}

/* ----------------------------------------------------------
   DELIVERABLES GRID
---------------------------------------------------------- */

.agively-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.agively-deliverable {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}
.agively-deliverable-icon {
  font-size: 20px;
  color: #7EB4F0;
  flex-shrink: 0;
  padding-top: 2px;
}
.agively-deliverable strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 0.2rem;
}
.agively-deliverable p {
  font-size: 13px;
  color: #B8CEDE;
  margin: 0;
}

/* ----------------------------------------------------------
   TOOL GRID
---------------------------------------------------------- */

.agively-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
}
.agively-tool-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}
.agively-tool-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(126,180,240,0.25);
}
.agively-tool-abbr {
  min-width: 40px;
  height: 40px;
  background: rgba(30,111,217,0.2);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #7EB4F0;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.agively-tool-item > div { flex: 1; }
.agively-tool-item h4 {
  font-size: 13px !important;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.2rem !important;
  line-height: 1.3;
}
.agively-tool-item p {
  font-size: 12px;
  color: rgba(184,206,222,0.75);
  margin: 0;
  line-height: 1.5;
}
.agively-tool-item span {
  font-size: 12px;
  color: #B8CEDE;
}
.agively-toolchain-section {
  margin: 1.75rem 0;
}
.agively-toolchain-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(126,180,240,0.7);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.agively-toolchain-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: rgba(126,180,240,0.4);
}

/* ----------------------------------------------------------
   WORKFLOW GRID
---------------------------------------------------------- */

.agively-workflow-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.agively-workflow-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
}
.agively-workflow-icon {
  font-size: 22px;
  color: #1E6FD9;
  flex-shrink: 0;
  padding-top: 2px;
}
.agively-workflow-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.3rem;
}
.agively-workflow-item p {
  font-size: 14px;
  color: #334155;
  margin: 0;
  line-height: 1.6;
}
.agively-workflow-saving {
  font-size: 12px;
  font-weight: 700;
  color: #16A34A;
  margin-top: 0.4rem;
  display: block;
}

/* ----------------------------------------------------------
   STAGE / PROCESS LISTS (timeline-style vertical lists)
---------------------------------------------------------- */

.agively-stages-list,
.agively-process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
  position: relative;
}
.agively-stages-list::before,
.agively-process-list::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(30,111,217,0.15);
}
.agively-stage-item,
.agively-process-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.75rem;
  position: relative;
}
.agively-stage-item:last-child,
.agively-process-item:last-child {
  padding-bottom: 0;
}
.agively-stage-marker,
.agively-process-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 52px;
  position: relative;
  z-index: 1;
  padding-top: 2px;
}
.agively-stage-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #1E6FD9;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.agively-stage-body,
.agively-process-body { flex: 1; }
.agively-stage-body h3,
.agively-process-body h3 {
  font-size: 16px !important;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.4rem !important;
  padding-top: 4px;
  line-height: 1.3;
}
.agively-stage-body p,
.agively-process-body p {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.65;
}
.agively-stage-duration {
  font-size: 10px;
  font-weight: 600;
  color: #7EB4F0;
  display: block;
  text-align: center;
  white-space: nowrap;
  background: rgba(30,111,217,0.12);
  border-radius: 4px;
  padding: 2px 6px;
}
.agively-stage-output,
.agively-process-output {
  margin-top: 0.75rem;
  font-size: 12px;
  font-weight: 600;
  color: #1E6FD9;
  background: rgba(30,111,217,0.06);
  border: 0.5px solid rgba(30,111,217,0.2);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  display: inline-block;
}

/* Dark-bg overrides */
.agively-section-dark .agively-stage-body h3,
.agively-section-dark .agively-process-body h3 { color: #ffffff; }
.agively-section-dark .agively-stage-body p,
.agively-section-dark .agively-process-body p { color: #B8CEDE; }
.agively-section-dark .agively-stages-list::before,
.agively-section-dark .agively-process-list::before {
  background: rgba(255,255,255,0.1);
}

/* ----------------------------------------------------------
   TIMELINE (horizontal variant)
---------------------------------------------------------- */

.agively-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
}
.agively-timeline--horizontal {
  flex-direction: row;
  align-items: flex-start;
}
.agively-timeline-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  position: relative;
}
.agively-timeline-marker {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #1E6FD9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}
.agively-timeline-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.3rem;
  padding-top: 4px;
}
.agively-timeline-body p {
  font-size: 14px;
  color: #334155;
  margin: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   PILLAR LIST
---------------------------------------------------------- */

.agively-pillar-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.agively-pillar-item {
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.agively-pillar-num {
  font-size: 32px;
  font-weight: 800;
  color: #7EB4F0;
  opacity: 0.3;
  line-height: 1;
  min-width: 40px;
}
.agively-pillar-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.4rem;
}
.agively-pillar-body p {
  font-size: 14px;
  color: #B8CEDE;
  margin: 0;
  line-height: 1.6;
}
.agively-pillar-outcome {
  font-size: 13px;
  font-weight: 700;
  color: #7EB4F0;
  margin-top: 0.5rem;
}
.agively-pillar-tags {
  margin-top: 0.5rem;
}

/* ----------------------------------------------------------
   FIVER LIST (5-point service cards)
---------------------------------------------------------- */

.agively-fiver-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.agively-fiver-item {
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
}
.agively-fiver-item--featured {
  background: #0B1F3A;
  border-color: #1E6FD9;
}
.agively-fiver-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 0.5rem;
}
.agively-fiver-item--featured .agively-fiver-tag { color: #7EB4F0; }
.agively-fiver-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.5rem;
}
.agively-fiver-item--featured h3 { color: #ffffff; }
.agively-fiver-item p {
  font-size: 14px;
  color: #334155;
  margin: 0;
  line-height: 1.6;
}
.agively-fiver-item--featured p { color: #B8CEDE; }
.agively-fiver-best {
  font-size: 12px;
  font-weight: 600;
  color: #1E6FD9;
  background: rgba(30,111,217,0.08);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  margin-top: 0.75rem;
  display: block;
  line-height: 1.5;
}
.agively-fiver-item--featured .agively-fiver-best {
  color: #7EB4F0;
  background: rgba(126,180,240,0.08);
}

/* ----------------------------------------------------------
   GUARANTEE / WARNING GRIDS
---------------------------------------------------------- */

.agively-guarantee-grid,
.agively-warning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.agively-guarantee-item,
.agively-warning-item {
  padding: 1.25rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
}
/* Warning/guarantee items on light sections */
.agively-section-light .agively-warning-item,
.agively-section-pale .agively-warning-item,
.agively-section-mid .agively-warning-item,
.agively-section-light .agively-guarantee-item,
.agively-section-pale .agively-guarantee-item,
.agively-section-mid .agively-guarantee-item {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
.agively-guarantee-icon,
.agively-warning-icon {
  font-size: 22px;
  margin-bottom: 0.75rem;
  display: block;
}
.agively-guarantee-icon { color: #7EB4F0; }
.agively-warning-icon { color: #FBBF24; }
.agively-section-light .agively-warning-icon,
.agively-section-pale .agively-warning-icon,
.agively-section-mid .agively-warning-icon { color: #D97706; }
.agively-guarantee-item h3,
.agively-warning-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.4rem;
}
.agively-section-light .agively-warning-item h3,
.agively-section-pale .agively-warning-item h3,
.agively-section-mid .agively-warning-item h3,
.agively-section-light .agively-guarantee-item h3,
.agively-section-pale .agively-guarantee-item h3,
.agively-section-mid .agively-guarantee-item h3 { color: #0B1F3A !important; }
.agively-guarantee-item p,
.agively-warning-item p {
  font-size: 14px;
  color: #B8CEDE;
  margin: 0;
  line-height: 1.6;
}
.agively-section-light .agively-warning-item p,
.agively-section-pale .agively-warning-item p,
.agively-section-mid .agively-warning-item p,
.agively-section-light .agively-guarantee-item p,
.agively-section-pale .agively-guarantee-item p,
.agively-section-mid .agively-guarantee-item p { color: #475569; }

/* ----------------------------------------------------------
   CALLOUT / ASIDE BOX
---------------------------------------------------------- */
.agively-callout {
  background: rgba(30,111,217,0.1);
  border: 0.5px solid rgba(30,111,217,0.25);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  margin: 1.25rem 0;
}
.agively-callout-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7EB4F0;
  margin-bottom: 0.4rem;
  display: block;
}
.agively-callout p {
  font-size: 14px;
  color: #B8CEDE;
  margin: 0;
  line-height: 1.65;
}
/* Callout on light sections */
.agively-section-light .agively-callout,
.agively-section-pale .agively-callout,
.agively-section-mid .agively-callout {
  background: rgba(30,111,217,0.06);
  border-color: rgba(30,111,217,0.2);
}
.agively-section-light .agively-callout-label,
.agively-section-pale .agively-callout-label,
.agively-section-mid .agively-callout-label { color: #1E6FD9; }
.agively-section-light .agively-callout p,
.agively-section-pale .agively-callout p,
.agively-section-mid .agively-callout p { color: #334155; }

/* ----------------------------------------------------------
   COST CARDS
---------------------------------------------------------- */

.agively-cost-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}
.agively-cost-num {
  font-size: 36px;
  font-weight: 800;
  color: #7EB4F0;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.agively-cost-label {
  font-size: 13px;
  color: #B8CEDE;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.agively-cost-source {
  font-size: 11px;
  color: rgba(184,206,222,0.5);
}
/* Cost cards on light sections */
.agively-section-light .agively-cost-card,
.agively-section-pale .agively-cost-card,
.agively-section-mid .agively-cost-card {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
.agively-section-light .agively-cost-num,
.agively-section-pale .agively-cost-num,
.agively-section-mid .agively-cost-num { color: #1E6FD9; }
.agively-section-light .agively-cost-label,
.agively-section-pale .agively-cost-label,
.agively-section-mid .agively-cost-label { color: #334155; }
.agively-section-light .agively-cost-card p,
.agively-section-pale .agively-cost-card p,
.agively-section-mid .agively-cost-card p { color: #475569; }
.agively-section-light .agively-cost-source,
.agively-section-pale .agively-cost-source,
.agively-section-mid .agively-cost-source { color: #94A3B8; }

/* ----------------------------------------------------------
   CODE PANEL (AI dev page)
---------------------------------------------------------- */

.agively-code-panel {
  background: #071526;
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}
.agively-code-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.agively-code-panel-dots {
  display: flex;
  gap: 5px;
}
.agively-code-panel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.agively-code-panel-dots span:nth-child(1) { background: #FF5F57; }
.agively-code-panel-dots span:nth-child(2) { background: #FEBC2E; }
.agively-code-panel-dots span:nth-child(3) { background: #28C840; }
.agively-code-panel-title {
  font-size: 11px;
  color: rgba(184,206,222,0.4);
  letter-spacing: 0.02em;
}
.agively-code-panel-body {
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.agively-code-line {
  display: flex;
  gap: 0.6rem;
  font-size: 12px;
  line-height: 1.5;
}
.agively-code-user,
.agively-code-ai {
  font-weight: 700;
  flex-shrink: 0;
  min-width: 54px;
}
.agively-code-user { color: #7EB4F0; }
.agively-code-ai { color: #34D399; }
.agively-code-cmd { color: rgba(255,255,255,0.85); }
.agively-code-text { color: rgba(184,206,222,0.75); }
.agively-code-panel-stats {
  display: flex;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}
.agively-code-panel-stats > div {
  flex: 1;
  padding: 0.85rem 1rem;
  border-right: 0.5px solid rgba(255,255,255,0.06);
  text-align: center;
}
.agively-code-panel-stats > div:last-child { border-right: none; }
.agively-code-stat-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #7EB4F0;
  line-height: 1;
}
.agively-code-stat-label {
  display: block;
  font-size: 10px;
  color: rgba(184,206,222,0.45);
  margin-top: 3px;
}
.agively-code-panel-label {
  font-size: 10px;
  color: rgba(184,206,222,0.35);
  padding: 0.5rem 1rem;
  text-align: center;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}

/* Testimonials on light/mid sections */
.agively-section-mid .agively-testimonial-card,
.agively-section-light .agively-testimonial-card,
.agively-section-pale .agively-testimonial-card {
  background: #ffffff;
  border-color: #E2E8F0;
  box-shadow: 0 1px 4px rgba(11,31,58,0.06);
}
.agively-section-mid .agively-testimonial-card blockquote,
.agively-section-light .agively-testimonial-card blockquote,
.agively-section-pale .agively-testimonial-card blockquote {
  color: #334155;
}
.agively-section-mid .agively-testimonial-name,
.agively-section-light .agively-testimonial-name,
.agively-section-pale .agively-testimonial-name {
  color: #0B1F3A;
}

/* ----------------------------------------------------------
   APPROACH GRID (3-col, how we think before we build)
---------------------------------------------------------- */
.agively-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}
.agively-approach-item {
  padding: 1.75rem;
  background: #ffffff;
  border: 0.5px solid #E2E8F0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.agively-approach-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1E6FD9, #7EB4F0);
}
.agively-approach-icon {
  font-size: 26px;
  color: #1E6FD9;
  margin-bottom: 1rem;
  display: block;
}
.agively-approach-item h3 {
  font-size: 16px !important;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.6rem !important;
  line-height: 1.3;
}
.agively-approach-item p {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.65;
}

/* ----------------------------------------------------------
   PRODUCT TYPES GRID
---------------------------------------------------------- */
.agively-product-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.75rem 0;
}
.agively-product-type-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s;
}
.agively-product-type-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(126,180,240,0.3);
}
.agively-product-type-item i {
  font-size: 20px;
  color: #7EB4F0;
  flex-shrink: 0;
}
.agively-product-type-item strong {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  display: block;
  line-height: 1.3;
}
.agively-product-type-item span {
  font-size: 12px;
  color: rgba(184,206,222,0.6);
  display: block;
  margin-top: 1px;
}

/* ----------------------------------------------------------
   CTA BULLETS
---------------------------------------------------------- */

.agively-cta-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}
.agively-cta-bullets span {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.agively-cta-bullets i { color: #7EB4F0; }

/* Technologies list */
.agively-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

/* ----------------------------------------------------------
   TESTIMONIALS (new format)
---------------------------------------------------------- */

.agively-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.agively-testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.75rem;
}
.agively-testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: #FBBF24;
  font-size: 14px;
}
.agively-testimonial-quote {
  font-size: 15px;
  color: #B8CEDE;
  font-style: italic;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}
.agively-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.agively-testimonial-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(30,111,217,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #7EB4F0;
}
.agively-testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}
.agively-testimonial-role {
  font-size: 12px;
  color: #7EB4F0;
}
.agively-testimonial-company {
  font-size: 12px;
  color: rgba(184,206,222,0.6);
}

/* ----------------------------------------------------------
   SERVICE GRID (services.html)
---------------------------------------------------------- */

.agively-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.agively-service-card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: #7EB4F0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: block;
}
.agively-section-light .agively-service-card-eyebrow,
.agively-section-mid .agively-service-card-eyebrow { color: #1E6FD9; }
.agively-service-card-icon {
  font-size: 28px;
  color: #7EB4F0;
  margin-bottom: 0.75rem;
  display: block;
}
.agively-service-card-timeline {
  font-size: 12px;
  color: #64748B;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}
.agively-service-card-timeline::before {
  font-family: 'tabler-icons';
  content: '\ea70'; /* ti-clock */
  font-size: 14px;
  color: #1E6FD9;
  line-height: 1;
  font-style: normal;
}
.agively-service-includes {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}
.agively-service-includes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.agively-service-includes li {
  font-size: 13px;
  color: #475569;
  padding: 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.agively-service-includes li::before {
  content: "·";
  color: #7EB4F0;
  font-weight: 700;
}

/* ----------------------------------------------------------
   INDUSTRY NAV
---------------------------------------------------------- */

.agively-industry-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.agively-industry-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.agively-industry-nav-link:hover {
  border-color: #1E6FD9;
  background: #EBF4FF;
}
.agively-industry-nav-link i {
  font-size: 22px;
  color: #1E6FD9;
  margin-bottom: 0.25rem;
}
.agively-industry-nav-link strong {
  font-size: 13px;
  font-weight: 700;
  color: #0B1F3A;
  display: block;
}
.agively-industry-nav-link span {
  font-size: 11px;
  color: #64748B;
}

/* ----------------------------------------------------------
   INDUSTRY OUTCOMES (stats on dark sections)
---------------------------------------------------------- */

.agively-industry-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 0.5px solid rgba(255,255,255,0.1);
}
.agively-industry-outcome {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.agively-industry-outcome-num {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: #7EB4F0;
  line-height: 1;
}
.agively-industry-outcome-label {
  font-size: 13px;
  color: #B8CEDE;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   FEATURED CASE (industries page)
---------------------------------------------------------- */

.agively-featured-case {
  border: 0.5px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.agively-featured-case-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1E6FD9;
  background: #EBF4FF;
  padding: 0.5rem 1.5rem;
  border-bottom: 0.5px solid #E2E8F0;
}
.agively-featured-case-title {
  font-size: 18px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0;
  padding: 1.25rem 1.5rem 0.75rem;
}
.agively-featured-case-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.agively-featured-case-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-top: 0.5px solid #E2E8F0;
}
.agively-featured-case-block h4 {
  font-size: 13px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.agively-featured-case-block p {
  font-size: 14px;
  color: #334155;
  margin: 0;
  line-height: 1.65;
}
.agively-featured-case-block-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.agively-featured-case-block-icon.problem {
  background: #FEF2F2;
  color: #DC2626;
}
.agively-featured-case-block-icon.solution {
  background: #EFF6FF;
  color: #1E6FD9;
}
.agively-featured-case-block-icon.outcome {
  background: #F0FDF4;
  color: #16A34A;
}

/* Case metrics strip */
.agively-case-metrics {
  display: flex;
  gap: 0;
  border-top: 0.5px solid #E2E8F0;
  background: #F8FAFC;
}
.agively-case-metric {
  flex: 1;
  padding: 1rem 1.5rem;
  border-right: 0.5px solid #E2E8F0;
}
.agively-case-metric:last-child { border-right: none; }
.agively-case-metric-num {
  font-size: 20px;
  font-weight: 800;
  color: #1E6FD9;
  display: block;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.agively-case-metric-label {
  font-size: 12px;
  color: #64748B;
  line-height: 1.4;
}

/* Case grid (3 cards) */
.agively-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.agively-case-card {
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.5rem;
}
.agively-case-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}
.agively-case-card p {
  font-size: 14px;
  color: #334155;
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

/* Industry BA card */
.agively-industry-ba-card {
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.5rem;
}

/* ----------------------------------------------------------
   BLOG INDEX — FEATURED ARTICLE
---------------------------------------------------------- */

.agively-blog-featured {
  border: 0.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 2rem;
  background: #ffffff;
}
.agively-blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.agively-blog-featured-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
.agively-blog-featured-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.agively-blog-featured-excerpt {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.agively-blog-featured-callout {
  background: #F0F7FF;
  border: 0.5px solid rgba(30,111,217,0.2);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}
.agively-blog-featured-callout strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1E6FD9;
  margin-bottom: 0.5rem;
}
.agively-blog-featured-callout ul {
  margin: 0;
  padding-left: 1.25rem;
}
.agively-blog-featured-callout li {
  font-size: 13px;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 0.25rem;
}
.agively-blog-category {
  display: inline-block;
  background: rgba(30,111,217,0.08);
  color: #1E6FD9;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.agively-section-dark .agively-blog-category {
  background: rgba(126,180,240,0.12);
  color: #7EB4F0;
}
.agively-blog-read-time {
  font-size: 12px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.agively-section-dark .agively-blog-read-time { color: rgba(184,206,222,0.6); }
.agively-blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 14px;
  font-weight: 600;
  color: #1E6FD9;
  text-decoration: none;
  margin-top: 0.75rem;
  transition: gap 0.15s ease;
}
.agively-blog-read-link:hover { gap: 0.6rem; }
.agively-blog-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #1E6FD9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.agively-blog-author {
  font-size: 13px;
  font-weight: 600;
  color: #0B1F3A;
}
.agively-section-dark .agively-blog-author { color: #B8CEDE; }

/* Blog card (index grid cards — new format) */
.agively-blog-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0.5rem 0 0.4rem;
  line-height: 1.35;
}
.agively-blog-card-excerpt {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 0.75rem;
}
.agively-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

/* ----------------------------------------------------------
   BLOG POST — POST META & BYLINE
---------------------------------------------------------- */

.agively-blog-post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.agively-blog-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 0.5px solid rgba(255,255,255,0.1);
}
.agively-blog-byline strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: block;
}
.agively-blog-byline span:not(.agively-blog-avatar) {
  font-size: 12px;
  color: rgba(184,206,222,0.6);
}

/* ----------------------------------------------------------
   BLOG POST — POC COMPARE PANEL
---------------------------------------------------------- */

.agively-poc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.agively-poc-col {
  border-radius: 8px;
  padding: 1.25rem;
}
.agively-poc-col--yes {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}
.agively-poc-col--no {
  background: #FFF5F5;
  border: 1px solid #FECACA;
}
.agively-poc-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.agively-poc-col--yes h4 { color: #16A34A; }
.agively-poc-col--no h4 { color: #DC2626; }
.agively-poc-col ul {
  margin: 0;
  padding-left: 1.1rem;
}
.agively-poc-col li {
  font-size: 14px;
  color: #334155;
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   BLOG POST — PHASE LIST (timeline)
---------------------------------------------------------- */

.agively-phase-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
  position: relative;
}
.agively-phase-list::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(30,111,217,0.15);
}
.agively-phase-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 2rem;
  position: relative;
}
.agively-phase-item:last-child { padding-bottom: 0; }
.agively-phase-marker {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #1E6FD9;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.agively-phase-output {
  flex: 1;
  padding-top: 6px;
}
.agively-phase-output h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.4rem;
}
.agively-phase-output p {
  font-size: 14px;
  color: #334155;
  margin: 0;
  line-height: 1.65;
}
.agively-phase-duration {
  font-size: 12px;
  font-weight: 500;
  color: #1E6FD9;
  opacity: 0.7;
}

/* ----------------------------------------------------------
   BLOG POST — CTA BOX
---------------------------------------------------------- */

.agively-blog-cta-box {
  background: #0B1F3A;
  border-radius: 10px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}
.agively-blog-cta-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem;
}
.agively-blog-cta-box p {
  font-size: 14px;
  color: #B8CEDE;
  margin: 0 0 1.25rem;
  line-height: 1.65;
}
.agively-blog-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #1E6FD9;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s ease;
}
.agively-blog-cta-link:hover { background: #1557b8; }

/* ----------------------------------------------------------
   BLOG POST — TAGS & MORE GRID
---------------------------------------------------------- */

.agively-blog-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 0.5px solid #E2E8F0;
  font-size: 13px;
  color: #64748B;
}
.agively-blog-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1rem 0;
}

/* ----------------------------------------------------------
   BLOG POST — FILTER LIST (Q1-Q4 filter)
---------------------------------------------------------- */

.agively-blog-filter-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.agively-blog-filter-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
}
.agively-blog-filter-q {
  min-width: 36px;
  height: 36px;
  background: #1E6FD9;
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.agively-blog-filter-item strong {
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A;
  display: block;
  margin-bottom: 0.25rem;
}
.agively-blog-filter-item p {
  font-size: 14px;
  color: #334155;
  margin: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   BLOG POST — TOOLSTACK TIERS
---------------------------------------------------------- */

.agively-blog-toolstack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.agively-blog-toolstack-tier {
  padding: 1.25rem;
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
}
.agively-blog-toolstack-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #1E6FD9;
  margin-bottom: 0.6rem;
  display: block;
}

/* ----------------------------------------------------------
   BLOG POST — COMPARISON SCORECARD (table)
---------------------------------------------------------- */

.agively-pp-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
  border: 0.5px solid #E2E8F0;
}
.agively-pp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.agively-pp-table th {
  background: #F0F4F9;
  color: #0B1F3A;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 0.5px solid #E2E8F0;
}
.agively-pp-table td {
  padding: 0.75rem 1rem;
  color: #334155;
  border-bottom: 0.5px solid #F0F4F9;
  vertical-align: top;
}
.agively-pp-table tr:last-child td { border-bottom: none; }
.agively-pp-table tr:hover td { background: #FAFBFC; }

.agively-comparison-scorecard th:first-child,
.agively-comparison-scorecard td:first-child {
  color: #0B1F3A;
  font-weight: 600;
}

.agively-score { display: inline-block; }
.agively-score--5 { color: #16A34A; }
.agively-score--4 { color: #65A30D; }
.agively-score--3 { color: #D97706; }
.agively-score--na { color: #94A3B8; font-size: 12px; }

/* ----------------------------------------------------------
   BLOG POST — TOOL REVIEW CARDS
---------------------------------------------------------- */

.agively-blog-tool-review {
  border: 0.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 1.75rem;
  margin: 1.5rem 0;
  background: #ffffff;
}
.agively-blog-tool-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 0.5px solid #E2E8F0;
}
.agively-blog-tool-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.2rem;
}
.agively-blog-tool-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}
.agively-blog-tool-badge--cursor { background: #000000; }
.agively-blog-tool-badge--copilot { background: #2563EB; }
.agively-blog-tool-badge--claude { background: #7C3AED; }
.agively-blog-tool-best {
  display: block;
  font-size: 12px;
  color: #64748B;
}
.agively-blog-tool-review p {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

/* ----------------------------------------------------------
   BLOG POST — RECOMMENDED STACK LIST
---------------------------------------------------------- */

.agively-blog-stack-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}
.agively-blog-stack-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 0.5px solid #E2E8F0;
  background: #ffffff;
}
.agively-blog-stack-item:last-child { border-bottom: none; }
.agively-blog-stack-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1E6FD9;
  background: rgba(30,111,217,0.08);
  border-radius: 3px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}
.agively-blog-stack-item > div {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
}
.agively-blog-stack-item strong {
  color: #0B1F3A;
}

/* ----------------------------------------------------------
   CONTACT PAGE
---------------------------------------------------------- */

.agively-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 2rem;
}
.agively-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.agively-contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: rgba(30,111,217,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E6FD9;
  font-size: 18px;
}
.agively-contact-item strong {
  font-size: 13px;
  font-weight: 700;
  color: #0B1F3A;
  display: block;
  margin-bottom: 0.1rem;
}
.agively-contact-item a,
.agively-contact-item span {
  font-size: 14px;
  color: #334155;
  text-decoration: none;
}
.agively-contact-item a:hover { color: #1E6FD9; }
.agively-contact-form-wrap {
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 2rem;
  min-height: 400px;
}

/* How list (contact page — what happens next) */
.agively-how-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.agively-how-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.agively-section-dark .agively-how-item {
  border-bottom-color: rgba(255,255,255,0.06);
}
.agively-how-item:last-child {
  border-bottom: none;
}
.agively-how-num {
  min-width: 44px;
  height: 44px;
  background: rgba(30,111,217,0.15);
  border: 1px solid rgba(126,180,240,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #7EB4F0;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
/* Override theme h3 defaults inside how-items */
.agively-how-item h3 {
  font-size: 16px !important;
  font-weight: 600;
  color: #0B1F3A;
  margin: 0 0 0.35rem !important;
  line-height: 1.3;
}
.agively-how-item strong {
  font-size: 15px;
  font-weight: 600;
  color: #0B1F3A;
  display: block;
  margin-bottom: 0.35rem;
}
.agively-how-item p {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.65;
}
/* Dark section overrides */
.agively-section-dark .agively-how-item h3,
.agively-section-dark .agively-how-item strong {
  color: #ffffff !important;
}
.agively-section-dark .agively-how-item p {
  color: #B8CEDE;
}
.agively-section-dark .agively-how-num {
  background: rgba(30,111,217,0.2);
  border-color: rgba(126,180,240,0.3);
  color: #7EB4F0;
}

/* ----------------------------------------------------------
   PRIVACY POLICY
---------------------------------------------------------- */

.agively-pp-toc {
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  column-count: 2;
  column-gap: 2rem;
}
.agively-pp-toc a {
  display: block;
  font-size: 14px;
  color: #1E6FD9;
  text-decoration: none;
  padding: 0.25rem 0;
  break-inside: avoid;
}
.agively-pp-toc a:hover { text-decoration: underline; }
.agively-pp-section {
  scroll-margin-top: 80px;
  margin-bottom: 2rem;
}
.agively-pp-num {
  display: inline-block;
  background: #1E6FD9;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  padding: 1px 7px;
  margin-right: 0.4rem;
  vertical-align: middle;
  position: relative;
  top: -2px;
}
.agively-pp-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.agively-pp-contact-item {
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 6px;
  padding: 1rem;
}
.agively-pp-contact-item strong {
  font-size: 13px;
  font-weight: 700;
  color: #0B1F3A;
  display: block;
  margin-bottom: 0.25rem;
}
.agively-pp-contact-item p,
.agively-pp-contact-item a {
  font-size: 13px;
  color: #334155;
  margin: 0;
  text-decoration: none;
}

/* ----------------------------------------------------------
   404 PAGE
---------------------------------------------------------- */

.agively-404-code {
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: -0.05em;
  user-select: none;
}
.agively-404-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.agively-404-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  background: #F0F4F9;
  border: 0.5px solid #E2E8F0;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #0B1F3A;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.agively-404-link:hover {
  border-color: #1E6FD9;
  background: #EBF4FF;
  color: #1E6FD9;
}
.agively-404-link i {
  font-size: 20px;
  color: #1E6FD9;
}

/* ----------------------------------------------------------
   RESPONSIVE — all new components
---------------------------------------------------------- */

@media (max-width: 768px) {
  /* Stats rows */
  .agively-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .agively-stats-row--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section inner narrow still stays capped */
  .agively-section-inner--narrow { max-width: 100% !important; }

  /* Conviction & diff grids → 1 col */
  .agively-conviction-grid,
  .agively-diff-grid,
  .agively-pain-grid,
  .agively-role-grid,
  .agively-benefit-grid,
  .agively-deliverables-grid,
  .agively-case-grid,
  .agively-blog-more-grid,
  .agively-service-grid,
  .agively-guarantee-grid,
  .agively-warning-grid,
  .agively-fiver-list,
  .agively-approach-grid,
  .agively-product-types {
    grid-template-columns: 1fr;
  }

  /* POC compare → stacked */
  .agively-poc-compare,
  .agively-comparison-table,
  .agively-ba-columns {
    grid-template-columns: 1fr;
  }
  .agively-comparison-col--bad { border-right: none; border-bottom: 0.5px solid #E2E8F0; }

  /* Industry outcomes → stacked */
  .agively-industry-outcomes { grid-template-columns: 1fr; gap: 1rem; }

  /* Case metrics → stacked */
  .agively-case-metrics { flex-direction: column; }
  .agively-case-metric { border-right: none; border-bottom: 0.5px solid #E2E8F0; }
  .agively-case-metric:last-child { border-bottom: none; }

  /* Industry nav → 2 cols */
  .agively-industry-nav { grid-template-columns: repeat(2, 1fr); }

  /* Blog grid 1 col */
  .agively-blog-grid { grid-template-columns: 1fr; }

  /* PP TOC → 1 col */
  .agively-pp-toc { column-count: 1; }

  /* Advisory cols */
  .agively-cols-2, .agively-cols-3 { column-gap: 1.5rem; }

  /* 404 links → 2 cols */
  .agively-404-links { grid-template-columns: repeat(2, 1fr); }

  /* Engagement list full width */
  .agively-engagement-item { flex-direction: column; }
  .agively-engagement-num { font-size: 20px; }

  /* Tools grid */
  .agively-tool-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .agively-stats-row { grid-template-columns: repeat(2, 1fr) !important; }
  .agively-industry-nav { grid-template-columns: 1fr 1fr; }
  .agively-404-links { grid-template-columns: 1fr; }
  .agively-pp-contact-grid { grid-template-columns: 1fr; }
  .agively-blog-stack-item { flex-direction: column; gap: 0.5rem; }
  .agively-cta-bullets { flex-direction: column; }
  .agively-tool-grid { grid-template-columns: repeat(2, 1fr); }
  .agively-hero-panel-stat { font-size: 40px; }
  .agively-404-code { font-size: 80px; }
}

/* ============================================================
   AGIVELY CSS PATCH — About page & button fixes
   June 2026
============================================================ */

/* ----------------------------------------------------------
   FIX: .agively-h2 on dark/cta sections must be white
   (CSS only defines navy colour; dark sections need white)
---------------------------------------------------------- */

.agively-section-dark .wp-block-heading.agively-h2,
.agively-section-dark .agively-h2,
.agively-section-cta .wp-block-heading.agively-h2,
.agively-section-cta .agively-h2 {
  color: #ffffff !important;
}

/* ----------------------------------------------------------
   FIX: DNA items — they live in agively-section-light
   Original CSS assumed dark bg; rewrite for light bg.
---------------------------------------------------------- */

/* Correct layout: icon above text, not flex-row */
.agively-dna-item {
  display: block !important;
  padding: 0 0 0.5rem !important;
  border-bottom: none !important;
}
.agively-dna-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(30,111,217,0.08) !important;
  border-radius: 8px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #1E6FD9 !important;
  font-size: 20px;
  margin-bottom: 0.75rem;
}
.agively-dna-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A !important;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}
.agively-dna-item p {
  font-size: 14px;
  color: #334155 !important;
  line-height: 1.65;
  margin: 0;
}

/* Dark-section overrides (keep working if used on dark bg later) */
.agively-section-dark .agively-dna-icon {
  background: rgba(126,180,240,0.12) !important;
  color: #7EB4F0 !important;
}
.agively-section-dark .agively-dna-item h3 { color: #ffffff !important; }
.agively-section-dark .agively-dna-item p { color: #B8CEDE !important; }

/* ----------------------------------------------------------
   FIX: Industry tags — they live in agively-section-mid
   Original CSS used dark-bg semi-white colours.
---------------------------------------------------------- */

.agively-industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.agively-industry-tag {
  background: rgba(30,111,217,0.08) !important;
  color: #1E6FD9 !important;
  border: 1px solid rgba(30,111,217,0.2) !important;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
}

/* Only apply dark-bg colours when explicitly inside dark section */
.agively-section-dark .agively-industry-tag,
.agively-section-cta .agively-industry-tag {
  background: rgba(126,180,240,0.12) !important;
  color: #7EB4F0 !important;
  border-color: rgba(126,180,240,0.25) !important;
}

/* ----------------------------------------------------------
   FIX: Ghost & Outline button — outer wrapper must have
   no background or border so WP defaults don't bleed through.
---------------------------------------------------------- */

.wp-block-button.agively-btn-outline,
.wp-block-button.agively-btn-ghost {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* ----------------------------------------------------------
   FIX: Conviction cards on pale/mid bg — ensure dark text
   (section-mid uses the pale bg; cards are white — text OK,
    but icon was inheriting wrong colour in some edge cases)
---------------------------------------------------------- */

.agively-section-mid .agively-conviction-card h3 { color: #0B1F3A; }
.agively-section-mid .agively-conviction-card p { color: #334155; }
.agively-section-mid .agively-conviction-icon {
  background: rgba(30,111,217,0.08);
  color: #1E6FD9;
}

/* ----------------------------------------------------------
   FIX: Principle items on accent-bg (blue) — ensure readable
---------------------------------------------------------- */

.agively-section-accent-bg .agively-principle-item h3 { color: #ffffff; }
.agively-section-accent-bg .agively-principle-item p { color: rgba(255,255,255,0.85); }
.agively-section-accent-bg .agively-principle-icon {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}


/* ----------------------------------------------------------
   FIX: Missing classes — agively-404-hero, agively-phase-body,
   agively-why-item
---------------------------------------------------------- */

/* 404 page hero — centres content vertically within dark section */
.agively-404-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Digital-transformation phase body — content area beside marker */
.agively-phase-body {
  flex: 1;
  padding-top: 6px;
}
.agively-phase-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.agively-phase-body p {
  font-size: 14px;
  color: #334155;
  margin: 0;
  line-height: 1.65;
}

/* Dark-section variant of phase-body (used inside section-dark) */
.agively-section-dark .agively-phase-body h3 { color: #ffffff; }
.agively-section-dark .agively-phase-body p   { color: rgba(255,255,255,0.75); }

/* AI-consulting "why" item — column-based card, mirrors agively-why-box */
.agively-why-item {
  background: var(--color-primary-light, #EBF4FF);
  border-radius: 8px;
  padding: 28px 28px 32px;
  height: 100%;
}
.agively-why-item .agively-why-icon {
  width: 44px;
  height: 44px;
  background: rgba(30,111,217,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E6FD9;
  font-size: 22px;
  margin-bottom: 16px;
}
.agively-why-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 12px;
  line-height: 1.3;
}
.agively-why-item p {
  font-size: 14px;
  color: #334155;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .agively-404-hero { min-height: 50vh; }
  .agively-why-item { padding: 20px 20px 24px; }
}


/* ==============================================================
   FIX BATCH — visual issues (buttons, eyebrow, columns, process)
   Reported: June 2026
   ============================================================= */

/* 1 ▸ PRIMARY vs OUTLINE button — equal height on dark sections
      Both get same computed height regardless of border presence. */
.wp-block-button.agively-btn-primary .wp-block-button__link,
.wp-block-button.agively-btn-outline .wp-block-button__link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1.4;
  vertical-align: middle;
}

/* 2 ▸ EYEBROW ICON — .light variant on dark sections needs a visible
      pill background so it doesn't look washed out at 11px. */
.agively-eyebrow-icon.light {
  color: var(--color-eyebrow);
  background: rgba(126, 180, 240, 0.12);
  padding: 5px 12px;
  border-radius: 4px;
}

/* 3 ▸ COLUMNS — prevent tall right column from stretching left column
      (avoids blank space below a short heading in a 2-col layout). */
.wp-block-columns.agively-cols-lg,
.wp-block-columns.agively-cols-2,
.wp-block-columns.agively-cols-3 {
  align-items: flex-start !important;
}

/* 4 ▸ EYEBROW BADGE on light/white sections — strengthen contrast
      (default tinted-bg + light-blue text is too subtle on white). */
.agively-section-light .agively-eyebrow-badge,
.agively-section-pale .agively-eyebrow-badge {
  background: rgba(30, 111, 217, 0.1);
  color: #1E6FD9;
  border: 1px solid rgba(30, 111, 217, 0.2);
}

/* 5 ▸ MUTED PARAGRAPH on light/white sections — #B8CEDE is designed
      for dark backgrounds; on white it's unreadable. */
.agively-section-light .agively-p-muted,
.agively-section-pale .agively-p-muted,
.agively-section-mid .agively-p-muted {
  color: #475569;
}

/* 6 ▸ EYEBROW ICON on blue accent sections — light-blue text on bright
      blue is low contrast; switch to white pill. */
.agively-section-accent-bg .agively-eyebrow-icon.light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

/* ============================================================
   BLOG PAGE — REDESIGN
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.agively-blog-hero .agively-h1 {
  margin-bottom: 1rem;
}
.agively-blog-hero-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* ── Category filter buttons ───────────────────────────────── */
.agively-blog-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}
.agively-filter-btn {
  background: rgba(126, 180, 240, 0.08);
  color: #B8CEDE;
  border: 1px solid rgba(126, 180, 240, 0.18);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  line-height: 1.5;
}
.agively-filter-btn:hover {
  background: rgba(126, 180, 240, 0.18);
  color: #ffffff;
  border-color: rgba(126, 180, 240, 0.4);
}
.agively-filter-btn--active {
  background: #1E6FD9;
  color: #ffffff;
  border-color: #1E6FD9;
}

/* ── Featured post — two-column wrap ──────────────────────── */
.agively-blog-featured-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.07);
  margin-top: 2rem;
}
.agively-blog-featured-content {
  padding: 2.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}
.agively-blog-featured-date {
  font-size: 12px;
  color: #94A3B8;
  margin-left: 0.25rem;
}
.agively-blog-featured-tags {
  margin: 0.75rem 0 1.25rem;
}
.agively-blog-featured-tags .agively-tag {
  margin-right: 0.35rem;
}

/* ── Featured post — right visual panel ───────────────────── */
.agively-blog-featured-panel {
  background: #0B1F3A;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.agively-blog-featured-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #1E6FD9;
}
.agively-blog-featured-panel-label {
  font-size: 11px;
  font-weight: 700;
  color: #7EB4F0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.agively-blog-featured-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.agively-blog-featured-panel-list li {
  font-size: 13.5px;
  color: #B8CEDE;
  line-height: 1.55;
  padding-left: 1.5rem;
  position: relative;
}
.agively-blog-featured-panel-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1E6FD9;
  font-weight: 700;
  font-size: 12px;
}
.agively-blog-featured-panel-deco {
  font-size: 72px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: auto;
  user-select: none;
  pointer-events: none;
}

/* ── All articles index header ─────────────────────────────── */
.agively-blog-index-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.agively-blog-index-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #0B1F3A;
  margin: 0;
}
.agively-blog-count {
  font-size: 13px;
  color: #94A3B8;
  font-weight: 400;
}

/* ── Blog card improvements ────────────────────────────────── */
.agively-blog-card {
  background: #ffffff;
  border-top: 3px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.agively-blog-card:hover {
  border-top-color: #1E6FD9;
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.08);
}
.agively-blog-card-tags {
  margin: 0.5rem 0 1rem;
}

/* ── Small tag variant ─────────────────────────────────────── */
.agively-tag--sm {
  font-size: 11px;
  padding: 2px 8px;
}

/* ── Linked tag variant ────────────────────────────────────── */
.agively-tag--link {
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.agively-tag--link:hover {
  background: rgba(30, 111, 217, 0.15);
  color: #1E6FD9;
}

/* ============================================================
   SINGLE POST TEMPLATE
   ============================================================ */

/* Remove body padding-top added by parent theme for is-article pages */
body.single.agively-full-width {
  padding-top: 0;
}

/* ── Post header (dark section) ────────────────────────────── */
.agively-post-header {
  padding-bottom: 4rem;
}
.agively-post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 13px;
  font-weight: 500;
  color: rgba(184, 206, 222, 0.7);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.15s ease;
}
.agively-post-back:hover { color: #ffffff; }

.agively-post-header-cats {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.agively-post-title {
  margin-bottom: 1.25rem;
  text-align: left;
}
.agively-post-summary {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(184, 206, 222, 0.85);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  font-weight: 400;
  text-align: left;
}
.agively-post-header-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.agively-post-header-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 13px;
  color: rgba(184, 206, 222, 0.65);
}

/* ── Post body ─────────────────────────────────────────────── */
.agively-post-body-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.agively-post-body-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.agively-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: #1E293B;
}
.agively-post-content h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: #0B1F3A;
  margin: 2.5rem 0 0.75rem;
  line-height: 1.25;
}
.agively-post-content h3 {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: #0B1F3A;
  margin: 2rem 0 0.6rem;
}
.agively-post-content p {
  margin: 0 0 1.4rem;
}
.agively-post-content ul,
.agively-post-content ol {
  margin: 0 0 1.4rem 1.25rem;
  padding: 0;
}
.agively-post-content li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}
.agively-post-content a {
  color: #1E6FD9;
  text-decoration: underline;
  text-decoration-color: rgba(30, 111, 217, 0.35);
}
.agively-post-content a:hover {
  text-decoration-color: #1E6FD9;
}
.agively-post-content blockquote {
  border-left: 3px solid #1E6FD9;
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: #F0F7FF;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #334155;
}
.agively-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0;
}
.agively-post-content code {
  background: #F0F4F9;
  color: #1E6FD9;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.875em;
}
.agively-post-content pre {
  background: #0B1F3A;
  color: #B8CEDE;
  padding: 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 1.5rem 0;
}
.agively-post-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* ── Post tags ─────────────────────────────────────────────── */
.agively-post-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}
.agively-post-tags-label {
  font-size: 12px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.agively-post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ── Prev / Next navigation ────────────────────────────────── */
.agively-post-nav-section {
  padding: 3rem 0;
}
.agively-post-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.agively-post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.agively-post-nav-item:hover {
  border-color: rgba(30, 111, 217, 0.35);
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.07);
}
.agively-post-nav-item--empty {
  background: transparent;
  border-color: transparent;
  pointer-events: none;
}
.agively-post-nav-item--next {
  text-align: right;
  align-items: flex-end;
}
.agively-post-nav-dir {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.agively-post-nav-item--next .agively-post-nav-dir {
  flex-direction: row-reverse;
}
.agively-post-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: #0B1F3A;
  line-height: 1.35;
}

/* ── Related posts ─────────────────────────────────────────── */
.agively-post-related {
  padding-top: 4rem;
  padding-bottom: 5rem;
}
.agively-post-related .agively-eyebrow-icon {
  margin-bottom: 1.75rem;
  display: inline-flex;
}

/* ── Narrow section inner for post header ──────────────────── */
.agively-section-inner--narrow {
  max-width: 800px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .agively-post-nav-inner {
    grid-template-columns: 1fr;
  }
  .agively-post-nav-item--next {
    text-align: left;
    align-items: flex-start;
  }
  .agively-post-nav-item--next .agively-post-nav-dir {
    flex-direction: row;
  }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .agively-blog-featured-wrap {
    grid-template-columns: 1fr;
  }
  .agively-blog-featured-panel {
    min-height: 0;
    padding: 2rem;
  }
  .agively-blog-featured-panel-deco {
    display: none;
  }
}
@media (max-width: 640px) {
  .agively-blog-filter {
    gap: 0.4rem;
  }
  .agively-filter-btn {
    font-size: 12px;
    padding: 5px 14px;
  }
}

/* ==============================================================
   DIGITAL TRANSFORMATION PAGE — component fixes
   ============================================================= */

/* Pillar items on light / pale / mid sections */
.agively-section-light .agively-pillar-item,
.agively-section-pale .agively-pillar-item,
.agively-section-mid .agively-pillar-item {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
.agively-section-light .agively-pillar-num,
.agively-section-pale .agively-pillar-num,
.agively-section-mid .agively-pillar-num {
  color: #1E6FD9;
  opacity: 0.35;
}
.agively-section-light .agively-pillar-body h3,
.agively-section-pale .agively-pillar-body h3,
.agively-section-mid .agively-pillar-body h3 { color: #0B1F3A !important; }
.agively-section-light .agively-pillar-body p,
.agively-section-pale .agively-pillar-body p,
.agively-section-mid .agively-pillar-body p { color: #475569; }
.agively-section-light .agively-pillar-outcome,
.agively-section-pale .agively-pillar-outcome,
.agively-section-mid .agively-pillar-outcome { color: #1E6FD9; }

/* Pillar tag pills */
.agively-pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.agively-pillar-tags span {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(30,111,217,0.1);
  color: #7EB4F0;
}
.agively-section-light .agively-pillar-tags span,
.agively-section-pale .agively-pillar-tags span,
.agively-section-mid .agively-pillar-tags span {
  background: rgba(30,111,217,0.08);
  color: #1E6FD9;
}

/* Industry BA card h3 */
.agively-industry-ba-card h3 {
  font-size: 16px !important;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 1rem !important;
}

/* Industry urgency table (hero right panel) */
.agively-urgency-table {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1.5rem;
}
.agively-urgency-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(126,180,240,0.6);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.agively-urgency-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: rgba(126,180,240,0.4);
}
.agively-urgency-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 6px;
}
.agively-urgency-industry {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  min-width: 140px;
}
.agively-urgency-desc {
  font-size: 12px;
  color: rgba(184,206,222,0.7);
  line-height: 1.45;
  flex: 1;
}
.agively-urgency-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.agively-urgency-badge--high {
  background: rgba(220,38,38,0.2);
  color: #F87171;
}
.agively-urgency-badge--growing {
  background: rgba(251,191,36,0.15);
  color: #FBBF24;
}
.agively-urgency-badge--accelerating {
  background: rgba(126,180,240,0.15);
  color: #7EB4F0;
}

/* Phase label — displayed as eyebrow inside phase body */
.agively-phase-phase {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1E6FD9;
  margin-bottom: 0.3rem;
  display: block;
}
.agively-section-dark .agively-phase-phase { color: #7EB4F0; }
.agively-phase-deliver {
  font-size: 12px;
  font-weight: 600;
  color: #1E6FD9;
  background: rgba(30,111,217,0.07);
  border: 0.5px solid rgba(30,111,217,0.18);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  display: inline-block;
  margin-top: 0.65rem;
  line-height: 1.5;
}
.agively-section-dark .agively-phase-deliver {
  color: #7EB4F0;
  background: rgba(126,180,240,0.08);
  border-color: rgba(126,180,240,0.2);
}

/* ==============================================================
   AI CONSULTING PAGE — component fixes
   ============================================================= */

/* AI Readiness Snapshot panel (hero right) */
.agively-ai-readiness {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
}
.agively-ai-readiness-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7EB4F0;
  margin-bottom: 1rem;
  display: block;
}
.agively-readiness-row {
  margin-bottom: 0.85rem;
}
.agively-readiness-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}
.agively-readiness-name {
  font-size: 12px;
  color: #B8CEDE;
}
.agively-readiness-pct {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}
.agively-readiness-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.agively-readiness-fill {
  height: 100%;
  border-radius: 2px;
  background: #1E6FD9;
}
.agively-readiness-fill--low  { background: #F87171; }
.agively-readiness-fill--high { background: #34D399; }

/* AI Opportunities list inside readiness panel */
.agively-ai-opps {
  margin-top: 1.1rem;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding-top: 0.85rem;
}
.agively-ai-opps-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(126,180,240,0.6);
  margin-bottom: 0.5rem;
  display: block;
}
.agively-ai-opp {
  font-size: 12px;
  color: #B8CEDE;
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.45;
}
.agively-ai-opp::before {
  content: '→';
  color: #34D399;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}
.agively-ai-readiness-link {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #7EB4F0;
  text-decoration: none;
  margin-top: 0.75rem;
}
.agively-ai-readiness-link:hover { color: #ffffff; }

/* Avg outcome stat below panel */
.agively-ai-readiness-stat {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  text-align: center;
}
.agively-ai-readiness-stat-num {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.agively-ai-readiness-stat-sub {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7EB4F0;
  margin-bottom: 0.15rem;
  display: block;
}
.agively-ai-readiness-stat-label {
  font-size: 12px;
  color: #B8CEDE;
}

/* Timeline on dark section — text color overrides */
.agively-section-dark .agively-timeline-body h3 { color: #ffffff !important; }
.agively-section-dark .agively-timeline-body p   { color: #B8CEDE; }

/* Week/phase label above timeline item title */
.agively-timeline-week {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1E6FD9;
  margin-bottom: 0.2rem;
  display: block;
}
.agively-section-dark .agively-timeline-week { color: #7EB4F0; }

/* Tag cloud — simple horizontal pill row */
.agively-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.agively-tag-cloud span {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
  background: rgba(30,111,217,0.1);
  color: #7EB4F0;
  border: 0.5px solid rgba(30,111,217,0.25);
}
.agively-section-light .agively-tag-cloud span,
.agively-section-pale .agively-tag-cloud span,
.agively-section-mid .agively-tag-cloud span {
  background: rgba(30,111,217,0.08);
  color: #1E6FD9;
  border-color: rgba(30,111,217,0.2);
}

/* ==============================================================
   ON DEMAND RESOURCES PAGE — component additions
   ============================================================= */

/* Role tech tag pills (dark section) */
.agively-role-tags span {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(126,180,240,0.1);
  color: #7EB4F0;
  border: 0.5px solid rgba(126,180,240,0.2);
}

/* Guarantee / deliverable h4 sizing (matches h3 rules) */
.agively-guarantee-item h4,
.agively-deliverable h4 {
  font-size: 15px !important;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.4rem;
}
.agively-section-light .agively-guarantee-item h4,
.agively-section-pale .agively-guarantee-item h4,
.agively-section-mid .agively-guarantee-item h4 { color: #0B1F3A !important; }
.agively-section-dark .agively-deliverable h4 { color: #ffffff; }

/* 3-column comparison table */
.agively-comparison-table--3col {
  grid-template-columns: 1fr 1fr 1fr;
}
.agively-comparison-col--neutral {
  background: #FAFAFA;
  border-right: 0.5px solid #E2E8F0;
}
.agively-comparison-col--neutral .agively-comparison-col-header { color: #64748B; }
.agively-comparison-item--neutral { color: #475569; }
.agively-comparison-item--neutral::before {
  content: "~";
  color: #94A3B8;
  font-weight: 700;
  flex-shrink: 0;
}

/* Availability panel (hero right on dark) */
.agively-availability-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
}
.agively-availability-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7EB4F0;
  margin-bottom: 0.25rem;
  display: block;
}
.agively-availability-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  margin-right: 0.4rem;
  vertical-align: middle;
}
.agively-availability-accepting {
  font-size: 11px;
  color: #34D399;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.agively-availability-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0;
  border-top: 0.5px solid rgba(255,255,255,0.07);
}
.agively-availability-info { flex: 1; min-width: 0; }
.agively-availability-role {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.agively-availability-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.agively-availability-skills span {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(126,180,240,0.1);
  color: rgba(184,206,222,0.8);
}
.agively-availability-meta {
  text-align: right;
  flex-shrink: 0;
}
.agively-avail-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 0.2rem;
  white-space: nowrap;
}
.agively-avail-badge--available {
  background: rgba(52,211,153,0.15);
  color: #34D399;
}
.agively-avail-badge--lead {
  background: rgba(251,191,36,0.15);
  color: #FBBF24;
}
.agively-availability-from {
  font-size: 10px;
  color: rgba(184,206,222,0.6);
  display: block;
}
.agively-availability-footer {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  font-size: 12px;
  color: rgba(184,206,222,0.6);
}
.agively-availability-footer a {
  color: #7EB4F0;
  font-weight: 600;
}

/* Use-case scenarios grid */
.agively-usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.agively-usecase-item {
  padding: 1.4rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}
.agively-usecase-quote {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}
.agively-usecase-item p {
  font-size: 14px;
  color: #B8CEDE;
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .agively-usecase-grid { grid-template-columns: 1fr; }
  .agively-comparison-table--3col { grid-template-columns: 1fr; }
  .agively-availability-panel { margin-top: 1.5rem; }
}

.agively-blog-featured-byline { display: none; }