/* =========================================================
   DESIGNIAEX — capa de movimiento
   Todo se desactiva con prefers-reduced-motion (al final).
   ========================================================= */

/* ---------- Transición entre páginas (navegadores compatibles) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: vt-in .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px) scale(.985); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px) scale(1.01); filter: blur(6px); } }

/* ---------- Barra de progreso de lectura ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--teal), var(--coral)); box-shadow: 0 0 12px rgb(213 189 117 / .6); }
@supports (animation-timeline: scroll()) {
  .progress i { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Reveal 3D al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: perspective(1000px) translateY(46px) rotateX(16deg) scale(.98); transform-origin: 50% 0; }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }

/* Titulares que se revelan palabra por palabra */
.ws { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.ws > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 45ms); }
.is-in .ws > span, .ws.is-in > span, [data-reveal].is-in .ws > span { transform: none; }

/* ---------- Tarjetas con inclinación 3D y foco de luz ---------- */
.tilt { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; transform-style: preserve-3d; position: relative; isolation: isolate; }
.tilt.tilt-ready { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out, border-color .25s, background .25s; }
.tilt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgb(213 189 117 / .16), transparent 45%); opacity: 0; transition: opacity .3s; z-index: -1; pointer-events: none; }
.tilt:hover::before { opacity: 1; }
.tilt > * { transform: translateZ(18px); }

/* ---------- Botones: brillo que cruza y efecto magnético ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: -2px; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; z-index: -1; }
.btn:hover::after { transform: translateX(120%); }
.btn--coral { animation: pulse-coral 3.2s ease-in-out infinite; }
@keyframes pulse-coral { 0%, 100% { box-shadow: 0 10px 30px -10px rgb(204 170 53 / .6); } 50% { box-shadow: 0 10px 40px -6px rgb(204 170 53 / .85), 0 0 0 6px rgb(204 170 53 / .08); } }
[data-magnetic] { transition: transform .25s cubic-bezier(.2,.8,.2,1); }

/* ---------- Borde animado (gradiente que gira) ---------- */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.glow-border { position: relative; }
.glow-border::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang), transparent 0 60%, var(--teal) 75%, var(--coral) 85%, transparent 95%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-ang 6s linear infinite; pointer-events: none; }
@keyframes spin-ang { to { --ang: 360deg; } }

