/* ============================================================
   Category Hub (Landing Page) styles.

   Ported from the applicationhouse.com theme (ah-theme/assets/css/styles.css)
   so category archives rendered by category.php — plus its template parts
   (template-parts/sections/hero.php and template-parts/cards/*) — match the
   Application House hub landing-page design.

   Loaded only on category / taxonomy archives, AFTER theme.css.

   Design tokens are added globally on :root (additive — theme.css already
   defines the raw --ah-* brand palette, this only adds the semantic/scale
   tokens the hub components rely on).

   Every component rule is scoped under `.site-main` (category.php wraps all
   hub content in <main class="site-main">). Scoping keeps these rules off the
   theme's own header/footer chrome and lets them win over theme.css globals
   like `.hero` and `.container` without touching the rest of the BCS site.
   ============================================================ */

:root {
    /* Semantic colours */
    --c-text:      var(--ah-navy);
    --c-text-soft: #5a5a7a;
    --c-bg:        #ffffff;
    --c-bg-soft:   #f4f5f7;
    --c-bg-tint:   #eaf7fd;          /* pale blue */
    --c-border:    #e1e3eb;

    /* Type scale */
    --ff-heading: "CoHeadline", "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ff-body:    "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --fs-xs:   12px;
    --fs-sm:   14px;
    --fs-base: 16px;
    --fs-md:   18px;
    --fs-lg:   22px;
    --fs-xl:   28px;
    --fs-2xl:  36px;
    --fs-3xl:  44px;
    --fs-4xl:  56px;

    /* Spacing */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 24px;
    --sp-6: 32px;
    --sp-7: 48px;
    --sp-8: 64px;
    --sp-9: 96px;

    /* Radii / shadows */
    --r-sm:  6px;
    --r-md:  12px;
    --r-lg:  20px;
    --r-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(38, 34, 98, 0.06);
    --shadow-md: 0 8px 24px rgba(38, 34, 98, 0.08);
    --shadow-lg: 0 18px 48px rgba(38, 34, 98, 0.12);

    /* Layout */
    --container: 1240px;
}

/* ---------- Base typography (scoped to the hub) ---------- */
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4 {
    color: var(--ah-navy);
    font-family: var(--ff-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 var(--sp-4);
}
.site-main h1 { font-size: var(--fs-4xl); }
.site-main h2 { font-size: var(--fs-3xl); }
.site-main h3 { font-size: var(--fs-xl); }
.site-main h4 { font-size: var(--fs-lg); }
.site-main p  { margin: 0 0 var(--sp-4); }
.site-main .hero a  { color: var(--white); text-decoration: none; }
.site-main .hero a:hover { text-decoration: underline; }

/* Two-tone heading (e.g. "Welcome to the home of Salesforce") */
.site-main .heading-mixed .accent-blue   { color: var(---ah-blue); }
.site-main .heading-mixed .accent-green  { color: var(--ah-green); }
.site-main .heading-mixed .accent-pink   { color: var(--ah-pink); }
.site-main .heading-mixed .accent-yellow { color: var(--ah-yellow); }
.site-main .heading-mixed .accent-grey   { color: var(--ah-grey); }
.site-main p.accent-grey { color: var(--ah-grey) !important; }

/* ---------- Layout primitives ---------- */
.site-main .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-5);
}
.site-main .section {
    padding: var(--sp-9) 0;
}
.site-main .section--tight     { padding: var(--sp-7) 0; }
.site-main .section--grey      { background: var(--c-bg-soft); }
.site-main .section--blue-tint { background: var(--c-bg-tint); }
.site-main .section--blue      { background: var(--ah-blue); }
.site-main .section--white     { background: #fff; }
.site-main .section-head {
    text-align: center;
    text-align: -webkit-center;
    margin: auto;
    max-width: 820px;
}
.site-main .section-head h2 { padding-bottom: var(--sp-3); }
.site-main .section-head h2::after {
    content: "";
    display: block;
    width: 96px;
    height: 4px;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--ah-blue) 0 33%, var(--ah-yellow) 33% 66%, var(--ah-pink) 66% 100%);
    margin: var(--sp-4) auto 0;
}
.site-main .section-head p { color: var(--c-text-soft); font-size: var(--fs-md); }

