/**
 * Solution (v3): page-templates/page-solution-v3.php.
 *
 * Section anatomy follows itransition's CRM and eLearning pages: overview with what you get,
 * functionality modules, key features in segmented tabs by user, an integrations hub diagram,
 * the build roadmap with icons on a colour band, products we have built, industries served,
 * best practices, a getting-started band and more solutions. The template's one CTA tone is
 * teal.
 *
 * Tokens, hero, work/insight cards and the FAQ come from v3-base.css; accents, hero tint,
 * prose, tabs and the framed hero artwork (.v3-art) from v3-sections.css/js; the lead form
 * from v3-form.css. Images never render larger than their file and keep their own ratio.
 */

/* ── Shared section type ─────────────────────────────────────────────── */
.acma-v3 .v3-ssec__title { max-width: 24ch; font-size: var(--v3-title-fs); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--v3-ink); text-wrap: balance; }
.acma-v3 .v3-ssec__title--light { color: #fff; }
.acma-v3 .v3-ssec__lead { max-width: 60ch; font-size: clamp(16px, .3vw + 13px, 21px); line-height: 1.6; color: var(--v3-text); }
.v3-ssec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 112px); align-items: start; }
.v3-ssec__head > :not(h2) { padding-top: .4em; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.acma-v3 .v3-shero2 .v3-hero__title { max-width: 17ch; }

/* ── Overview and what you get ───────────────────────────────────────── */
.v3-sover { padding-block: var(--v3-section); }
.v3-sover__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 128px); align-items: start; }
.acma-v3 .v3-sover__body { margin-top: clamp(20px, 2vw, 36px); }
/* ── Functionality modules ───────────────────────────────────────────── */
.v3-smod { padding-block: var(--v3-section); }
.acma-v3 .v3-smod__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); margin-top: clamp(36px, 3.4vw, 64px); list-style: none; }
.acma-v3 .v3-smod__grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v3-smod__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.2vw, 40px); border-radius: clamp(14px, 1.2vw, 24px); background: #fff; box-shadow: inset 0 4px 0 var(--accent), 0 0 0 1px var(--v3-line); }
.acma-v3 .v3-smod__n { font-size: clamp(34px, 1.6vw + 18px, 56px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.acma-v3 .v3-smod__title { font-size: clamp(19px, .5vw + 14px, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; color: var(--v3-ink); }
.acma-v3 .v3-smod__text { line-height: 1.65; color: var(--v3-text); }

/* ── Key features: segmented tabs by user ────────────────────────────── */
.v3-sfeat { padding-block: var(--v3-section); }
.v3-sfeat__tabs { margin-top: clamp(36px, 3.4vw, 64px); }
.v3-sfeat__tablist { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--v3-surface); box-shadow: inset 0 0 0 1px var(--v3-line); }
.acma-v3 .v3-sfeat__tab { min-height: 48px; padding: 10px 24px; border-radius: 999px; font-size: clamp(15px, .15vw + 13px, 17px); font-weight: 700; color: var(--v3-text); transition: background-color .25s, color .25s, box-shadow .25s; }
.acma-v3 .v3-sfeat__tab:is(:hover, :focus-visible) { color: var(--v3-ink); }
.acma-v3 .v3-sfeat__tab[aria-selected="true"] { background: #fff; color: var(--accent); box-shadow: 0 6px 18px -8px rgba(14, 22, 34, .35); }
.v3-sfeat__panel { margin-top: clamp(24px, 2.4vw, 40px); }
.v3-sfeat__panel:not([hidden]) { animation: v3-rise .5s var(--v3-ease) both; }
.v3-sfeat__panel:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 12px; }
.acma-v3 .v3-sfeat__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; list-style: none; }
.acma-v3 .v3-sfeat__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--v3-surface); font-size: clamp(16px, .25vw + 13px, 19px); font-weight: 600; line-height: 1.35; color: var(--v3-ink); }
.acma-v3 .v3-sfeat__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, #fff); font-size: 15px; font-weight: 700; color: var(--accent); }