/* ---------- Hero: piso 3D, orbes y escena inclinable ---------- */
.hero { perspective: 1200px; }
.hero__floor { position: absolute; left: -20%; right: -20%; bottom: -38%; height: 70%; pointer-events: none; transform: rotateX(72deg); transform-origin: 50% 0; background-image: linear-gradient(rgb(213 189 117 / .16) 1px, transparent 1px), linear-gradient(90deg, rgb(213 189 117 / .16) 1px, transparent 1px); background-size: 60px 60px; animation: floor 6s linear infinite; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent); }
@keyframes floor { to { background-position: 0 60px, 0 0; } }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.orb--teal { width: 380px; height: 380px; background: rgb(213 189 117 / .35); top: 5%; right: 8%; }
.orb--coral { width: 260px; height: 260px; background: rgb(204 170 53 / .25); bottom: 0; left: 30%; animation-duration: 22s; }
@keyframes drift { 50% { transform: translate(-40px, 30px) scale(1.1); } 100% { transform: translate(30px, -20px) scale(.95); } }
.hero__visual { transform-style: preserve-3d; transition: transform .4s ease-out; }
.hero__visual .sistema { transform: translateZ(40px); }
.sistema__node { animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--n, 0) * -1s); }
@keyframes bob { 50% { translate: 0 -6px; } }
.sistema__link { stroke-dasharray: 4 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.sistema__pulse { fill: var(--teal); filter: drop-shadow(0 0 6px var(--teal)); }

/* ---------- Marquesina de palabras clave ---------- */
.kw { overflow: hidden; padding-block: 18px; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.kw__row { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.kw__row--rev { animation-direction: reverse; animation-duration: 48s; margin-top: 12px; }
.kw span { font: 300 clamp(1.4rem, 3vw, 2.2rem) var(--f-display); color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.kw span::after { content: ""; width: 26px; height: 2px; background: var(--coral); transform: rotate(-28deg); }
.kw__row--rev span { color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.kw span:hover { color: var(--fg); }

/* ---------- Bombillo que se enrosca y enciende ---------- */
.problema__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.bulb { position: sticky; top: calc(var(--header-h) + 10px); height: min(78vh, 640px); display: grid; justify-items: center; align-content: start; pointer-events: none; }
.bulb__socket { width: 150px; margin-top: -20px; position: relative; z-index: 2; filter: drop-shadow(0 0 1px rgb(255 255 255 / .35)) drop-shadow(0 6px 10px rgb(0 0 0 / .6)); }
.bulb__wrap { position: relative; width: 150px; margin-top: -45px; transform-origin: 50% 0; will-change: transform; }
.bulb__glass { width: 100%; display: block; filter: grayscale(.85) brightness(.32); transition: filter .6s; }
.bulb__halo { position: absolute; left: 50%; top: 45%; width: 340px; height: 340px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 170 60 / .55), rgb(204 170 53 / .15) 55%, transparent 75%); opacity: 0; transition: opacity .8s; z-index: -1; }
.bulb.is-on .bulb__glass { filter: none; }
.bulb.is-on .bulb__halo { opacity: 1; animation: flicker 3s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 45% { opacity: .85; } 50% { opacity: .95; } 52% { opacity: .8; } }
.bulb__label { position: absolute; bottom: 4%; left: 0; right: 0; text-align: center; margin-top: 26px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.bulb.is-on .bulb__label { color: #FFB86B; }
.friccion--stack { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.friccion--stack .friccion__card { padding: 28px 30px; }
@media (max-width: 900px) {
  .problema__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bulb { position: relative; top: 0; height: auto; padding-bottom: 8px; }
  .bulb__socket, .bulb__wrap { width: 96px; }
  .bulb__wrap { margin-top: -29px; }
  .bulb__halo { width: 220px; height: 220px; }
  .bulb__label { position: static; margin-top: 14px; }
}

/* ---------- Flujo del sistema (anuncio → venta) ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.flow__line { position: absolute; left: 6%; right: 6%; top: 42px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); z-index: 0; }
.flow__dot { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal), 0 0 4px #fff; animation: travel 4.5s linear infinite; }
.flow__dot:nth-child(2) { animation-delay: -1.5s; background: var(--coral); box-shadow: 0 0 14px var(--coral); }
.flow__dot:nth-child(3) { animation-delay: -3s; }
@keyframes travel { from { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { left: 100%; opacity: 0; } }
.flow__step { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 10px; min-width: 0; }
.flow__icon { width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .8); transition: transform .3s, border-color .3s; }
.flow__step:hover .flow__icon { transform: translateY(-6px) rotateX(12deg); border-color: var(--teal); }
.flow__icon svg { width: 34px; height: 34px; }
.flow__step b { font-size: 15px; }
.flow__step small { font-size: 13px; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .flow__line { display: none; }
}

/* ---------- Órbita 3D de herramientas ---------- */
.tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.orbit { position: relative; height: 420px; perspective: 1100px; display: grid; place-items: center; }
.orbit__ring { position: relative; width: 170px; height: 170px; transform-style: preserve-3d; animation: ring 24s linear infinite; }
.orbit:hover .orbit__ring { animation-play-state: paused; }
@keyframes ring { from { transform: rotateX(-14deg) rotateY(0); } to { transform: rotateX(-14deg) rotateY(360deg); } }
.orbit__tile { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; border-radius: 26px; background: linear-gradient(160deg, rgb(29 26 19 / .95), rgb(21 19 15 / .9)); border: 1px solid var(--line-2); transform: rotateY(calc(var(--i) * 60deg)) translateZ(230px); backface-visibility: hidden; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .9), inset 0 1px 0 rgb(255 255 255 / .06); }
.orbit__tile svg { width: 46px; height: 46px; filter: drop-shadow(0 0 10px currentColor); }
.orbit__tile b { font-size: 14px; text-align: center; padding-inline: 10px; line-height: 1.2; }
.orbit__core { position: absolute; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #2B2618, var(--navy)); border: 1px solid var(--teal); box-shadow: 0 0 60px rgb(213 189 117 / .35); z-index: -1; }
.orbit__core img { width: 54px; border-radius: 12px; }
.orbit__shadow { position: absolute; bottom: 30px; width: 70%; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .6), transparent); }
.tools__list { display: grid; gap: 10px; }
.tool-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .25s, transform .25s; }
.tool-row:hover { border-color: var(--teal); transform: translateX(6px); }
.tool-row__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; }
.tool-row b { display: block; }
.tool-row span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .tools { grid-template-columns: minmax(0, 1fr); }
  .orbit { height: 300px; }
  .orbit__ring { width: 120px; height: 120px; }
  .orbit__tile { transform: rotateY(calc(var(--i) * 60deg)) translateZ(160px); border-radius: 20px; }
  .orbit__tile svg { width: 34px; height: 34px; }
  .orbit__tile b { font-size: 12px; }
}

/* ---------- Cubo 3D en cabeceras internas ---------- */
.cube-scene { width: 220px; height: 220px; perspective: 900px; justify-self: center; position: relative; }
.cube { position: absolute; inset: 0; transform-style: preserve-3d; animation: cube 18s cubic-bezier(.6,0,.4,1) infinite; }
.cube__f { position: absolute; inset: 0; display: grid; place-items: center; font: 400 22px var(--f-display); letter-spacing: .04em; color: var(--fg); background: linear-gradient(150deg, rgb(29 26 19 / .92), rgb(12 11 9 / .92)); border: 1px solid rgb(213 189 117 / .45); box-shadow: inset 0 0 40px rgb(213 189 117 / .08); backface-visibility: visible; }
.cube__f::after { content: ""; position: absolute; right: 18px; bottom: 26px; width: 60px; height: 2px; background: var(--coral); transform: rotate(-28deg); }
.cube__f:nth-child(1) { transform: rotateY(0) translateZ(110px); }
.cube__f:nth-child(2) { transform: rotateY(90deg) translateZ(110px); }
.cube__f:nth-child(3) { transform: rotateY(180deg) translateZ(110px); }
.cube__f:nth-child(4) { transform: rotateY(-90deg) translateZ(110px); }
.cube__f:nth-child(5) { transform: rotateX(90deg) translateZ(110px); }
.cube__f:nth-child(6) { transform: rotateX(-90deg) translateZ(110px); }
@keyframes cube {
  0%, 12% { transform: rotateX(-18deg) rotateY(-25deg); }
  20%, 32% { transform: rotateX(-18deg) rotateY(-115deg); }
  40%, 52% { transform: rotateX(-18deg) rotateY(-205deg); }
  60%, 72% { transform: rotateX(-18deg) rotateY(-295deg); }
  80%, 88% { transform: rotateX(-108deg) rotateY(-385deg); }
  96%, 100% { transform: rotateX(-18deg) rotateY(-385deg); }
}
.cube-scene::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -60px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgb(213 189 117 / .35), transparent); filter: blur(4px); animation: shadow 18s ease-in-out infinite; }
@keyframes shadow { 50% { transform: scale(.85); opacity: .6; } }
@media (max-width: 860px) { .cube-scene { display: none; } }