/* ---------- Buttons ---------- */
.site-main .btn-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 12px 26px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: var(--fs-base);
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
}
.site-main .btn-pill:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.06); box-shadow: var(--shadow-md); }
.site-main .btn-pill--blue   { background: var(--ah-blue); }
.site-main .btn-pill--green  { background: var(--ah-green); color: #fff; }
.site-main .btn-pill--navy   { background: var(--ah-navy); }
.site-main .btn-pill--red    { background: var(--ah-red); }
.site-main .btn-pill--pink   { background: var(--ah-pink); }
.site-main .btn-pill--yellow { background: var(--ah-yellow); color: var(--ah-navy); }
.site-main .btn-pill--outline {
    background: transparent;
    color: var(--ah-navy);
    border: 2px solid var(--ah-navy);
}
.site-main .btn-pill .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}

/* ---------- Hero ---------- */
.site-main .hero {
    background: var(--c-bg-tint);
    padding: var(--sp-8) 0;
    position: relative;
    overflow: hidden;
    text-align: left;
}
.site-main .hero::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: var(--ah-pink);
    opacity: 0.08;
    top: -180px;
    left: -180px;
    pointer-events: none;
}
.site-main .hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: var(--ah-blue);
    opacity: 0.07;
    bottom: -140px;
    right: 4%;
    pointer-events: none;
}
.site-main .hero .container { position: relative; z-index: 1; }
.site-main .hero-track {
    position: relative;
    min-height: 480px;
}
.site-main .hero-slide {
    display: none;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--sp-7);
    align-items: center;
}
.site-main .hero-slide.is-active { display: grid; animation: bcsHubFadeIn 0.5s ease; }
@keyframes bcsHubFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.site-main .hero-eyebrow {
    color: var(--ah-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-3);
}
.site-main .hero-slide h1 { font-size: var(--fs-3xl); }
.site-main .hero-slide p  { font-size: var(--fs-md); color: var(--c-text-soft); max-width: 540px; }
.site-main .hero-trust {
    display: flex;
    gap: var(--sp-4);
    color: var(--ah-navy);
    font-weight: 700;
    margin-top: var(--sp-4);
    align-items: center;
    flex-wrap: wrap;
}
.site-main .hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.site-main .hero-trust .dot { color: var(--ah-green); }
.site-main .hero-cta { margin-top: var(--sp-5); display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* Inline Contact Form 7 email-capture form on hero slide 1 (replaces the CTA button) */
.site-main .hero-form { margin-top: var(--sp-5); max-width: 520px; }
.site-main .hero-form .wpcf7 { margin: 0; }
.site-main .hero-form .wpcf7-form { margin: 0; }
/* CF7 wraps a single-line form body in one <p>; lay that (or an explicit .hero-form-row) out as the input+button row. */
.site-main .hero-form-row,
.site-main .hero-form .wpcf7-form > p {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    align-items: center;
    margin: 0;
}
.site-main .hero-form .wpcf7-form-control-wrap { flex: 1 1 220px; margin: 0; }
.site-main .hero-form input[type="email"],
.site-main .hero-form input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: var(--fs-base);
    color: var(--ah-navy);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.site-main .hero-form input::placeholder { color: var(--c-text-soft); opacity: 1; }
.site-main .hero-form input[type="email"]:focus,
.site-main .hero-form input[type="text"]:focus {
    outline: none;
    border-color: var(--ah-blue);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.18);
}
.site-main .hero-form input.wpcf7-submit,
.site-main .hero-form input[type="submit"] {
    padding: 14px 30px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: var(--fs-base);
    color: #fff;
    background: var(--ah-blue);
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.site-main .hero-form input.wpcf7-submit:hover,
.site-main .hero-form input[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: var(--shadow-md);
}
.site-main .hero-form .wpcf7-spinner { margin: 0 0 0 8px; }
.site-main .hero-form .wpcf7-response-output {
    flex-basis: 100%;
    width: 100%;
    margin: var(--sp-3) 0 0;
    padding: 10px 14px;
    font-size: var(--fs-sm);
    border-radius: var(--r-md);
}
@media (max-width: 560px) {
    .site-main .hero-form-row { flex-direction: column; align-items: stretch; }
    .site-main .hero-form input.wpcf7-submit,
    .site-main .hero-form input[type="submit"] { width: 100%; }
}

/* Single enabled slide → static banner (no dots/autoplay), so don't reserve carousel height */
.site-main .hero--static .hero-track { min-height: auto; }

.site-main .hero-visual { position: relative; text-align: center; min-height: 380px; }
.site-main .hero-visual img { max-height: 420px; margin: 0 auto; position: relative; z-index: 2; }
.site-main .hero-visual::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: var(--ah-yellow);
    border-radius: 50%;
    top: 4%;
    right: 4%;
    opacity: 0.55;
    z-index: 0;
}
.site-main .hero-visual::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    background: var(--ah-pink);
    border-radius: 50%;
    bottom: 6%;
    left: 4%;
    opacity: 0.85;
    z-index: 1;
}
.site-main .hero-deco-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}
.site-main .hero-deco-dot--green {
    width: 72px; height: 72px;
    background: var(--ah-green);
    top: 48%; right: 0;
}
.site-main .hero-deco-dot--blue {
    width: 44px; height: 44px;
    background: var(--ah-blue);
    top: 14%; left: 6%;
}
.site-main .hero-deco-dot--red {
    width: 28px; height: 28px;
    background: var(--ah-red);
    top: 36%; left: 18%;
}

