/* ==========================================================================
   BLANC — Estilos del tema
   Paleta: Carbon #101114 · Lime #B6F43B · White #F5F5F7 · Graphite #23252B
   ========================================================================== */

:root {
	--b-carbon: #101114;
	--b-surface: #17181C;
	--b-graphite: #23252B;
	--b-line: #2A2D34;
	--b-line-2: #3A3D45;
	--b-dim: #6B6F79;
	--b-titanium: #777B85;
	--b-soft: #9A9DA6;
	--b-mist: #C9CBD1;
	--b-white: #F5F5F7;
	--b-lime: #B6F43B;
	--b-ease: cubic-bezier(.16, 1, .3, 1);
	--b-sec-pad: clamp(96px, 11vw, 168px);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
::selection { background: var(--b-lime); color: var(--b-carbon); }
:focus-visible { outline: 2px solid var(--b-lime); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
main.b-main { margin-top: 0; }
.b-main > .entry-content > * + *, .b-main .wp-block-post-content > * + * { margin-block-start: 0; }
.has-text-align-center { text-align: center; }
.skip-link:focus { background: var(--b-lime); color: var(--b-carbon); }

/* ---------- Header ---------------------------------------------------- */
.b-header-wrap { position: sticky; top: 0; z-index: 50; }
.b-header { background: rgba(16,17,20,.8); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(255,255,255,.06); }
.admin-bar .b-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .b-header-wrap { top: 0; } }
.b-header__inner { min-height: 70px; gap: 24px; }
.b-logo { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 23px; letter-spacing: -0.01em; text-decoration: none; color: var(--b-white); display: inline-flex; align-items: baseline; line-height: 1; }
.b-logo:hover { color: var(--b-white); }
.b-logo i, .b-dot { display: inline-block; width: .22em; height: .22em; background: var(--b-lime); margin-left: .06em; }
.b-header .wp-block-navigation { font-size: 14px; color: var(--b-mist); gap: 4px 28px; }
.b-header .wp-block-navigation a:hover { color: var(--b-lime); }
.b-header .wp-block-navigation__submenu-container { background: var(--b-surface) !important; border: 1px solid var(--b-line) !important; border-radius: 16px; padding: 8px !important; min-width: 280px !important; box-shadow: 0 24px 48px rgba(0,0,0,.45); margin-top: 0 !important; }
.b-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 12px 14px !important; border-radius: 10px; color: var(--b-white); }
.b-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--b-graphite); color: var(--b-lime); }
.b-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--b-carbon) !important; color: var(--b-white) !important; padding: 32px clamp(20px,5vw,48px); }
.b-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 18px; font-family: var(--wp--preset--font-family--display); font-size: 28px; letter-spacing: -0.02em; }
.b-header .is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; border: 0 !important; box-shadow: none; font-size: 18px; padding: 8px 0 0 0 !important; }
.b-header .wp-block-navigation__responsive-container-open svg, .b-header .wp-block-navigation__responsive-container-close svg { fill: var(--b-white); }
.b-header .b-header__cta .wp-block-button__link { padding: 12px 18px; font-size: 14px; }
@media (max-width: 600px) { .b-header .b-header__cta { display: none; } }