/* ---------- Explorador: el panel entra girando ---------- */
.explorer__panels, .origen__panels { perspective: 1200px; }
.explorer__panel:not([hidden]), .origen__panel:not([hidden]) { animation: flip-in .55s cubic-bezier(.2,.7,.2,1); transform-origin: 0 50%; }
@keyframes flip-in { from { opacity: 0; transform: rotateY(-18deg) translateX(20px); } }

/* ---------- Pasos: la línea se dibuja ---------- */
.steps { position: relative; }
.js .steps::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--coral)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.js .steps.is-drawn::before { transform: scaleX(1); }
.step::before { transition: transform .4s, background .4s; }
.step:hover::before { transform: scale(1.6); background: var(--coral); }

/* ---------- Detalles varios ---------- */
.eyebrow::before { transition: width .6s; }
.section__head:hover .eyebrow::before { width: 40px; }
.card, .cap, .caso, .role, .ccard, .friccion__card { will-change: transform; }
.logos__item { transition: transform .3s; }
.logos__item:hover { transform: translateY(-4px) rotateX(10deg); }
.stats dd { background: linear-gradient(180deg, var(--fg), var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ws > span { transform: none; }
  .orbit__ring, .cube, .hero__floor, .orb, .flow__dot, .kw__row, .btn--coral, .glow-border::before, .sistema__node, .sistema__link { animation: none !important; }
  .tilt { transform: none !important; }
  .bulb__glass { filter: none; }
  .bulb__halo { opacity: 1; }
}

/* ---------- Página de herramientas ---------- */
.hero--tools .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hero--tools .orbit { height: 460px; }
.tool-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.tool-card { position: relative; --c: var(--teal); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 18px; align-content: start; scroll-margin-top: calc(var(--header-h) + 24px); overflow: hidden; min-width: 0; }
.tool-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); opacity: .8; }
.tool-card:target { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 30px 60px -30px var(--c); }
.tool-card__top { display: flex; gap: 14px; align-items: center; }
.tool-card__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); box-shadow: 0 0 30px -10px var(--c); flex: none; }
.tool-card h3 { font-size: 1.3rem; font-weight: 500; }
.tool-card__top span { font-size: 13.5px; color: var(--muted); }
.tool-card dl { margin: 0; display: grid; gap: 14px; }
.tool-card dt { font: 500 11.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin-bottom: 4px; }
.tool-card dd { margin: 0; color: var(--muted); font-size: 15px; }
.scenario__q { font: 400 1.25rem/1.3 var(--f-display); color: var(--fg) !important; }
.scenario .tag { justify-self: start; }
@media (max-width: 900px) { .hero--tools .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero--tools .orbit { height: 300px; } }