/* Carousel dots */
.site-main .carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--sp-2);
    margin-top: var(--sp-6);
}
.site-main .carousel-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c-border);
    border: 0;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.site-main .carousel-dots button.is-active {
    background: var(--ah-blue);
    transform: scale(1.2);
}

/* ---------- Card grids ---------- */
.site-main .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}
.site-main .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}
.site-main .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-7);
    align-items: center;
}

/* ---------- Generic card ---------- */
.site-main .card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.site-main .card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--ah-blue);
    opacity: 0.08;
    bottom: -60px;
    right: -60px;
    transition: transform 0.3s ease;
}
.site-main .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.site-main .card:hover::after { transform: scale(1.4); }

/* Rotate card top-border + accent blob through brand colours */
.site-main .grid-3 > .card:nth-child(3n+1) { border-top-color: var(--ah-blue); }
.site-main .grid-3 > .card:nth-child(3n+1)::after { background: var(--ah-blue); }
.site-main .grid-3 > .card:nth-child(3n+2) { border-top-color: var(--ah-green); }
.site-main .grid-3 > .card:nth-child(3n+2)::after { background: var(--ah-green); }
.site-main .grid-3 > .card:nth-child(3n)   { border-top-color: var(--ah-pink); }
.site-main .grid-3 > .card:nth-child(3n)::after   { background: var(--ah-pink); }

.site-main .grid-4 > .card:nth-child(4n+1) { border-top-color: var(--ah-blue); }
.site-main .grid-4 > .card:nth-child(4n+1)::after { background: var(--ah-blue); }
.site-main .grid-4 > .card:nth-child(4n+2) { border-top-color: var(--ah-green); }
.site-main .grid-4 > .card:nth-child(4n+2)::after { background: var(--ah-green); }
.site-main .grid-4 > .card:nth-child(4n+3) { border-top-color: var(--ah-pink); }
.site-main .grid-4 > .card:nth-child(4n+3)::after { background: var(--ah-pink); }
.site-main .grid-4 > .card:nth-child(4n)   { border-top-color: var(--ah-yellow); }
.site-main .grid-4 > .card:nth-child(4n)::after   { background: var(--ah-yellow); }

/* Card icon backgrounds — solid brand colour with white icon */
.site-main .grid-3 > .card:nth-child(3n+1) .card-icon { background: var(--ah-blue); }
.site-main .grid-3 > .card:nth-child(3n+2) .card-icon { background: var(--ah-green); }
.site-main .grid-3 > .card:nth-child(3n)   .card-icon { background: var(--ah-pink); }

