refactorizacion v4.8 index
This commit is contained in:
+230
-159
@@ -245,7 +245,7 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
/* --- 4. Layout & Contenedores --- */
|
||||
.container {
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
max-width: 1360px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 1.5rem;
|
||||
@@ -324,6 +324,8 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
align-items: center;
|
||||
gap: 1.8rem;
|
||||
list-style: none;
|
||||
flex-shrink: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
@@ -357,6 +359,7 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.nav-item.dropdown {
|
||||
position: relative;
|
||||
@@ -593,7 +596,7 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
gap: 0.6rem;
|
||||
font-family: 'Barlow Condensed', sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 2.9rem;
|
||||
font-size: 1rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.09em;
|
||||
padding: 0.75rem 1.6rem;
|
||||
@@ -690,15 +693,45 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
padding: 0.45rem 1rem;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
/*==============================*/
|
||||
/*efecto ruido*/
|
||||
.incomodidad-section {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding: 100px 24px;
|
||||
overflow: hidden; /* Evita que las ondas ensanchen la pantalla */
|
||||
|
||||
/* --- Botón CTA Unificado --- */
|
||||
.btn-cta-unificado {
|
||||
padding: 0.75rem 2rem;
|
||||
border-radius: 50px; /* Estilo píldora */
|
||||
background-color: var(--ide-primary);
|
||||
color: #FFFFFF;
|
||||
font-family: 'Barlow Condensed', sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 1.1rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
border: 2px solid transparent;
|
||||
transition: all var(--transition-fast);
|
||||
}
|
||||
|
||||
.btn-cta-unificado:hover {
|
||||
background-color: var(--ide-primary-dark);
|
||||
box-shadow: var(--shadow-md);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
.btn-cta-unificado svg {
|
||||
transition: transform var(--transition-fast);
|
||||
}
|
||||
.btn-cta-unificado:hover svg {
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.nav-actions .btn-cta-unificado {
|
||||
flex-shrink: 0;
|
||||
font-size: 0.95rem;
|
||||
padding: 0.5rem 1.25rem;
|
||||
}
|
||||
|
||||
/*==============================*/
|
||||
|
||||
/* Canvas como fondo absoluto */
|
||||
#ripple-canvas {
|
||||
position: absolute;
|
||||
@@ -749,6 +782,7 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
box-shadow: var(--shadow-md);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/*tarjetas especiales*/
|
||||
/*Agro*/
|
||||
.card-agro {
|
||||
@@ -765,28 +799,6 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.icono-agro {
|
||||
display: block;
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
background-color: var(--text-body);
|
||||
-webkit-mask-image: url('../assets/iconos/agro_color.svg');
|
||||
mask-image: url('../assets/iconos/agro_color.svg');
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
mask-repeat: no-repeat;
|
||||
-webkit-mask-position: center;
|
||||
mask-position: center;
|
||||
-webkit-mask-size: contain;
|
||||
mask-size: contain;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.card-agro:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
/*Fabrica*/
|
||||
.card-fabrica {
|
||||
background-image: linear-gradient(var(--card-overlay), var(--card-overlay)), url('../assets/img/fabrica3.jpg');
|
||||
@@ -1126,6 +1138,7 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
max-width: 860px;
|
||||
margin: 0 auto;
|
||||
transition: all 0.25s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.quiz-header {
|
||||
@@ -1171,21 +1184,21 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
/* ---- Grid de opciones (estilo Opción A) ---- */
|
||||
.quiz-options-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
gap: 0.85rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.quiz-options-grid--2col {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
}
|
||||
|
||||
/* ---- Cards de opción (estilo Opción A) ---- */
|
||||
.quiz-option-card {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
padding: 1rem 1.25rem;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1rem;
|
||||
background: var(--bg-body);
|
||||
border: 2px solid transparent;
|
||||
border-radius: 0.85rem;
|
||||
@@ -1239,21 +1252,20 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
/* ---- Estilos para títulos con iconos SVG en las tarjetas del quiz ---- */
|
||||
.quiz-option-card .opt-title {
|
||||
font-family: 'Barlow Condensed', sans-serif;
|
||||
font-weight: 600;
|
||||
font-weight: 500;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: 6px;
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 0.2rem;
|
||||
margin-bottom: 0.15rem;
|
||||
color: var(--text-primary, #094b63);
|
||||
}
|
||||
|
||||
.quiz-option-card .opt-title .icono {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
.quiz-option-card .opt-title i {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
flex-shrink: 0;
|
||||
color: inherit;
|
||||
|
||||
}
|
||||
|
||||
.quiz-option-card .opt-title .opt-text {
|
||||
@@ -2501,154 +2513,213 @@ canvas {
|
||||
box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
/* --- 17. Footer --- */
|
||||
/* =========================================================
|
||||
FOOTER MODULAR - ESTILOS
|
||||
========================================================= */
|
||||
#site-footer {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background-color: var(--bg-surface);
|
||||
border-top: 1px solid var(--border-color);
|
||||
padding-top: 4.5rem;
|
||||
padding-bottom: 2.5rem;
|
||||
/*padding-top: 4.5rem;
|
||||
padding-bottom: 2.5rem;*/
|
||||
margin-top: auto;
|
||||
transition: background-color var(--transition-normal);
|
||||
}
|
||||
|
||||
/* Logo de fondo - NO debe interferir con los links */
|
||||
.footer-bg {
|
||||
position: absolute;
|
||||
transform: translate(0%, -17%);
|
||||
height: auto;
|
||||
pointer-events: none; /* ¡CLAVE! Evita que la imagen capture eventos */
|
||||
|
||||
}
|
||||
|
||||
/* El SVG dentro del contenedor */
|
||||
.footer-bg img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
pointer-events: none; /* Hereda o se asegura */
|
||||
}
|
||||
|
||||
/* Contenido del footer - POR ENCIMA del fondo */
|
||||
.footer-grid {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: grid;
|
||||
grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
|
||||
gap: 2.5rem;
|
||||
margin-bottom: 3.5rem;
|
||||
}
|
||||
|
||||
.footer-logo-wrap {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.footer-links li {
|
||||
margin-bottom: 0.35rem;
|
||||
}
|
||||
|
||||
.footer-link {
|
||||
color: var(--text-muted);
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
position: relative;
|
||||
z-index: 2; /* Asegura que estén por encima */
|
||||
}
|
||||
|
||||
.footer-link:hover {
|
||||
color: var(--ide-accent);
|
||||
}
|
||||
|
||||
/* Links del ecosistema en la columna 1 */
|
||||
.footer-link2 {
|
||||
color: var(--text-muted);
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.footer-link2:nth-child(1):hover { color: var(--ide-excellence); } /* Excellence */
|
||||
.footer-link2:nth-child(2):hover { color: var(--ide-projects); } /* Project */
|
||||
.footer-link2:nth-child(3):hover { color: var(--ide-academy); } /* Academy */
|
||||
.footer-link2:nth-child(4):hover { color: var(--ide-digital); } /* Digital */
|
||||
|
||||
/* Footer bottom - también por encima */
|
||||
.footer-bottom {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
/* --- FILA SUPERIOR --- */
|
||||
.footer-top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-muted);
|
||||
border-top: 1px solid var(--border-color);
|
||||
padding-top: 1.5rem;
|
||||
flex-wrap: wrap;
|
||||
gap: 2rem;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.footer-bottom a {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.footer-socials {
|
||||
.footer-brand {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
flex-direction: row; /* CAMBIADO: de column a row */
|
||||
align-items: flex-start; /* Alinea arriba ambos elementos */
|
||||
gap: 1rem; /* Espacio entre logo y slogan */
|
||||
max-width: 400px; /* Aumentado para que quepa el slogan */
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
height: 45px;
|
||||
width: auto;
|
||||
object-fit: contain;
|
||||
flex-shrink: 0; /* Evita que el logo se encoja */
|
||||
}
|
||||
|
||||
.footer-slogan {
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
color: var(--text-muted, #6c757d);
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
text-align: left; /* Asegura que el texto quede alineado a la izquierda */
|
||||
}
|
||||
|
||||
/* Navegación horizontal */
|
||||
.footer-links-horizontal {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 1.25rem 1.75rem; /* gap vertical | gap horizontal */
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.footer-link {
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-body, #333);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.footer-link:hover {
|
||||
color: var(--ide-primary, #0066cc); /* Ajusta a tu color primario */
|
||||
}
|
||||
|
||||
/* Botón CTA */
|
||||
.footer-cta-btn {
|
||||
border-radius: 50px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.65rem 1.35rem;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.footer-cta-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* --- DIVISOR --- */
|
||||
.footer-divider {
|
||||
border: none;
|
||||
border-top: 1px solid var(--border-color, #e0e0e0);
|
||||
margin: 0 0 1.5rem 0;
|
||||
}
|
||||
|
||||
/* --- FILA INFERIOR --- */
|
||||
.footer-bottom {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.footer-legal-list {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.footer-link-small {
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-muted, #6c757d);
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.footer-link-small:hover {
|
||||
color: var(--text-body, #333);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Redes Sociales */
|
||||
.footer-socials {
|
||||
display: flex;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.footer-social-link {
|
||||
display: inline-flex;
|
||||
color: var(--text-muted, #6c757d);
|
||||
font-size: 1.15rem;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease, transform 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
color: var(--text-muted);
|
||||
background: var(--bg-subtle, rgba(255,255,255,0.05));
|
||||
transition: all 0.3s ease;
|
||||
text-decoration: none;
|
||||
font-size: 1rem;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.footer-social-link:hover {
|
||||
color: var(--ide-accent, #3fff4f);
|
||||
transform: translateY(-3px);
|
||||
color: var(--ide-primary, #0066cc); /* Ajusta a tu color primario */
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* Copyright */
|
||||
.footer-copyright {
|
||||
color: var(--text-muted, #6c757d);
|
||||
font-size: 0.8rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.footer-bg {
|
||||
width: 40%;
|
||||
max-width: 300px;
|
||||
opacity: 0.04;
|
||||
}
|
||||
|
||||
.footer-grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
.footer-credit {
|
||||
color: var(--text-muted, #6c757d);
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.footer-credit:hover {
|
||||
color: var(--text-body, #333);
|
||||
}
|
||||
|
||||
/* =========================================================
|
||||
RESPONSIVE (Móviles y Tablets)
|
||||
========================================================= */
|
||||
@media (max-width: 992px) {
|
||||
.footer-top {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.footer-brand {
|
||||
max-width: 100%;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.footer-links-horizontal {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.footer-bg {
|
||||
width: 30%;
|
||||
max-width: 200px;
|
||||
opacity: 0.03;
|
||||
@media (max-width: 768px) {
|
||||
.footer-bottom {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.footer-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.5rem;
|
||||
|
||||
.footer-legal-list {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-copyright {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user