/* ---------- Secciones -------------------------------------------------- */
.b-sec { padding-top: var(--b-sec-pad) !important; padding-bottom: var(--b-sec-pad) !important; position: relative; }
.b-sec--tight { --b-sec-pad: clamp(48px, 6vw, 72px); }
.b-sec--top0 { padding-top: 0 !important; }
.b-sec + .b-sec:not(.is-light):not(.is-lime):not(.is-surface) { border-top: 1px solid var(--b-graphite); }
.b-sec.is-light { background: var(--b-white); color: var(--b-carbon); }
.b-sec.is-lime { background: var(--b-lime); color: var(--b-carbon); }
.b-sec.is-surface { background: var(--b-surface); }
.is-light a:hover, .is-lime a:hover { color: var(--b-carbon); }
.b-stack { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.b-sec > * + *, .b-stack > * + * { margin-block-start: 0 !important; }
.b-sec > .wp-block-group + .wp-block-group { margin-top: clamp(48px, 6vw, 80px) !important; }

/* Encabezado de sección: título + texto a la derecha */
.b-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.b-head > .wp-block-group { display: flex; flex-direction: column; gap: 22px; flex: 1 1 560px; }
.b-head > .wp-block-group > * { margin: 0 !important; }
.b-head > p { margin: 0; flex: 0 1 380px; }
.b-head h2, .b-head h1 { margin: 0; }

/* Tipografía utilitaria */
.b-eyebrow { font-family: var(--wp--preset--font-family--display); font-size: 12px !important; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--b-soft); display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.b-eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--b-lime); flex: 0 0 7px; }
.b-eyebrow.is-plain::before { display: none; }
.is-light .b-eyebrow, .is-lime .b-eyebrow { color: #5E626B; }
.is-light .b-eyebrow::before, .is-lime .b-eyebrow::before { background: var(--b-carbon); }
.is-lime .b-eyebrow { color: #23252B; }
.b-lead { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--b-mist); max-width: 560px; }
.is-light .b-lead { color: #3A3D45; }
.is-lime .b-lead { color: #23252B; }
.b-body { color: var(--b-mist); line-height: 1.65; max-width: 680px; }
.is-light .b-body { color: #3A3D45; }
.b-small { font-size: 14px; color: var(--b-soft); }
.is-light .b-small { color: #5E626B; }
.b-statement { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.9rem, 4vw, 3.9rem) !important; line-height: 1.06; letter-spacing: -0.035em; font-weight: 500; }
.has-titanium-color { color: var(--b-titanium) !important; }
mark.has-inline-color { background: transparent !important; }
h1 mark.has-titanium-color, h2 mark.has-titanium-color { color: var(--b-dim) !important; }
.is-light h1 mark.has-titanium-color, .is-light h2 mark.has-titanium-color, .is-light .b-statement mark.has-titanium-color { color: var(--b-titanium) !important; }
.b-hero h1 mark.has-lime-color, h2 mark.has-lime-color { color: var(--b-lime) !important; }

/* ---------- Botones --------------------------------------------------- */
.wp-block-button__link { transition: transform .3s var(--b-ease), background .3s, color .3s, border-color .3s; display: inline-flex; align-items: center; gap: 12px; }
.wp-block-button__link::after { content: ""; width: 14px; height: 14px; flex: 0 0 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .3s var(--b-ease); }
.wp-block-button__link:hover::after { transform: translateX(5px); }
.is-style-outline .wp-block-button__link, .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent !important; color: var(--b-white) !important; border: 1px solid var(--b-line-2) !important; }
.is-style-outline .wp-block-button__link::after { display: none; }
.is-style-outline .wp-block-button__link:hover { border-color: var(--b-white) !important; }
.is-light .is-style-outline .wp-block-button__link, .is-lime .is-style-outline .wp-block-button__link { color: var(--b-carbon) !important; border-color: var(--b-carbon) !important; }
.wp-block-button.is-style-dark .wp-block-button__link { background: var(--b-carbon); color: var(--b-white); }
.wp-block-button.is-style-dark .wp-block-button__link:hover { background: var(--b-graphite); color: var(--b-white); }
.wp-block-button.is-style-light .wp-block-button__link { background: var(--b-white); color: var(--b-carbon); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #fff; color: var(--b-carbon); }
.b-link { font-weight: 500; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.b-link a { text-decoration: none; }
.b-link::after { content: "→"; transition: transform .3s var(--b-ease); }
.b-link:hover::after { transform: translateX(5px); }

/* WhatsApp */
.b-wa { display: inline-flex; align-items: center; gap: 14px; background: var(--b-white); color: var(--b-carbon) !important; padding: 19px 30px; border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--b-ease); }
.b-wa:hover { transform: translateY(-2px); color: var(--b-carbon) !important; }
.b-wa svg { width: 22px; height: 22px; }
.b-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--b-lime); color: var(--b-carbon); display: grid; place-items: center; box-shadow: 0 12px 32px rgba(0,0,0,.45); transition: transform .3s var(--b-ease); }
.b-wa-float:hover { transform: scale(1.06); color: var(--b-carbon); }
.b-wa-float svg { width: 28px; height: 28px; }
.b-wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--b-lime); animation: b-ping 2.6s var(--b-ease) infinite; }
@keyframes b-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Hero ------------------------------------------------------ */
.b-hero { padding-top: clamp(56px, 8vw, 120px) !important; padding-bottom: clamp(56px, 7vw, 104px) !important; }
.b-hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: clamp(32px, 4vw, 56px) !important; }
.b-hero h1 { margin: 0; }
.b-hero__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(32px, 4vw, 56px) !important; }
.b-hero__bottom > * { margin: 0 !important; }
.b-hero--page h1 { font-size: clamp(2.75rem, 7vw, 7.25rem); }
.b-hero--split { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 5vw, 80px); align-items: end; }
.b-hero--split > .wp-block-group { display: flex; flex-direction: column; gap: 28px; }
.b-hero--split > .wp-block-group > * { margin: 0 !important; }
@media (max-width: 900px) { .b-hero--split { grid-template-columns: 1fr; } }
.b-line-in { display: block; overflow: hidden; padding-bottom: .05em; }
.b-line-in > span { display: inline-block; animation: b-up 1.1s var(--b-ease) both; }
@keyframes b-up { from { transform: translateY(105%); } to { transform: none; } }

/* ---------- Visuales -------------------------------------------------- */
.b-field { display: grid; grid-template-columns: repeat(32, minmax(0, 1fr)); gap: clamp(3px, .6vw, 8px); }
.b-field span { aspect-ratio: 1; background: var(--b-line); animation: b-wave 5.5s ease-in-out infinite; }
@keyframes b-wave { 0%, 62%, 100% { background: var(--b-line); } 72% { background: var(--b-lime); } }
.b-field-cap { display: flex; justify-content: space-between; margin-top: 16px; }
@media (max-width: 700px) { .b-field { grid-template-columns: repeat(16, minmax(0, 1fr)); } .b-field span:nth-child(n+129) { display: none; } }