/* Card meta tag — brand colour pill */
.site-main .grid-3 > .card:nth-child(3n+1) .card-meta,
.site-main .grid-4 > .card:nth-child(4n+1) .card-meta { background: var(--ah-blue); color: #fff; }
.site-main .grid-3 > .card:nth-child(3n+2) .card-meta,
.site-main .grid-4 > .card:nth-child(4n+2) .card-meta { background: var(--ah-green); color: var(--ah-navy); }
.site-main .grid-3 > .card:nth-child(3n)   .card-meta,
.site-main .grid-4 > .card:nth-child(4n+3) .card-meta { background: var(--ah-pink); color: #fff; }
.site-main .grid-4 > .card:nth-child(4n)   .card-meta { background: var(--ah-yellow); color: var(--ah-navy); }

.site-main .card > * { position: relative; z-index: 1; }
.site-main .card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.site-main .card p  { color: var(--c-text-soft); font-size: var(--fs-sm); flex: 1; }
.site-main .card-header {
    display: flex;
    align-items: center;
    column-gap: 10px;
}
.site-main .card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ah-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
}
.site-main .card .card-icon-blue {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ah-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
}
.site-main .card .card-image {
    height: 160px;
    margin: calc(var(--sp-6) * -1) calc(var(--sp-6) * -1) var(--sp-5);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    overflow: hidden;
    background: var(--c-bg-tint);
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-main .card .card-image img { max-height: 100%; max-width: 80%; object-fit: contain; }
.site-main .card .card-meta {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: var(--c-bg-tint);
    color: var(--ah-blue);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: var(--sp-3);
    align-self: flex-start;
}
.site-main .card a.card-link {
    margin-top: var(--sp-4);
    color: var(--ah-blue);
    font-weight: 700;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

/* ---------- Blob / circular image with accent shapes ---------- */
.site-main .img-blob {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--c-bg-tint);
    max-width: 460px;
    margin: 20px auto;
}
.site-main .img-blob img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.site-main .img-blob-wrap {
    position: relative;
    padding: var(--sp-6);
    text-align: center;
}
.site-main .img-blob-wrap::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    bottom: 0;
    left: 0;
    z-index: 2;
}
.site-main .img-blob-wrap::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 36px;
    border-radius: var(--r-pill);
    top: var(--sp-3);
    right: var(--sp-3);
    z-index: 2;
}
.site-main .img-blob-wrap--yellow::before { background: var(--ah-yellow); }
.site-main .img-blob-wrap--yellow::after  { background: var(--ah-green); }
.site-main .img-blob-wrap--pink::before   { background: var(--ah-pink); }
.site-main .img-blob-wrap--pink::after    { background: var(--ah-blue); }
.site-main .img-blob-wrap--blue::before   { background: var(--ah-blue); }
.site-main .img-blob-wrap--blue::after    { background: var(--ah-yellow); }
.site-main .img-blob-wrap--green::before  { background: var(--ah-green); }
.site-main .img-blob-wrap--green::after   { background: var(--ah-pink); }

/* ---------- Stats (Accreditations) ---------- */
.site-main .stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
    text-align: center;
}
.site-main .stat-block { padding: var(--sp-5); }
.site-main .stat-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--sp-4);
    border-radius: 50%;
    background: var(--ah-blue);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.site-main .stat-icon img { width: 54px; height: 54px; object-fit: contain; filter: brightness(0) invert(1); }

/* Rotate stat icons through 4 brand colours */
.site-main .stat-grid > .stat-block:nth-child(1) .stat-icon { background: var(--ah-blue); }
.site-main .stat-grid > .stat-block:nth-child(2) .stat-icon { background: var(--ah-pink); }
.site-main .stat-grid > .stat-block:nth-child(3) .stat-icon { background: var(--ah-green); }
.site-main .stat-grid > .stat-block:nth-child(4) .stat-icon { background: var(--ah-yellow); }
.site-main .stat-grid > .stat-block:nth-child(1) .stat-number { color: var(--ah-blue); }
.site-main .stat-grid > .stat-block:nth-child(2) .stat-number { color: var(--ah-pink); }
.site-main .stat-grid > .stat-block:nth-child(3) .stat-number { color: var(--ah-green); }
.site-main .stat-grid > .stat-block:nth-child(4) .stat-number { color: var(--ah-yellow); }

.site-main .stat-number {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--ah-blue);
    line-height: 1;
    margin-bottom: var(--sp-2);
}
.site-main .stat-label {
    font-weight: 700;
    color: var(--ah-navy);
    margin-bottom: var(--sp-2);
}
.site-main .stat-desc {
    color: var(--c-text-soft);
    font-size: var(--fs-sm);
}

/* ---------- Plan cards ---------- */
.site-main .plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}
.site-main .plan-card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: var(--sp-7) var(--sp-6) var(--sp-6);
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.site-main .plan-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 8px;
    background: var(--ah-grey);
}
.site-main .plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.site-main .plan-card.is-featured { border-color: var(--ah-blue); transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.site-main .plan-card.is-featured::before { background: var(--ah-blue); height: 12px; }
.site-main .plan-card.is-popular  { border-color: var(--ah-pink); }
.site-main .plan-card.is-popular::before  { background: var(--ah-pink); height: 12px; }
.site-main .plan-grid > .plan-card:nth-child(1)::before { background: var(--ah-green); }
.site-main .plan-grid > .plan-card:nth-child(3)::before { background: var(--ah-yellow); }
.site-main .plan-badge {
    position: absolute;
    top: -14px;
    right: var(--sp-5);
    background: var(--ah-blue);
    color: #fff;
    padding: 4px 14px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.site-main .plan-card.is-popular .plan-badge { background: var(--ah-pink); }
.site-main .plan-name {
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-2);
}
.site-main .plan-hours {
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
    margin-bottom: var(--sp-4);
    font-weight: 700;
}
.site-main .plan-features,
.site-main .plan-features-rich ul {
    margin: var(--sp-4) 0;
    flex: 1;
}
.site-main .plan-features li,
.site-main .plan-features-rich ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: var(--fs-sm);
    color: var(--c-text);
    border-bottom: 1px dashed var(--c-border);
}
.site-main .plan-features li::before,
.site-main .plan-features-rich ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ah-green);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