/* ---------- Franja de herramientas en páginas internas ---------- */
.tstrip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tstrip__item { display: grid; gap: 8px; padding: 20px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: transform .3s, border-color .3s; min-width: 0; }
.tstrip__item:hover { transform: translateY(-6px) rotateX(8deg); border-color: var(--teal); }
.tstrip__item svg { filter: drop-shadow(0 0 8px currentColor); }
.tstrip__item b { font-size: 15px; }
.tstrip__item small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
@media (max-width: 1000px) { .tstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Cinta de logos de plataformas ---------- */
.lgm { position: relative; overflow: hidden; padding-block: 26px; display: grid; gap: 14px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 50%, rgb(213 189 117 / .06), transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lgm__row { display: flex; gap: 14px; width: max-content; animation: marquee 55s linear infinite; }
.lgm__row--rev { animation-direction: reverse; animation-duration: 62s; }
.lgm:hover .lgm__row { animation-play-state: paused; }
.lgm__item { --brand: var(--teal); display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px; border-radius: 16px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgb(255 255 255 / .04), rgb(255 255 255 / .01)); color: #EEE0C4; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 14px 30px -20px rgb(0 0 0 / .9); transition: border-color .3s, transform .3s, color .3s, box-shadow .3s; }
.lgm__item svg { flex: none; color: var(--brand); transition: color .3s, filter .3s, transform .3s; }
.lgm__item b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.lgm__item:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 18px 40px -18px var(--brand); }
.lgm__item:hover svg { color: var(--brand); filter: drop-shadow(0 0 10px var(--brand)); transform: scale(1.12) rotate(-4deg); }
@media (hover: none) { .lgm__item svg { color: var(--brand); } }
@media (max-width: 560px) { .lgm__item { padding: 11px 16px 11px 12px; } .lgm__item b { font-size: 13.5px; } .lgm__item svg { width: 22px; height: 22px; } }
@media (prefers-reduced-motion: reduce) { .lgm__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .lgm__row [aria-hidden="true"] { display: none; } }

/* =========================================================
   DISEÑO CENTRADO
   Títulos, subtítulos y textos centrados en todo el sitio.
   Los artículos y formularios conservan la lectura a la izquierda.
   ========================================================= */
.section__head, .section__head--split { margin-inline: auto; text-align: center; justify-items: center; grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.section__head--split > div { justify-items: center; margin-inline: auto; }
.section__head > p, .section__head h2 { margin-inline: auto; }
.section__head--split .link-arrow { justify-self: center; }

/* Hero de la home: una sola columna centrada, diagrama debajo */
.hero__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 36px; padding-block: 72px 56px; }
.hero__copy { justify-items: center; max-width: 1000px; }
.hero__title { margin-inline: auto; max-width: 15ch; font-size: clamp(2.6rem, 7.2vw, 5.8rem); }
.hero__lede { margin-inline: auto; }
.hero__ctas { justify-content: center; }
.hero__proof { border-left: 0; padding-left: 0; margin-inline: auto; }
.hero__proof::before { content: ""; display: block; width: 40px; height: 2px; margin: 0 auto 12px; background: var(--coral); }
.hero__visual { width: min(100%, 440px); }

/* Cabeceras internas centradas, cubo encima */
.phero__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 8px; padding-block: 40px 64px; }
.phero__copy { justify-items: center; max-width: 960px; }
.phero__title { margin-inline: auto; max-width: 20ch; }
.phero__lede { margin-inline: auto; }
.crumbs ol { justify-content: center; }
.cube-scene { order: -1; transform: scale(.55); margin-block: -44px -14px; }
.phero__img { order: -1; justify-self: center; max-width: 230px; border-radius: 50% 50% var(--r-lg) var(--r-lg); margin-bottom: 18px; }
.channels { width: 100%; }