.b-panel { background: var(--b-surface); border: 1px solid var(--b-graphite); border-radius: 24px; padding: clamp(20px, 2.6vw, 32px); position: relative; overflow: hidden; }
.b-screen { background: var(--b-carbon); border: 1px solid var(--b-graphite); border-radius: 16px; padding: 24px; min-height: 270px; position: relative; overflow: hidden; color: var(--b-white); font-size: 14px; }
.b-screen__bar { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--b-soft); margin-bottom: 18px; }
.b-screen__bar b { color: var(--b-lime); font-weight: 400; }
.b-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; border-bottom: 1px solid var(--b-line); }
.b-bars span { flex: 1; background: var(--b-line); transform-origin: bottom; }
.b-bars span.is-mid { background: var(--b-line-2); }
.b-bars span.is-hi { background: var(--b-lime); }
.b-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.b-chips span { border: 1px solid var(--b-line-2); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.b-flow { display: flex; gap: 20px; }
.b-flow__rail { position: relative; width: 2px; background: var(--b-line); margin: 18px 4px; }
.b-flow__rail i { position: absolute; left: -4px; width: 10px; height: 10px; background: var(--b-lime); animation: b-travel 3.2s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes b-travel { 0% { top: 0; } 100% { top: calc(100% - 10px); } }
.b-flow__steps { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.b-flow__steps div { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--b-line); border-radius: 12px; padding: 14px 16px; }
.b-flow__steps div.is-on { border-color: var(--b-lime); }
.b-flow__steps small { font-size: 12px; color: var(--b-soft); }
.b-flow__steps .is-on small { color: var(--b-lime); }
.b-scan { position: relative; }
.b-scan__line { position: absolute; left: 0; right: 0; height: 1px; background: var(--b-lime); box-shadow: 0 0 24px 2px rgba(182,244,59,.35); animation: b-scan 3.6s ease-in-out infinite alternate; z-index: 2; }
@keyframes b-scan { 0% { top: 0; } 100% { top: 100%; } }
.b-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--b-graphite); }
.b-rows div:last-child { border-bottom: 1px solid var(--b-graphite); }
.b-rows em { font-style: normal; color: var(--b-lime); }
.b-hbars { display: flex; flex-direction: column; gap: 14px; }
.b-hbars div { display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 12px; }
.b-hbars i { height: 10px; background: var(--b-line-2); transform-origin: left; display: block; }
.b-hbars div.is-total { padding-top: 14px; border-top: 1px solid var(--b-line); color: var(--b-lime); }
.b-hbars div.is-total i { background: var(--b-lime); }
.b-chat { display: flex; flex-direction: column; gap: 10px; line-height: 1.45; }
.b-chat p { margin: 0; max-width: 82%; padding: 10px 14px; }
.b-chat .in { align-self: flex-start; background: var(--b-line); border-radius: 14px 14px 14px 4px; }
.b-chat .out { align-self: flex-end; background: var(--b-lime); color: var(--b-carbon); border-radius: 14px 14px 4px 14px; }
.b-chat .sys { align-self: center; border: 1px solid var(--b-line-2); border-radius: 999px; padding: 6px 14px; font-size: 12px; color: var(--b-mist); }
.b-chat .typing { display: flex; gap: 5px; align-self: flex-start; background: var(--b-line); border-radius: 14px; padding: 12px 14px; }
.b-chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--b-mist); animation: b-blink 1s infinite; }
.b-chat .typing i:nth-child(2) { animation-delay: .2s; } .b-chat .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes b-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.b-tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--b-dim); font-family: var(--wp--preset--font-family--display); }

/* Animaciones de entrada de las pantallas (al hacerse visibles) */
.b-anim .b-bars span { animation: b-grow .9s var(--b-ease) both; animation-play-state: paused; }
.b-anim .b-hbars i { animation: b-growx 1.1s var(--b-ease) both; animation-play-state: paused; }
.b-anim .b-chat > * { animation: b-pop .5s var(--b-ease) both; animation-play-state: paused; }
.b-anim.is-in .b-bars span, .b-anim.is-in .b-hbars i, .b-anim.is-in .b-chat > * { animation-play-state: running; }
@keyframes b-grow { from { transform: scaleY(.12); } to { transform: none; } }
@keyframes b-growx { from { transform: scaleX(0); } to { transform: none; } }
@keyframes b-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Ecosistema (Soluciones) */
.b-eco { position: relative; aspect-ratio: 1; max-width: 520px; margin-left: auto; width: 100%; }
.b-eco svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.b-eco .b-eco__dash { stroke-dasharray: 4 8; animation: b-dash 2.4s linear infinite; }
@keyframes b-dash { to { stroke-dashoffset: -24; } }
.b-eco__node { position: absolute; transform: translate(-50%, -50%); background: var(--b-surface); border: 1px solid var(--b-line-2); border-radius: 999px; padding: 10px 16px; font-size: 13px; white-space: nowrap; }
.b-eco__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26%; aspect-ratio: 1; background: var(--b-lime); color: var(--b-carbon); display: grid; place-items: center; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(14px, 1.6vw, 20px); }
.b-eco__core::after { content: ""; position: absolute; inset: -14px; border: 1px solid rgba(182,244,59,.35); animation: b-pulse 3s var(--b-ease) infinite; }
@keyframes b-pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Cuadros decorativos */
.b-squares { display: grid; grid-template-columns: repeat(6, 14px); gap: 10px; }
.b-squares span { width: 14px; height: 14px; background: var(--b-line); }
.b-squares span.m { background: var(--b-line-2); } .b-squares span.l { background: var(--b-lime); }