/* ---------- Testimonial carousel ---------- */
.site-main .testimonial-track {
    position: relative;
}
.site-main .testimonial-slide {
    display: none;
    background: #fff;
    border-radius: var(--r-lg);
    padding: var(--sp-7);
    box-shadow: var(--shadow-sm);
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.site-main .testimonial-slide.is-active { display: block; animation: bcsHubFadeIn 0.4s ease; }
.site-main .testimonial-quote-mark {
    font-size: 64px;
    line-height: 1;
    color: var(--ah-blue);
    font-family: Georgia, serif;
    margin-bottom: var(--sp-3);
}
.site-main .testimonial-body {
    font-size: var(--fs-md);
    color: var(--c-text);
    font-style: italic;
    margin-bottom: var(--sp-5);
}
.site-main .testimonial-source {
    font-weight: 700;
    color: var(--ah-navy);
}
.site-main .testimonial-link {
    display: inline-block;
    margin-top: var(--sp-3);
    color: var(--ah-blue);
    font-size: var(--fs-sm);
}
.site-main .verified-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: #fff;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-sm);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--ah-navy);
    margin: 0 auto var(--sp-5);
}
.site-main .verified-badge svg { width: 18px; height: 18px; fill: var(--ah-blue); }

/* ---------- Logo grids (Global clients, Industries) ---------- */
.site-main .logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-5);
    align-items: center;
    justify-items: center;
}
.site-main .logo-grid--4 { grid-template-columns: repeat(4, 1fr); }
.site-main .logo-placeholder {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-soft);
    font-weight: 700;
    font-size: var(--fs-sm);
    padding: var(--sp-3);
    text-align: center;
}

/* ---------- Feature subsection (deep-dive) ---------- */
.site-main .feature-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-6);
}
.site-main .feature-item {
    background: #fff;
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    box-shadow: var(--shadow-sm);
}
.site-main .feature-item h4 {
    color: var(--ah-blue);
    margin-bottom: var(--sp-3);
}
.site-main .feature-item p { color: var(--c-text-soft); font-size: var(--fs-sm); margin: 0; }

/* ---------- Form ---------- */
.site-main .form-card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: var(--sp-7);
    box-shadow: var(--shadow-md);
    max-width: 780px;
    margin: 0 auto;
}
.site-main .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
    margin-bottom: var(--sp-4);
}
.site-main .form-row--single { grid-template-columns: 1fr; }
.site-main .form-field label {
    display: block;
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--ah-navy);
    margin-bottom: 6px;
}
.site-main .form-field input,
.site-main .form-field select,
.site-main .form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: var(--fs-base);
    color: var(--ah-navy);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.site-main .form-field input:focus,
.site-main .form-field select:focus,
.site-main .form-field textarea:focus {
    outline: none;
    border-color: var(--ah-blue);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.18);
}
.site-main .form-field textarea { min-height: 130px; resize: vertical; }
.site-main .form-submit { text-align: center; margin-top: var(--sp-5); }

/* ---------- Offices ---------- */
.site-main .office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-5);
}
.site-main .office-card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    box-shadow: var(--shadow-sm);
}
.site-main .office-card h4 {
    color: var(--ah-blue);
    font-size: var(--fs-md);
    margin-bottom: var(--sp-2);
}
.site-main .office-card p { color: var(--c-text-soft); font-size: var(--fs-sm); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .site-main .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .site-main .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .site-main .plan-grid { grid-template-columns: repeat(2, 1fr); }
    .site-main .logo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
    .site-main h1 { font-size: var(--fs-3xl); }
    .site-main h2 { font-size: var(--fs-2xl); }
    .site-main .section { padding: var(--sp-7) 0; }
    .site-main .hero-slide { grid-template-columns: 1fr; }
    .site-main .grid-3, .site-main .grid-2 { grid-template-columns: 1fr; }
    .site-main .feature-block { grid-template-columns: 1fr; }
    .site-main .form-row { grid-template-columns: 1fr; }
    .site-main .office-grid { grid-template-columns: 1fr; }
    .site-main .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
    .site-main .grid-4,
    .site-main .plan-grid,
    .site-main .stat-grid,
    .site-main .logo-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .site-main *,
    .site-main *::before,
    .site-main *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
