diff --git a/css/desafio.css b/css/desafio.css index d6c7201..79c9698 100644 --- a/css/desafio.css +++ b/css/desafio.css @@ -4,7 +4,7 @@ .desafio-card { position: relative; - background: var(--bg-primary, #ffffff); + background: var(--bg-surface, #ffffff); border-radius: var(--radius-md, 12px); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.5); @@ -154,7 +154,7 @@ ========================================================= */ .modal-compact { - background: var(--bg-primary, #ffffff); + background: var(--bg-surface, #ffffff); border-radius: var(--radius-lg, 16px); max-width: 800px; width: 90%; @@ -391,3 +391,13 @@ padding-right: 0; } } + +/* ========================================================= + FLECHA COMPACTA DENTRO DE LAS TARJETAS DE DESAFÍO + ========================================================= */ +.desafio-card__arrow { + padding: 0.5rem 1.1rem; + border-radius: 50px; + flex-shrink: 0; + pointer-events: none; +} diff --git a/css/soluciones.css b/css/soluciones.css index 48408fc..46fb069 100644 --- a/css/soluciones.css +++ b/css/soluciones.css @@ -4,7 +4,7 @@ /* --- TARJETA BASE --- */ .solucion-card { - background: #ffffff; + background: var(--bg-surface); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); @@ -28,24 +28,38 @@ align-items: center; justify-content: center; overflow: hidden; - backface-visibility: hidden; - -webkit-backface-visibility: hidden; - transform: translateZ(0); } -/* Efecto de ola SVG */ +/* Franja que tapa cualquier costura subpíxel entre la ola y el body */ +.solucion-card__header::after { + content: ""; + position: absolute; + left: 0; + right: 0; + bottom: 0; + height: 2px; + background: var(--bg-surface); + z-index: 3; + pointer-events: none; +} + +/* Efecto de ola SVG (SVG en línea, se estira al contenedor) */ .solucion-card__wave { position: absolute; bottom: -2px; left: -5%; width: 110%; - height: 65px; - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,120V85c47.79,15.2,103.59,22,158,19.2,70.36-3.7,136.33-22.8,206.8-25.7C438.64,75.6,512.34,90,583,102.5c69.27,12.3,138.3,17,209.4,9,36.15-4.1,69.85-12.2,104.45-20.1C989.49,73,1113,46.5,1200,91.8V120Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,120V60.5c13,14.4,27.64,26.9,47.69,35.3,51.72,26.2,117.31,26,176.89,13.2,31.15-6.9,60.09-17.8,89.67-27.2,40.92-13,84.73-31.5,130.83-34,36.26-1.95,70.9,6.4,98.6,21.5,31.77,17.4,62.32,42.4,103.63,50,40.44,7.4,81.35-4.6,119.13-16.6s75.16-26.7,116.92-29.5c59.73-4,113.28,15.65,168.9,26.6,30.2,5.9,59,4.2,87.09-5.1,22.43-7.45,48-18.4,60.65-33.7V120Z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0,120V54.8C149.93,91.3,314.09,99.6,475.83,80c43-5.2,84.23-13.8,127.61-18.1,59-5.9,112.48,8.4,165.56,24.2C827.93,103.2,886,115.6,951.2,112c86.53-4.8,172.46-31.3,248.8-58V120Z' fill='%23ffffff'/%3E%3C/svg%3E"); - background-size: cover; - background-position: bottom; + height: clamp(48px, 5.5vw, 65px); + max-width: none; + display: block; + pointer-events: none; z-index: 1; - will-change: auto; - transform: translateZ(0); +} + +/* La ola toma el color del cuerpo de la tarjeta/modal (acompaña el tema) */ +.solucion-card__wave path, +.modal-infografia__wave path { + fill: var(--bg-surface); } /* Icono */ @@ -76,7 +90,7 @@ .solucion-card__title { font-size: 1.1rem; font-weight: 700; - color: #1a1a2e; + color: var(--text-main); margin: 0 0 0.5rem; line-height: 1.3; min-height: 2.6em; @@ -94,7 +108,7 @@ /* Texto descriptivo */ .solucion-card__text { font-size: 0.85rem; - color: #6c757d; + color: var(--text-muted); line-height: 1.5; margin: 0 0 1.5rem; flex: 1; @@ -105,12 +119,12 @@ width: 44px; height: 44px; border-radius: 50%; - border: 2px solid #e0e0e0; - background: #ffffff; + border: 2px solid var(--border-color); + background: var(--bg-surface); display: flex; align-items: center; justify-content: center; - color: #1a1a2e; + color: var(--text-main); text-decoration: none; transition: all 0.3s ease; align-self: flex-start; @@ -249,7 +263,7 @@ } .modal-infografia { - background: #ffffff; + background: var(--bg-surface); border-radius: 20px; max-width: 1200px; width: 100%; @@ -301,15 +315,28 @@ color: #ffffff; } +/* Franja que tapa la costura subpíxel durante la animación del modal */ +.modal-infografia__header::after { + content: ""; + position: absolute; + left: 0; + right: 0; + bottom: 0; + height: 2px; + background: var(--bg-surface); + z-index: 3; + pointer-events: none; +} + .modal-infografia__wave { position: absolute; bottom: -2px; left: -5%; width: 110%; - height: 50px; - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,120V73.71c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,59.43,512.34,80.67,583,99.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,52,1113,13.29,1200,79.47V120Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,120V32.81C13,53.92,27.64,73.86,47.69,89.05,99.41,128.27,165,128,224.58,108.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V120Z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0,120V22.63C149.93,76,314.09,88.32,475.83,59.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,94.22,886,112.24,951.2,107c86.53-7,172.46-45.71,248.8-84.81V120Z' fill='%23ffffff'/%3E%3C/svg%3E"); - background-size: cover; - background-position: bottom; + height: clamp(40px, 4vw, 50px); + max-width: none; + display: block; + pointer-events: none; z-index: 1; } @@ -347,10 +374,10 @@ .modal-infografia__intro { font-size: 0.9rem; line-height: 1.5; - color: #4a5568; + color: var(--text-body); margin: 0 0 1.5rem; padding-bottom: 1rem; - border-bottom: 2px solid #e2e8f0; + border-bottom: 2px solid var(--border-color); text-align: center; max-width: 800px; margin-left: auto; @@ -363,7 +390,7 @@ gap: 0.6rem; font-size: 1.1rem; font-weight: 700; - color: #1a1a2e; + color: var(--text-main); margin: 0 0 1rem; } @@ -383,14 +410,14 @@ display: flex; gap: 0.75rem; padding: 0.85rem; - background: #f8fafc; + background: var(--bg-muted); border-radius: 10px; border-left: 3px solid #1abc9c; transition: all 0.3s ease; } .norma-card:hover { - background: #ffffff; + background: var(--bg-surface-elevated); box-shadow: 0 4px 12px rgba(26, 188, 156, 0.15); transform: translateX(3px); } @@ -415,7 +442,7 @@ .norma-card__title { font-size: 0.95rem; font-weight: 700; - color: #1a1a2e; + color: var(--text-main); margin: 0 0 0.15rem; } @@ -427,7 +454,7 @@ .norma-card__text { font-size: 0.75rem; - color: #64748b; + color: var(--text-muted); line-height: 1.4; margin: 0; } @@ -491,14 +518,14 @@ .destacado-card__title { font-size: 0.95rem; font-weight: 700; - color: #1a1a2e; + color: var(--text-main); margin: 0 0 0.35rem; line-height: 1.3; } .destacado-card__text { font-size: 0.78rem; - color: #475569; + color: var(--text-body); line-height: 1.4; margin: 0; } @@ -506,8 +533,8 @@ /* --- FOOTER --- */ .modal-infografia__footer { padding: 1rem 2rem 1.25rem; - background: #f8fafc; - border-top: 1px solid #e2e8f0; + background: var(--bg-muted); + border-top: 1px solid var(--border-color); display: flex; justify-content: center; } @@ -730,7 +757,7 @@ ========================================================= */ .soluciones-relacionadas { - background: #ffffff; + background: var(--bg-surface); } /* --- Header --- */ @@ -744,14 +771,14 @@ font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; - color: #64748b; + color: var(--text-muted); margin-bottom: 0.75rem; } .soluciones-relacionadas__title { font-size: 2rem; font-weight: 800; - color: #1a1a2e; + color: var(--text-main); margin: 0; line-height: 1.2; max-width: 700px; @@ -903,13 +930,13 @@ display: flex; align-items: center; padding-left: 1.5rem; - border-left: 2px solid #e2e8f0; + border-left: 2px solid var(--border-color); } .soluciones-relacionadas__aside-text { font-size: 0.95rem; line-height: 1.6; - color: #4a5568; + color: var(--text-body); margin: 0; } @@ -927,7 +954,7 @@ padding-left: 0; padding-top: 1.5rem; border-left: none; - border-top: 2px solid #e2e8f0; + border-top: 2px solid var(--border-color); margin-top: 0.5rem; } } @@ -1009,4 +1036,16 @@ .modal-infografia__footer { padding: 1rem 1.25rem 1.25rem; } +} + +/* ========================================================= + MODO OSCURO - AJUSTES DE TARJETAS DESTACADAS + ========================================================= */ + +[data-theme="dark"] .destacado-card--integrados { + background: linear-gradient(135deg, rgba(26, 188, 156, 0.14) 0%, rgba(22, 160, 133, 0.2) 100%); +} + +[data-theme="dark"] .destacado-card--auditorias { + background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(234, 179, 8, 0.2) 100%); } \ No newline at end of file diff --git a/css/styles.css b/css/styles.css index a88513e..2dc99de 100644 --- a/css/styles.css +++ b/css/styles.css @@ -342,6 +342,9 @@ p, li, .lead-text, .text-body, .text-muted { color-mix(in srgb, var(--ide-accent) 10%, transparent) 100% ); } +.bg7 { + background: radial-gradient(circle at 50% 0%, var(--ide-accent-soft) 0%, transparent 60%), var(--bg-body); +} .herobg-1{ background-image: linear-gradient( @@ -1397,6 +1400,59 @@ p, li, .lead-text, .text-body, .text-muted { } } +/* Colapso progresivo de los grids de 2, 3, 4 y 6 columnas */ +@media (max-width: 992px) { + .grid-3 { + grid-template-columns: repeat(2, 1fr); + } + + .grid-4 { + grid-template-columns: repeat(2, 1fr); + } + + .grid-6 { + grid-template-columns: repeat(3, 1fr); + } +} + +@media (max-width: 640px) { + .grid-2, + .grid-3, + .grid-4 { + grid-template-columns: 1fr; + } + + .grid-6 { + grid-template-columns: repeat(2, 1fr); + } +} + +/* Layout reutilizable de 2 columnas (texto + media) */ +.split-2 { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 4rem; + align-items: center; +} + +.split-2__img { + width: 100%; + max-width: 500px; + margin-left: 5rem; +} + +@media (max-width: 900px) { + .split-2 { + grid-template-columns: 1fr; + gap: 2rem; + } + + .split-2__img { + margin-left: 0; + margin-inline: auto; + } +} + /* --- 8. Hero: La Doble Entrada (Home) --- */ .hero-grid { @@ -1406,6 +1462,13 @@ p, li, .lead-text, .text-body, .text-muted { align-items: center; } +@media (max-width: 900px) { + .hero-grid { + grid-template-columns: 1fr; + gap: 2rem; + } +} + .hero-doble-entrada { display: grid; grid-template-columns: 1fr 1fr; diff --git a/desafios.html b/desafios.html index d503641..3e90594 100644 --- a/desafios.html +++ b/desafios.html @@ -21,7 +21,7 @@
-
+

¿Qué está pasando
en tu organización? @@ -63,7 +63,7 @@

Crecimos y necesitamos ordenar la gestión.

- +
@@ -78,7 +78,7 @@

Tenemos muchas iniciativas, pero cuesta convertirlas en resultados.

- + @@ -93,7 +93,7 @@

Estamos impulsando cambios, pero cuesta llevarlos a la práctica.

- + @@ -108,7 +108,7 @@

Queremos aprovechar la tecnología y la IA con sentido.

- + @@ -123,7 +123,7 @@

Necesitamos cumplir nuevos requisitos sin sumar burocracia.

- + @@ -138,7 +138,7 @@

Sabemos que algo debería cambiar, pero no tenemos claro por dónde empezar.

- + @@ -150,18 +150,18 @@
-
+
UNA MIRADA AMPLIA -

+

Distintas señales pueden tener un mismo origen. -

+

Comprender las conexiones nos permite identificar dónde intervenir y generar un mayor impacto.

- Ilustración de desafíos organizacionales + Ilustración de desafíos organizacionales
@@ -173,9 +173,9 @@
-

+

¿Tu situación es diferente? -

+

No necesitás saber qué servicio buscar; partimos del desafío real para diseñar la intervención adecuada.

diff --git a/index.html b/index.html index 365e4e2..70e7228 100644 --- a/index.html +++ b/index.html @@ -236,7 +236,7 @@
-
+