refactor: retirar scroll apilado, replicar bloque en Manifiesto y ajustar secciones de producto
Andamiaje de scroll apilado (stack-panel) retirado por completo:
- Se elimina el JS que oscurecia los overlays hasta 40% de negro al hacer
scroll, sus listeners y los <div class="stack-panel__overlay">.
- Se quitan la clase stack-panel de las tres secciones, las reglas CSS
(position: sticky, overlay y su media query) y los min-height: 100vh que
solo existian para esos paneles.
- Solo 1 de los 3 paneles era realmente sticky (.pilar {position:relative}
ganaba por orden de cascada), asi que el efecto no ocurria pero el JS si
pintaba el overlay: de ahi la franja negra fantasma entre secciones.
- Restos muertos limpiados tambien en Productos.html y Hablemos.html.
- Se conserva .stack-wrap: sin su contexto de apilamiento la imagen de la
seccion de IA deja de pintarse.
Manifiesto: se replica el bloque de index desde "Mas Alla de la Tecnologia"
hasta "Integracion de IA":
- Copy nuevo de bigidea, encabezado "Ventajas competitivas" y su bajada.
- CSS portado (.ventajas-heading, .ventajas-sub y los overrides moviles de
bigidea) y ajustes base de alineacion y justificado.
- FAQ y footer intactos, verificados byte a byte.
Secciones de producto (cotizador, cim, cmon, contract maker):
- cim y cmon adoptan la composicion del cotizador: dos mitades iguales, el
texto apoyado en el borde interior de su mitad y el mockup centrado en la
suya, con el aire repartido a ambos lados.
- En movil: titulos y cuerpos centrados; los iframes de cim y cmon pasan de
alto fijo a aspect-ratio (sobraban hasta 200px de marco vacio); se
neutraliza el espaciado del bloque .cim__stat vacio y se reduce el padding
vertical. La separacion entre secciones baja de 538px a ~177px y queda
pareja entre todas.
This commit is contained in:
1 parent
a73c1c61d5
commit
c2bf1b96fe
4 files changed
+162
-212
No files matched your search
@@ -3470,24 +3470,6 @@
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.stack-panel {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
.stack-panel__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: #000;
|
||||
opacity: 0;
|
||||
z-index: 5;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.1s linear;
|
||||
will-change: opacity;
|
||||
}
|
||||
@media (max-width: 880px) {
|
||||
.stack-panel { position: relative; }
|
||||
.stack-panel__overlay { display: none; }
|
||||
}
|
||||
|
||||
.pilar {
|
||||
position: relative;
|
||||
|
||||
+82
-71
@@ -1650,7 +1650,6 @@
|
||||
arranquen en la misma línea vertical */
|
||||
padding: clamp(40px, 6vh, 80px) 56px 56px;
|
||||
isolation: isolate;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -3321,6 +3320,8 @@
|
||||
flex-direction: column;
|
||||
gap: clamp(20px, 2.4vw, 36px);
|
||||
max-width: 480px;
|
||||
text-align: left;
|
||||
padding: 0 24px;
|
||||
}
|
||||
.bigidea__media {
|
||||
margin: 0;
|
||||
@@ -3330,7 +3331,9 @@
|
||||
max-height: 56vh;
|
||||
aspect-ratio: 4 / 5;
|
||||
overflow: hidden;
|
||||
background: #2a160c;
|
||||
background: transparent;
|
||||
padding: 0 24px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.bigidea__media img {
|
||||
width: 100%;
|
||||
@@ -3345,6 +3348,7 @@
|
||||
letter-spacing: -0.018em;
|
||||
color: #0A0A0A;
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
}
|
||||
.bigidea__sub .line { display: block; }
|
||||
.bigidea__body {
|
||||
@@ -3355,6 +3359,10 @@
|
||||
color: #0A0A0A;
|
||||
margin: 0;
|
||||
max-width: 56ch;
|
||||
text-align: justify;
|
||||
/* Evita ríos/huecos grandes al justificar en columnas angostas (lang="es") */
|
||||
hyphens: auto;
|
||||
-webkit-hyphens: auto;
|
||||
}
|
||||
@media (max-width: 880px) {
|
||||
.bigidea__inner {
|
||||
@@ -3380,28 +3388,9 @@
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.stack-panel {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
.stack-panel__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: #000;
|
||||
opacity: 0;
|
||||
z-index: 5;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.1s linear;
|
||||
will-change: opacity;
|
||||
}
|
||||
@media (max-width: 880px) {
|
||||
.stack-panel { position: relative; }
|
||||
.stack-panel__overlay { display: none; }
|
||||
}
|
||||
|
||||
.pilar {
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
padding: 40px 56px 56px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -3424,7 +3413,6 @@
|
||||
--pilar-ink-soft: #FFFFFF;
|
||||
--pilar-muted: #FFFFFF;
|
||||
--pilar-rule: rgba(255,255,255,0.22);
|
||||
min-height: 118vh;
|
||||
}
|
||||
.pilar--teal .pilar__footbar {
|
||||
margin-top: 14vh;
|
||||
@@ -3818,7 +3806,7 @@
|
||||
}
|
||||
|
||||
@media (max-width: 960px) {
|
||||
.pilar { padding: 32px 24px 40px; min-height: auto; }
|
||||
.pilar { padding: 32px 24px 40px; }
|
||||
.pilar__stage--auto,
|
||||
.pilar__stage--sis,
|
||||
.pilar__stage--cen {
|
||||
@@ -4500,11 +4488,8 @@
|
||||
<h2 class="bigidea__wordmark">COLLINA</h2>
|
||||
<div class="bigidea__row">
|
||||
<div class="bigidea__copy">
|
||||
<p class="bigidea__sub">
|
||||
<span class="line" style="font-size: var(--fs-subtitle); width: 380px">No vendemos tecnología.</span>
|
||||
<span class="line" style="font-size: var(--fs-subtitle); width: 380px">Vendemos resultados operativos.</span>
|
||||
</p>
|
||||
<p class="bigidea__body" style="font-size: var(--fs-body)">En Collina Systems, entendemos que la tecnología es el medio, no el fin. Por eso, cada estrategia comienza con un diagnóstico profundo de su realidad operativa.</p>
|
||||
<p class="bigidea__sub">Más Allá de la Tecnología</p>
|
||||
<p class="bigidea__body" style="font-size: var(--fs-body)">No vendemos tecnología, vendemos resultados operativos. En Collina Systems, entendemos que la tecnología es el medio, no el fin. Por eso, cada estrategia comienza con un diagnóstico profundo de su realidad operativa.</p>
|
||||
</div>
|
||||
<figure class="bigidea__media">
|
||||
<picture class="wpic"><source type="image/webp" srcset="assets/colina-sunset.webp" /><img src="assets/colina-sunset.jpeg" alt="Colinas al atardecer" width="1000" height="1250" decoding="async" /></picture>
|
||||
@@ -4517,6 +4502,9 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<h2 class="ventajas-heading">Ventajas competitivas</h2>
|
||||
<p class="ventajas-sub">Impacto real: Cifras basadas en implementaciones recientes.</p>
|
||||
|
||||
<div id="productos" class="productos-block" data-screen-label="Productos">
|
||||
<section class="bigstat" data-screen-label="98.5% — Reducción de errores" aria-label="Reducción de errores operativos">
|
||||
<hr class="bigstat__divider" aria-hidden="true" />
|
||||
@@ -4526,7 +4514,7 @@
|
||||
<p class="bigstat__caption" style="font-size: var(--fs-subtitle)">
|
||||
</p>
|
||||
</div>
|
||||
<p class="bigstat__body" style="font-size: var(--fs-body)">Reducción en errores operativos al pasar de procesos manuales a flujos automatizados, diseñados por un equipo de profesionales</p>
|
||||
<p class="bigstat__body" style="font-size: var(--fs-body)">Reducción en errores operativos al pasar de procesos manuales a flujos automatizados, diseñados por un equipo de profesionales</p>
|
||||
</div>
|
||||
<hr class="bigstat__divider bigstat__divider--bottom" aria-hidden="true" />
|
||||
</section>
|
||||
@@ -4558,8 +4546,7 @@
|
||||
</section>
|
||||
|
||||
<div class="stack-wrap">
|
||||
<section class="pilar pilar--dark stack-panel" style="background:#000000;" data-screen-label="Automatización de Procesos" aria-label="Automatización de Procesos">
|
||||
<div class="stack-panel__overlay" aria-hidden="true"></div>
|
||||
<section class="pilar pilar--dark" style="background:#000000;" data-screen-label="Automatización de Procesos" aria-label="Automatización de Procesos">
|
||||
<header class="pilar__topbar pilar__topbar--bare">
|
||||
<span></span>
|
||||
<span class="pilar__idx">
|
||||
@@ -4597,8 +4584,7 @@ Automatización</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="pilar pilar--dark stack-panel" style="background:#000000;min-height:auto;" data-screen-label="Centralización de Ecosistemas Digitales" aria-label="Centralización de Ecosistemas Digitales">
|
||||
<div class="stack-panel__overlay" aria-hidden="true"></div>
|
||||
<section class="pilar pilar--dark" style="background:#000000;" data-screen-label="Centralización de Ecosistemas Digitales" aria-label="Centralización de Ecosistemas Digitales">
|
||||
<header class="pilar__topbar pilar__topbar--bare">
|
||||
<span></span>
|
||||
<span class="pilar__idx">
|
||||
@@ -4625,8 +4611,7 @@ Automatización</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="ia-integracion stack-panel" data-screen-label="Integración de Inteligencia Artificial" aria-label="Integración de Inteligencia Artificial">
|
||||
<div class="stack-panel__overlay" aria-hidden="true"></div>
|
||||
<section class="ia-integracion" data-screen-label="Integración de Inteligencia Artificial" aria-label="Integración de Inteligencia Artificial">
|
||||
<header class="pilar__topbar pilar__topbar--bare ia-integracion__topbar">
|
||||
<span></span>
|
||||
<span class="pilar__idx">
|
||||
@@ -5501,43 +5486,69 @@ C.P. 72820, Puebla, México</p>
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style id="bigidea-ventajas-mobile">
|
||||
/* Encabezado de las 3 métricas (visible desktop + móvil) */
|
||||
.ventajas-heading {
|
||||
margin: 0;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
color: #0A0A0A;
|
||||
background: #ffffff;
|
||||
font-size: var(--fs-title-xl);
|
||||
line-height: 1.15;
|
||||
letter-spacing: 0.01em;
|
||||
/* El aire de abajo pasa al subtítulo para que título+bajada se lean como una unidad */
|
||||
padding: clamp(56px, 9vh, 110px) 24px clamp(10px, 1.4vh, 16px);
|
||||
}
|
||||
/* Bajada del encabezado: mismo bloque blanco, misma alineación, peso normal */
|
||||
.ventajas-sub {
|
||||
margin: 0;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
text-transform: none;
|
||||
text-align: center;
|
||||
color: #0A0A0A;
|
||||
background: #ffffff;
|
||||
/* Escalonado entre cuerpo y título: --fs-lead topa en 21px y en desktop
|
||||
(h2 de 80px) se leía perdido. El mínimo de 18px conserva el móvil. */
|
||||
font-size: clamp(18px, 2.4vw, 34px);
|
||||
line-height: 1.5;
|
||||
letter-spacing: 0.005em;
|
||||
/* Hereda el aire inferior que tenía el h2, para no pegarse a la primera métrica */
|
||||
padding: 0 24px clamp(56px, 9vh, 110px);
|
||||
}
|
||||
/* Móvil: ocultar el wordmark art-directed COLLINA/SYSTEMS y colapsar su columna
|
||||
(el column-gap dejaría hueco si solo se ocultara .bigidea__systems) */
|
||||
@media (max-width: 720px) {
|
||||
.bigidea__wordmark { display: none !important; }
|
||||
.bigidea__systems { display: none !important; }
|
||||
.bigidea__inner {
|
||||
grid-template-columns: 1fr !important;
|
||||
column-gap: 0 !important;
|
||||
}
|
||||
/* Título con el MISMO token que "Ventajas competitivas" (--fs-title-xl).
|
||||
El !important en .line es necesario para ganarle al style inline del span. */
|
||||
.bigidea__sub,
|
||||
.bigidea__sub .line {
|
||||
font-size: var(--fs-title-xl) !important;
|
||||
}
|
||||
/* Título y bloque de copy a la izquierda (conservando el padding lateral) */
|
||||
.bigidea__copy,
|
||||
.bigidea__sub {
|
||||
text-align: left !important;
|
||||
}
|
||||
/* El párrafo va justificado */
|
||||
.bigidea__body {
|
||||
text-align: justify !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
<script>
|
||||
// Motto-style stacked panels: each panel sticks at top:0; as the next
|
||||
// panel slides up to cover it, this panel's overlay fades from 0 to 0.4.
|
||||
(function () {
|
||||
var panels = Array.prototype.slice.call(document.querySelectorAll('.stack-panel'));
|
||||
if (!panels.length) return;
|
||||
var ticking = false;
|
||||
|
||||
function update() {
|
||||
ticking = false;
|
||||
var vh = window.innerHeight;
|
||||
for (var i = 0; i < panels.length; i++) {
|
||||
var overlay = panels[i].querySelector('.stack-panel__overlay');
|
||||
if (!overlay) continue;
|
||||
var nextPanel = panels[i + 1];
|
||||
if (!nextPanel) { overlay.style.opacity = 0; continue; }
|
||||
var nextTop = nextPanel.getBoundingClientRect().top;
|
||||
// nextTop == vh -> next panel hasn't arrived yet -> 0
|
||||
// nextTop == 0 -> next panel fully covers this -> 0.4
|
||||
var t = 1 - Math.max(0, Math.min(1, nextTop / vh));
|
||||
overlay.style.opacity = (0.4 * t).toFixed(3);
|
||||
}
|
||||
}
|
||||
|
||||
function onScroll() {
|
||||
if (ticking) return;
|
||||
ticking = true;
|
||||
requestAnimationFrame(update);
|
||||
}
|
||||
|
||||
update();
|
||||
window.addEventListener('scroll', onScroll, { passive: true });
|
||||
window.addEventListener('resize', onScroll);
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
/* === Etheral Shadow effect — vanilla port of the React/framer-motion comp == */
|
||||
(function () {
|
||||
|
||||
@@ -3342,24 +3342,6 @@
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.stack-panel {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
.stack-panel__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: #000;
|
||||
opacity: 0;
|
||||
z-index: 5;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.1s linear;
|
||||
will-change: opacity;
|
||||
}
|
||||
@media (max-width: 880px) {
|
||||
.stack-panel { position: relative; }
|
||||
.stack-panel__overlay { display: none; }
|
||||
}
|
||||
|
||||
.pilar {
|
||||
position: relative;
|
||||
@@ -5177,42 +5159,6 @@
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
<script>
|
||||
// Motto-style stacked panels: each panel sticks at top:0; as the next
|
||||
// panel slides up to cover it, this panel's overlay fades from 0 to 0.4.
|
||||
(function () {
|
||||
var panels = Array.prototype.slice.call(document.querySelectorAll('.stack-panel'));
|
||||
if (!panels.length) return;
|
||||
var ticking = false;
|
||||
|
||||
function update() {
|
||||
ticking = false;
|
||||
var vh = window.innerHeight;
|
||||
for (var i = 0; i < panels.length; i++) {
|
||||
var overlay = panels[i].querySelector('.stack-panel__overlay');
|
||||
if (!overlay) continue;
|
||||
var nextPanel = panels[i + 1];
|
||||
if (!nextPanel) { overlay.style.opacity = 0; continue; }
|
||||
var nextTop = nextPanel.getBoundingClientRect().top;
|
||||
// nextTop == vh -> next panel hasn't arrived yet -> 0
|
||||
// nextTop == 0 -> next panel fully covers this -> 0.4
|
||||
var t = 1 - Math.max(0, Math.min(1, nextTop / vh));
|
||||
overlay.style.opacity = (0.4 * t).toFixed(3);
|
||||
}
|
||||
}
|
||||
|
||||
function onScroll() {
|
||||
if (ticking) return;
|
||||
ticking = true;
|
||||
requestAnimationFrame(update);
|
||||
}
|
||||
|
||||
update();
|
||||
window.addEventListener('scroll', onScroll, { passive: true });
|
||||
window.addEventListener('resize', onScroll);
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
/* === Etheral Shadow effect — vanilla port of the React/framer-motion comp == */
|
||||
(function () {
|
||||
|
||||
+80
-69
@@ -1596,16 +1596,20 @@
|
||||
max-width: 1640px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
/* Misma estrategia que .cotizador-showcase: dos mitades iguales. El bloque
|
||||
de texto se apoya en el borde interior de su mitad y el mockup se centra
|
||||
en la suya, así el aire queda repartido a ambos lados de la sección. */
|
||||
grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
|
||||
grid-template-areas:
|
||||
"text demo"
|
||||
"stat demo";
|
||||
align-items: start;
|
||||
column-gap: clamp(40px, 6vw, 96px);
|
||||
row-gap: clamp(32px, 5vh, 64px);
|
||||
max-width: 1600px;
|
||||
}
|
||||
.cim__text { grid-area: text; }
|
||||
.cim__demo { grid-area: demo; align-self: start; }
|
||||
.cim__demo { grid-area: demo; align-self: start; justify-self: center; }
|
||||
.cim__stat { grid-area: stat; }
|
||||
.cim__title {
|
||||
margin: 0;
|
||||
@@ -1619,6 +1623,7 @@
|
||||
}
|
||||
.cim__text {
|
||||
align-self: flex-start;
|
||||
justify-self: end;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: clamp(18px, 2.4vh, 32px);
|
||||
@@ -1656,7 +1661,9 @@
|
||||
"stat";
|
||||
row-gap: 32px;
|
||||
}
|
||||
.cim__text { max-width: 100%; align-items: stretch; }
|
||||
.cim__text { max-width: 100%; align-items: stretch; justify-self: stretch; }
|
||||
.cim__stat { justify-self: stretch; }
|
||||
.cim__demo { justify-self: center; }
|
||||
.cim__title { text-align: left !important; }
|
||||
.cim__lead { text-align: left !important; }
|
||||
.cim__horse { align-self: center !important; }
|
||||
@@ -1665,6 +1672,7 @@
|
||||
}
|
||||
|
||||
.cim__stat {
|
||||
justify-self: end;
|
||||
margin-top: clamp(48px, 8vh, 96px);
|
||||
padding-top: clamp(32px, 4vh, 48px);
|
||||
display: flex;
|
||||
@@ -1705,7 +1713,6 @@
|
||||
arranquen en la misma línea vertical */
|
||||
padding: clamp(40px, 6vh, 80px) 56px 56px;
|
||||
isolation: isolate;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -2881,14 +2888,17 @@
|
||||
max-width: 1640px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
/* Mismo criterio que .cim__inner y .cotizador-showcase: dos mitades iguales */
|
||||
grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
|
||||
grid-template-areas: "text demo";
|
||||
align-items: start;
|
||||
column-gap: clamp(40px, 6vw, 96px);
|
||||
max-width: 1600px;
|
||||
}
|
||||
.cmon__text {
|
||||
grid-area: text;
|
||||
align-self: flex-start;
|
||||
justify-self: end;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: clamp(18px, 2.4vh, 32px);
|
||||
@@ -2918,6 +2928,7 @@
|
||||
width: 420px;
|
||||
max-width: 100%;
|
||||
align-self: stretch;
|
||||
justify-self: center;
|
||||
display: flex;
|
||||
}
|
||||
.cmon__frame {
|
||||
@@ -2935,7 +2946,7 @@
|
||||
"demo";
|
||||
row-gap: clamp(32px, 5vh, 56px);
|
||||
}
|
||||
.cmon__text { max-width: 100%; align-items: stretch; }
|
||||
.cmon__text { max-width: 100%; align-items: stretch; justify-self: stretch; }
|
||||
.cmon__title { font-size: var(--fs-title-l); text-align: left !important; }
|
||||
.cmon__lead { text-align: left !important; }
|
||||
.cmon__horse { align-self: center !important; }
|
||||
@@ -3629,28 +3640,9 @@
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.stack-panel {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
.stack-panel__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: #000;
|
||||
opacity: 0;
|
||||
z-index: 5;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.1s linear;
|
||||
will-change: opacity;
|
||||
}
|
||||
@media (max-width: 880px) {
|
||||
.stack-panel { position: relative; }
|
||||
.stack-panel__overlay { display: none; }
|
||||
}
|
||||
|
||||
.pilar {
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
padding: 40px 56px 56px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -3673,7 +3665,6 @@
|
||||
--pilar-ink-soft: #FFFFFF;
|
||||
--pilar-muted: #FFFFFF;
|
||||
--pilar-rule: rgba(255,255,255,0.22);
|
||||
min-height: 118vh;
|
||||
}
|
||||
.pilar--teal .pilar__footbar {
|
||||
margin-top: 14vh;
|
||||
@@ -4067,7 +4058,7 @@
|
||||
}
|
||||
|
||||
@media (max-width: 960px) {
|
||||
.pilar { padding: 32px 24px 40px; min-height: auto; }
|
||||
.pilar { padding: 32px 24px 40px; }
|
||||
.pilar__stage--auto,
|
||||
.pilar__stage--sis,
|
||||
.pilar__stage--cen {
|
||||
@@ -4907,8 +4898,7 @@
|
||||
</section>
|
||||
|
||||
<div class="stack-wrap">
|
||||
<section class="pilar pilar--dark stack-panel" style="background:#000000;" data-screen-label="Automatización de Procesos" aria-label="Automatización de Procesos">
|
||||
<div class="stack-panel__overlay" aria-hidden="true"></div>
|
||||
<section class="pilar pilar--dark" style="background:#000000;" data-screen-label="Automatización de Procesos" aria-label="Automatización de Procesos">
|
||||
<header class="pilar__topbar pilar__topbar--bare">
|
||||
<span></span>
|
||||
<span class="pilar__idx">
|
||||
@@ -4946,8 +4936,7 @@ Automatización</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="pilar pilar--dark stack-panel" style="background:#000000;min-height:auto;" data-screen-label="Centralización de Ecosistemas Digitales" aria-label="Centralización de Ecosistemas Digitales">
|
||||
<div class="stack-panel__overlay" aria-hidden="true"></div>
|
||||
<section class="pilar pilar--dark" style="background:#000000;" data-screen-label="Centralización de Ecosistemas Digitales" aria-label="Centralización de Ecosistemas Digitales">
|
||||
<header class="pilar__topbar pilar__topbar--bare">
|
||||
<span></span>
|
||||
<span class="pilar__idx">
|
||||
@@ -4974,8 +4963,7 @@ Automatización</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="ia-integracion stack-panel" data-screen-label="Integración de Inteligencia Artificial" aria-label="Integración de Inteligencia Artificial">
|
||||
<div class="stack-panel__overlay" aria-hidden="true"></div>
|
||||
<section class="ia-integracion" data-screen-label="Integración de Inteligencia Artificial" aria-label="Integración de Inteligencia Artificial">
|
||||
<header class="pilar__topbar pilar__topbar--bare ia-integracion__topbar">
|
||||
<span></span>
|
||||
<span class="pilar__idx">
|
||||
@@ -6383,43 +6371,66 @@ Desarrollamos sistemas que se integran directamente a los canales que ya utiliza
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style id="productos-mobile">
|
||||
/* === Secciones de producto en móvil: texto centrado y espaciado parejo ===== */
|
||||
@media (max-width: 720px) {
|
||||
/* 1) Títulos y cuerpos centrados en las cuatro secciones.
|
||||
Los !important son necesarios porque las media queries previas de cada
|
||||
sección fijan text-align: left !important. */
|
||||
.cotizador-showcase__title,
|
||||
.cotizador-showcase__lead,
|
||||
.cotizador-showcase__stat-figure,
|
||||
.cotizador-showcase__stat-body,
|
||||
.cim__title,
|
||||
.cim__lead,
|
||||
.cim__stat-figure,
|
||||
.cim__stat-body,
|
||||
.cmon__title,
|
||||
.cmon__lead {
|
||||
text-align: center !important;
|
||||
}
|
||||
.cotizador-showcase__copy,
|
||||
.cotizador-showcase__stat,
|
||||
.cim__text,
|
||||
.cim__stat,
|
||||
.cmon__text {
|
||||
align-items: center !important;
|
||||
margin-inline: auto !important;
|
||||
}
|
||||
.cotizador-showcase__lead,
|
||||
.cotizador-showcase__stat-body,
|
||||
.cim__lead,
|
||||
.cim__stat-body,
|
||||
.cmon__lead {
|
||||
margin-inline: auto !important;
|
||||
}
|
||||
|
||||
/* 2) El iframe de Insurance Manager tenía height: 960px fijo mientras su
|
||||
contenido mide ~760px: sobraban ~200px de marco vacío. Se le da el mismo
|
||||
tratamiento responsivo que al Cotizador (aspect-ratio en vez de alto fijo). */
|
||||
.cim__frame,
|
||||
.cmon__frame {
|
||||
height: auto !important;
|
||||
aspect-ratio: 390 / 900;
|
||||
}
|
||||
/* El bloque .cim__stat está vacío pero aportaba 40px de margen + 32px de
|
||||
padding + el row-gap del grid: ~104px de vacío puro. */
|
||||
.cim__stat {
|
||||
margin-top: 0 !important;
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
/* 3) Separación entre secciones proporcionada al móvil (antes 108px arriba y
|
||||
abajo de cada una = 216px entre secciones consecutivas). */
|
||||
.cotizador-showcase,
|
||||
.cim,
|
||||
.cmon {
|
||||
padding-block: clamp(48px, 7vh, 72px) !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
<script>
|
||||
// Motto-style stacked panels: each panel sticks at top:0; as the next
|
||||
// panel slides up to cover it, this panel's overlay fades from 0 to 0.4.
|
||||
(function () {
|
||||
var panels = Array.prototype.slice.call(document.querySelectorAll('.stack-panel'));
|
||||
if (!panels.length) return;
|
||||
var ticking = false;
|
||||
|
||||
function update() {
|
||||
ticking = false;
|
||||
var vh = window.innerHeight;
|
||||
for (var i = 0; i < panels.length; i++) {
|
||||
var overlay = panels[i].querySelector('.stack-panel__overlay');
|
||||
if (!overlay) continue;
|
||||
var nextPanel = panels[i + 1];
|
||||
if (!nextPanel) { overlay.style.opacity = 0; continue; }
|
||||
var nextTop = nextPanel.getBoundingClientRect().top;
|
||||
// nextTop == vh -> next panel hasn't arrived yet -> 0
|
||||
// nextTop == 0 -> next panel fully covers this -> 0.4
|
||||
var t = 1 - Math.max(0, Math.min(1, nextTop / vh));
|
||||
overlay.style.opacity = (0.4 * t).toFixed(3);
|
||||
}
|
||||
}
|
||||
|
||||
function onScroll() {
|
||||
if (ticking) return;
|
||||
ticking = true;
|
||||
requestAnimationFrame(update);
|
||||
}
|
||||
|
||||
update();
|
||||
window.addEventListener('scroll', onScroll, { passive: true });
|
||||
window.addEventListener('resize', onScroll);
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
/* === Etheral Shadow effect — vanilla port of the React/framer-motion comp == */
|
||||
(function () {
|
||||
|
||||
Reference in new issue
Block a user