/* =========================================================================
   Heros de categoría B2 (Casos, Sumá especialistas, Nosotros, Blog):
   texto a la izquierda y un muro de tarjetas en movimiento lento a la derecha,
   teñido de azul. Mismo lenguaje que el hero de Casos.
   ========================================================================= */
.page-hero--wall { position: relative; overflow: hidden; }
.page-hero--wall > .wrap { position: relative; z-index: 1; }
.page-hero--wall > .wrap > * { max-width: 560px; }
.page-hero--wall .chw { position: absolute; top: 0; bottom: 0; right: 3%; width: 44%; display: flex; gap: 12px; padding: 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; }
.page-hero--wall .chw::after { content: ""; position: absolute; inset: 0; background: rgba(26,47,194,.38); mix-blend-mode: multiply; pointer-events: none; }
.page-hero--wall .chw__col { flex: 1; overflow: hidden; }
.page-hero--wall .chw__track { display: flex; flex-direction: column; gap: 12px; animation: chwUp 60s linear infinite; }
.page-hero--wall .chw__col:nth-child(2) .chw__track { animation-name: chwDown; animation-duration: 70s; }
.page-hero--wall .chw__col:nth-child(3) .chw__track { animation-duration: 54s; }
@keyframes chwUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 6px)); } }
@keyframes chwDown { from { transform: translateY(calc(-50% - 6px)); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .page-hero--wall .chw__track { animation: none; } }
@media (max-width: 900px) { .page-hero--wall .chw { width: 100%; opacity: .35; } }

/* tarjetas del muro (en lugar de capturas) */
.hw-c { display: block; padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); opacity: .82; filter: saturate(.7) brightness(.86); color: var(--navy); }
.hw-c b, .hw-c b span { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--navy) !important; }
.hw-c small, .hw-c small span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: #5A6180 !important; }
.hw-c b span.en, .hw-c small span.en { display: none; }
html[lang="en"] .hw-c b span.es, html[lang="en"] .hw-c small span.es { display: none; } html[lang="en"] .hw-c b span.en, html[lang="en"] .hw-c small span.en { display: block; }
.hw-av { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: #E8EDFF; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.hw-pill { display: inline-block; margin-top: 10px; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.hw-pill--ok { background: #E3F6EC; color: #11804A; } .hw-pill--b { background: #EEF2FF; color: var(--blue); }
.hw-big { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--blue); margin-bottom: 8px; }
.hw-pin { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 9px; background: #EEF2FF; color: var(--blue); }
.hw-pin svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hw-c--post { padding: 0; overflow: hidden; }
.hw-c--post img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hw-c--post div { padding: 12px 14px 14px; }
.hw-c--post em { display: block; margin-bottom: 4px; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

/* suscripción del blog, en línea bajo el texto */
.page-hero--wall .hw-sub { margin-top: 28px; }
.page-hero--wall .hw-sub form { display: flex; gap: 8px; max-width: 460px; }
.page-hero--wall .hw-sub input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 12px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; }
.page-hero--wall .hw-sub input::placeholder { color: rgba(255,255,255,.55); }
.page-hero--wall .hw-sub input:focus { outline: none; border-color: var(--blue-light); }
.page-hero--wall .hw-sub small { display: block; margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.6); }
.page-hero--wall .hw-sub.is-sent form { display: none; }
.page-hero--wall .hw-sub .subscribe__ok { display: none; font-weight: 600; color: var(--blue-light); }
.page-hero--wall .hw-sub.is-sent .subscribe__ok { display: block; }