/* Bloques de declaración apilados */
.statement { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; gap: 22px; max-width: 860px; margin-inline: auto; }
.statement > div { padding-top: 0; justify-items: center; }
.statement blockquote, .pull { border-left: 0; padding-left: 0; margin-inline: auto; text-align: center; }
.statement blockquote::before, .pull::before { content: ""; display: block; width: 40px; height: 2px; margin: 0 auto 16px; background: var(--coral); }

/* Tarjetas con contenido centrado */
.card, .cap, .caso, .role, .friccion__card, .tool-card, .fit__col, .tstrip__item, .channel, .step, .flow__step, .origen__panel, .stats > div { text-align: center; justify-items: center; }
.chips, .caso__steps, .ccard__social, .filters { justify-content: center; }
.card--no .card__x { left: 50%; translate: -50% 0; }
.cap h3 { padding-right: 0; }
.cap__go { position: static; margin-top: 4px; }
.tool-card__top { flex-direction: column; text-align: center; }
.tool-card dl { justify-items: center; }
.ccard__body { text-align: center; justify-items: center; }
.ins > div { justify-items: center; text-align: center; }
.client-chip { justify-content: center; }
.related__item { justify-content: center; gap: 12px; }

/* Listas con viñeta en línea para que se centren bien */
.checks, .fit__col ul { justify-items: center; }
.checks li, .fit__col li { padding-left: 0; text-align: center; }
.checks li::before { position: static; display: inline-block; margin-right: 10px; vertical-align: .2em; }
.fit__col li::before { position: static; margin-right: 8px; }