/* ── Integrations hub ────────────────────────────────────────────────── */
.v3-sint { padding-block: var(--v3-section); }
.v3-sint__hub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 18vw, 280px) minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: center; margin-top: var(--v3-head-gap); }
.acma-v3 .v3-sint__side { position: relative; display: grid; gap: 14px; list-style: none; }
/* Side by side, both columns get equal rows and two-line descriptions so their nodes line up. */
@media (min-width: 992px) { .acma-v3 .v3-sint__side { grid-auto-rows: 1fr; } .acma-v3 .v3-sint__text { min-height: 3em; } }
.v3-sint__node { position: relative; padding: 18px 22px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--v3-line); }
/* Connectors from each node to the core. */
.v3-sint__side.is-left .v3-sint__node::after,
.v3-sint__side.is-right .v3-sint__node::after { content: ""; position: absolute; top: 50%; width: clamp(20px, 3vw, 56px); border-top: 2px dotted color-mix(in srgb, var(--accent) 55%, #fff); }
.v3-sint__side.is-left .v3-sint__node::after { left: 100%; }
.v3-sint__side.is-right .v3-sint__node::after { right: 100%; }
.acma-v3 .v3-sint__name { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--v3-ink); }
.acma-v3 .v3-sint__text { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--v3-text); }
.v3-sint__core { position: relative; z-index: 1; display: grid; place-items: center; aspect-ratio: 1; padding: 28px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 14%, var(--v3-surface)), 0 0 0 26px color-mix(in srgb, var(--accent) 7%, var(--v3-surface)); text-align: center; }
.acma-v3 .v3-sint__core span { font-size: clamp(17px, .5vw + 12px, 23px); font-weight: 700; line-height: 1.25; color: #fff; }

/* ── Build roadmap on a colour band ──────────────────────────────────── */
.v3-sproc { padding-block: var(--v3-section); background: var(--accent); color: #fff; }
.acma-v3 .v3-sproc .v3-ssec__lead { color: rgba(255, 255, 255, .88); }
.acma-v3 .v3-sproc__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); margin-top: var(--v3-head-gap); list-style: none; counter-reset: none; }
.acma-v3 .v3-sproc__list.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v3-sproc__step { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2vw, 32px); border-radius: clamp(14px, 1.2vw, 22px); background: rgba(0, 0, 0, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.v3-sproc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.v3-sproc__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #fff; }
.acma-v3 .v3-sproc__icon img { width: min(var(--nw, 44px), 44px); height: auto; max-height: 44px; object-fit: contain; }
.acma-v3 .v3-sproc__n { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.acma-v3 .v3-sproc__title { font-size: clamp(18px, .35vw + 14px, 22px); font-weight: 700; line-height: 1.3; color: #fff; }
.acma-v3 .v3-sproc__text { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .85); }

/* ── Industries served ───────────────────────────────────────────────── */
.v3-sind { padding-block: var(--v3-section); }
.acma-v3 .v3-sind__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 14px; margin-top: clamp(36px, 3.4vw, 64px); list-style: none; }
/* Short lists (no filler industries: the cards make claims). Two share the row; one sits beside the heading. */
/* Four industries sit two by two rather than three and one. */
@media (min-width: 992px) { .acma-v3 .v3-sind__list:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acma-v3 .v3-sind__list:not(:has(> :nth-child(3))) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
@media (min-width: 992px) {
	.v3-sind > .v3-wrap:has(.v3-sind__list > :only-child) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 112px); align-items: center; }
	.acma-v3 .v3-sind__list:has(> :only-child) { margin-top: 0; }
	.v3-sind > .v3-wrap:has(.v3-sind__list > :only-child) .v3-ssec__head { display: block; }
	.v3-sind > .v3-wrap:has(.v3-sind__list > :only-child) .v3-ssec__lead { margin-top: clamp(14px, 1.2vw, 22px); }
}
.acma-v3 .v3-sind__card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; height: 100%; padding: 14px 22px 14px 14px; border-radius: 18px; background: var(--v3-surface); color: var(--v3-ink); text-decoration: none; transition: box-shadow .3s; }
.acma-v3 .v3-sind__card:is(:hover, :focus-visible) { box-shadow: 0 0 0 2px var(--accent); }
.v3-sind__media { display: block; width: min(120px, var(--nw, 120px)); aspect-ratio: var(--ar, 1); border-radius: 14px; overflow: hidden; background: #fff; }
.acma-v3 .v3-sind__media img, .acma-v3 .v3-smore__media img { display: block; width: calc(100% * var(--sx, 1)); max-width: none; height: auto; margin-left: calc(-100% * var(--ml, 0)); margin-top: calc(-100% * var(--mt, 0)); }
.v3-sind__body { display: grid; gap: 4px; }
.acma-v3 .v3-sind__name { font-size: clamp(18px, .35vw + 14px, 22px); font-weight: 700; line-height: 1.25; }
.acma-v3 .v3-sind__text { font-size: 15px; color: var(--v3-text); }
.v3-sind__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--accent); transition: transform .35s var(--v3-ease); }
.v3-sind__go .v3-arrow { width: 20px; height: 20px; }
.v3-sind__card:hover .v3-sind__go { transform: translateX(4px); }

