/**
 * Contextual brochure section (parts/v3-brochure-cta.php) on service, solution, technology,
 * industry, practice and AI pages, above the lead form. A navy band with one capped composition:
 * the cover large and crisp (never above its own width) with two preview pages fanned behind it
 * on two solid slabs (royal and the template's CTA tone), then the title, value line, "Inside this
 * brochure", meta chips and the actions (download in the CTA tone, preview, all brochures).
 * Solid colours only, white focus rings on navy, motion off with prefers-reduced-motion.
 */

.acma-v3 .v3-brcta { --brc-tone: var(--v3-violet, #5b3fc4); position: relative; isolation: isolate; overflow: hidden; padding-block: var(--v3-section-sm); background: var(--v3-navy, #071a33); color: #fff; }
.v3-brcta__card {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 112px); align-items: center;
	max-width: clamp(1360px, 70vw, var(--v3-max, 1760px)); margin-inline: auto; /* 1360 to 1920, the full container from 2560 (4K: the copy column fits the title). */
}

/* ── Visual: two slabs, two pages fanned, the cover in front ─────────── */
.v3-brcta__visual { position: relative; display: grid; place-items: center; min-height: calc(var(--cw) * 1.5); --cw: clamp(220px, 21vw, 360px); }
.v3-brcta__slab { position: absolute; border-radius: clamp(16px, 1.4vw, 28px); }
.v3-brcta__slab--a { width: 78%; height: 74%; left: 2%; bottom: 4%; background: var(--v3-royal, #005f9f); }
.v3-brcta__slab--b { width: 46%; height: 46%; right: 2%; top: 2%; background: var(--brc-tone); }
.v3-brcta__cover, .v3-brcta__page { grid-area: 1 / 1; position: relative; display: block; aspect-ratio: var(--ar, 520 / 735); overflow: hidden; border-radius: 6px; background: #fff; }
.v3-brcta__cover { z-index: 3; width: min(var(--cw), var(--nw, 520px)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 80px -36px rgba(0, 0, 0, .75); transition: transform .7s var(--v3-ease, cubic-bezier(.22, 1, .36, 1)); }
.v3-brcta__page { z-index: 2; width: min(calc(var(--cw) * .86), var(--nw, 560px)); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .7); transition: transform .7s var(--v3-ease, cubic-bezier(.22, 1, .36, 1)); }
.v3-brcta__page.is-0 { transform: translate(-30%, 4%) rotate(-7deg); }
.v3-brcta__page.is-1 { transform: translate(30%, 6%) rotate(6deg); z-index: 1; }
.v3-brcta__visual.has-fan .v3-brcta__cover { transform: translateY(-3%); }
.acma-v3 .v3-brcta__cover img, .acma-v3 .v3-brcta__page img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v3-brcta__card:hover .v3-brcta__page.is-0 { transform: translate(-36%, 3%) rotate(-9deg); }
.v3-brcta__card:hover .v3-brcta__page.is-1 { transform: translate(36%, 5%) rotate(8deg); }

/* ── Body ─────────────────────────────────────────────────────────── */
.acma-v3 .v3-brcta__title { max-width: 22ch; font-size: var(--v3-title-fs); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.acma-v3 .v3-brcta__text { max-width: 54ch; margin-top: clamp(14px, 1.2vw, 22px); font-size: clamp(17px, .3vw + 14px, 21px); line-height: 1.6; color: rgba(255, 255, 255, .86); text-wrap: pretty; }
.acma-v3 .v3-brcta__sub { margin-top: clamp(24px, 2vw, 36px); font-size: 17px; font-weight: 700; color: #fff; }
.acma-v3 .v3-brcta__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px clamp(20px, 2vw, 40px); margin-top: 14px; list-style: none; }
.acma-v3 .v3-brcta__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.acma-v3 .v3-brcta__list svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--v3-green, #7ab242); color: var(--v3-navy, #071a33); }
.acma-v3 .v3-brcta__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(22px, 1.8vw, 32px); list-style: none; }
.acma-v3 .v3-brcta__chips li { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; color: #fff; font-variant-numeric: tabular-nums; }
.v3-brcta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: clamp(26px, 2.2vw, 40px); }

.acma-v3 .v3-brcta .v3-brdl {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 28px; border-radius: 999px;
	background: var(--brc-tone); color: #fff; text-decoration: none; white-space: nowrap;
	font-size: clamp(16px, .2vw + 13.5px, 18px); font-weight: 700; line-height: 1.2;
}
.acma-v3 .v3-brcta .v3-brdl::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(101%); transition: transform .55s var(--v3-ease-io, cubic-bezier(.7, 0, .2, 1)); }
.acma-v3 .v3-brcta .v3-brdl:is(:hover, :focus-visible) { color: var(--v3-navy, #071a33); }
.acma-v3 .v3-brcta .v3-brdl:is(:hover, :focus-visible)::before { transform: none; }
.v3-brcta .v3-brdl__i { flex: none; width: 20px; height: 20px; }
.acma-v3 .v3-brcta .v3-brpv { min-height: 56px; padding: 0 24px; font-size: 16px; }
.acma-v3 .v3-brcta__all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.acma-v3 .v3-brcta__all svg { width: 18px; height: 18px; transition: transform .3s; }
.acma-v3 .v3-brcta__all:hover { text-decoration-color: #fff; }
.acma-v3 .v3-brcta__all:hover svg { transform: translateX(3px); }
.acma-v3 .v3-brcta :is(.v3-brdl, .v3-brpv, .v3-brcta__all):focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.acma-v3 .v3-brcta__known { margin-top: 14px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.acma-v3 .v3-brcta__known[hidden] { display: none; }
.acma-v3 .v3-brcta .v3-brsr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 991.98px) {
	.v3-brcta__card { grid-template-columns: minmax(0, 1fr); }
	.v3-brcta__visual { --cw: clamp(200px, 40vw, 300px); max-width: 560px; width: 100%; justify-self: center; }
}
@media (max-width: 639.98px) {
	.v3-brcta__visual { --cw: min(58vw, 240px); }
	.acma-v3 .v3-brcta__list { grid-template-columns: minmax(0, 1fr); }
	.v3-brcta__actions { flex-direction: column; align-items: stretch; }
	.acma-v3 .v3-brcta .v3-brdl, .acma-v3 .v3-brcta .v3-brpv { width: 100%; justify-content: center; }
	.acma-v3 .v3-brcta__all { justify-content: center; }
	/* Mobile pass 2026-11-19: a media card, the cover as a thumbnail beside the title (drawn far
	   below its own width), then the copy, and Preview and All brochures on one row. */
	.v3-brcta__card { grid-template-columns: 88px minmax(0, 1fr); gap: 0 16px; align-items: center; }
	.v3-brcta__visual { --cw: 88px; grid-column: 1; grid-row: 1; width: 88px; min-height: 0; }
	.v3-brcta__slab, .v3-brcta__page { display: none; }
	.v3-brcta__visual.has-fan .v3-brcta__cover, .v3-brcta__card:hover .v3-brcta__cover { transform: none; }
	.v3-brcta__cover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 16px 28px -16px rgba(0, 0, 0, .7); }
	.v3-brcta__body { display: contents; }
	.acma-v3 .v3-brcta__title { grid-column: 2; grid-row: 1; font-size: clamp(20px, 5.4vw, 24px); }
	.v3-brcta__body > :not(.v3-brcta__title) { grid-column: 1 / -1; }
	.acma-v3 .v3-brcta__text { margin-top: 20px; font-size: 16px; }
	.acma-v3 .v3-brcta__sub { margin-top: 20px; }
	.acma-v3 .v3-brcta__list { gap: 8px; margin-top: 10px; }
	.acma-v3 .v3-brcta__chips { margin-top: 18px; }
	.v3-brcta__actions { flex-direction: row; flex-wrap: wrap; gap: 8px 12px; margin-top: 20px; }
	.acma-v3 .v3-brcta .v3-brdl { flex: 1 1 100%; }
	.acma-v3 .v3-brcta .v3-brpv { flex: 1 1 0; width: auto; min-height: 48px; padding: 0 16px; }
	.acma-v3 .v3-brcta__all { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
	.v3-brcta__cover, .v3-brcta__page, .acma-v3 .v3-brcta .v3-brdl::before, .acma-v3 .v3-brcta__all svg { transition: none; }
	.v3-brcta__card:hover .v3-brcta__page.is-0 { transform: translate(-30%, 4%) rotate(-7deg); }
	.v3-brcta__card:hover .v3-brcta__page.is-1 { transform: translate(30%, 6%) rotate(6deg); }
}
html:is(.translated-ltr, .translated-rtl) .acma-v3 :is(.v3-brcta__title, .v3-brcta__sub) { line-height: 1.4; letter-spacing: normal; }
html:is(.translated-ltr, .translated-rtl) .v3-brcta span[translate="no"] { margin-inline: .28em; }
html:is(.translated-ltr, .translated-rtl) .v3-brcta span[translate="no"]:first-child { margin-inline-start: 0; }
