diff --git a/index.html b/index.html
index 469af76..eb2f76d 100644
--- a/index.html
+++ b/index.html
@@ -5,6 +5,11 @@
Moraworld Imports — Casillero en EE.UU. para Ecuador
+
+
+
+
+
@@ -470,7 +475,7 @@
.footer-bottom {
border-top: 1px solid rgba(255,255,255,.06);
padding-top: 28px; display: flex; justify-content: space-between;
- align-items: center; flex-wrap: gap;
+ align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: .82rem; }
.footer-badges { display: flex; gap: 12px; }
@@ -480,6 +485,24 @@
border-radius: 999px;
}
+ /* ── MOBILE MENU ── */
+ .mobile-menu {
+ display: none;
+ position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
+ background: var(--white); border-bottom: 1px solid var(--gray-200);
+ padding: 16px 24px 24px; box-shadow: 0 8px 32px rgba(0,0,0,.12);
+ }
+ .mobile-menu.open { display: block; }
+ .mobile-nav-links { display: flex; flex-direction: column; }
+ .mobile-nav-links a { padding: 13px 0; border-bottom: 1px solid var(--gray-100); font-size: .95rem; font-weight: 500; color: var(--gray-700); display: block; }
+ .mobile-nav-links a:last-child { border-bottom: none; }
+ .mobile-nav-links a:hover { color: var(--primary); }
+ .mobile-nav-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
+ .mobile-nav-cta .btn { justify-content: center; width: 100%; }
+ .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
+ .hamburger.active span:nth-child(2) { opacity: 0; }
+ .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
+
/* ── WHATSAPP FLOAT ── */
.wa-float {
position: fixed; bottom: 28px; right: 28px; z-index: 999;
@@ -543,7 +566,7 @@
Cómo funciona
Calculadora
Tracking
- Carga Pesada
+ Carga Pesada
Nosotros
@@ -556,6 +579,23 @@
+
+
+
@@ -572,8 +612,8 @@
-
150 N
-
Day St, Orange NJ
+
$3.50
+
por libra (flete)
-
+
@@ -1252,7 +1292,7 @@
Moraworld.Imports
Conectamos el mercado americano con los consumidores ecuatorianos. Bodega en New Jersey, representación legal en Cuenca, Ecuador.
- 📍 150 N Day St, Suite EC-, City of Orange, NJ 07050
+ 📍 150 N Day St, City of Orange, NJ 07050
📍 Cuenca, Ecuador
@@ -1260,7 +1300,7 @@
Servicios
- Casillero Personal
- - Carga Pesada
+ - Carga Pesada
- Calculadora
- Tracking
- Pre-alerta
@@ -1324,9 +1364,26 @@
function toggleWa(){
document.getElementById('wa-float').classList.toggle('open');
}
+
+ /* Mobile menu */
+ function closeMobileMenu(){
+ document.getElementById('mobile-menu').classList.remove('open');
+ document.getElementById('hamburger').classList.remove('active');
+ }
+ document.getElementById('hamburger').addEventListener('click', function(){
+ this.classList.toggle('active');
+ document.getElementById('mobile-menu').classList.toggle('open');
+ });
+
+ /* Close menus when clicking outside */
document.addEventListener('click', function(e){
const wf = document.getElementById('wa-float');
if(!wf.contains(e.target)) wf.classList.remove('open');
+ const menu = document.getElementById('mobile-menu');
+ const hamburger = document.getElementById('hamburger');
+ if(menu.classList.contains('open') && !menu.contains(e.target) && !hamburger.contains(e.target)){
+ closeMobileMenu();
+ }
});
/* FAQ accordion */
@@ -1346,15 +1403,11 @@
const valor = parseFloat(document.getElementById('c-value').value) || 0;
const cat = document.getElementById('c-cat').value;
- // Peso volumétrico (cm³ / 139 = lbs volumétricas aprox)
const volWeight = (largo * ancho * alto) / 139;
const pesoFinal = Math.max(weight, volWeight);
- // Tarifas arancel
const aranceles = { '4x4': 0, 'B': 0.10, 'C': 0.20, 'D': 0.10 };
- const tarifaFlete = 3.50; // USD / lb
-
- const flete = pesoFinal * tarifaFlete;
+ const flete = pesoFinal * 3.50;
const seguro = valor * 0.02;
const fodinfa = valor * 0.005;
const arancel = valor * (aranceles[cat] || 0);
@@ -1363,13 +1416,13 @@
const fmt = n => '$' + n.toFixed(2);
- document.getElementById('r-peso').textContent = pesoFinal.toFixed(2) + ' lbs';
- document.getElementById('r-flete').textContent = fmt(flete);
- document.getElementById('r-seguro').textContent = fmt(seguro);
- document.getElementById('r-fodinfa').textContent= fmt(fodinfa);
- document.getElementById('r-arancel').textContent= fmt(arancel) + (cat === '4x4' ? ' (exento)' : '');
- document.getElementById('r-iva').textContent = fmt(iva);
- document.getElementById('r-total').textContent = fmt(total);
+ document.getElementById('r-peso').textContent = pesoFinal.toFixed(2) + ' lbs';
+ document.getElementById('r-flete').textContent = fmt(flete);
+ document.getElementById('r-seguro').textContent = fmt(seguro);
+ document.getElementById('r-fodinfa').textContent = fmt(fodinfa);
+ document.getElementById('r-arancel').textContent = fmt(arancel) + (cat === '4x4' ? ' (exento)' : '');
+ document.getElementById('r-iva').textContent = fmt(iva);
+ document.getElementById('r-total').textContent = fmt(total);
}
/* Tracking demo */
@@ -1380,11 +1433,12 @@
document.getElementById('tracking-result').scrollIntoView({ behavior: 'smooth', block: 'nearest' });
}
- /* Hamburger menu (mobile) */
- document.getElementById('hamburger').addEventListener('click', function(){
- // Simple toggle — en producción se expandiría el menú móvil
- this.classList.toggle('active');
- });
+ /* Pre-alerta landing */
+ function submitPrealertaLanding(){
+ const tracking = document.querySelector('.prealerta-form input[type=text]').value.trim();
+ if(!tracking){ alert('Ingresa el número de tracking del vendedor.'); return; }
+ alert('✅ Pre-alerta registrada. El equipo de bodega en NJ estará atento a la llegada de tu paquete. ¡Gracias!');
+ }