/* ── Best practices ──────────────────────────────────────────────────── */
.v3-sbest { padding-block: var(--v3-section); }
.acma-v3 .v3-sbest__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.4vw, 44px); margin-top: clamp(36px, 3.4vw, 64px); list-style: none; }
.acma-v3 .v3-sbest__grid li { padding-top: 20px; border-top: 3px solid var(--accent); }
.acma-v3 .v3-sbest__name { font-size: clamp(19px, .4vw + 14px, 24px); font-weight: 700; line-height: 1.25; color: var(--v3-ink); }
.acma-v3 .v3-sbest__text { margin-top: 10px; line-height: 1.65; color: var(--v3-text); }

/* ── Getting started band: a navy box closing the practices section ──── */
.v3-sstart { padding-top: var(--v3-section); }
.v3-sstart__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; gap: 28px clamp(28px, 3.6vw, 72px); align-items: center; padding: clamp(32px, 3.4vw, 64px); border-radius: clamp(16px, 1.4vw, 28px); background: var(--v3-navy); color: #fff; }
.acma-v3 .v3-sstart__title { font-size: clamp(24px, 1vw + 16px, 40px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.acma-v3 .v3-sstart__text { margin-top: 10px; color: rgba(255, 255, 255, .78); }
.acma-v3 .v3-sstart__steps { display: grid; gap: 12px; list-style: none; }
.acma-v3 .v3-sstart__steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; font-weight: 600; color: #fff; }
.acma-v3 .v3-sstart__steps span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); font-size: 14px; font-weight: 700; }
.v3-sstart__actions { display: grid; gap: 14px; justify-items: start; }
.acma-v3 .v3-sstart__btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 30px; border-radius: 999px; background: var(--v3-teal); font-size: 17px; font-weight: 700; color: #fff; text-decoration: none; transition: background-color .3s; white-space: nowrap; }
.acma-v3 .v3-sstart__btn .v3-arrow { width: 20px; height: 20px; transition: transform .4s var(--v3-ease); }
.acma-v3 .v3-sstart__btn:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--v3-teal) 83%, #000); color: #fff; }
.acma-v3 .v3-sstart__btn:is(:hover, :focus-visible) .v3-arrow { transform: translateX(5px); }

/* ── More solutions ──────────────────────────────────────────────────── */
.v3-smore { padding-block: var(--v3-section); }
.acma-v3 .v3-smore__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: clamp(32px, 3vw, 56px); list-style: none; }
/* Set column counts (5, 4, 2, 1), not auto-fill: 22 solutions never leave a lone card (auto-fill gave 3 columns at 1280: 7 rows and 1). */
@media (min-width: 640px) { .acma-v3 .v3-smore__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .acma-v3 .v3-smore__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1680px) { .acma-v3 .v3-smore__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.acma-v3 .v3-smore__card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; height: 100%; padding: 10px 16px 10px 10px; border-radius: 14px; box-shadow: 0 0 0 1px var(--v3-line); color: var(--v3-ink); text-decoration: none; transition: box-shadow .3s, color .25s; }
.acma-v3 .v3-smore__card:is(:hover, :focus-visible) { box-shadow: 0 0 0 2px var(--accent); color: var(--accent); }
.v3-smore__media { display: block; width: min(56px, var(--nw, 56px)); aspect-ratio: var(--ar, 1); border-radius: 10px; overflow: hidden; background: var(--v3-surface); }
.acma-v3 .v3-smore__name { font-size: 16px; font-weight: 700; line-height: 1.3; }