/* Retrato */
.b-portrait { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #E6E6EA; position: relative; display: flex; align-items: flex-end; justify-content: space-between; padding: 20px; box-sizing: border-box; color: #5E626B; font-size: 13px; }
.b-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.b-portrait i { width: 12px; height: 12px; background: var(--b-carbon); position: relative; }
.b-portrait.has-photo i { background: var(--b-lime); }

/* Arte abstracto (imágenes SVG del tema) */
.b-art img, img.b-art { width: 100%; height: auto; display: block; border-radius: 24px; }

/* ---------- Marquee --------------------------------------------------- */
.b-marquee { border-top: 1px solid var(--b-graphite); border-bottom: 1px solid var(--b-graphite); overflow: hidden; padding: 26px 0; }
.b-marquee__track { display: flex; width: max-content; animation: b-mq 42s linear infinite; font-family: var(--wp--preset--font-family--display); font-size: clamp(32px, 4vw, 56px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.b-marquee__track > span { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.b-marquee .o { color: transparent; -webkit-text-stroke: 1px var(--b-dim); }
.b-marquee i { width: 12px; height: 12px; background: var(--b-lime); flex: 0 0 12px; }
.b-marquee:hover .b-marquee__track { animation-play-state: paused; }
@keyframes b-mq { to { transform: translateX(-50%); } }

/* ---------- Logos / confianza ----------------------------------------- */
.b-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.b-trust > .wp-block-group:first-child { flex: 0 1 260px; display: flex; flex-direction: column; gap: 8px; }
.b-trust > .wp-block-group:first-child > * { margin: 0; }
.b-logos { flex: 1 1 600px; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px !important; background: var(--b-graphite); border: 1px solid var(--b-graphite); }
.b-logos > * { margin: 0 !important; height: 84px; background: var(--b-carbon); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--b-dim); }
.b-logos img { max-height: 36px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .8; }

/* ---------- Índice tipográfico (Crece / Optimiza / Protege) ----------- */
.b-index { counter-reset: bidx; }
.b-index > * { margin: 0 !important; }
.b-index__row { display: flex !important; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; padding: 24px 0; border-top: 1px solid var(--b-line-2); }
.b-index__row:first-child { border-top-width: 2px; border-top-color: currentColor; }
.b-index__row:last-child { border-bottom: 1px solid var(--b-line-2); }
.is-light .b-index__row { border-color: #C9CBD1; } .is-light .b-index__row:first-child { border-color: var(--b-carbon); }
.b-index__row > * { margin: 0 !important; }
.b-index__word { font-family: var(--wp--preset--font-family--display); font-size: clamp(3.5rem, 10vw, 10.5rem) !important; line-height: .9 !important; letter-spacing: -0.06em; font-weight: 600; color: var(--b-titanium); transition: color .4s; display: flex; align-items: baseline; gap: clamp(16px, 3vw, 48px); }
.b-index__word::before { counter-increment: bidx; content: "0" counter(bidx); font-size: 12px; letter-spacing: .14em; color: #5E626B; font-weight: 500; }
.b-index__row:hover .b-index__word { color: var(--b-carbon); }
.b-sec:not(.is-light) .b-index__row:hover .b-index__word { color: var(--b-lime); }
.b-index__desc { max-width: 360px; line-height: 1.5; font-size: 17px; color: #3A3D45; }
.b-sec:not(.is-light) .b-index__desc { color: var(--b-soft); }

/* ---------- Tarjetas / rejillas --------------------------------------- */
.b-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 !important; border-top: 2px solid currentColor; }
.b-grid > * { margin: 0 !important; }
.b-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.b-item { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--b-graphite); display: flex; flex-direction: column; gap: 12px; }
.b-item > * { margin: 0 !important; }
.b-item::before { content: ""; width: 10px; height: 10px; background: var(--b-lime); }
.is-light .b-item { border-color: #D9D9DE; } .is-light .b-item::before, .is-lime .b-item::before { background: var(--b-carbon); }
.is-lime .b-item { border-color: rgba(16,17,20,.25); }
.b-item h3, .b-item h4 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.2; }
.b-item p { color: var(--b-soft); line-height: 1.55; font-size: 16px; }
.is-light .b-item p { color: #3A3D45; } .is-lime .b-item p { color: #23252B; }
.b-item .b-item__tag { font-family: var(--wp--preset--font-family--display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--b-lime); }
.is-light .b-item .b-item__tag { color: #5E626B; }
@media (min-width: 700px) { .b-grid > .b-item + .b-item { padding-left: 28px; border-left: 1px solid var(--b-graphite); } .is-light .b-grid > .b-item + .b-item { border-left-color: #D9D9DE; } .is-lime .b-grid > .b-item + .b-item { border-left-color: rgba(16,17,20,.25); } }

/* Tarjeta destacada (servicios en página Soluciones) */
.b-service { display: grid !important; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 24px 40px; align-items: start; padding: 40px 0; border-top: 1px solid var(--b-line-2); transition: background .4s; }
.b-service:last-child { border-bottom: 1px solid var(--b-line-2); }
.b-service > * { margin: 0 !important; }
.b-service__n { font-family: var(--wp--preset--font-family--display); color: var(--b-dim); font-size: 14px; letter-spacing: .12em; padding-top: 10px; }
.b-service h3 { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1; letter-spacing: -0.035em; transition: color .3s; }
.b-service h3 a { text-decoration: none; }
.b-service:hover h3 { color: var(--b-lime); }
.b-service p { color: var(--b-mist); line-height: 1.55; }
@media (max-width: 900px) { .b-service { grid-template-columns: 1fr; gap: 14px; } .b-service__n { padding: 0; } }

/* ---------- Pestañas de soluciones (Inicio) --------------------------- */
.b-tabs { display: flex !important; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.b-tabs > * { margin: 0 !important; }
.b-tabs__list { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--b-graphite); }
.b-tabs__btn { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 20px; width: 100%; cursor: pointer; padding: 26px 20px; border-bottom: 1px solid var(--b-graphite); color: var(--b-soft); transition: background .3s, color .3s; }
.b-tabs__btn:hover { background: #1A1C21; }
.b-tabs__btn[aria-selected="true"] { background: var(--b-surface); color: var(--b-white); }
.b-tabs__btn:focus-visible { outline: 2px solid var(--b-lime); outline-offset: -2px; }
.b-tabs__n { font-family: var(--wp--preset--font-family--display); font-size: 12px; letter-spacing: .14em; color: var(--b-dim); width: 24px; }
.b-tabs__t { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.b-tabs__t strong { font-family: var(--wp--preset--font-family--display); font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.025em; font-weight: 600; }
.b-tabs__t small { font-size: 14px; color: var(--b-soft); }
.b-tabs__dot { width: 10px; height: 10px; }
.b-tabs__btn[aria-selected="true"] .b-tabs__dot { background: var(--b-lime); }
.b-tabs__panels { flex: 1.3 1 520px; min-width: 0; }
.b-tab { display: flex !important; flex-direction: column; gap: 26px; }
.b-tab > * { margin: 0 !important; }
.b-tab h3 { display: none; }
.b-tabs:not(.is-ready) .b-tab h3 { display: block; }
.b-tabs:not(.is-ready) .b-tab + .b-tab { margin-top: 48px !important; }
.b-tabs.is-ready .b-tab:not(.is-active) { display: none !important; }
.b-tabs.is-ready .b-tab.is-active { animation: b-pop .5s var(--b-ease) both; }
.b-tab .b-tab__short { display: none; }
.b-tab__pitch { font-family: var(--wp--preset--font-family--display); font-size: clamp(24px, 2.2vw, 34px) !important; line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; }
.b-checks { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; }
.b-checks li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--b-graphite); color: var(--b-mist); font-size: 15px; }
.b-checks li::before { content: ""; width: 5px; height: 5px; background: var(--b-lime); flex: 0 0 5px; }
.is-light .b-checks li { border-color: #D9D9DE; color: #23252B; } .is-light .b-checks li::before { background: var(--b-carbon); }

/* ---------- Capacidades (páginas de servicio) ------------------------- */
.b-caps { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px !important; background: var(--b-graphite); border: 1px solid var(--b-graphite); border-radius: 24px; overflow: hidden; }
.b-caps > * { margin: 0 !important; }
.b-cap { background: var(--b-carbon); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 12px; min-height: 200px; transition: background .4s; position: relative; }
.b-cap > * { margin: 0 !important; }
.b-cap:hover { background: var(--b-surface); }
.b-cap::after { content: ""; position: absolute; top: clamp(24px, 2.6vw, 36px); right: clamp(24px, 2.6vw, 36px); width: 8px; height: 8px; background: var(--b-line-2); transition: background .3s, transform .4s var(--b-ease); }
.b-cap:hover::after { background: var(--b-lime); transform: rotate(45deg); }
.b-cap h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); padding-right: 24px; }
.b-cap p { color: var(--b-soft); line-height: 1.55; font-size: 15.5px; }
.b-cap .b-cap__tag { font-family: var(--wp--preset--font-family--display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--b-lime); }
.b-cap.is-featured { background: var(--b-lime); color: var(--b-carbon); }
.b-cap.is-featured p { color: #23252B; } .b-cap.is-featured .b-cap__tag { color: var(--b-carbon); } .b-cap.is-featured::after { background: var(--b-carbon); }
.is-light .b-caps { background: #D9D9DE; border-color: #D9D9DE; } .is-light .b-cap { background: var(--b-white); } .is-light .b-cap:hover { background: #EDEDF0; } .is-light .b-cap p { color: #3A3D45; } .is-light .b-cap .b-cap__tag { color: #5E626B; }

/* Bloque destacado (callout) */
.b-callout { border: 1px solid var(--b-line-2); border-radius: 24px; padding: clamp(28px, 4vw, 56px); display: flex !important; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.b-callout > * { margin: 0 !important; }
.b-callout > .wp-block-group { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.b-callout > .wp-block-group > * { margin: 0 !important; }
.b-callout h3 { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.02; letter-spacing: -0.035em; }
.is-light .b-callout { border-color: #C9CBD1; }

/* Píldoras / tecnologías */
.b-pills { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
.b-pills > * { margin: 0 !important; border: 1px solid var(--b-line-2); border-radius: 999px; padding: 10px 18px; font-size: 15px; }
.is-light .b-pills > * { border-color: #C9CBD1; }

/* Proceso / pasos */
.b-steps { position: relative; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px 32px !important; padding-top: 6px; }
.b-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--b-line); }
.b-steps::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--b-lime); transform-origin: left; transform: scaleX(0); transition: transform 2.2s var(--b-ease) .2s; }
.b-steps.is-in::after { transform: none; }
.b-steps > * { margin: 0 !important; }
.b-step { display: flex; flex-direction: column; gap: 14px; position: relative; }
.b-step > * { margin: 0 !important; }
.b-step::before { content: ""; width: 11px; height: 11px; background: var(--b-lime); margin-top: -6px; position: relative; z-index: 1; }
.b-step__n { font-family: var(--wp--preset--font-family--display); font-size: clamp(56px, 5vw, 72px) !important; line-height: 1 !important; letter-spacing: -0.05em; font-weight: 500; color: var(--b-line-2); }
.b-step h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.b-step p:not(.b-step__n) { color: var(--b-soft); line-height: 1.55; }
.is-light .b-steps::before { background: #D9D9DE; } .is-light .b-steps::after, .is-light .b-step::before { background: var(--b-carbon); } .is-light .b-step__n { color: #C9CBD1; } .is-light .b-step p:not(.b-step__n) { color: #3A3D45; }

/* Comparativa (chatbot vs agente) */
.b-compare { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px !important; }
.b-compare > * { margin: 0 !important; border-radius: 24px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.b-compare > * > * { margin: 0 !important; }
.b-compare__old { border: 1px solid var(--b-line-2); color: var(--b-soft); }
.b-compare__new { background: var(--b-lime); color: var(--b-carbon); }
.b-compare ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.b-compare li { padding: 12px 0; border-top: 1px solid currentColor; border-top-color: rgba(127,127,127,.3); }

/* ---------- Casos ----------------------------------------------------- */
.b-cases { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 !important; border-top: 2px solid var(--b-carbon); }
.b-cases > * { margin: 0 !important; }
.b-case { padding: 32px 32px 36px 0; display: flex; flex-direction: column; gap: 18px; min-height: 320px; }
.b-case > * { margin: 0 !important; }
.b-case + .b-case { padding-left: 32px; border-left: 1px solid rgba(16,17,20,.25); }
@media (max-width: 700px) { .b-case + .b-case { padding-left: 0; border-left: 0; border-top: 1px solid rgba(16,17,20,.25); } }
.b-case__metric { font-family: var(--wp--preset--font-family--display); font-size: clamp(64px, 7vw, 112px) !important; line-height: .9 !important; letter-spacing: -0.06em; font-weight: 600; }
.b-case__ey { font-family: var(--wp--preset--font-family--display); font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; }
.b-case .b-link { margin-top: auto !important; }
.b-case-list .b-case { border-color: rgba(255,255,255,.12); }
.b-sec:not(.is-lime) .b-cases { border-top-color: var(--b-white); }
.b-sec:not(.is-lime) .b-case + .b-case { border-color: var(--b-graphite); }
.b-sec:not(.is-lime) .b-case p { color: var(--b-mist); }
.b-sec.is-lime .b-case p { color: #23252B; }

/* ---------- Insights -------------------------------------------------- */
.b-rows-list > * { margin: 0 !important; }
.b-row { display: grid; grid-template-columns: minmax(0, 200px) 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--b-line-2); text-decoration: none; color: inherit; }
.b-row:last-child { border-bottom: 1px solid var(--b-line-2); }
.b-row__cat { font-family: var(--wp--preset--font-family--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--b-soft); }
.b-row__t { font-family: var(--wp--preset--font-family--display); font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -0.025em; font-weight: 500; line-height: 1.2; }
.b-row__go { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--b-soft); transition: transform .3s var(--b-ease), color .3s; }
.b-row:hover .b-row__go { transform: translateX(6px); color: var(--b-lime); }
.b-row:hover { color: inherit; }
@media (max-width: 700px) { .b-row { grid-template-columns: 1fr; gap: 10px; } }

/* Lista de artículos (plantilla Insights) */
.b-posts .wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px 32px; list-style: none; padding: 0; margin: 0; }
.b-posts .wp-block-post { display: flex; flex-direction: column; gap: 16px; }
.b-posts .wp-block-post > * { margin: 0 !important; }
.b-posts .wp-block-post-featured-image { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: var(--b-surface); }
.b-posts .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--b-ease); }
.b-posts .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.b-posts .wp-block-post-title { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -0.025em; }
.b-posts .wp-block-post-title a { text-decoration: none; }
.b-posts .wp-block-post-terms { font-family: var(--wp--preset--font-family--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--b-lime); }
.b-posts .wp-block-post-terms a { text-decoration: none; }
.b-posts .wp-block-post-excerpt { color: var(--b-soft); }
.b-posts .wp-block-post-date { font-size: 13px; color: var(--b-dim); }
.b-cats .wp-block-categories, .b-cats ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.b-cats li a { display: inline-block; border: 1px solid var(--b-line-2); border-radius: 999px; padding: 8px 16px; font-size: 14px; text-decoration: none; }
.b-cats li a:hover, .b-cats li.current-cat a { border-color: var(--b-lime); color: var(--b-lime); }
.wp-block-query-pagination { margin-top: 64px !important; gap: 16px; font-size: 15px; }
.b-empty { border: 1px dashed var(--b-line-2); border-radius: 16px; padding: 32px; color: var(--b-soft); }

/* Artículo individual */
.b-article .wp-block-post-content { font-size: 1.1875rem; line-height: 1.75; color: #DADCE0; }
.b-article .wp-block-post-content > * { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.b-article .wp-block-post-content > * + * { margin-top: 1.4em !important; }
.b-article .wp-block-post-content h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-top: 2.2em !important; color: var(--b-white); }
.b-article .wp-block-post-content h3 { font-size: 1.5rem; margin-top: 1.8em !important; color: var(--b-white); }
.b-article .wp-block-post-content a { color: var(--b-lime); }
.b-article .wp-block-post-content blockquote { border-left: 3px solid var(--b-lime); padding-left: 24px; font-family: var(--wp--preset--font-family--display); font-size: 1.5rem; line-height: 1.35; color: var(--b-white); }
.b-article .wp-block-post-featured-image img { border-radius: 24px; }

/* ---------- FAQ ------------------------------------------------------- */
.b-faq > * { margin: 0 !important; }
.b-faq .wp-block-details { border-top: 1px solid var(--b-line-2); padding: 0; }
.b-faq .wp-block-details:last-child { border-bottom: 1px solid var(--b-line-2); }
.b-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; transition: color .3s; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: ""; width: 14px; height: 14px; flex: 0 0 14px; background: linear-gradient(currentColor, currentColor) center/14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 14px no-repeat; transition: transform .4s var(--b-ease); }
.b-faq details[open] summary::after { transform: rotate(45deg); }
.b-faq summary:hover { color: var(--b-lime); }
.b-faq .wp-block-details > p { margin: 0 0 28px !important; max-width: 760px; color: var(--b-mist); line-height: 1.65; }
.is-light .b-faq .wp-block-details { border-color: #C9CBD1; } .is-light .b-faq summary:hover { color: var(--b-carbon); } .is-light .b-faq .wp-block-details > p { color: #3A3D45; }
.b-split { display: grid !important; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.b-split > * { margin: 0 !important; }
.b-split > .wp-block-group:first-child { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.b-split > .wp-block-group:first-child > * { margin: 0 !important; }
@media (max-width: 900px) { .b-split { grid-template-columns: 1fr; } .b-split > .wp-block-group:first-child { position: static; } }

/* ---------- Cierre / contacto ---------------------------------------- */
.b-closing { background: var(--b-surface); border: 1px solid var(--b-graphite); border-radius: 32px; padding: clamp(28px, 5vw, 72px) !important; display: flex !important; flex-wrap: wrap; gap: 56px; position: relative; overflow: hidden; }
.b-closing > * { margin: 0 !important; }
.b-closing > .wp-block-group:not(.b-closing__form) { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 26px; position: relative; z-index: 1; }
.b-closing > .wp-block-group:not(.b-closing__form) > * { margin: 0 !important; }
.b-closing h2 { font-size: clamp(2.5rem, 5.2vw, 5.25rem); line-height: .94; letter-spacing: -0.05em; }
.b-closing .b-squares { position: absolute; right: -40px; top: -40px; }
.b-closing__form { flex: 1 1 480px; min-width: 0; position: relative; z-index: 1; }
.b-closing--simple { justify-content: space-between; align-items: flex-end; }
.b-closing--simple > .wp-block-buttons { flex: 0 0 auto; }

.b-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 32px; }
.b-form label.f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--b-soft); }
.b-form .full { grid-column: 1 / -1; }
.b-form input[type=text], .b-form input[type=email], .b-form input[type=tel], .b-form select, .b-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--b-line-2); background: transparent; color: var(--b-white); border-radius: 0; outline: none; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.b-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 10 10' fill='none' stroke='%239A9DA6' stroke-width='1.5'%3E%3Cpath d='M2 3.5l3 3 3-3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.b-form select option { color: var(--b-carbon); }
.b-form input:focus, .b-form select:focus, .b-form textarea:focus { border-bottom-color: var(--b-lime); }
.b-form textarea { resize: vertical; min-height: 96px; }
.b-form .check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--b-mist); line-height: 1.5; cursor: pointer; }
.b-form .check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--b-lime); flex: 0 0 18px; }
.b-form .check a { text-decoration: underline; }
.b-form .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.b-form button { justify-self: start; border: 0; cursor: pointer; background: var(--b-lime); color: var(--b-carbon); font: inherit; font-size: 16px; font-weight: 500; padding: 19px 32px; border-radius: 999px; display: inline-flex; align-items: center; gap: 12px; transition: background .3s; }
.b-form button:hover { background: #C8FF5A; }
.b-form button svg { transition: transform .3s var(--b-ease); } .b-form button:hover svg { transform: translateX(5px); }
.b-notice { grid-column: 1 / -1; border-radius: 16px; padding: 18px 20px; font-size: 15px; line-height: 1.5; }
.b-notice.ok { background: rgba(182,244,59,.12); border: 1px solid var(--b-lime); color: var(--b-white); }
.b-notice.err { background: rgba(255,120,90,.1); border: 1px solid #FF8A6B; color: var(--b-white); }
.b-contact-meta { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--b-soft); line-height: 1.6; }
.b-contact-meta a { text-decoration: none; }

/* ---------- Footer ---------------------------------------------------- */
.b-footer { color: var(--b-soft); overflow: hidden; padding-top: clamp(40px, 5vw, 72px) !important; }
.b-footer__top { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 56px; }
.b-footer__top > * { margin: 0 !important; }
.b-footer__brand { display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.b-footer__brand > * { margin: 0 !important; }
.b-footer__slogan { font-family: var(--wp--preset--font-family--display); color: var(--b-white); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.b-footer__cols { display: flex !important; flex-wrap: wrap; gap: 40px 72px; font-size: 14px; }
.b-footer__cols > * { margin: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.b-footer__cols > * > * { margin: 0 !important; }
.b-footer__cols a { text-decoration: none; }
.b-footer__h { font-family: var(--wp--preset--font-family--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--b-dim); margin-bottom: 6px !important; }
.b-wordmark { font-family: var(--wp--preset--font-family--display); font-size: clamp(96px, 25vw, 380px); font-weight: 700; letter-spacing: -0.06em; line-height: .78; color: var(--b-white); display: flex; align-items: baseline; justify-content: center; margin: 0 0 -0.04em; user-select: none; }
.b-wordmark i { display: inline-block; width: .14em; height: .14em; background: var(--b-lime); margin-left: .03em; }
.b-footer__bottom { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--b-graphite); font-size: 13px; }
.b-footer__bottom > * { margin: 0 !important; }
.b-footer__bottom a { text-decoration: none; }

/* ---------- Texto legal ---------------------------------------------- */
.b-legal { max-width: 760px; }
.b-legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2em !important; }
.b-legal p, .b-legal li { color: var(--b-mist); line-height: 1.7; }

/* ---------- Revelado al hacer scroll ---------------------------------- */
.js .b-rv { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--b-ease), transform 1s var(--b-ease); }
.js .b-rv.is-in { opacity: 1; transform: none; }
.js .b-rv-d1 { transition-delay: .08s; } .js .b-rv-d2 { transition-delay: .16s; } .js .b-rv-d3 { transition-delay: .24s; }
.b-fade { animation: b-fade 1s var(--b-ease) both; }
@keyframes b-fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .b-rv { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Editor: legibilidad de bloques ocultos -------------------- */
.editor-styles-wrapper .b-tab h3 { display: block; }
.editor-styles-wrapper .b-tab .b-tab__short { display: block; color: var(--b-soft); }
.editor-styles-wrapper .b-rv { opacity: 1 !important; transform: none !important; }

/* ---------- Complementos de maquetación ------------------------------- */
.b-bleed { padding: 0 !important; }
.b-bleed > * { max-width: none !important; }
.b-h-sm { font-size: 20px !important; line-height: 1.25 !important; letter-spacing: -0.02em !important; font-weight: 500 !important; margin: 0; }
.b-founder { display: grid !important; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.b-founder > * { margin: 0 !important; }
.b-founder > .wp-block-group { display: flex; flex-direction: column; gap: 28px; }
.b-founder > .wp-block-group > * { margin: 0 !important; }
.b-founder__id { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px !important; }
.b-founder__id > * { margin: 0 !important; }
.b-founder__id strong { font-family: var(--wp--preset--font-family--display); font-size: 20px; }
@media (max-width: 820px) { .b-founder { grid-template-columns: 1fr; } }
.b-facts > * { margin: 0 !important; }
.b-fact { display: flex !important; flex-wrap: wrap; gap: 6px 24px; padding: 18px 0; border-top: 1px solid #D9D9DE; }
.b-fact:first-child { border-top-color: var(--b-carbon); }
.b-fact:last-child { border-bottom: 1px solid #D9D9DE; }
.b-fact > * { margin: 0 !important; }
.b-fact > p:first-child { flex: 0 0 150px; font-family: var(--wp--preset--font-family--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #5E626B; padding-top: 3px; }
.b-fact > p:last-child { flex: 1 1 300px; line-height: 1.55; }
.b-sec:not(.is-light) .b-fact { border-color: var(--b-graphite); } .b-sec:not(.is-light) .b-fact:first-child { border-top-color: var(--b-white); } .b-sec:not(.is-light) .b-fact > p:first-child { color: var(--b-soft); }
.b-services > * { margin: 0 !important; }
.b-hero--split .b-panel, .b-hero--split .b-eco { width: 100%; }
.b-hero .b-wa { padding: 18px 26px; }
.b-actions { display: flex !important; flex-wrap: wrap; gap: 12px; align-items: center; }
.b-actions > * { margin: 0 !important; }
.b-actions .wp-block-buttons { margin: 0; }
.b-note { font-size: 13px; color: var(--b-dim); max-width: 640px; }
.is-light .b-note { color: #5E626B; }
.b-statement-wrap { display: flex !important; flex-wrap: wrap; gap: 32px 40px; }
.b-statement-wrap > * { margin: 0 !important; }
.b-statement-wrap > .b-eyebrow { flex: 0 0 200px; padding-top: 14px; align-self: flex-start; }
.b-statement-wrap > .wp-block-group { flex: 1 1 640px; display: flex; flex-direction: column; gap: 28px; }
.b-statement-wrap > .wp-block-group > * { margin: 0 !important; }
.b-two { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.b-two > * { margin: 0 !important; }
.b-two > .wp-block-group { display: flex; flex-direction: column; gap: 24px; }
.b-two > .wp-block-group > * { margin: 0 !important; }
.b-mvv { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px !important; background: var(--b-graphite); border: 1px solid var(--b-graphite); }
.b-mvv > * { margin: 0 !important; background: var(--b-carbon); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.b-mvv > * > * { margin: 0 !important; }
.b-mvv p { color: var(--b-mist); line-height: 1.55; }

/* ---------- Ajustes de escala ---------------------------------------- */
.b-hero:not(.b-hero--page) h1 { font-size: clamp(3rem, 7.4vw, 8.5rem); }
.b-hero--split h1 { font-size: clamp(2.75rem, 5.4vw, 5.75rem); }
.b-split h2, .b-two h2, .b-trust h2 { font-size: clamp(2.25rem, 3.6vw, 3.75rem); }
.b-statement-wrap h2 { font-size: clamp(2.25rem, 4.4vw, 4.25rem); }
.b-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b-split .b-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-split .b-caps > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 1024px) { .b-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-caps > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .b-caps, .b-split .b-caps { grid-template-columns: 1fr; } }
.b-wa { align-self: flex-start; }
.b-hero > .b-fade, .b-hero > p + div { margin-top: clamp(48px, 6vw, 88px) !important; }
.b-sec.b-sec--closing { padding-top: clamp(16px, 3vw, 40px) !important; border-top: 0 !important; }
.b-compare__new .b-eyebrow { color: #23252B; }
@media (max-width: 900px) { .b-hero--split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
	.b-eco { width: 78%; margin: 24px auto; }
	.b-eco__node { font-size: 11px; padding: 6px 10px; }
	.b-hbars div { grid-template-columns: 104px 1fr; }
	.b-screen { padding: 18px; }
	.b-panel { padding: 14px; }
}
.b-screen__bar { flex-wrap: wrap; }
.b-hero--split > * { min-width: 0; }
@media (max-width: 600px) { .b-eco { width: 68%; } }
.b-panel, .b-screen, .b-cap, .b-closing, .b-callout, .b-compare > *, .b-mvv > * { box-sizing: border-box; }
@media (max-width: 600px) { .b-eco { width: 74%; } .b-eco__node { white-space: normal; max-width: 92px; text-align: center; line-height: 1.2; border-radius: 12px; } }
.b-hero__stack { display: flex; flex-direction: column; gap: 28px; }
.b-hero__stack > * { margin: 0 !important; }
.b-hero__stack .wp-block-post-terms a, .b-eyebrow a { text-decoration: none; color: inherit; }
.b-hero__stack .b-small { gap: 8px; }
.b-hero__stack .b-small > * { margin: 0; }

/* Menú desplegable: puente invisible para que no se cierre al bajar el cursor, y cierre con retraso. */
.b-header .wp-block-navigation-item.has-child { position: relative; }
.b-header .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container { top: calc(100% + 12px) !important; transition: opacity .2s ease, visibility 0s linear .35s !important; }
.b-header .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: -12px; right: -12px; top: -24px; height: 24px; }
.b-header .wp-block-navigation-item.has-child:hover > .wp-block-navigation__submenu-container,
.b-header .wp-block-navigation-item.has-child:focus-within > .wp-block-navigation__submenu-container { transition: opacity .2s ease, visibility 0s linear 0s !important; }
.b-header .wp-block-navigation-item.has-child > .wp-block-navigation-item__content { padding-top: 12px; padding-bottom: 12px; }
.b-sec > .b-legal { margin-left: calc((100% - min(100%, 1232px)) / 2) !important; margin-right: auto !important; }