/* mismo fondo y color de texto que el hero de Casos */
.page-hero.page-hero--wall { background: #020A35 !important; color: #fff; }
.page-hero--wall h1 { color: #fff; }
.page-hero--wall .crumb, .page-hero--wall .crumb a, .page-hero--wall .crumb span { color: rgba(255,255,255,.6); }
.page-hero--wall .p-hero__facts span { color: rgba(255,255,255,.62); }
/* mismo ritmo que Casos: etiqueta, título, bajada corta y botones */
.page-hero--wall .lead { margin-top: 20px !important; max-width: 520px; }
.page-hero--wall .p-hero__ctas, .page-hero--wall .hw-sub { margin-top: 32px !important; }
.page-hero--wall > .wrap > h1 { max-width: 640px; }
.page-hero--wall .hw-sub { background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; }
/* tarjetas más teñidas, como las capturas de Casos */
.hw-c { opacity: .74; filter: saturate(.55) brightness(.74); }

/* Altura estándar de los heros B2: misma altura con títulos de 2 o 3 renglones; el contenido se centra en el espacio bajo el menú */
:root body .page-hero.page-hero--wall { height: 640px !important; min-height: 0 !important; padding-top: 88px !important; padding-bottom: 8px !important; display: flex !important; flex-direction: column !important; justify-content: center !important; box-sizing: border-box; }
@media (max-width: 900px) { :root body .page-hero.page-hero--wall { height: auto !important; min-height: 560px !important; padding-top: 120px !important; padding-bottom: 56px !important; } }

/* ---- Héroes B2 con animación propia: Nosotros (historia) y Sumá especialistas (equipo que se completa) ---- */
.page-hero--wall .htree, .page-hero--wall .hgrid { position: absolute; top: 96px; bottom: 24px; right: 3%; width: 46%; pointer-events: none; }
.htr__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.htr__svg path { fill: none; stroke: rgba(143,168,255,.45); stroke-width: 1.4; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.2s cubic-bezier(.6,0,.3,1); }
.htr__svg path.is-in { stroke-dashoffset: 0; }
.htr__svg circle { fill: #8FA8FF; }
.htr__h { position: absolute; top: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.htr__n { position: absolute; transform: translateY(-50%) scale(.9); padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); font-size: 12.5px; font-weight: 600; color: #fff; white-space: nowrap; opacity: 0; transition: opacity .6s, transform .7s cubic-bezier(.16,1,.3,1), background .4s, border-color .4s; }
.htr__n.is-in { opacity: 1; transform: translateY(-50%); }
.htr__n--root { background: #fff; color: var(--navy); border-color: #fff; font-weight: 700; }
.htr__n--c1 { background: rgba(32,77,229,.35); border-color: rgba(79,123,255,.6); }
.htr__n--c3 { background: none; border-style: dashed; }
.htr__n.is-hl { background: var(--blue); border-color: #4F7BFF; }

.hg__g { position: absolute; left: 6%; right: 2%; top: 4%; bottom: 14%; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(4, 1fr); gap: 12px; }
.hg__c { position: relative; border-radius: 16px; display: grid; place-items: center; }
.hg__c--t { background: #0B1650; border: 1px solid rgba(255,255,255,.14); color: rgba(185,200,255,.7); }
.hg__c--t svg { width: 34%; max-width: 30px; }
.hg__c--x { background: none; border: 1px solid rgba(255,255,255,.05); }
.hg__c--e { border: 1.5px dashed rgba(143,168,255,.45); transition: background .6s, border-color .6s, box-shadow .6s, transform .7s cubic-bezier(.16,1,.3,1); }
.hg__c--e b { padding: 0 8px; font-size: 11.5px; font-weight: 700; line-height: 1.25; text-align: center; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .5s .2s, transform .6s .2s; }
.hg__c--e.is-in { border: 0; background: linear-gradient(135deg, #204DE5, #4F7BFF); box-shadow: 0 16px 30px -12px rgba(32,77,229,.7); transform: scale(1.04); }
.hg__c--e.is-in b { opacity: 1; transform: none; }
.hg__c--e.is-set { transform: none; box-shadow: none; }
.hg__lg { position: absolute; left: 6%; bottom: 0; display: flex; gap: 22px; font-size: 13px; color: rgba(255,255,255,.7); }
.hg__lg span:not(.es):not(.en) { display: inline-flex; align-items: center; gap: 8px; }
.hg__lg i { width: 14px; height: 14px; border-radius: 4px; } .hg__lg i.t { background: #0B1650; border: 1px solid rgba(255,255,255,.3); } .hg__lg i.e { background: linear-gradient(135deg, #204DE5, #4F7BFF); }
@media (max-width: 900px) { .page-hero--wall .htree, .page-hero--wall .hgrid { width: 100%; right: 0; opacity: .3; } }
