/* =========================
   ESTILO MODERNO PARA FOOTER
========================= */
:root {
    --footer-bg: #ffffff;
    --footer-border: #e2e8f0;
    --footer-text: #0f172a;
    --footer-muted: #64748b;
    --wa-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.footer-spacer { height: 80px; display: none; }

@media (max-width: 900px) {
    .footer-spacer { display: block; }
}

.main-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    margin-top: 60px; /* Más espacio arriba */
}

/* ---------- DESKTOP ---------- */
.pc-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin: 0 0 15px;
    font-size: 22px;
    color: var(--accent); /* Usa el verde del index */
    font-weight: 900;
}

.footer-col h4 {
    margin: 0 0 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--footer-text);
}

.footer-col p, .footer-col a {
    color: var(--footer-muted);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--footer-border);
    font-size: 13px;
    color: var(--footer-muted);
}

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--footer-border);
    height: 70px;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    z-index: 1000;
}

.mobile-nav a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--footer-muted);
    font-size: 11px;
    font-weight: 600;
}

.mobile-nav a.active { color: var(--accent); }

.nav-icon { font-size: 20px; margin-bottom: 2px; }

.sell-button-container { position: relative; top: -12px; }

.sell-button-circle {
    width: 52px;
    height: 52px;
    background: var(--accent2); /* Naranja */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    border: 5px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
    .mobile-nav { display: grid; }
    .pc-footer { padding-bottom: 100px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 30px; }
}

/* ---------- WHATSAPP ---------- */
.wa-float-btn {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--wa-shadow);
    z-index: 998;
    transition: 0.3s;
}

.wa-float-btn img { width: 30px; height: 30px; filter: brightness(0) invert(1); }

@media (min-width: 901px) {
    .wa-float-btn { bottom: 30px; }
}