/* Sections alternate white and grey (acma_v3_tones()): grey-filled cards turn white on grey. */
main.acma-v3 > .is-grey :is(.v3-sfeat__tablist, .v3-sfeat__list li, .v3-sind__card) { background: #fff; }
main.acma-v3 > .is-grey :is(.v3-sind__media, .v3-sind__go) { background: var(--v3-surface); }
.v3-sol .v3-faq__aside .v3-ssec__lead { margin-top: clamp(14px, 1.2vw, 22px); }
.v3-sol [id] { scroll-margin-top: 0; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
	.acma-v3 .v3-smod__grid.is-4, .acma-v3 .v3-sbest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acma-v3 .v3-sproc__list:not(.is-3) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.v3-sstart__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.v3-sstart__actions { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center; }
}
@media (max-width: 991.98px) {
	.v3-shero2__layout, .v3-sover__grid, .v3-ssec__head { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-smod__grid { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-sproc__list, .acma-v3 .v3-sproc__list.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Hub: the core on top, nodes in one column, no side connectors. */
	.v3-sint__hub { grid-template-columns: minmax(0, 1fr); }
	.v3-sint__core { order: -1; width: min(240px, 70%); justify-self: center; margin-bottom: 24px; }
	.v3-sint__side.is-left .v3-sint__node::after, .v3-sint__side.is-right .v3-sint__node::after { content: none; }
}
@media (max-width: 767.98px) {
	.acma-v3 .v3-smod__grid.is-4, .acma-v3 .v3-sbest__grid, .acma-v3 .v3-sproc__list, .acma-v3 .v3-sproc__list.is-3 { grid-template-columns: minmax(0, 1fr); }
	.v3-sstart__in { grid-template-columns: minmax(0, 1fr); }
	.v3-sstart__actions { grid-auto-flow: row; }
	.v3-sfeat__tablist { display: flex; border-radius: 18px; }
	.acma-v3 .v3-sfeat__tab { flex: 1 1 auto; border-radius: 14px; }
}
@media (max-width: 639.98px) {
	.v3-sind__media { width: min(80px, var(--nw, 80px)); }
	.acma-v3 .v3-sstart__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.v3-sfeat__panel:not([hidden]) { animation: none; }
}

/* Google Translate: longer words need looser headings. */
/* ── Phones (mobile pass 2026-11-19): modules, integrations (one row per side) and best
   practices swipe (v3-swipe-sm); other solutions show the first six ([data-v3-first]). ── */
@media (max-width: 639.98px) {
	.v3-sint__core { width: 132px; margin-bottom: 8px; padding: 16px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 14%, var(--v3-surface)); }
	.acma-v3 .v3-sint__core span { font-size: 15px; }
	.v3-sint__hub { gap: 4px; }
	.acma-v3 .v3-sbest__grid li { padding: 20px; border: 1px solid var(--v3-line); border-top: 3px solid var(--accent); border-radius: 14px; background: #fff; }
	.acma-v3 .v3-smod__grid, .acma-v3 .v3-sbest__grid, .acma-v3 .v3-smore__list { margin-top: 24px; }
	.acma-v3 .v3-smod__n { font-size: 32px; }
}

html:is(.translated-ltr, .translated-rtl) .acma-v3 :is(.v3-ssec__title, .v3-smod__title, .v3-sproc__title, .v3-sbest__name, .v3-sint__name) { line-height: 1.35; letter-spacing: normal; }