/* Pasos: punto centrado sobre cada etapa */
.step::before, .step + .step::before { left: 50%; translate: -50% 0; }
@media (max-width: 700px) {
  .steps { border-left: 0; margin-left: 0; gap: 26px; }
  .step, .step + .step { padding: 22px 0 0; border-top: 1px solid var(--line); }
  .step::before, .step + .step::before { top: -5px; left: 50%; }
}

/* Problema: bombillo arriba, tarjetas en cuadrícula */
.problema__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 12px; }
.problema__grid > div { width: 100%; }
.bulb { position: relative; top: 0; height: auto; padding-bottom: 6px; }
.bulb__label { position: static; margin-top: 18px; opacity: 0; transition: opacity .6s, color .4s; }
.bulb.is-on .bulb__label { opacity: 1; }
.friccion--stack { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto; }
@media (max-width: 760px) { .friccion--stack { grid-template-columns: minmax(0, 1fr); } }

/* Calculadora: texto arriba, caja centrada */
.calc__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 36px; }
.calc__copy { justify-items: center; max-width: 760px; }
.calc__copy p { margin-inline: auto; }
.calc__box { width: min(100%, 620px); text-align: left; }

/* Herramientas: órbita arriba, tarjetas en cuadrícula */
.tools { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; }
.tools__list { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.tool-row { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 22px 18px; }
.tool-row:hover { transform: translateY(-5px); }
.tools__list .link-arrow { grid-column: 1 / -1; justify-self: center; margin-top: 8px; }
@media (max-width: 900px) { .tools__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tools__list { grid-template-columns: minmax(0, 1fr); } }

/* Modelo ORIGEN: seis letras en fila, detalle debajo */
.origen { grid-template-columns: minmax(0, 1fr); }
.origen__letters { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.origen__letters button { justify-items: center; text-align: center; }
.origen__panels { text-align: center; justify-items: center; min-height: 0; }
.origen__panel p { margin-inline: auto; }
.origen__progress { width: 100%; }
@media (max-width: 700px) { .origen__letters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ROD: foto arriba, texto centrado */
.rod__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 36px; }
.rod__photo { max-width: 340px; }
.rod__copy { justify-items: center; max-width: 780px; }
.rod blockquote { border-left: 0; padding-left: 0; }
.rod blockquote::before { content: ""; display: block; width: 40px; height: 2px; margin: 0 auto 16px; background: var(--coral); }

/* Llamado final */
.cta__box { justify-items: center; text-align: center; }
.cta__box h2, .cta__box p { margin-inline: auto; }
.cta__box .hero__ctas { justify-content: center; }

/* Formularios: texto centrado arriba, formulario debajo */
.form-sec__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 32px; }
.form-sec__copy { position: static; text-align: center; justify-items: center; max-width: 760px; }
.form-box { width: min(100%, 760px); }

/* Preguntas frecuentes */
.faq { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 8px; }
.faq__list { width: min(100%, 860px); }

/* Explorador: el detalle también centrado */
.explorer__panel { text-align: center; justify-items: center; }
.explorer__dl { width: 100%; }
.explorer__dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; text-align: center; }

/* Otros */
.section--related .wrap, .section--clients .eyebrow { text-align: center; }
.quiz { margin-inline: auto; }
.quiz__q legend, .quiz__hint { text-align: center; justify-items: center; }
.quiz__nav { justify-content: center; gap: 18px; }
.article__head-in { justify-items: center; text-align: center; margin-inline: auto; }
.article__by { justify-content: center; }
.site-footer__grid { text-align: center; justify-items: center; }
.site-footer__brand { justify-items: center; }
.site-footer__brand p { margin-inline: auto; }
.site-footer__legal { justify-content: center; }
